.body-pd-accueil {
    padding-left: calc(var(--nav-width) + 1rem);
    /* transition: transform .3s ease */
}

/*home page*/

.presentation {
    height: auto;
    width: 95% !important;
    border-radius: 5px;
    border: 1px #B8CBD0 solid;
}

.text-presentation {
    margin-top: 10px;
    padding: 15px;
    width: 100%;
    height: 400px;
    text-align: justify;
    scrollbar-color: #137C8B white;
    scrollbar-width: thin;
    overflow: auto;

}

@media screen and (max-width: 500px) {
    .text-presentation {
        width: 100%;
    }
}

.title-membres {

    margin-bottom: 30px;
}

.membres {
    margin-top: 30px;
}

.nav-membres {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .2rem 0 .2rem 1.5rem;
    color: #7A90A4;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(72.16%, 79.61%, 81.57%, 0.7);
    z-index: 999;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 400px;
    background-color: white;
    border: 1px #137C8B solid;
    border-radius: .25rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.popup-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.popup-frame {
    padding: 50px;
}

.popup-frame img {
    margin-bottom: 20px;
}

.popup-frame button {
    margin-top: 50px;
    background-color: #137C8B;
    border: 1px #137C8B solid;
    color: #fff;
    font-size: 1rem;
    border-radius: .25rem;
    padding: 10px;
    text-align: center;
}

.btn-68 {
    background-color: #137C8B;
    border: 1px #137C8B solid;
    color: #fff;
    font-size: 1rem;
    border-radius: .25rem;
    padding: 5px;
    margin-top: 10px !important;
    margin-left: 1px !important;
    text-align: center;
    text-decoration: blink;
    cursor: pointer;
}

.btn-68:hover {
    color: #fff !important;
    animation: scaleAnimation 0.2s ease-in-out forwards;

}

/* ========== Améliorations globales pour écrans ≥ 1400px (ex: 16 pouces et plus) ========== */

@media screen and (min-width: 1400px) {
    
    .main {
        display: flex;
        height: calc(100vh - 110px);
        flex-direction: column;
    }
   
    .main > :last-child {
        flex-direction: column;
        flex: 1;
    }
    
    .main > :last-child > :first-child {
        flex: 1;
    }

    .main > :last-child > :last-child {
        flex: 2;
    }
    
    .membres {
        display: flex;
        flex-direction: column;
    }

    .membres > .row {
        flex: 1;
        flex-direction: column;
        justify-content: space-between;
    }

    .membres > .row > .col-2 {
        align-self: flex-end;
    }

}