﻿
.bloc-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5vh;
    margin-bottom: 2.5vh;
}

.bloc {
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
}

.ellipse {
    background-color: #E3D1AC;
    border: 2px solid #C19A40;
    border-radius: 50%;
    width: 18vw;
    height: 18vh;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.4rem;
    margin-right: -120px; /* chevauchement du rectangle */
}

.rectangle {
    justify-content: center;
    align-content: center;
    background-color: #F0E6D2;
    border: 1px solid #aaa;
    border-radius: 15px;
    padding: 5px;
    padding-left: 130px; /* laisser de l’espace pour l’ellipse */
    flex: 1;
    width: 80vw;
    height: 16vh;
    z-index: 1;
}

.paragraphe {
    margin: 0;
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .bloc {
        flex-direction: column;
        align-items: center;
        margin-right: 0px;
    }

    .ellipse {
        margin-right: 0px;
        max-height: 120px;
        min-width: 120px;
        width: 30vw;
        margin-bottom: -5.2vh;
        z-index: 2;
    }

    .rectangle {
        padding-left: 30px;
        padding-top: 70px;
        text-align: center;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 767px) {
    .bloc {
        flex-direction: column;
        align-items: center;
        min-height: 31.55vh;
        margin-right: 0px;
    }

    .ellipse {
        margin-right: 0px;
        max-height: 120px;
        min-width: 160px;
        width: 35vw;
        margin-bottom: -5.2vh;
        z-index: 2;
    }

    .rectangle {
        padding-left: 30px;
        padding-top: 40px;
        text-align: center;
        min-width: 260px;
        min-height: 400px;
    }
}
