* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Pirata One";
  scroll-behavior: smooth;
  background: #111;
  color: white;
  background: #000 url('media/bg.webp') center center / cover no-repeat fixed;
  scroll-behavior: smooth;

}

.topnav {

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  z-index: 1000;

  background: transparent;
}

.topnav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;


  mask: linear-gradient(black, black, transparent);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: visible;


  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0% rgba(255, 255, 255, 0.2) 40%,
      rgba(255, 255, 255, 0.3) 100%,


    );

  pointer-events: none;
}

.symbol img {
  position: fixed;
  margin-top: -30px;
  margin-left: -10px;
  width: auto;
  height: 70px;
  filter: brightness(1) saturate(100%);
  transition: 0.3s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-top: -20px;

}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.5rem;
  transition: color 0.3s;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

.nav-links a:hover {
  color: #e4b84b;
}

.symbol a img:hover {
  filter: brightness(0.5) saturate(100%) sepia(1) hue-rotate(5deg) brightness(1.2) saturate(250%);
  transition: 0.3s ease;
}

.burger {
  display: none;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
    text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

h1 {
  text-align: center;
  margin-top: 5%;
}


.gallery {
  column-count: 5;
  column-gap: 15px;
  padding: 2.5%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 10vh;

}

.gallery-item {
  width: 100%;
  margin-bottom: 15px;
  position: relative;
  cursor: pointer;

}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
  transition: box-shadow 0.4s ease;
}

.gallery-inner {
  position: relative;
  z-index: 0;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-inner {
  transform: scale(1.03);
  z-index: 100;
}

.overlay {
  position: absolute;
  text-align: center;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 7px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.overlay .title {
  font-family: "Fondamento", cursive;
  font-size: 1rem;
  color: white;
}



.gallery-item:hover img {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
}

.gallery-item:hover .overlay {
  opacity: 1;
}


.lightbox {
  display: none;
  opacity: 0;

  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  background-image: url(media/lightbox_bg.webp);
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
  z-index: 1000;
  align-items: center;
  justify-content: center;

  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 95%;
  max-height: 90%;
}

.lightbox-left {
  flex: 0 0 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 5%;
}

.lightbox-left img {
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0px 0px 8px black;
}

.lightbox-right {
  flex: 0 0 40%;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.lightbox-right h2 {
  margin-top: 0;
  font-size: 2rem;
}

.lightbox-right p {
  font-family: "Fondamento", cursive;
  font-size: 1.4rem;
  line-height: 1.4;
  padding-top: 10vh;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 4rem;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  cursor: pointer;
  color: white;
  filter: drop-shadow(0px 0px 5px black);
  transition: 0.3s ease;
}

.close-btn:hover {
  color: #e4b84b;
}

.fade-in {
  opacity: 0;
  transition: opacity 2s ease;
}

.fade-in.visible {
  opacity: 1;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: currentColor;
  margin-top: 2%;
}

.firstelement {
  padding-top: 5%;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1 1 0;
  height: 2px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.separator:not(:empty)::before {
  margin-right: .5em;
  margin-left: 10%;
}

.separator:not(:empty)::after {
  margin-left: .5em;
  margin-right: 10%;
}

.separator::before {
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.9) 20%,
      rgba(255, 255, 255, 0.95) 60%);

}

.separator::after {
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.9) 40%,
      transparent 100%);
}


@media (max-width: 900px) {
  .firstelement {
    padding-top: 15%;
  }
        .nav-links {
        display: flex;
        flex-direction: column;
        text-align: end;
        gap: 15px;
        position: absolute;
        top: 90px;
        right: 20px;

        padding: 10px 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
      }

      .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }

      .nav-links li {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
      }

      .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
      }

      .nav-links.active li:nth-child(1) {
        transition-delay: 0.01s;
      }

      .nav-links.active li:nth-child(2) {
        transition-delay: 0.02s;
      }

      .nav-links.active li:nth-child(3) {
        transition-delay: 0.03s;
      }

      .nav-links.active li:nth-child(4) {
        transition-delay: 0.04s;
      }

      .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
      }

      .burger {
        display: block;
        position: relative;
        z-index: 2001;
      }
}


@media (max-width: 600px) {

  .separator {
    padding-top: 10%;
  }


  .firstelement {
    padding-top: 20%;
  }


  .gallery {
    column-count: 2;
  }

  .lightbox-content {
    align-items: center;
    text-align: center;
    max-width: 95%;
  }

  .lightbox-left {
    flex: 0 0 auto;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .lightbox-left img {
    max-width: 90%;
    height: auto;
  }

  .lightbox-right {
    flex: 0 0 auto;
    padding: 10px;
    width: 100%;
    text-align: center;
  }

  .lightbox-right h2 {
    margin-top: 0;
  }

  .lightbox-right p {
    padding-top: 10px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .gallery {
    column-count: 1;
  }
}