.partenaires-full{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.section-references{
    background-image: url(/assets/img/background2.gif);
}

.background-overlay{
    background-color: rgba(255,255,255,0.95);
}

.titre-page-secondaire{
    
}

.div-partenaire{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    margin: 20px;
    background-color: #f9f9f9;
    width: 300px;
    height: 380px;
    border-radius: 20px;
    transition-duration: 0.5s;
}

.div-partenaire:hover{
    background-color: rgba(0,0,0,0.6);
}

.div-partenaire:hover .img-partenaire{
    animation: fadeOutLogo 0.2s ease-in-out;
    animation-fill-mode: forwards;
}

.div-partenaire:hover .text-partenaire{
    animation: fadeInText 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes fadeOutLogo{
    0%{opacity: 1; transform: translateY(0px);}
    90%{opacity: 0; transform: translateY(-20px);}
}

@keyframes fadeInText{
    0%{opacity: 0; transform: translateY(40px);}
    100%{opacity: 1; transform: translateY(0px);}
}

.img-partenaire{
    width: 250px;
    opacity: 0;
    animation: fadeInLogo 0.5s ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes fadeInLogo{
    0%{opacity: 0; transform: translateY(-40px);}
    100%{opacity: 1; transform: translateY(0px);}
}

.div-partenaire div{
    position: relative;
}

.text-partenaire{
    width: 300px;
    height: 380px;
    position: relative;
    left: -260px;
    top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    user-select: none;
    opacity: 0;
    color: white;
}

.text-partenaire p{
    width: 280px;
}

.nom-partenaire{
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    color: #01a1df;
    font-size: 30px !important;
}

.btn-partenaire{
    background-color: #01a1df;
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
}

.btn-partenaire:hover {
    color: #f9f9f9;
}

@media screen and (max-width: 991px) {

    .decoration-titre-page-secondaire{
        width: 50px;
    }
    
    .titre-page-secondaire{
        font-size: 20px!important;
    }
    
}