:root {
  --gap: 1rem;
  --max-width: 1200px;
  --bg: #f7f7fb;
  --card-bg: #ffffff;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  background-color: black;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

main {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

@font-face {
  font-family: "RAPSCALL";
  src: url("fonts/GermaniaOne-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.gallery {
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  align-items: start;
  padding: 1rem;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}

.card:focus-within,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}

.thumb:hover img {
  transform: scale(1.05);
}

.thumb:hover .overlay {
  opacity: 1;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}

.site-banner {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  align-items: center;
  padding: 1rem 3rem;
  background: #ffffff00;
  color: #ffffff00;
  gap: 0.75rem;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2rem 1rem;
}

.logo a {
  font-family: "RAPSCALL", sans-serif;
  text-decoration: none;
  font-size: 3rem;
  color: #dfdfe2;
  -webkit-text-stroke: 1px black;
  filter: blur(1px);
}

.logo a:hover {
  color: #bbf8b9;
}

.nav-bar a {
  color: #434350;
  font-family: "RAPSCALL", sans-serif;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 400;
  font-size: 3rem;
  display: inline-block;
  margin: 0 1rem;
  color: white;
  text-decoration: none;
  -webkit-text-stroke: 2px black;
  filter: blur(1px);
}

.nav-bar a:hover {
  color: #d0fccf;
}

.logo,
.nav-bar {
  position: relative;
  z-index: 2;
  color: white;
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-banner-index {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  color: white;
  text-align: center;
  padding: 0;
  z-index: 10;
}

.site-banner-index h1 {
  margin: 0;
  letter-spacing: 10px;
}

.logo-index a {
  font-family: "RAPSCALL", sans-serif;
  text-decoration: none;
  font-size: 12rem;
  color: #f1f1f0;
  -webkit-text-stroke: 2px black;
  filter: blur(1.5px);
}

.logo-index a:hover {
  color: #caffc8;
}

.nav-bar-index {
  margin-top: 5rem;
}

.nav-bar-index a {
  margin: 0 1rem;
  text-decoration: none;
  color: #b2b2c2;
  font-family: "RAPSCALL", sans-serif;
  font-size: 6rem;
  -webkit-text-stroke: 2px black;
  filter: blur(1.5px);
  transition: color 0.3s;
}

.nav-bar-index a:hover {
  color: #caffc8;
}

.site-footer-index {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  color: white;
}

.text-left,
.text-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  padding: 5rem;
  color: black;
  /*-webkit-text-stroke: .2px rgb(255, 255, 255);*/
  background-color: rgba(255, 255, 255, 0.5);
  /* Transparent background for feathering */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  border-radius: 10px;

  /* Feathering mask with vendor prefixes */
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent),
    linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: destination-in;
  -webkit-mask-size: cover;

  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent),
    linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-repeat: no-repeat;
  mask-composite: intersect;
  mask-size: cover;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border-radius: 0.5rem;
}

.text-left {
  left: 1%;
}

.text-right {
  right: 5%;
  font-size: 1rem;
}

.carousel {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-slide {
  display: none;
  text-align: center;
  position: relative;
  /* important for button positioning */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.carousel-btn.prev {
  left: 10px;
  /* stays close to left side of image */
}

.carousel-btn.next {
  right: 10px;
  /* stays close to right side of image */
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.description-trigger {
  text-align: center;
  margin: 1rem 0;
}
.toggle-word {
  color: rgb(255, 255, 255);
  cursor: pointer;
  
  font-family: "RAPSCALL", sans-serif;
  text-decoration: none;
  font-size: 2rem;
}

.toggle-word:hover{
  color: rgb(214, 255, 190);
  cursor: pointer;
  
  text-decoration: none;
}
.description-box {
  position: absolute;
  top: 10%;              /* adjust placement */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;           /* above carousel images/videos */
  border: 2px solid white;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  color: white;
  max-width: 80%;
  text-align: center;
  border-radius: 6px;
  font-size: 1.5rem;
}

.hidden {
  display: none !important;
}


/* Responsive adjustments */
@media (max-width:768px) {
  .site-banner-index {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
  }

  .logo-index a {
    font-size: 18vw !important;
    -webkit-text-stroke: 1px black;
    filter: blur(1px);
  }

  .nav-bar-index {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-bar-index a {
    font-size: 10vw !important;
    -webkit-text-stroke: 0.5px black;
    filter: blur(0.8px);
    display: block;
  }

  .site-footer-index {
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }

  .site-banner {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }

  .logo a {
    font-size: 2rem;
    -webkit-text-stroke: 1px black;
    filter: blur(0.8px);
  }

  .nav-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }

  .nav-bar a {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    -webkit-text-stroke: 1px black;
    filter: blur(0.8px);
  }

  .text-left,
  .text-right {
    position: static;
    transform: none;
    width: 90%;
    margin: 1rem auto;
    padding: 0;
  }

  main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  @media (max-width:480px) {
    .logo-index a {
      font-size: 15vw !important;
      letter-spacing: 4px;
    }

    .nav-bar-index a {
      font-size: 8vw !important;
    }

    .site-banner {
      padding: 0.4rem;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .logo a {
      font-size: 2.2rem;
      letter-spacing: 1px;
    }

    .nav-bar a {
      font-size: 2.2rem;
    }

    .carousel-slide img,
    video {
      max-height: 50vh;
    }

    .carousel-btn {
      font-size: 1.2rem;
      padding: 0.2rem 0.5rem;
    }

    .text-left,
    .text-right {
      width: 95%;
      padding: 2rem;
      -webkit-mask-image: none !important;
      mask-image: none !important;
      background-color: rgba(206, 206, 206, 0.514);
    }

    /* Carousel styling (from before) */
    .carousel {
      position: relative;
      max-width: 100%;
      margin: 0 auto;
      overflow: hidden;
    }

    .carousel-slide {
      display: none;
      text-align: center;
    }

    .carousel-slide img {
      width: 100%;
      height: auto;
      max-height: 80vh;
      object-fit: cover;
      display: block;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.5);
      border: none;
      color: white;
      font-size: 2rem;
      padding: 0.5rem 1rem;
      cursor: pointer;
      z-index: 10;
      transition: background 0.3s;
    }

    .carousel-btn.prev {
      left: 10px;
    }

    .carousel-btn.next {
      right: 10px;
    }

    .carousel-btn:hover {
      background: rgba(0, 0, 0, 0.8);
    }

    .description-box {
      font-size: 1rem;
    }

        .toggle-word {
          
          font-size: 1rem;
        }
  }

  @media (max-width: 768px) {
    .carousel-slide img {
      max-height: 60vh;
    }

    .carousel-btn {
      font-size: 1.5rem;
      padding: 0.3rem 0.7rem;
    }
  }

  @media (max-width: 480px) {

    .carousel-slide img,
    video {
      max-height: 50vh;
    }

    .carousel-btn {
      font-size: 1.2rem;
      padding: 0.2rem 0.5rem;
    }
  }

  /* Custom font */
} 


