/* Styles existants */

.video-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.video-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#teaser-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    background-color: black;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(216, 216, 216);
    z-index: 2;
    text-align: center;
}

.presentation-container {
    width: 90%;
    align-items: space-between;
}

.presentation-title {
    font-size: 25px;
    width: 43%;
    text-align: left;
}

.presentation-text {
    width: 60%;
    text-align: left;
    font-size: 14px;
}

.scroll-down {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down img {
    width: 50px;
    height: auto;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 150px;
    padding-bottom: 80px;
    border-radius: 8px;
}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 80px;
    border-radius: 8px;
}

.accueil {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.accueil img,
.facebook-video iframe {
    object-fit: cover;
    height: auto;
    max-height: 500px;
}

.texte-accueil h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.texte-accueil h2 {
    font-size: 1.5em;
    margin-bottom: 40px;
}

.texte-accueil p {
    font-size: 1em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 50px;
}

.partenaires {
    width: 100%;
    overflow: hidden;
    background-color: white;
    position: relative;
    padding: 20px 0;
}

.partenaire-logos {
    display: flex;
    gap: 30px;
    align-items: center;
    animation: defilement-linear infinite;
}

.partenaire-logos img {
    width: 150px;
    height: fit-content;
    flex-shrink: 0;
}

.partenaires h2 {
    margin-left: 30px;
    max-width: 1200px;
    margin: 20px auto;
}

@keyframes defilement {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.mot-president {
    text-align: center;
    margin-bottom: 70px;
}

.portrait-president img {
    width: auto;
    height: 200px;
    margin-bottom: 30px;
    margin-left: 20px;
    margin-right: 20px;
}

.portrait-president p {
    margin-bottom: 40px;
}

.photos-president img {
    width: auto;
    height: 200px;
    margin: 20px;
    border-radius: 10px;
}

.logos {
    margin-bottom: 40px;
}

.logos img {
    width: 150px;
    height: auto;
    margin: 20px;
}

.a-propos {
    text-align: center;
    margin-bottom: 70px;
}

.texte-bouton h2 {
    text-align: left;
}

.texte-bouton p {
    font-size: 1em;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 50px;
}

.texte-photos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.photo-texte {
    margin: 30px;
    text-align: center;
}

.photo-texte img {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.photo-texte p {
    font-size: 0.9em;
}

#map {
    width: 100%;
    height: 400px;
    margin-top: 50px;
}

/* Media queries pour les téléphones portables */
@media (max-width: 768px) {
    .presentation-title, .presentation-text {
        width: 80%;
        text-align: center;
        margin: 0 auto;
    }

    .presentation-title {
        font-size: 20px;
    }

    .presentation-text {
        font-size: 12px;
    }

    .container {
        padding-top: 50px;
    }

    .accueil {
        flex-direction: column;
        align-items: center;
    }

    .texte-accueil h1 {
        font-size: 1.6em;
        padding-left: 10px;
    }

    .texte-accueil h2 {
        font-size: 1.2em;
        padding-left: 20px;
    }

    .texte-accueil p {
        font-size: 0.9em;
        width: 80%;
        margin: 0 auto;
    }

    .texte-accueil button {
        width: 80%;
        margin: 20px auto;
        display: block;
    }

    .facebook-video {
        width: 100%;
        max-width: 80%;
        margin: 0 auto 10px; 
        height: 200px;
    }

    .facebook-video iframe {
        width: 100%;
        height: auto;
    }

    .partenaires h2 {
        padding-left: 20px;
    }

    .photos-president img {
        width: 100%;
        max-width: 300px;
    }

    .logos img {
        width: 100px;
    }

    .texte-bouton p {
        font-size: 0.9em;
        width: 80%;
        margin: 0 auto;
    }

    .texte-bouton button {
        width: 80%;
        margin: 20px auto;
    }

    .photo-texte img {
        width: 150px;
    }

    .scroll-down {
        bottom: 50px;
    }

    .scroll-down img {
        width: 30px;
    }

    #map {
        width: 80%;
        height: 300px;
        margin: 0 auto;
    }

    .mot-president p {
        width: 80%;
        margin: 0 auto;
    }

    .mot-president h2 {
        text-align: left;
        padding-left: 10px;
    }

    .a-propos p {
        width: 80%;
        margin: 0 auto;
    }

    .a-propos h2 {
        text-align: left;
        padding-left: 10px;
    }
}