.all {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.top {
    background-color: #321A59;
    background-image: url(/public/images/top-propos.JPG);
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
    width: 100%;
    height: 96vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top .content {
    /* border: #47267a 1px solid; */
    display: flex;
    align-items: center;
    flex-direction: column;
}


.top h1 {
    font-size: 7rem;
    color: white;
    text-align: center;
    text-transform: capitalize;
}

.top a {
    font-size: 1.5rem;
    padding:1rem;
    text-decoration: none;
    border: 2px solid white;
    transition: .3s;
    color: white;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap:10px;
}


.top a:hover {
    color: #ffa14d;
}

/* --------------mes passions--------------- */

.all p {
    padding-top: 1rem;
    font-weight: 600;
}

.sections-propos {
    width: min(100% - 8rem, 90rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    /* padding: 200px 0; */
}

/* .sections-propos div {
    border: 2px solid rgb(245, 245, 245);
} */

.sections-propos a {
    color: #ffa14d;
    font-weight: 500;
    text-decoration: none;
    transition: .3s;
}

.sections-propos a:hover {
    color: #ff8317;
    text-decoration:underline;

}

.sections-propos > div {
    display: flex;
    width: 100%;
    padding:150px 0;
}

.reverse {
    flex-direction: row-reverse;
}



.sections-propos div > div {
    width: 50%;
}

.sections-propos h2 {
    color: #321A59;
    font-size: 4rem;
    text-transform: capitalize;
    padding-bottom: 2rem;
    border-bottom: #ffa14d 3px solid;
    margin-bottom: 1rem;
}

.sections-propos p {
    font-size: 1.5rem;
    color: #321A59;
    line-height: 18px;
}



.sections-propos .section-description {
    width: 100%;
}

.sections-propos .illustration {
    display: flex;
    align-items:flex-end;
    justify-content: right;
}

.reverse-illustration {
    display: flex;
    align-items:flex-end;
    justify-content: left;
}

.sections-propos img {
    box-shadow: 0 0 20px 1px rgb(219, 219, 219);

}

.sections-propos .section-description img {
    width: 400px;
    height: 400px;
}

.sections-propos .section-etudes img {
    width: 400px;
    height: 400px;
}

.sections-propos .section-passions img {
    width: 400px;
    height: 400px;
}

.sections-propos .section-projets img {
    width: 400px;
    height: 400px;
}




@media screen and (max-width: 1000px) {
    .sections-propos > div {
        flex-direction: column;
    }

    .sections-propos div > div {
        width: 100%;
    }

    .section-description .illustration, 
    .section-etudes .reverse-illustration, 
    .section-passions .illustration, 
    .section-projets .reverse-illustration {
        display: flex;
        align-items: center;
        justify-content: center;
        padding:5em 0;
    }

    .sections-propos .section-passions img,
    .sections-propos .section-description img,
    .sections-propos .section-etudes img,
    .sections-propos .section-projets img {
        width: 300px;
        height: 300px;
    }
}