@font-face {
  font-family: "OGG";
  src: url(/src/fonts/Ogg-Regular.otf);
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "OGG";
  src: url(/src/fonts/Ogg-RegularItalic.otf);
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Helvetica Neue Regular";
  src: url(/src/fonts/HelveticaNeueRoman.otf);
  font-weight: 400;
}

@font-face {
  font-family: "Helvetica Neue Light";
  src: url(/src/fonts/HelveticaNeueLight.otf);
  font-weight: 400;
}

.page-transition {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  z-index: 9999;
  pointer-events: none;
}


* {
  cursor: none !important;
}

body {
  background-color: black;
  color: white;
  margin: 0;
  padding: 0;
  font-family: "OGG", serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Bouton de fermeture */
.close-btn {
  position: absolute;
  width: 70px;
  /* ← élargit la hitbox */
  height: 70px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  transition: transform 0.3s ease;
}


.menu-content {
  text-align: center;
}

/* Navigation */
.menu-content ul {
  display:flex;
  flex-direction: column;
  list-style: none;
  position: relative;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  gap: 16px;
}

.menu-content li {
  display: flex;
  align-items:baseline;
  justify-content: center;
  flex-direction: row;
  gap: 40px;
  position: relative;
  font-size: 120px;
  letter-spacing: -5px;
  font-weight: 400;
}

/* Numéros */
.menu-num {
  font-family: "OGG", serif;
  font-style: normal;
  font-size: 20px;
  letter-spacing: 0px;
  opacity: 0.6;
}

/* Liens */
.menu-content a {
  color: white;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.3s ease;
}

/* Effet typographique mix (serif + sans-serif) */
.menu-content li a {
  font-family: "OGG", serif;
  font-style: normal;
}

.alt {
  font-family: "OGG";
  font-style: italic;
}

.end-text {
  font-family: "Helvetica Neue Regular";
}


/* Version mobile */

@media screen and (max-width: 768px) {

  * {
    cursor: auto !important;
  }

  body {
    padding-top: 40px;
  }

  .close-btn {
    top: 80px;
    width: 40px;
    height: 40px;
  }

  .menu-content ul {
    gap: 40px;
  }

  .menu-content li {
    font-size: 64px;
    letter-spacing: -2px;
    gap: 16px;
  }

  .menu-num {
    font-size: 14px;
    opacity: 0.5;
  }
}
