:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: #f0f0f0;
  background-color: #000;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* color: #a491e9; */
/* color: #efe9db; */

.mobile-only {
  display: flex;
}
.desktop-only {
  display: none;
}

@font-face {
  font-family: "fust";
  src: url("/assets/fonts/fust.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "geistMed";
  src: url("/assets/fonts/geistMed.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "geistxBold";
  src: url("/assets/fonts/geistxBold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
  font-family: "geistMed";
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

*::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #000;
  background: #000;
}

#loading-screen {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

#loading-screen-contents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* justify-items isn't needed for flex containers */
  width: 100%; /* Use width instead of max-width for consistent sizing */
  height: 50vh; /* Use viewport units or fixed px height */
  overflow: hidden;
  margin: auto; /* Center the container if needed */
}

#loading-screen-contents img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 80%;
  mix-blend-mode: screen;
}

#loading-logo {
  margin: 0;
}

/* #loading-screen-contents img {
  position: absolute;
  width: 100%;
  max-width: 10vh;
  height: auto;
  object-fit: cover;
  border: 2px solid purple;
} */

#loading-overlay {
  position: relative;
  backdrop-filter: blur(10px);
  /* background-color: rgba(164, 145, 233, 0.777); */
  background: linear-gradient(-45deg, #efe9db, #a491e9, #000000, #a491e9);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  width: 100vw;
  height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes rotate {
  0% {
    transform: perspective(1000px) rotateY(0deg);
  }
  25% {
    transform: perspective(1000px) rotateY(90deg);
  }
  50% {
    transform: perspective(1000px) rotateY(180deg);
  }
  75% {
    transform: perspective(1000px) rotateY(270deg);
  }
  100% {
    transform: perspective(1000px) rotateY(360deg);
  }
}

#loading-message {
  /* font-family: "geistMed"; */
  font-family: "fust";
  font-size: 5vw;
  mix-blend-mode: screen;
  animation: opacityPulse 4s ease-in-out infinite;
  letter-spacing: 0.01em;
  max-width: fit-content;
  filter: blur(1px);
}

@keyframes opacityPulse {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
  }
}

#splash {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  position: relative;
  height: 100vh;
  width: 100%;
}

#lilGuyLogo {
  position: relative;
  object-fit: contain;
  height: 100%;
  background: transparent;
  padding: 0;
  margin: 0;
}

#headerBar {
  display: flex;
  position: relative;
  justify-content: space-between;
  font-size: 2rem;
  width: 100%;
  overflow: hidden;
  height: 7.5%;
}

#headerBar-left {
  position: relative;
  height: 100%;

  /* width: 100%; */
  width: fit-content;
  object-fit: contain;
  /* overflow: hidden; */
  transform: scaleX(-1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  overflow: hidden;
  background-color: none;
  background: none;
  min-height: fit-content;
}

#headerBar-right {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: auto;

  overflow: hidden;
  min-width: 100px;
  max-width: 95vw;

  align-items: flex-start;

  /* mask-image: linear-gradient( */
  /* to right, */
  /* transparent 0%, */
  /* black 5%, */
  /* black 90%, */
  /* transparent 100% */
  /* ); */
  /* -webkit-mask-image: linear-gradient( */
  /* to right, */
  /* transparent 0%, */
  /* black 5%, */
  /* black 90%, */
  /* transparent 100% */
  /* ); */
}

#nav {
  display: none;
  height: 100%;
  padding: 0;
  margin: 0;
}

#nav ul {
  height: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  padding-left: 1rem;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 1rem;
}

.nav-item a:hover {
  color: #a491e9;
  filter: blur(1px);
  cursor: pointer;
}

.nav-item a {
  transition: color 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  font-size: 0.8rem;
  font-family: geistxBold;
  text-transform: uppercase;
  min-height: fit-content;

  /* color: #efe9db; */
  color: #efe9db;
  text-decoration: none;
}

#video-credits {
  width: 100%;
  height: 100%;
  gap: 0.5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;

  /* margin-top: 10%; */

  flex-wrap: wrap;
  pointer-events: none;
  box-sizing: border-box;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.credit-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.credit {
  position: relative;
  font-family: "geistMed";
  line-height: 1.3rem;
  /* flex-grow: 1; */
  min-width: 20%;
  width: 100%;

  height: 100%;
  color: white;
  display: flex;
  align-items: center;
  /* border: 0.7px solid #a491e9; */
  border-bottom: 0.6px solid white;
  padding: 0.25rem 1.5rem;
  padding-bottom: 0 5rem;
  /* padding-right: 1.5rem; */
}

.credit-role {
  font-family: fust;
  opacity: 1;
}
.credit-name {
  opacity: 1;
  text-align: right;
}

#footerBar {
  position: relative;
  display: flex;
  height: 7.5%;
}

#about {
  display: flex;
  position: relative;
  /* gap: 50px; */
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  /* height: 100%; */
  min-height: fit-content;
  width: 100%;
}

#about-text {
  width: 100%;
  /* height: 100%; */
  height: fit-content;
  display: flex;
  padding: 10% 15%;
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

#video-description {
  /* position: relative; */
  /* text-align: center; */
  /* font-family: "geistMed"; */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 5rem 2vw;
  width: 56%;
}

#video-client {
  font-family: "geistMed";
  font-size: 2rem;
  margin: 0;
  text-align: center;
}

#about-copy {
  position: relative;

  font-family: "geistMed";
  line-height: 1.3rem;
  padding: 0 12vw;
}

#video-description-copy {
  /* position: relative; */

  /* font-family: "geistMed"; */
  /* line-height: 1.3rem; */
  /* padding: 0 12vw; */
}

#euclidLogo {
  padding: 4% 35%;
  position: relative;
  /* height: 100%; */
  width: 100%;
  object-fit: contain;
}

#socials {
  mix-blend-mode: lighten;
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.social-icon {
  height: 1.5rem;
  width: 1.5rem;
  position: relative;
  object-fit: contain;
}

.social-icon {
  cursor: pointer;
  transition: filter 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.social-icon:hover {
  filter: blur(2px);
}

#imdb {
  height: 3rem;
  width: 3rem;
}
