@import url("header.css");

/* Style pour la section avec l'image et le texte */
@media(min-width: 1024px) {
    section {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    #services {
        max-width: 35%;
        margin-right: 20px;
    }

    #text {
        width: 90%;
        padding: 20px;
    }

    #text h1 {
        margin-top: 0;
    }

    /* Style pour le paragraphe en dessous de la section */
    #content > p {
        margin-top: 0;
        margin-bottom: 20px;
    }

    /* Style pour la section des partenaires */
    #partners {
        margin-top: 20px;
    }

    #partners h2 {
        margin-bottom: 10px;
    }

    .logo {
        display: inline-block;
        margin-right: 10px;
    }

    .logo img {
        max-width: 254px;
        height: auto;
    }
}

@media(max-width: 1023px) {
    section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #services {
        max-width: 100%;
        margin-bottom: 20px;
    }

    #text {
        max-width: 100%;
        text-align: center;
    }

    #text h1 {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    #content > p {
        margin-top: 0;
        margin-bottom: 20px;
    }

    #partners {
        margin-top: 50px;
    }

    #partners h2 {
        margin-bottom: 10px;
        text-align: center;
    }

    .logo {
        display: block;
        margin: 0 auto 10px;
    }

    .logo img {

        max-width: 100%;
        height: auto;
        width : 100%;
    }

    #footer {
        margin-bottom : 20px;
    }
}