html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Chilanka";
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000;
  color: #fff;
}

#main-screen {
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 160px 0px 0px 0px;
}

button {
  margin: 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

#content {
  /* width: 80%;
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px; */
}

h1 {
  font-family: "Star Jedi Hollow", sans-serif !important;
  font-size: 6rem;
}
h2 {
  font-family: "Star Jedi Monospaced", monospace;
  font-size: 4rem;
}
h3 {
  font-family: "Star Jedi Special Edition", sans-serif;
  font-size: 2rem;
}

p {
  font-size: 2.6rem;
  line-height: 3rem;
  font-weight: 400;
  font-style: normal;
}

.main-title {
  font-size: 6rem;
  /* font-weight: 700; */
  font-style: normal;
  cursor: pointer;
  margin-bottom: 0;
  text-align: center;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1; /* Place le canvas derrière tout le reste */
}

.deborah {
  font-family: "Dancing Script", cursive;
}

body {
  width: 100vw;
  height: 100vh;
}

#word-input {
  font-size: 2rem;
  padding: 10px;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

@font-face {
  font-family: "Chilanka";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/chilanka/v20/WWXRlj2DZQiMJYaYRoJPKdAwZg.woff2)
    format("woff2");
  unicode-range: U+0307, U+0323, U+0951-0952, U+0964-0965, U+0D00-0D7F, U+1CDA,
    U+1CF2, U+200C-200D, U+20B9, U+25CC, U+A830-A832;
}
/* latin-ext */
@font-face {
  font-family: "Chilanka";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/chilanka/v20/WWXRlj2DZQiMJYaYRoJZKdAwZg.woff2)
    format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Chilanka";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/chilanka/v20/WWXRlj2DZQiMJYaYRoJXKdA.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.play-bold {
  font-family: "Play", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.play-tiny {
  font-family: "Play", sans-serif;
  font-weight: 300;
  font-style: normal;
}

canvas {
  max-height: 100vh !important;
}

@media (max-width: 600px) {
  body {
    padding: 0rem;
    margin: 0rem;
  }
  #main-screen {
    padding: 80px 0px 0px 0px;
    height: auto;
  }

  .pere {
    font-size: 1.2rem;
  }
}

/* Barre de défilement */
::-webkit-scrollbar {
  width: 1rem; /* Largeur de la barre de défilement */
}

::-webkit-scrollbar-track {
  background: #222; /* Couleur de la piste */
  box-shadow: inset 0 0 5px #000; /* Ombre interne pour l'effet de profondeur */
}

::-webkit-scrollbar-thumb {
  background-color: #2970b7; /* Couleur du pouce (la partie déplaçable) */
  border-radius: 0.5rem; /* Arrondir les coins du pouce */
  box-shadow: 0 0 10px #2970b7; /* Glow effect */
  border: 2px solid #222; /* Bordure pour l'effet de glow */
}

/* Pour les navigateurs non-Webkit (Mozilla Firefox) */
* {
  scrollbar-width: thin;
  scrollbar-color: #2970b7 #222;
}

/* Glow effect for non-Webkit browsers */
@supports (scrollbar-color: #2970b7 #222) {
  * {
    scrollbar-shadow: 0 0 10px #2970b7;
  }
}

/* Désactive l'effet de focus pour les éléments interactifs */
* {
  -webkit-tap-highlight-color: transparent; /* Supprime le surlignage bleu sur iOS et Android */
  outline: none; /* Supprime le contour (focus) par défaut */
}

/* Désactive les bordures pour les boutons et les liens */
button,
a {
  border: none;
  outline: none;
}

/* Supprime les ombrages et bordures sur les navigateurs mobiles */
input,
textarea,
button,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
}

@media (hover: none) and (pointer: coarse) {
  /* Annuler les effets hover */
  .truth-box:hover::before {
    transform: none;
  }

  .point:hover {
    color: inherit;
    text-shadow: none;
  }
}
