@font-face {
    font-family: 'MikodacsPCS';
    src: url('/assets/fonts/Mikodacs/MikodacsPCS.woff2') format('woff2'),
        url('/assets/fonts/Mikodacs/MikodacsPCS.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mikodacs';
    src: url('/assets/fonts/Mikodacs/Mikodacs.woff2') format('woff2'),
        url('/assets/fonts/Mikodacs/Mikodacs.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oldtimer';
    src: url('/assets/fonts/Oldtimer/Oldtimer.woff2') format('woff2'),
        url('/assets/fonts/Oldtimer/Oldtimer.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liberation Mono';
    src: url('/assets/fonts/LiberationMono/LiberationMono-Bold.woff2') format('woff2'),
        url('/assets/fonts/LiberationMono/LiberationMono-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}



.project-card a {
  text-decoration: none;
  color: #9F262F;
}


/* main */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: lightgrey;
}

body {
  background-color: #E7E2D2;
  font-size: 16px;
}

.logo-wrapper {
  background-color: #9F262F;
  text-align: center;
  padding: 10px 0;
  margin-bottom: 0px;
}

.logo {
  width: 80%;
  max-width: 400px;
  font-family: MikodacsPCS;
  color: #FFB5EB;
  display: block;
  margin: 0 auto;
  font-size: 4rem;
  letter-spacing: 1.7px;
}

a {
  text-decoration: none;
}

.featured-link {
  display: block;
  text-align: center;
}

/* nav */
.navbar {
  padding-top: 0;
}

.custom-navbar {
  background-color: #9F262F;
  text-align: center;
  border-bottom: none;
  padding-top: 0;
  padding-bottom: 0;
}

.custom-navbar .navbar-nav {
  list-style: none;
  display: inline-flex;
  justify-content: center;
  gap: 25px;
  margin: 0 auto;
  max-width: max-content;
}

.custom-navbar .nav-link {
  font-family: Oldtimer;
  font-size: 15px;
  color: #D67683 !important;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0; 
}

.custom-navbar .nav-link:hover {
  color: #FFB5EB !important;
}

.navbar-collapse {
  padding-top: 0;
}

#current {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
#shop {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

/* toggle */
.navbar-toggler {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='rgb(214,118,131)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.top-bar {
  background-color: #9F262F;
  padding-top: 10px;
  padding-bottom: 10px;
}


.featured-title {
  padding: 5px 0 0px 0;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  font-family: Liberation Mono;
  color: #9F262F;
}

.featured-title-home {
  padding: 30px 0 0px 0;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  font-family: Liberation Mono;
  color: #9F262F;
  text-align: center;
}

.featured-subtitle {
  font-size: 1rem;
  padding: 5px 0 0px 0;
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  font-family: Liberation Mono;
  color: #9F262F;
}

/* lightbox */
#lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}
#lightbox-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}
#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: #E7E2D2;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s ease;
  background: none;
  border: none;           
  padding: 0;  
  outline: none;
}

.lightbox-close:hover {
  color: #E7E2D2;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* gallery*/

.home-gallery {
  margin: 0 auto;
  justify-content: center;
  width: 75%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.home-gallery picture {
  margin: 0 auto;
}

.home-image-1 {
  width: 90%;
  max-height: 450px;
}

.home-image-2 {
  width: 90%;
  max-height: 450px;
}

.home-image-3 {
  width: 90%;
  max-height: 450px;
}
.gallery {
  justify-content: center;
  width: 95%;
  margin: 0 auto;
}

/* mobile (1 column) */
.grid-sizer,
.image-container {
  width: 100%;
  margin-bottom: 20px;
}

.image-container {
  position: relative;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-style: solid;
  border-color: #9F262F;
  border-width: 4px;
}

/* overlay */
.image-container .overlay {
  font-family: Liberation Mono;
  position: static;
  opacity: 1;
  color: #E7E2D2;
  padding-bottom: 3px;
  padding-left: 3px;
  background: #9F262F;
}

/*  responsive*/

/* tablet 2 columns */
@media (min-width: 768px) {
  .grid-sizer,
  .image-container {
    width: calc(50% - 6px);
    margin-bottom: 10px;
  }

  .image-container .overlay {
    font-family: Oldtimer;
    position: absolute;
    top: 10px;
    left: 10px;
    background: #9F262F;
    color: #E7E2D2;
    padding: 8px;
    border-radius: 5px;
    font-size: .7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: none;
    border: none;
    margin-top: 0;
  }
  .image-container:hover .overlay {
    opacity: 1;
  }

  .navbar-collapse {
    padding-top: 0px;
  }

  .custom-navbar {
    padding-top: 0px;
  }
}

/* desktop: 5 columns */
@media (min-width: 1024px) {


  .grid-sizer,
  .image-container {
    width: calc(20% - 10px);
  }

  .logo {
    width: 40%;
  }

  .home-gallery {
    grid-template-columns: auto auto auto;
    padding-top: 30px;
    padding-bottom: 300px;
  }
}

/* footer */
footer {
  font-family: Liberation Mono;
  padding: 1.25rem 0;
  background-color: #150506;
  color: #FAF9F6;
  text-align: center;
}
.footer-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-copy {
  font-size: 0.875rem;
}
.footer-link {
  font-family: Oldtimer;
  color: #9F262F;
}

