* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Pirata One";
  scroll-behavior: smooth;
}


h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: white;
  z-index: 2;
  position: relative;
}

.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;
  filter: drop-shadow(0px 0px 3px black);
}

.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;
}

header.parallax {
  min-height: 100vh;
  height: fit-content;
  background: #000 url('media/bg.webp') center center / cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;

}

.logo {
  vertical-align: middle;
  margin-top: -25vh;
}

.logo svg {
  width: 50vw;
  height: auto;
  fill: white;
}

.logo svg path {
  fill: transparent;
  stroke: white;
  stroke-width: 2;
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: logoAnimation 2s ease-in-out 1 forwards;
}

@keyframes logoAnimation {
  0% {
    stroke-dashoffset: 2200;
  }

  80% {
    fill: transparent;
  }

  100% {
    stroke-dashoffset: 0;
    fill: white;
  }
}

.logo p {
  color: white;
  text-align: center;
  font-family: "Pirata One";
  font-size: 2vw;
  animation: sublineFadeIn 2s ease-in-out 1 forwards;
  padding-bottom: 10vh;
}


@keyframes sublineFadeIn {
  0% {
    opacity: 0%;
  }

  80% {
    opacity: 0%;
  }

  100% {
    opacity: 100%;
  }
}


.projects {
  padding: 60px 20px;
  background-image: url(media/paper2.webp);
  background-size: 100%;
  background-position: 20%;
  background-repeat: repeat;
  background-color: #0f0f0f;
  text-align: center;
  padding-top: 30vh;
  padding-bottom: 30vh;
}

.projectsBg {
  position: absolute;
  top: 95vh;
  left: -10%;
  width: 120vw;
  height: 105%;
  z-index: 0;
  overflow: hidden
}

.projects h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: white;
  z-index: 1;
  position: relative;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 90vw;
  margin: 0 auto;
  padding: 20px;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease, rotate 0.3s ease;
  cursor: pointer;
}

.project-card img:hover {
  transform: scale(1.15);
  filter: brightness(1.5) contrast(1.05);
  rotate: 5deg;
}

.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.art {
  background: #000 url(media/paper3.webp) center center / cover no-repeat fixed;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  padding-top: 20vh;
  padding-bottom: 20vh;
}

.art h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: white;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.art-gallery-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease-out 0.5s;
}

.art-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  flex: 1;
  margin-bottom: 5vh;

}

.art-gallery::-webkit-scrollbar {
  display: none;
}

.art-gallery img {
  aspect-ratio: 1/1;
  width: calc(100% / 3 - 14px);
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.gallery-btn {
  background-color: #00000000;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: color 0.3s ease;
}

.gallery-btn:hover {
  color: #e4b84b;
  border-color: #e4b84b;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery_link a {
  font-family: "Fondamento", cursive;
  font-size: 1.5rem;
  text-decoration: none;
  color: white;
  transition: color 0.3s;
  width: fit-content;
  border-style: solid;
  border-width: 1px;
  border-radius: 3px;
  padding: 20px;

}

.gallery_link a:hover {
  color: #e4b84b;
}


.videos {
  background: #000 url(media/paper2.webp) center center / cover no-repeat fixed;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  padding-top: 20vh;
  padding-bottom: 20vh;
  min-height: 100vh;
}

.videos h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.video-intro {
  font-family: "Fondamento", cursive;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 40px;
  text-shadow: 0px 0px 5px black;
}

.video-gallery-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.video-gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 90%;
  margin-top: 5vh;
  margin-bottom: 5vh;

}

.video-gallery lite-youtube {
  flex: 1 1 600px;
  max-width: 30%;
  min-width: 500px;
  height: 280px;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
}

.videos.fade-in.visible h1,
.videos.fade-in.visible .video-gallery,
.videos.fade-in.visible .video-intro {
  opacity: 1;
  transform: translateY(0);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 10%;
}

.about-container p {
  width: 60vw;

}

.about-container img {
  width: 25vw;
  height: auto;
}

.about {
  min-height: 100vh;
  ;
  position: relative;
  background: #000 url('media/bg.webp') center center / cover no-repeat fixed;
  color: white;
  text-align: center;
  padding-top: 20vh;
  padding-bottom: 20vh;
  font-size: 1.5rem;
  z-index: 1;
  overflow: hidden;
  margin: 0 auto;

}

.about-mid-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 160%;
  height: 140%;
  background: url('media/about.webp') center / contain no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  filter: brightness(0.35);
}

.about-container,
.about h1 {
  position: relative;
  z-index: 2;
}


.about h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: white;
  z-index: 1;
  position: relative;
  z-index: 1;
}

.about p {
  font-family: "Fondamento", cursive;
  text-align: center;
  padding-left: 20%;
  line-height: 180%;
  word-spacing: 2px;
  text-shadow: 0px 0px 7px black;
  width: 80%;
}



.contact {

  min-height: 100vh;
  background: #000 url(media/paper4.webp) center center / cover no-repeat fixed;
  background-size: cover;
  background-position-y: 10%;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
  padding-top: 20vh;
  padding-bottom: 20vh;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}


.contact-container p,
.contact-container a {
  font-family: "Fondamento", cursive;
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: white;
}

.contact-container a {
  color: #e4b84b;
}


.contact-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.contact-card {
  margin: 0 auto;
  width: 60vw;
  max-width: 60vw;
  box-sizing: border-box;
  margin-bottom: 5vh;

}



.contact-card-wrap p,
.contact-container>p {
  color: #ffffff;
  text-align: center;
  max-width: 60vw;
  width: 90%;
  margin: 2vh auto 0 auto;
  font-size: 1.5rem;
  line-height: 1.4;
  opacity: 0.95;
  padding-bottom: 5vh;

}

.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card textarea {
  width: 100%;
  background: #0c0c0c;
  color: #f1f1f1;
  border: none;
  border-radius: 2px;
  padding: 18px 16px;
  margin-bottom: 18px;
  font-size: 0.98rem;
  line-height: 1.3;
  box-shadow: 0px 0px 10px rgb(0, 0, 0);
  resize: vertical;
  outline: none;
}

.contact-card textarea {
  min-height: 3vh;
  max-height: auto;
}

.contact-card .submit-btn {
  font-family: "Fondamento", cursive;
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: 6px;
  border: none;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  text-align: center;
  background: #535353;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.22);
  transition: 0.1s ease;
  margin-top: 4px;
}

.contact-card .submit-btn:hover {
  background: #e4b84b;
}

.visually-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}


.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 4vw;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 2;
}

.contact-social a {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.1s ease, filter 0.1s ease;
  outline: none;
}

.contact-social img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.contact-social a:hover,
.contact-social a:focus {
  transform: translateY(-4px);
  filter: drop-shadow(0px 0px 5px rgb(107, 107, 107));
}



footer {
  background: #000 url('media/bg.webp') center center / cover no-repeat fixed;
  background-size: cover;
  font-family: "Fondamento", cursive;
  background-color: #222;
  color: white;
  padding: 3vh;
  text-align: center;
  z-index: 1;
}


@media (max-width: 900px) {

  .logo svg {
    width: 80%;
    margin-left: 10%;
    margin-top: 30%;
  }

  .logo p {
    margin-top: 5%;
    width: 80%;
    margin-left: 10%;
    font-size: 6vw;
  }



  .art-gallery img {
    width: calc(100% / 2 - 10px);
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about p {
    width: 80%;
    text-align: center;
    margin-left: -20%;

  }

  .about-container img {
    width: 60%;
    padding-top: 10%;
  }

  .about-mid-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 160%;
    background: url('media/about.webp') center / contain no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
  }

  .video-gallery lite-youtube {
    flex: 1 1 90vw;
    max-width: 90vw;
    min-width: 200px;
    height: auto;
    aspect-ratio: 16 / 9;
  }

}


@media (max-width: 600px) {
  .art-gallery-wrapper {
    position: relative;
    flex-direction: row;
  }

  .gallery-btn {
    top: 50%;
    z-index: 2;
    padding: 8px;
    filter: drop-shadow(0px 0px 3px black);
  }

  .gallery-btn.prev {
    left: 5px;
  }

  .gallery-btn.next {
    right: 5px;
  }

  .art-gallery {
    width: 100%;
  }

  .art-gallery img {
    width: 100%;
    object-fit: contain;

    .contact-social img {
      width: 56px;
      height: 56px;
    }

    .contact-social {
      flex-wrap: wrap;
      justify-content: center;
    }
  }

  .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;
  }
}