@font-face {
  font-family: 'Medway Thin';
  src: url(./public/fonts/Medway-Thin.woff);
}

@font-face {
  font-family: 'Medway Ultralight';
  src: url(./public/fonts/Medway-Ultralight.woff);
}

@font-face {
  font-family: 'Medway Light';
  src: url(./public/fonts/Medway-Light.woff);
}

@font-face {
  font-family: 'Medway Regular';
  src: url(./public/fonts/Medway-Regular.woff);
}

@font-face {
  font-family: 'Medway Medium';
  src: url(./public/fonts/Medway-Medium.woff);
}

@font-face {
  font-family: 'Medway Bold';
  src: url(./public/fonts/Medway-Bold.woff);
}

@font-face {
  font-family: 'Medway Black';
  src: url(./public/fonts/Medway-Black.woff);
}

html, body {
	height: 100%;
	margin: 0;
	padding: 0;
  overflow: hidden;
}

a, a:visited {
  color: inherit;
  text-decoration: none;
}

/* LOADING SCREEN */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 1);
  z-index: 9999;
  transition: background-color 1s ease-out, opacity 0.8s ease-out;
}

.loading-screen.fade-out {
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  color: #fff;
}

.loading-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 80px;
  fill: white;
  z-index: 10000;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1))
    drop-shadow(0 16px 48px rgba(0, 0, 0, 0.1))
    drop-shadow(0 32px 96px rgba(0, 0, 0, 0.1)) 
    blur(1px);
}

.loading-logo .cls-1 {
  fill: #fff;
}

.loading-progress {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 80px));
  width: 300px;
}

.loading-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  overflow: hidden;
}

.loading-fill {
  height: 100%;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 1px;
}

.main-content.hidden {
  visibility: hidden;
}

@media (max-width: 768px) {
  .loading-logo {
    top: 24px;
    left: 50%;
    transform: translate(-50%, 0);
  }
  
  .loading-progress {
    top: calc(24px + 80px + 40px);
    left: 50%;
    transform: translate(-50%, 0);
    width: 250px;
  }
}

/* SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER SLIDER  */

.audio-container {
  position: fixed;
  bottom: 0;
  left: 0;

  width: 100vw;
  max-height: 18px;

  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 12px;
  flex-wrap: wrap;

  z-index: 999;

  transition: max-height 0.3s ease-in-out;
}  

.audio-container-hidden {
  max-height: 0px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100vw;
  height: 18px;
  outline: none;

  z-index: 900;
}

/* Webkit browsers (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-track {
  background: rgba(255, 255, 255, 0.3);
  height: 18px;
  transition: height 0.125s ease-in-out;
}

input[type="range"]:hover::-webkit-slider-track {
  height: 24px;
}

input[type="range"]::-webkit-slider-thumb {
  opacity: 0;
}

/* Firefox */
input[type="range"]::-moz-range-track {
  background: rgba(255, 255, 255, 0.3);
  height: 18px;
  border: none;
  transition: height 0.125s ease-in-out;
}

input[type="range"]:hover::-moz-range-track {
  height: 24px;
}

input[type="range"]::-moz-range-thumb {
  opacity: 0;
}

/* Progress fill for webkit browsers */
input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(255, 255, 255, 0.8) var(--progress, 0%), 
    rgba(255, 255, 255, 0.3) var(--progress, 0%), 
    rgba(255, 255, 255, 0.3) 100%
  );
  height: 18px;
  /* border-radius: 2px; */
  transition: background 0.1s ease, height 0.125s ease-in-out;
}

input[type="range"]:hover::-webkit-slider-runnable-track {
  height: 24px;
}

/* Firefox progress fill */
input[type="range"]::-moz-range-progress {
  background: rgba(255, 255, 255, 0.5);
  height: 18px;
  /* border-radius: 2px; */
  transition: background 0.1s ease, height 0.125s ease-in-out;
}

input[type="range"]:hover::-moz-range-progress {
  height: 24px;
}

/* SOUND BUTTON SOUND BUTTON SOUND BUTTON SOUND BUTTON SOUND BUTTON SOUND BUTTON SOUND BUTTON SOUND BUTTON SOUND BUTTON SOUND BUTTON  */

.sound {
  position: absolute;
  top: 0;
  right: 0;

  padding: 36px;

  height: fit-content;
  width: fit-content;

  display: flex;
  flex-direction: row;
  gap: 4px;

  z-index: 999;

  font-family: "Medway Light";
  color: white;

  text-shadow: 1px 0 rgb(215, 215, 215), -1px 0 rgb(215, 215, 215), 0 1px rgb(215, 215, 215), 0 -1px rgb(215, 215, 215),
  1px 1px rgb(215, 215, 215), -1px -1px rgb(215, 215, 215), 1px -1px rgb(215, 215, 215), -1px 1px rgb(215, 215, 215);

}

.sound-btn {
  text-transform: uppercase;
  height: fit-content;
  color: rgb(200, 200, 200);
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.sound svg {
  height: 32px;
  width: 32px;
  
  fill: white;
  mix-blend-mode: difference;

  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2))
  drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2))
  drop-shadow(0 16px 48px rgba(0, 0, 0, 0.2));

}

.sound-btn-toggled {
  color: white;
}

.sound-btn:hover {
  color: rgb(215, 215, 215);
  cursor: pointer;
}

.sound-btn:focus {
  outline: none;
}

/* MENU ETC MENU ETC MENU ETC MENU ETC MENU ETC MENU ETC MENU ETC MENU ETC MENU ETC MENU ETC MENU ETC MENU ETC  */

button {
  background: transparent;
  border: none;
  color: rgb(255, 255, 255);
  cursor: pointer;
  outline: none;
  margin: 0;
  padding: 0;
  padding-block: 0;
  padding-inline: 0;
  overflow: visible;

  font-family: 'Medway Ultralight';
  line-height: 100%;
}

.menu-btn:hover {
  /* color: rgb(180, 180, 180); */
  font-family: 'Medway Light';
}

.music-btn {
  width: fit-content;
  height: 1.8rem;
}


.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  height: 80px;

  fill: white;

  z-index: 100;

  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1))
  drop-shadow(0 16px 48px rgba(0, 0, 0, 0.1))
  drop-shadow(0 32px 96px rgba(0, 0, 0, 0.1)) 
  blur(1px);
}

.logo:hover {
  cursor: pointer;
}

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

  /* transform: rotate(180deg); */
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  background-color: white;
}

.container {
  width: 100vw;
  height: 100vh;
  scroll-snap-type: both mandatory;
  /* overflow-x: scroll;
  overflow-y: scroll; */
  position: relative;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;

  height: fit-content;


  display: flex;
  flex-direction: column;

  box-sizing: border-box;
  padding: 36px 36px;

  text-align: left;

  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4))
  drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4))
  drop-shadow(0 32px 96px rgba(0, 0, 0, 0.4));

  transition: height 0.3s ease, padding 0.3s ease-in-out;
}

.footer--audio-on {
  padding: 54px 36px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  overflow: visible;

  text-align: left;
  width: fit-content;
}

.menu-btn, .music-btn {
  font-size: 2rem;
}

.menu-btn {
  width: fit-content;
  height: fit-content;

  text-transform: uppercase;
}

.menu-btn--light {
  font-family: 'Medway Light';
}

.menu-padding {
  padding-left: 18px;
}

.menu-bottom-margin {
  display: block;
  height: 18px;
}

.music-tracklist {
  display: flex;
  flex-direction: column;
}

.music-btn {
  font-family: "Medway Medium";
  line-height: 100%;

  text-transform: uppercase;
}

.font--black {
  font-family: "Medway Black" !important;
}

.music-btn:hover {
  font-family: "Medway Black";
}

.font--black {
  font-family: "Medway Black";
}

.hidden-menu-section {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.footer-submit {
  padding: 0;
  display: inline-block; /* optional: shrink-wrap width; remove if you want full width */
  padding-left: 18px;
}

.footer-submit h4,
.footer-submit p,
.footer-submit .inf-content,
.footer-submit .inf-input,
.footer-submit .inf-submit {
  margin: 0;
}

form {
  height: fit-content;
  margin: 0;
  line-height: 1;

  padding-bottom: 10px;
}

.footer-submit altcha-widget {
  margin: 0 !important;
  padding: 0 !important;
  display: block; /* avoid inline baseline gaps */
}

.show {
  max-height: 600px; /* sufficiently large to reveal content */
  transition: max-height 0.5s ease-in-out;
}

.inf-content {
  height: fit-content;
  display: flex;
  flex-direction: row;
  margin-top: 8px;
}

input::placeholder {
  color: rgb(200, 200, 200);
}

.inf-input {
  height: fit-content;

}

.inf-input input {
  height: 24px;
  border-bottom: 1px solid white;
}

.inf-submit {
  height: auto;
  align-content: center;
}

.inf-submit input {
  height: fit-content;
  text-align: left;
  width: fit-content;
}

.inf-submit input:hover {
  color: lightgray;
  cursor: pointer;
}

.inf-success {
  font-family: "Medway Light";
  color: white;
  font-size: 0.7rem;
} 

input {
  height: 32px;
  width: 240px;
  border: none;
  background: transparent;
  color: white;
  font-size: 1.0rem;
  outline: none;

  margin: 0;

  font-family: "Medway Light";
  text-align: left;
}

.infos-box {
  display: flex;
  flex-direction: column;
  gap: 2px;

  font-family: "Medway Light";
  font-size: 1.0rem;
  color: white;
}

.contact-box {
  margin-top: 2px;
}

.contact-label {
  text-transform: uppercase;
  font-size: 75%;
}

#mail:hover {
  color: rgb(215, 215, 215);
  cursor: pointer;
}

.credits-txt {
  margin-top: 4px;
  /* padding-top: 8px; */
  color: white;
  font-size: 0.7rem;
  line-height: 116%;
  overflow: visible;
  height: fit-content;
  font-family: "Medway Light";

  /* border-top: 1px solid white; */
}

.video-background img {
  height: 100vh;
}

.mobile-credits {
  position: fixed;
  top: auto;
  bottom: 12px;
  left: 50vw;
  transform: translate(-50%, -50%);

  text-align: center;

  display: none;

  transition: bottom 0.3s ease-in-out;
}

#desktop-video {
  display: block;
}

#mobile-video {
  display: none;
}

@media screen and (max-width: 596px) {
  .footer {
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);

    width: fit-content;

    padding: 0;
    overflow: visible;
    align-items: center;
  }

  .menu-item {
    text-align: center;
    align-items: center;
  }

  button:hover {
    color: white;
  }

  .menu-btn--light {
    font-family: 'Medway Light';
  }

  .menu-btn:hover {
    font-family: "Medway Ultralight";
  }

  .mobile-credits--audio {
    bottom: 30px;
  }

  .infos-box .credits-txt {
    display: none;
  }

  .mobile-credits {
    /* display: block; */

    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4))
    drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4))
    drop-shadow(0 32px 96px rgba(0, 0, 0, 0.4));
  }

  .credits-txt {
    font-size: 0.8rem;
    width: 80vw;
  }

  .menu-padding {
    padding: 0;
  }

  .music-tracklist {
    align-items: center;
  }

  .sound {
    display: none;
  }

  .logo {
    top: 24px;
    left: 50%;

    transform: translate(-50%, 0);

    padding-left: 0px;
  }

  .sound {
    padding: 24px;
    bottom: 0;
    top: auto;
  }

  .inf-content {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .inf-input input {
    text-align: center;
  }

  #desktop-video {
    display: none;
  }

  #mobile-video {
    display: block;
  }
}