div#body-offline .engagement {
    display: flex;
    justify-content: space-around;
}

div#body-offline .carte-engagement {
    border: 2px solid #014181;
    border-radius: 20px;
    width: 25%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    overflow: hidden;
    position: relative;
}

div#body-offline .carte-engagement h2 {
    font-size: 24px;
}

div#body-offline .img-engagement {
    width: 100px;
    transition-duration: 1s;
}

div#body-offline .passage-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div#body-offline .hidden {
    position: absolute;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    transition: all 1s ease-in-out;
    min-height: 300px;
    display: flex;
    align-items: center;
}

div#body-offline .carte-engagement:hover .hidden {
    opacity: 1;
    cursor: default;
}


div#body-offline .img-competence-technique {
    width: 80px;
}
/****************  MEDIA QUERIES  ****************/
/* smartphones, iPhone, portrait 480x320 phones */ 

@media (max-width: 750px)  {
    div#body-offline .engagement {
        flex-direction: column;
    }
    div#body-offline .carte-engagement {
        width: 80%;
        margin: 10px auto;
        min-height: 150px;
    }
    div#body-offline .img-engagement {
        width: 75px;
    }
    div#body-offline .carte-engagement h2 {
        font-size: 20px;
    }
    div#body-offline .img-competence-technique {
        width: 50px;
    }
    div#body-offline .hidden {
        height: 100%;
    }
}