@font-face {
  font-family: "Eurostile";
  src: url("../fonts/Eurostile-Extended.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Eurostile";
  position: fixed;
  height: 100svh;
  width: 100vw;
  background-color: white;
  transition: background-color 0.5s ease-in-out;
  pointer-events: none;
}

.show-menu {
  pointer-events: all !important;
}

.menu-active {
  background-color: white;
}

body a {
  color: black;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 10000;
  width: 100vw;
  box-sizing: border-box;
  padding-top: calc(1rem - 2px);
  top: 0;
  height: 2.5rem;
  transition: height 0.3s ease-in-out;
  transition-delay: 0.5s;
}

.hide-content header {
  height: 100svh;
}

main {
  opacity: 1;
  transition: 0.4s ease-in-out;
  transition-delay: 0.8s;
}

.hide-content main {
  opacity: 0;
}

.hide-content svg {
  pointer-events: none !important;
}

.fake-wrapper {
  height: 100%;
  width: 100%;
  padding-left: 5rem;
  padding-right: 5rem;
  position: relative;
  background-color: white;
  transition: background-color 0.4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-active .fake-wrapper {
  background-color: white;
}

.fake-wrapper::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  box-sizing: border-box;
  background-color: rgba(86, 255, 143, 1);
  mix-blend-mode: lighten;
  opacity: 0;
  transition: opacity 0.4s ease-in-out; /* Optional: for smooth transitions */
}
#bottom-slider .img-wrapper {
  transition: background-color 0.4s ease-in-out;
}

#bottom-slider .img-wrapper::before #bottom-slider .img-wrapper.active::before {
  opacity: 1;
}

.show-menu #bottom-slider {
  mix-blend-mode: color-dodge;
}

.fake-wrapper.active::before {
  opacity: 1; /* Opacity when the .fake-wrapper has the .active class */
}

.menu {
  background-color: white;
  text-align: center;
  /* padding: 5rem; */
  position: fixed;
  top: 0;
  z-index: 1000;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out;
  mix-blend-mode: lighten;
  font-size: 12px;
  opacity: 0;
  box-sizing: border-box;
  transition: opacity 0.4s ease-in-out;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding-top: 2rem;
  padding-bottom: 1rem;
  box-sizing: border-box;
  display: flex;
}

.menu a {
  text-decoration: none;
}

.menu span {
  width: 76ch;
  line-height: 1.3;
  text-align: justify;
}

.contact-wrapper {
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 65ch;
  text-align: justify;
  text-align-last: center;
  line-height: 1.2;
  text-transform: uppercase;
}

.text-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1000;
  top: 0;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  padding-bottom: 3rem;
  box-sizing: border-box;
  font-size: 0.8rem;
}

.text-wrapper.active {
  opacity: 1;
}

.tags-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.links-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
  flex: 1;
  align-items: center;
  font-size: 0.65rem;
  padding-bottom: 3rem;
  box-sizing: border-box;
}

.links-wrapper a {
  text-decoration: none;
}

.links-wrapper .dash {
  opacity: 0;
}

.tags-wrapper span {
  width: max-content;
}

.menu p {
  /* width: 50ch; */
}

.main-keen-slider {
  transition: opacity 0.4s ease-in-out;
  transition-delay: 0.2s;
}

.menu-active #bottom-slider {
  opacity: 0;
}

.menu-active .green-box-wrapper {
  opacity: 0;
}

.menu-active .menu {
  opacity: 1;
}

.menu-active .main-keen-slider {
  opacity: 0;
}

header svg {
  height: 0.6rem;
  width: auto;
}

header .menu-svg {
  height: 0.4rem;
  margin-bottom: 0.03rem;
  margin-left: 0.25rem;
  transform: translateX(-1.75rem);
  transition: 0.3s transform ease-in-out, 0.3s opacity ease-in-out;
  opacity: 0;
}

.logo {
  transform: translateX(1.75rem);
  transition: 0.3s transform ease-in-out;
}


.keen-slider {
  transform: translateY(0%);
  transition: 0.3s transform ease-in-out;
}

.show-menu .keen-slider {
  transform: translateY(0%);
}

.image-wrapper {
  display: flex;
}

.image-wrapper {
  height: 10vh;
}
/* 
.show-menu main > .keen-slider {
  transform: translateY(120%);
}

.show-menu main .green-box {
    transform: translateY(120%);

} */

.image-wrapper .image-container {
  height: 100%;
}

.img-wrapper {
  width: 2.5rem;
}

.image-container img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

/* Custom CSS for auto-width slides */
#bottom-slider {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3.5rem;
  width: 100vw;
  padding-bottom: 0.5rem;
  box-sizing: border-box;
  opacity: 1;
  transition: transform 0.3s ease-in-out, opacity 0.4s ease-in-out;
  /* transition-delay: 0.2s; */
}

.menu-not-active .menu {
  pointer-events: none;
}

#bottom-slider .keen-slider__slide {
  height: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  width: 3.5rem;
}
.img-wrapper {
  display: flex;
  max-width: 100%;
  height: 100%; /* Ensures image does not exceed container */
  cursor: pointer !important;
  width: 3.5rem;
}

.landscape {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  padding-left: 0.2rem;
  padding-right: 0.2rem;

  box-sizing: border-box;
}
.main-keen-slider {
  height: 100svh;
  width: 100vw;
  position: relative;
}
.main-keen-slider .keen-slider__slide {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100svh;
}

.main-keen-slider .main-img-wrapper {
  height: 100%;
  width: 100%;
  padding-bottom: 5rem;
  padding-top: 3.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.green-box-wrapper {
  width: 3.5rem;
  height: 2.5rem;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  bottom: calc(0.72rem + 0.5px);
  transform: translateX(-50%);
  z-index: 1000000;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.show-menu .green-box-wrapper {
  opacity: 1;
}

.green-box {
  width: 2.5rem;
  height: 2.5rem;
  bottom: 0;
  left: 50%;
  border: 2px solid rgba(86, 255, 143, 1);
  border-radius: 2px;
  z-index: 100000;
  left: calc(50%);
  transition: 0.4s ease-in-out;
}

#loading-bar-container {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001; /* Ensure it's above other content */
}

#loading-bar {
  height: 2px;
  background-color: black;
  width: 0%;
  transition: width 0.4s ease;
}

.mobile-prevent-scroll #bottom-slider {
  pointer-events: none !important;
}

#bottom-slider .img-wrapper::before {
  content: "";
  width: calc(100%);
  height: calc(100%);
  display: block;
  position: absolute;
  box-sizing: border-box;
  background-color: rgba(86, 255, 143, 1);
  mix-blend-mode: lighten;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

#bottom-slider .landscape::before {
  width: calc(100% - 0.4rem);
  height: calc(100% - 0.4rem);
}

#bottom-slider .img-wrapper.active::before {
  opacity: 1;
}
.tags-wrapper {
  justify-content: center;
}

.dash {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.about-slide-wrapper {
  flex-direction: column;
  font-size: 0.65rem;
}

.dash:last-child {
  display: none;
}

.about-slide-wrapper {
  padding: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.space-carousel {
  flex: 1;
  width: 100vw;
  height: 100%; /* ensure it takes the height of its flex container */
  display: flex;
  align-items: center; /* vertical centering */
  overflow: hidden;
  min-height: 50vh;
}

.space-carousel .keen-slider__slide {
  display: inline-flex; /* allow slide to shrink-wrap its content */
  align-items: center;
  justify-content: center;
  height: 100%;
  width: auto !important; /* override Keen's inline min-width */
  min-width: auto !important; /* prevent Keen's JS from forcing it */
  max-width: none !important; /* remove any capping */
  flex: 0 0 auto; /* no flex-grow/shrink */
  position: relative;
}

.space-carousel .keen-slider__slide img {
  height: 100%;
  width: auto; /* preserve image aspect ratio */
  object-fit: contain; /* or cover if cropping is fine */
  display: block;

}



.text-content-about {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  text-align: center;
}

.text-content-about span:first-child {
  padding-top: 2.5rem;
  text-transform: uppercase;
}

.text-content-about span:last-child {
  flex: 1;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  display: flex;
}

.space-carousel .keen-slider__slide {
  opacity: 1 !important;
}
.space-carousel .keen-slider__slide img {
  opacity: 0.25;
}

.space-carousel .visible-slide img {
  opacity: 1;
}

.text-content-about span:first-child {
  max-width: 60ch;
}




@media (max-width: 820px) {
  .menu {
    background-color: white;
    text-align: center;
    padding: 1.7rem;
    padding-top: 1.7rem;
    padding-bottom: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .links-wrapper {
    gap: inherit;
  }

  .links-wrapper > * {
    width: 100%;
  }

  .tags-wrapper > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .contact-wrapper {
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;

    text-align: justify;
    text-align-last: center;
    line-height: 1.2;
    text-transform: uppercase;
  }
}

@media (max-width: 600px) {
  .main-keen-slider {
    pointer-events: none !important;
  }
  #bottom-slider {
    height: 100svh;
    display: flex;
    align-items: flex-end;
    z-index: 1000;
  }
  #bottom-slider .keen-slider__slide {
    height: 2.5rem;
  }
  .green-box-wrapper {
    width: 3.5rem;
    height: 2.5rem;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    bottom: 0.5rem;
    transform: translateX(-50%);
    z-index: 1000000;
  }

  .fake-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .links-wrapper a {
    text-align: center;
  }

  .logo {
   transform: translateX(1rem);
  }

  .space-carousel {
      min-height: 40vh;
  }
}
