
.wrapper {
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.wrapper h3 {
    text-align: center;
    margin-bottom: 50px;
}

.container-partenaires {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    width: 90%;
    margin: 0 auto;
}

.partenaires {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    box-shadow: 0px 10px 25px -10px #1f2121;
    border-radius: 30px;
    padding: 20px;
    background-color: white;
}

.partenaires img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

footer {
    color: white;
    text-align: center;
    background-color: black;
}

footer p {
    margin-bottom: 0;
}

.popup {
    display: none;
    flex-direction: column;
    position: absolute;
    width: auto;
    max-width: 70%;
    box-shadow: 0 10px 50px -10px #1f2121;
    height: auto;
    border-radius: 30px;
    padding: 20px;
    background-color: white;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.popup .up {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.up .close {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    color: white;
    background-color: #690606;
    margin-left: auto;
}


@media screen and (max-width: 500px) {
    .container-partenaires {
        flex-direction: column;
    }

    .partenaires {
        width: 100%;
        margin-bottom: 20px;
    }

    .partenaires img {
        max-height: 100%;
        max-width: 50%;
        object-fit: contain;
    }
}


