* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 100%;
    background: #68beef;
}

#about {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5rem;
}

.container-about {
    max-width: 1300px;
    width: 100%;
    padding: 2.5rem;
    background-color: #131C43;
    border-radius: 15px;
    display: flex;
    gap: 5rem;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-out;
}

.container-about.visible2 {
    opacity: 1;
}

.col-text,
.col-image {
    flex-basis: 50%;
}

.container-about .col-text h2 {
    color: #fff;
    font-size: 2.5rem;
}
.container-about .col-text p{
    text-align: justify;
    color: #fff;
    font-size: 1rem;
}

.container-about .col-text h2,
.container-about .col-text p,
.container-about .col-text .criter,
.container-about .col-text .criter ul {
    margin: 10px 15px;
    text-align: justify;
}

.col-text ul {
    list-style: none;
}

#about-image {
    max-width: 100%;
    border-radius: 15px;
}
/* Popup style */
.container-popup{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: ##3599D1;
    padding: 10px;
    border-radius: 15px;
    display: none;
}
.ouverirPopup{
    display: block;
}
.container-popup h3{
    color: #fff;
    font-size: 1.5rem;
}
.container-popup ul li, p{
    color: #fff;
    font-size: 1rem;
}
.container-popup ul{
    list-style: none;
    font-size: 1rem;
}
.fermer{
    cursor: pointer;
    border: none;
    background-color: #ff5151;
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-weight: bold;
    transform: scale(1);
    transition: 0.5s ease;
}
.critere {
    cursor: pointer;
    border: none;
    background-color: #3599D1;
    border-radius: 15px;
    padding: 15px;
    color: #fff;
    font-weight: bold;
    transform: scale(1);
    transition: 0.5s ease;
    margin: 0 15px;
}
.critere:hover {
    background-color: #4fd0ff;
    transform: scale(1.1);
}

/* Service section */
.nos-service-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 5rem;
}

.container-service {
    max-width: 1300px;
    width: 100%;
    height: auto;
    padding: 2.5rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.row1,
.row2 {
    display: flex;
    gap: 3rem;
    margin: 3rem;
    opacity: 0;
    transition: opacity 1s ease-out, transform 0.6s ease-out;
}

.visible3 {
    opacity: 1;
}

.row1 h3,
.row2 h3 {
    color: #fff;
    font-size: 1.5rem;
}

.nos-service-section h2 {
    color: #fff;
    font-size: 2.5rem;
}
    .nos-service-section p{
        max-width: 100%;
        margin: auto;
        text-align: justify;
    }

.container-service .service1 h3,
.container-service .service1 p,
.container-service .service1 button,
.container-service .service2 h3,
.container-service .service2 p,
.container-service .service2 button,
.container-service .service3 h3,
.container-service .service3 p,
.container-service .service3 button,
.container-service .service4 h3,
.container-service .service4 p,
.container-service .service4 button {
    margin: 15px;
    color: #fff;
}

#card-image {
    max-width: 100%;
}

#service-btn {
    cursor: pointer;
    border: none;
    background-color: #3599D1;
    border-radius: 15px;
    padding: 15px;
    color: #fff;
    font-weight: bold;
    transform: scale(1);
    transition: 0.5s ease;
}

#service-btn:hover {
    background-color: #4fd0ff;
    transform: scale(1.1);
}

.service1,
.service2,
.service3,
.service4 {
    background-color: #131C43;
    border-radius: 15px;
    flex-basis: 100%;
    transform: scale(1);
    transition: 0.5s ease;
}

.service1:hover,
.service2:hover,
.service3:hover,
.service4:hover {
    transform: scale(1.03);
}

/* Responsive */
@media screen and (max-width:768px) {
    .nos-service-section h2 {
        text-align: center;
        color: #000037;
        font-size: 1.5rem;
    }

    /* Service section */

    .container-service {
        padding: 0;
        margin: 1.5rem 0;
    }

    .nos-service-section {
        display: block;
        padding: 2.5rem;
    }

    .row1,
    .row2 {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-top: 1rem;
        margin: 1rem 0;
    }

    /* About section */
    .container-about {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    #about {
        padding: 2rem;
    }

    .container-about .col-text h2 {
        font-size: 1.5rem;
    }

    .container-about .col-text h2,
    .container-about .col-text p {
        margin: 10px;
    }

    .container-about {
        gap: 2.5rem;
        padding: 1.5rem;
    }
}

/* Très petit écran */
@media screen and (max-width:320px) {
    .nos-service-section {
        display: block;
        padding: 1rem;
    }

    #about {
        padding: 1rem;
    }

    .container-service {
        margin: 0;
    }
}