@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

body {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: #111;
}

.titre {
  width: 100%;
  margin: 0 auto 1rem auto;
  text-align: center;
    font-size: clamp(2.2rem,5vw,4rem);
  --animate-duration: 2s;
}

.temperature-box {
  text-align: center;
}

.temperature-valeur {
  color: #c1121f;
  font-size: 2rem;
}

#cadre {
  width: 300px;
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(30, 10px);
  margin: 20px auto 40px auto;
}

.pixel {
  width: 10px;
  height: 10px;
  background: white;
}

.rouge {
  background: red;
}

footer svg {
  transition: transform 0.2s ease;
}

footer a:hover svg,
footer a:focus svg {
  transform: scale(1.15);
}

.jeu {
  text-align: center;
  word-break: break-word;
}

@media (max-width: 576px) {
  #cadre {
    transform: scale(0.9);
    transform-origin: center;
  }

  .temperature-valeur {
    font-size: 1.6rem;
  }
}
h1.animate__animated {
  display: block;
}