body {
    font-family: 'Arial', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #2c3e50;
}

 h1 {
  color: #fff;
}

.metronome {
    text-align: center;
}

.display {
    font-size: 2em;
    margin-bottom: 10px;
}

#startStop {
      margin-top: 30px;
    font-size: 1em;
    padding: 10px;
    margin-right: 10px;
    background-color: #2ecc71; /* Couleur verte par défaut */
    color: #fff; /* Texte blanc pour une meilleure visibilité */
    border: none;
    border-radius: 5px;
}

#startStop.stop {

    background-color: #e74c3c; /* Couleur rouge en mode "Stop" */
}


#bpm {
    color: #fff;
}

.white {
    color: #fff;
}

#bpmSlider {
  margin-top: 30px;
    width: 80%;
}

@keyframes glow {
    to {
        box-shadow: 0 0 10px 5px #e74c3c; /* Effet "glow" en rouge */
    }
}

#startStop.stop.glow {
    animation: glow 0.5s infinite alternate; /* Animation "glow" pour la classe "stop" et "glow" simultanément */
}