@import url("https://fonts.googleapis.com/css2?family=Boldonse&display=swap");
body {
  font-family: "Boldonse", system-ui;
  background-color: #000;
  margin: 0;
  height: 200vh;
  overflow-x: hidden;
  position: relative;
  opacity: 0;
  transition: opacity 0.75s;
}

#scene-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.nav {
  background-color: transparent;
  color: white;
  padding: 5vh 5vw;
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  & h1 {
    font-size: clamp(1.5em, 4vw, 2.69em);
    margin-bottom: 50px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    max-width: 90%;
  }
}

.nav ul {
  list-style: none;
  padding: 0;
  text-transform: uppercase;
  & li {
    margin: 30px 0;
    font-size: 1.5em;
    cursor: pointer;
    transition: color 0.3s;
    & span {
      text-decoration: none;
      color: #898989;
      transition: color 0.35s;
      &:hover {
        color: #fff;
      }
    }
    & .active {
      color: #fff;
    }
    & a {
      color: #898989;
      transition: color 0.35s;
      &:hover {
        color: #fff;
      }
    }
  }
}

.content-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.presentation {
  background-color: transparent;
  color: white;
  padding: 5vh 5vw;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  & .qsj,
  & .tech {
    position: relative;
    text-align: center;
    margin: 6vh;
    width: min(80vh, 90%);
    & h1 {
      font-size: 1em;
      margin-bottom: 20px;
      text-transform: uppercase;
      display: flex;
      flex-direction: column;
    }
    & span {
      text-wrap: pretty;
      font-size: 1.5em;
      margin-bottom: 20px;
      display: block;
    }
  }
}

@media screen and (max-width: 768px) {
  .nav {
    padding: 3vh 5vw;
  }
  .nav h1 {
    font-size: clamp(1.2em, 3vw, 2em);
  }
  .nav ul li {
    margin: 15px 0;
    font-size: 1.2em;
  }
  .presentation {
    padding: 3vh 5vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .presentation .qsj,
  .presentation .tech {
    width: 90%;
    margin: 3vh auto;
  }
  .presentation .qsj span,
  .presentation .tech span {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 480px) {
  .nav {
    padding: 2vh 5vw;
  }
  .nav h1 {
    font-size: clamp(1.4em, 2.5vw, 1.5em);
  }
  .nav ul li {
    margin: 10px 0;
    font-size: 1em;
  }
  .presentation {
    padding: 2vh 5vw;
  }
  .presentation .qsj,
  .presentation .tech {
    margin: 2vh auto;
  }
  .presentation .qsj span,
  .presentation .tech span {
    font-size: 1em;
  }
}
