@font-face {
  font-family: 'Chewy';
  src: url('../fonts/CHEWY-REGULAR.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.logo {
  max-height: 50vh;
  width: auto;
  margin-bottom: 1rem;
}
h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: bold;
  text-align: center;
}
h1 .highlight {
  color: #333;
}

h1, h2, h3{
    font-family: 'Chewy';
    text-align: center;
    margin:0;
    color: #68aa3e;
}

/* LOADER */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    z-index: 25000; /* Assurez-vous que le z-index est suffisamment élevé pour se superposer à tout le reste */
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px; /* Aligner le loader au centre */
    border-radius: 50%;
    border: 3px solid transparent;
    border-top: 3px solid #99c176; /* Couleur de votre choix */
    animation: spin 2s linear infinite; /* Animation de rotation */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}





/* BOUTON JOUER */
.play-button {
  background-color: #7dc447;
  color: white;
  font-weight: bold;
  font-size: 2rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Chewy';
  transition: transform 0.2s ease, background-color 0.3s;
  margin-top: 1rem;
  display:block;
  margin: 1rem auto 0;
}
.play-button:hover {
  background-color: #68aa3e;
  transform: scale(1.05);
}



.bordered{
  border: #cccc solid 1px;
  border-radius: 5px;
  padding: 3px;
  margin:10px;
}


#avatar-frame {
  width: clamp(80px, 5vw, 120px);
  height: clamp(80px, 5vw, 120px);
  margin-bottom: 1.5rem;
  border: 4px solid #7dc447; 
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
  background-color: #fff;
  box-shadow: 0 0 10px rgba(125, 196, 71, 0.5);
  margin-left: auto;
  margin-right: auto; 
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#avatar-label {
  text-align: center;
  margin-top: -1rem;
  color: #333;
  font-family: 'Arial Rounded MT Bold', 'Segoe UI', sans-serif;
}