*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;

}

p{
    font-weight: 300;
    color: #000;
    line-height: 2.5;
}

header{
    position: relative;
    top: 0%;
    left: 0%;
    padding: 20px 10px;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: 0.5s;
}

.logo{
    color: #000;
    font-weight: bold;
    font-size: 2em;
    text-decoration: none;
}
.logo img{
    max-width: 350px;
    max-height: 250px;
}
.logo span{
    color: #fb911f;
}

.navbar{
    display: flex;
    position: relative;
}
.navbar li{
    list-style: none;
}
.navbar a {
    color: #000;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 700;
}

header .navbar li a:hover{
    color: #fb911f;
    border-bottom: 2px solid #fb911f;
    
}


.btn1{
    font-size: 1em;
    color: #fff;
    background: #fb911f;
    padding: 10px 20px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.5s;
    margin-left: 10px;
}
.btn1:hover{
    letter-spacing: 4px;
}
section{
    padding: 100px;
}
/* Appliquer des styles de base au corps */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Centrer le conteneur de contenu */
.content {
    text-align: center;
    margin: 20px;
}

/* Style du titre */
.titre-texte {
    font-size: 2em;
    margin-bottom: 50px;
}

.titre-texte span {
    font-size: 1.4em;
    color: #fb911f; /* Couleur pour les lettres en span */
}

/* Style pour le premier texte */
.text {
    margin: 150px;
}

/* Style pour l'image */
.image1 {
    margin: 20px;
}

.image1 img {
    max-width: 80%;
    height: auto;
}

/* Style pour le second texte */
.text2 {
    margin: 20px;
    text-align: justify; /* Aligner le texte à gauche */
}

/* Conteneur pour l'image et le second texte */
.image-and-text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 80%; /* Ajustez la largeur selon vos besoins */
}

.image-and-text .image1 {
    flex: 1;
    margin-right: 20px;
}

.image-and-text .text2 {
    flex: 1;
    margin-left: 20px;
}

/* Style pour l'image */
.image2 {
    display : block;
    margin: auto;
    
}

.image2 img {
    max-width: 82%;
    height: auto;
}
/* Conteneur pour l'image à droite et le troisième texte */
.image-and-text2 {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    width: 80%; /* Ajustez la largeur selon vos besoins */
}

.image-and-text2 .text3 {
    flex: 1;
    margin-right: 20px;
    text-align: justify;
}

.image-and-text2 .image2 {
    flex: 1;
    margin-left: 20px;
    margin-right: 20px; /* Ajustez la marge droite */
    display: flex;
    justify-content: flex-end;
}

/* Style du titre */
.titre-texte2 {
    font-size: 1.2em;
}

.titre-texte2 span {
    font-size: 1em;
    color: #fb911f; /* Couleur pour les lettres en span */
}


.spectacle{
    margin-top: -100px;
}
.spectacle .contenu {
    display: flex;
    flex-wrap: wrap; /* Les boîtes passent à la ligne sur les petits écrans */
    justify-content: center; /* Centre les boîtes sur la ligne */
    gap: 20px; /* Espacement entre les boîtes */
    margin-top: 40px;
}

.spectacle .contenu .box {
    flex: 1 1 calc(25% - 20px); /* Largeur dynamique pour 4 boîtes */
    max-width: 300px; /* Limite la taille des boîtes */
    min-width: 250px; /* Assure une bonne lisibilité sur petits écrans */
    border: 5px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
}

.spectacle .contenu .box .imbox {
    width: 100%;
    height: 200px; /* Taille fixe pour les images */
    overflow: hidden; /* Coupe l'image si elle dépasse */
}

.spectacle .contenu .box .imbox img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Les images remplissent l'espace tout en gardant les proportions */
}

.spectacle .contenu .box .text2 {
    text-align: center;
    margin-top: 10px;
}

.spectacle .contenu .box .btn1 {
    align-self: center;
    margin-top: auto; /* Place le bouton en bas du contenu */
}

@media (max-width: 768px) {
    .spectacle .contenu {
        flex-direction: column; /* Les boîtes s'empilent */
        align-items: center; /* Centrer les boîtes */
    }

    .spectacle .contenu .box {
        flex: 1 1 100%; /* Chaque boîte prend toute la largeur */
        max-width: 100%; /* Pas de limite pour la largeur */
    }

    .spectacle .contenu .box .imbox {
        height: 150px; /* Réduit la hauteur des images pour s'adapter */
    }
}

.image-container {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.image {
    flex: 1 1 calc(33.33% - 20px);
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.image img {
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    max-height: 400px;
}


.description {
    text-align: center;
    font-size: 1.3em;
    line-height: 1.6;
    color: #333;
    max-width: 1500px;
    margin: 20px auto; /* Centrer et espacer le texte sous les images */
    padding: 0 20px;
}

  
h2 {
    margin-top: 10px; /* Marge au-dessus du titre */
}
  
p {
    text-align: justify; /* Justifier le texte */
    margin-top: 10px; /* Marge au-dessus du paragraphe */
}

.endbar{
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.endbar li{
    list-style: none;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 20px;
}

.endbar li img {
    display: block; 
    margin-bottom: 5px; 
    width: 50px;
    height: auto;
    margin-right: 10px;
}
footer{
    position: relative;
    top: 0%;
    left: 0%;
    padding: 20px 10px;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: 0.5s;
}
