p {
    text-align: center;
}

main .box1
main .box2
main .box3 {
    margin-bottom: 30px ;
}

.box1 {
    display: flex;
    align-items: center;
    background-color: #555555;
    border-radius: 10px; /* Bordures arrondies */
    padding: 20px; /* Espacement interne */
    margin-bottom: 20px; /* Espacement externe */
}

.box1 img {
    width: 180px;
    height: 180px;
    margin-right: 20px; /* Espace entre l'image et le texte */
    border-radius: 50%;
}

.box1 p {
    margin: 0;
}

.box2 {
    background-color: #555555; /* Fond gris */
    border-radius: 10px; /* Bordures arrondies */
    padding: 20px; /* Espacement interne */
    margin-bottom: 20px; /* Espacement externe */
    display: flex; /* Utilisation de flexbox */
    flex-wrap: wrap; /* Permet le passage à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments horizontalement */
}

.box2 h3 {
    margin-top: 0; /* Supprimer la marge supérieure par défaut */
    color: #ffffff; /* Couleur du titre */
    width: 100%; /* Largeur maximale pour occuper toute la largeur disponible */
}

.box2 .item {
    display: flex; /* Utilisation de flexbox pour aligner les éléments horizontalement */
    flex-direction: column; /* Empile les éléments les uns sur les autres */
    align-items: center; /* Centrer horizontalement les éléments */
    text-align: center; /* Centrer le texte */
    margin: 0 25px 0px; /* Espacement autour de chaque item */
}

.box2 img {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Bordure ronde pour l'image */
}

.box2 p {
    margin: 5;
    color: #ffffff; /* Couleur du texte */
}

.box3 {
    background-color: #555555;
    border-radius: 10px;
    padding: 20px;
    display: flex; /* Active flexbox */
    flex-wrap: wrap; /* Autorise les éléments à passer à la ligne */
    margin: 0 auto; /* Centre le conteneur */
    justify-content: center;
    margin-bottom: 50px;
}

.box3 h3 {
    margin-top: 0;
    color: #ffffff;
    width: 100%;
}

.box3 .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 30px;
}

.box3 img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.box3 p {
    max-width: 130px;
    text-align: center;
    margin: 5px 0;
    color: #ffffff;
}

.inspiration {
    text-align: center;
}



/* SPOTIFY WIDGET */

.spotify-section {
    width: 100%;
    margin: 10px 0;
    box-sizing: border-box;
}

.spotify-widget {
    width: 350px;
    height: 352px;
    border-radius: 12px;
    margin: 0;
    max-width: 100%;
}

.out-now-text {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 10px;
    text-align: center;
    text-shadow: 0 0 3px #e4e4e4, 0 0 10px #ebebeb;
    animation: pulse 1.5s infinite;
}



@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Quand l'écran est trop petit pour garder le widget à droite sans chevauchement */
@media screen and (max-width: 700px) {
    .spotify-section iframe {
    width: 100%;
    height: 352px;
}

    .spotify-widget {
        width: 50%;
        height: auto;
    }

    .out-now-text {
        font-size: 18px;
    }
}


  main p {
    text-align: center;
  }


  