/* @font-face {
  font-family: "Huben";
  src: url("./fonts/Huben-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Huben";
  src: url("./fonts/Huben-Regular-Italic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
} */

@font-face {
  font-family: "IngramMono";
  src: url("./fonts/Ingram-Mono-Regular.ttf") format("truetype");
}

.link--svg {
  width: 100%;
  height: 36px;
}

.mobile-menu .link--svg {
  height: 4rem;
  width: auto;
}

/* General Styles */
body {
  background-color: #101010;
  color: white;
  font-family: "IngramMono", sans-serif;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-x: hidden;
  animation: fadeIn 1s ease-in-out;
  letter-spacing: 0.2rem;
  line-height: 1.3;
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
    display: block;
    /* touch-action: none; */
  }
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Centered Logo */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;

  /* width: 600px;
  height: 600px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) perspective(600px) rotateY(20deg)
    rotateX(10deg); */
}

/* .logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
} */

@media screen and (max-width: 768px) {
  .logo-container {
    top: 10vh;
    position: relative;
  }

  .logo {
    margin-left: 10px;
  }
}

.logo-anchor {
  display: block;
  width: 100%;
}

/* Initial Logo Animation */
.logo {
  width: 100%;
  max-width: 650px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-in-out;
}

/* Fade-in from Bottom */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop Menu */
.desktop-menu {
  position: absolute;
  bottom: 40px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
}

@media screen and (min-width: 1024px) {
  .desktop-menu {
    /* max-width: 95%; */
  }
}

/* Menu Item Wrapper */
.menu-item-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Info Text Above Links */
.info-text {
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: absolute;
  bottom: 0rem;
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  min-height: 20px;
  pointer-events: none;
  max-width: 40ch;
}

.info-text.show {
  opacity: 1;
  transform: scaleY(1);
  max-height: 500px; /* Set max-height to allow expansion */
  pointer-events: auto;
  background-color: rgba(16, 16, 16, 0.9);
}

.info-text.show a:hover {
  transition: 0.3s ease;
  background: none;
  color: #fff;
  opacity: 0.8;
}

/* Menu Links */
.desktop-menu a {
  color: white;
  text-decoration: none;
  padding: 0.25rem 0.5rem 0rem 0.5rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1;
  display: block;
  text-align: center;
}

.desktop-menu a:hover,
.desktop-menu a:focus {
  background-color: #fff;
  color: black;
}

.desktop-menu a:hover img {
  color: black;
  filter: brightness(0);
}

/* Active/Focus Effect */
.menu-item.active {
  background-color: white;
  color: black;
}

.menu-item.active img {
  color: black;
  filter: brightness(0);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  background: black;
  width: 100%;
  text-align: left;
  padding-top: 80px;
  transition: left 0.3s ease-in-out;
}

/* Close Button */
/* Close icon style */
.close-button {
  color: white; /* White color for better contrast */
  background: none; /* Remove background */
  border: none; /* No border */
  cursor: pointer; /* Pointer cursor */
  position: absolute;
  top: 20px; /* Position the X icon */
  left: 20px;
  transition: color 0.3s ease;
  margin: 0;
  padding: 0;
}

.close-button:hover {
  color: #f0f0f0; /* Slightly lighter color on hover */
}

/* Hamburger Button */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

/* Mobile Menu Links */
.mobile-menu a {
  display: block;
  padding: 0.25rem 1.5rem 0rem 1.5rem;
  margin: 1rem 0;
  padding-right: 10vw;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  line-height: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Mobile Active/Focus Effect */
.mobile-menu a:hover,
.mobile-menu a:focus {
  background-color: white;
  color: black;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: black;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .mobile-menu {
    display: block;
  }
}

/* Hide Hamburger on Desktop */
.hamburger {
  display: none; /* Hidden by default */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }
  .hamburger {
    display: block; /* Show only on mobile */
  }
  .mobile-menu {
    display: block;
  }
}

/* Fade-in effect for mobile text */
/* .mobile-info-text {
  text-align: center;
  color: white;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-info-text.show {
  opacity: 1;
  transform: translateY(0);
} */

/* animation */
/* Reveal effect for desktop text (above links) */
.info-text {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  height: 0;
  overflow: hidden;
}

.info-text.show {
  opacity: 1;
  transform: scaleY(1);
  height: auto;
  margin-bottom: 3rem;
}

/* Reveal effect for mobile text (below the logo) */
.mobile-info-text {
  text-align: center;
  color: white;
  font-size: 1rem;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top; /* Changed from bottom to top for mobile */
  transition: opacity 0.3s ease-out, transform 0.3s ease-out,
    height 0.5s ease-out;
  height: 0;
  overflow: hidden;
  text-transform: uppercase;
  padding: 0 2rem;
  visibility: hidden;
  position: relative;
  top: 5vh;
}

.mobile-info-text.show {
  opacity: 1;
  transform: scaleY(1) translateY(-50px);
  height: auto;
  visibility: visible;
}

.mobile-info-text a {
  color: #fff;
  text-transform: uppercase;
  background: none;
  text-decoration: none;
}

.info-text .list,
.mobile-info-text .list {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  list-style: none;
}

.info-text .list li,
.mobile-info-text .list li {
  margin-bottom: 0.2rem;
}

.floating {
  animation-name: floating;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  margin-left: 0px;
  margin-top: 0px;
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 15px);
  }
  100% {
    transform: translate(0, -0px);
  }
}
