@import url('https://fonts.googleapis.com/css?family=Manrope:700|Manrope:400');

:root {
  --text: hsl(0, 0%, 98%);          /* Blanc du texte */
  --textDim: hsl(0, 0%, 65%);       /* Gris clair pour du texte secondaire */
  --background: hsl(0, 0%, 5%);     /* Noir profond du contour */

  --primary: hsl(120, 45%, 45%);    /* Vert principal du logo */
  --primaryBg: hsla(120, 45%, 45%, 10%);
  --primaryHi: hsla(120, 45%, 55%, 25%);
  --primaryFg: hsl(120, 45%, 75%);

  --secondary: hsl(89, 4%, 43%);    /* Vert-gris dominant du logo */
  --secondaryFg: hsl(89, 4%, 75%);
  --secondaryBg: hsla(89, 4%, 43%, 8%);
  --secondaryHi: hsla(89, 4%, 43%, 40%);

  --accent: hsl(120, 60%, 80%);     /* Vert clair accent (reflets du logo) */
  --accentBg: hsla(120, 60%, 80%, 5%);
  --accentHi: hsla(120, 60%, 90%, 25%);
  --accentFg: hsl(89, 4%, 75%); /* Exemple de couleur d'accent, à personnaliser */

  --offline: hsl(0, 70%, 60%);     /* Rouge vif accent */
  --offlineBg: hsla(0, 70%, 60%, 5%);
  --offlineHi: hsla(0, 70%, 70%, 25%);
  --offlineFg: hsl(89, 4%, 75%);
}

body {
  font-family: 'Manrope';
  font-weight: 400;
  background-color: var(--background);
  color: var(--text);
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  cursor: default; /* Masquer le curseur (optionnel, pour décourager le clic droit) */
}

/* Désactiver la sélection de texte */
body, * {
  user-select: none !important;
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  color: var(--textDim);
  width: 100%;
  box-sizing: border-box;
  z-index: 9999;
}

.menu:hover {
  color: var(--text);
  cursor: pointer;
}

.sitename {
  font-weight: bold;
}

.grid {
  position: absolute;
  height: 100%;
  weight: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  z-index: -1;
}

.grid-svg {
  height: 80%;
  width: 80%;
  position: relative;
  z-index: 1;
}

.blur {
  height: 12rem;
  width: 12rem;
  background-color: var(--primary);
  filter: blur(100px);
  border-radius: 100px;
  z-index: 0;
  position: absolute;
}

img {
  height: 20vh;
  width: auto;
  z-index: 2;
  position: relative;
  margin-top: 50px;
}

.title {
  font-size: 10rem;
  font-weight: 700;
  letter-spacing: -0.8rem;
  display: flex;
  flex-direction: column;
  position: absolute;
  justify-content: center;
  align-self: center;
  height: 100%;
  z-index: 1000;
}

.title > p {
  margin: 0;
  line-height: 10rem;
  width: auto;
}

.title > p:nth-child(1){
  align-self: flex-start;
}

.title > p:nth-child(2){
  color: var(--primary);
  align-self: flex-end;
}

.title > p:nth-child(2) > span {
  all: unset;
  color: var(--text);
}

.title > p:nth-child(3){
    color: var(--accentHi);
  align-self: flex-end;
}

.material-icons {
  display: none;
  fill: var(--text);
}



.button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 50px;
  width: 160px;
  z-index: 9999;
}

button {
  height: 50px;
  width: 160px;
  clip-path: path("M 0 25 C 0 -5, -5 0, 80 0 S 160 -5, 160 25, 165 50 80 50, 0 55, 0 25");
  border: none;
  border-radius: 13px;
  background-color: var(--primaryBg);
  box-shadow: 0px -3px 15px 0px var(--primaryHi) inset;
  color: var(--primaryFg);
  font-family: "Manrope";
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  transform: translateY(0px);
  transition: all 0.2s ease;
}

span {
  width: 100px;
  height: 60px;
  background-color: var(--primaryHi);
  border-radius: 100%;
  filter: blur(20px);
  position: absolute;
  bottom: -50%;
  transition: all 0.2s ease;
}

.button:hover > span {
  opacity: 60%;
}

.button:hover > button {
  transform: translateY(5px);
}

.button.offline > button {
  background-color: var(--offlineBg) !important;
  box-shadow: 0px -3px 15px 0px var(--offlineHi) inset !important;
  color: var(--offlineFg) !important;
}

.button.offline > span {
  background-color: var(--offlineHi) !important;
}

.button.first {
  top: 12%;
  right: 20%;
}

.button.sec {
  bottom: 13%;
  right: 11%;
}

.button.sec > button {
  background-color: var(--accentBg);
  box-shadow: 0px -3px 15px 0px var(--accentHi) inset;
  color: var(--accentFg);
}

.button.sec > span {
  background-color: var(--accentHi);
}

.button.third {
  bottom: 25%;
  left: 15%;
}

.button.third > button {
  background-color: var(--secondaryBg);
  box-shadow: 0px -3px 15px 0px var(--secondary) inset;
  color: var(--secondaryFg);
}

.button.third > span {
  background-color: var(--secondaryHi);
}

.button.fourth {
  bottom: 76%;
  left: 22%;
}

.button.fourth > button {
  background-color: var(--secondaryBg);
  box-shadow: 0px -3px 15px 0px var(--secondary) inset;
  color: var(--secondaryFg);
}

.button.fourth > span {
  background-color: var(--secondaryHi);
}




.top-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 50%;
}

.bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 50%;
}

/* Pour désactiver tous les événements souris sur un élément spécifique */
.no-pointer-events {
  pointer-events: none !important;
}

@media screen and (max-width: 1000px) {
  .title {
    font-size: 4rem;
    line-height:
  }

  .title > p {
    line-height: 5rem;
    letter-spacing: -0.3rem;
  }

  nav > :not(.sitename, .material-icons) {
    display: none;
  }

  nav {
    justify-content: space-between;
  }

  .material-icons {
    display: flex;
    align-items: center;
  }

}