:root {
  --dark_low: #000;
  --dark_high: #59489c;
  --text_color: #9885e6;
  --bright_low: #f79022;
  --bright_high: #f9f088;
}

body {
  padding-top: 70px;
  background-color: var(--dark_low);
  font-family: "Share Tech Mono", sans-serif;
  padding: 3rem 0;
}

a {
  color: var(--dark_high);
}

a:hover {
  color: var(--dark_high);
}

p {
  font-family: "Share Tech Mono", "sans serif";
  font-size: 0.9rem;
  color: var(--text_color);
  margin-bottom: 8px;
}

hr {
  border: none;
  border-top: 1px solid gray;
  margin: 2rem 0;
}

.logo-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.logo-top__img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  padding: 0.75rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

.language-switcher {
  position: absolute;
  top: 10px;
  right: 0px;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 1rem;
  padding-right: 20px;
}
.language-button {
  color: var(--text_color);
  background: none;
  border: none;
  /* margin-right: 10px; */
  /* cursor: pointer; */
}

/* Language switching - hide all by default (from the beginning. Later a script loads the French version) */
.lang-fra,
.lang-eng,
.lang-esp {
  display: none;
}

.tektur-font {
  font-family: "Tektur", monospace;
  font-weight: 400;
  font-style: normal;
}

.project-content {
  padding-left: 3rem;
  padding-right: 3rem;
}

.project-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
  margin-bottom: 2rem;
  background-color: black;
}

.project-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 5px solid var(--dark_high);
}

.subtitle {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Tektur", "sans serif";
  color: var(--bright_low);
  /* line-height: 1.5; */
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: "Tektur", "sans serif";
  /* text-transform: uppercase; */
  color: var(--bright_low);
  font-family: "Tektur", "sans serif";
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  margin-top: 3rem;
}

h3.credits-title {
  /* xx.xx => h3 AND className */
}

.section-text p {
  font-family: "Share Tech Mono", "sans serif";
  font-size: 0.9rem;
  color: var(--text_color);
  text-align: justify;
}

.footer {
  color: var(--dark_high);
  padding: 1rem 0;
  margin-top: 4rem;
}

/* Image Gallery Styles */

.image-gallery {
  /* margin-top: 3rem; */
  /* max-width: 900px; */
}

.gallery-item {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  /* border-radius: 8px; */
  background: var(--dark_high);
  border: 1px solid var(--border);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* .gallery-img:hover {
  transform: scale(1.05);
} */

/* SCROLL TO TOP - BEGIN */

.scroll-to-top {
  font-family: "Silkscreen", sans-serif;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--dark_high);
  border: 5px solid var(--bright_low);
  color: var(--bright_low);
  font-size: 24px;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  transform: rotate(90deg);
}

.scroll-to-top:hover {
  background-color: var(--bright_low);
  color: var(--dark_high);
  transform: translateY(-5px);
  transform: rotate(90deg) translate(-5px);
}

.scroll-to-top.visible {
  display: flex;
  border: 1px solid var(--bright_high);
  background: none;
  color: var(--bright_high);
  font-family: "Tektur", "sans serif";
}

/* SCROLL TO TOP - END */

@keyframes quickFlash {
  5%,
  70% {
    color: var(--bright_high);
  }
  75%,
  80% {
    color: var(--dark_high);
  }
  85%,
  90% {
    color: var(--bright_low);
  }
  95%,
  99% {
    color: var(--dark_high);
  }
}

/* Mobile menu styles */
@media (max-width: 767.98px) {
  .subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }

  .navbar-collapse {
    background-color: var(--dark_high);
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 2rem;
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  h4 {
    font-size: 0.5rem;
  }

  .language-button {
    /* color: var(--bright_low); */
    cursor: pointer;
    margin-right: 1rem;
    font-size: 0.9rem;
  }

  .project-content {
    padding-left: 0;
    padding-right: 0;
  }

  .project-title-container {
    padding-right: 10%;
    position: static;
    margin-right: auto;
  }

  .description-column {
    position: static;
    margin-top: 2rem;
  }

  h3.credits-title {
    /* xx.xx => h3 AND className */
    padding-left: 0.5rem;
  }

  .images-column {
    padding: 0;
  }
}
