.container {
    margin: auto;
    max-width: 1200px;
    padding: 50px 15px;
    width: 50%;
    text-align: justify
}

h1 {
    text-align: center;
}


#section_1 .services {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

#section_1 .services .elmt {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#section_1 .services .elmt>img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 4px 4px 5px 2px rgba(0,0,0,0.25);
}

#section_1 .services .elmt h2, 
#section_1 .services .elmt p {
    margin-bottom: 20px;
}

#section_1 .services .elmt .content img {
    object-fit: contain;
    width: 25px;
    height: 25px;
}

#section_1 .services .elmt .additional-txt {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
    z-index: 100;
    padding-bottom: 20px;
}

#section_1 .services .elmt .additional-txt.visible {
    max-height: 500px; /* Une valeur suffisamment grande pour contenir le contenu complet */
    opacity: 1;
}

@media (max-width: 1199px) {
    #section_1 .services .elmt {
        flex-flow: column;
        max-width: 800px;
        margin: auto;
        text-align: center;
    }
}

@media (max-width: 592px) {
    #section_1 .services .elmt>img {
        width: 300px;
        height: 300px;
    }

    .main-services {
        display: flex;
    }

    .container {
        width: 100%;
    }
}


@media (max-width: 400px) {
    #section_1 .services .elmt>img {
        width: 270px;
        height: 270px;
    }

    .main-services {
        display: flex;
    }

    .container {
        width: 100%;
    }
}
