*{
    border-color: black;

}
body {
    width: 1000px;
    margin: auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
   
}

header {
    text-align: center;
    padding: 40px;
    font-size: 24px;
    color: white;
    transition: background 2s ease;
    
}

#section1{
    height: 1000px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.groupe{
    display: flex;
    margin-top: 50px;

}
#img1,#img2,#img3{
    height: 250px;
    min-width: 150px;
    border-radius: 10px 0px 10px 10px;
    margin-left: 50px;
    margin-top: 20px;
}
#img1{
    background-image: url(img/shutterstock_2391532089-min.webp);
    background-size: cover;
    background-position: center;
}
#img2{
    background-image: url(img/960x0.webp);
    background-size: cover;
    background-position: center;
}
#img3{
    background-image: url(img/letsile-tebogo-tokyo-4x400.avif);
    background-size: cover;
    background-position: center;

}
.titre{
    margin-top: 20px;
    text-align: center;
    background-color: rgb(200, 200, 200);
    padding: 5px;
    border-radius: 0px 5px 5px 5px;
}
.text{
    text-align: center;
    width: 500px;
    margin-left: 50px;
    margin-top: 20px;
}
.bouton-etendre{
    background-color: white;
    width: 200px;
    margin: auto;
}

.change-fond{
    margin-top: 25px;
    
}

.bouton-etendre {
    border-radius: 10px;
    padding: 5px;
    background-color: lightblue;
    text-align: center;
    cursor: pointer;
    user-select: none;
}
.cacher{
    height: 0;
    overflow: hidden;
}
.text{
    background-color: white;
    border-radius: 20px;
    padding: 10px;
}

#section-btn{
    height: 100px;
}
/* Style normal des boutons */
#section-btn button {
  background-color: blue;   /* bleu par défaut */
  color: yellow;            /* texte jaune par défaut */
  padding: 10px 20px;
  margin: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Style appliqué au bouton sélectionné */
#section-btn button.active {
  background-color: rgb(0, 255, 0);  /* vert quand sélectionné */
  color: rgb(255, 0, 0);               /* texte rouge quand sélectionné */
}
