@media screen and (min-device-width:480px) {

    * {
        padding:0px;
        margin:0px;
    }

    @keyframes upStart {
        0% { margin-bottom:100%; margin-top:-100%;}
        100% { margin-bottom: 0px; margin-top:0px;}
    }

    @keyframes downStart {
        0% { margin-top:100%; }
        100% { margin-top: 0px; }
    }

    @keyframes jump {
        0% { bottom: 0px; }
        50% { bottom: 50px; }
        100% { bottom: 0px; }
    }

    .UpStart {
        animation-name: upStart;
        animation-duration: 1s;
        animation-iteration-count: 1;
    }

    .DownStart {
        animation-name: downStart;
        animation-duration: 1s;
        animation-iteration-count: 1;
    }

    body {
        height:100%;
        position:absolute;
        overflow: hidden;
        top:0px;
        left:0px;
        width:100%;
    }

    strong {
        font-weight: normal;
    }

    .vertical_centering {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height:90%;
    }

    .sousCategorie {
        width: 235px;
        height: 235px;
        display: flex;
        margin-left: auto;
        margin-right: auto;
        opacity: 0;
        flex-wrap: wrap;
        justify-content: space-around;
        list-style: none;
        transition-duration: 0.5s;
        transition-timing-function: ease;
        transition-property: opacity;
    }

    .sousCategorie div {
        transition-duration: 0.3s;
        transition-timing-function: ease;
        transition-property: height, background-color, color;
    }

    #voletPilote {
        background-image: url(../Images/ADTER.jpg);
    }

    #voletRessourceH {
        background-image: url(../Images/Partenariat.jpg);
    }

    #voletDevConseil {
        background-image: url(../Images/Conseil.jpg);
    }

    #voletDroitAffaires {
        background-image: url(../Images/droitAffaire.jpg);
    }

    #voletPilote, #voletRessourceH, #voletDevConseil, #voletDroitAffaires{
        width: 25%;
        height:auto;
        padding-top: 170px;
        transition-timing-function: ease;
        transition-duration: 0.5s;
        transition-property: width;
    }

    #voletPilote:hover, #voletRessourceH:hover, #voletDevConseil:hover, #voletDroitAffaires:hover {
        width: 40%;
    }

    #voletPilote:hover .ContenuVolet .CenteringHeader, #voletRessourceH:hover .ContenuVolet .CenteringHeader, #voletDevConseil:hover .ContenuVolet .CenteringHeader, #voletDroitAffaires:hover .ContenuVolet .CenteringHeader{
        height: 0px;
    }

    #voletPilote:hover .ContenuVolet .TexteVolet, #voletRessourceH:hover .ContenuVolet .TexteVolet, #voletDevConseil:hover .ContenuVolet .TexteVolet, #voletDroitAffaires:hover .ContenuVolet .TexteVolet{
        opacity:1;
    }

    #voletPilote:hover .ContenuVolet .EnSavoirPlus, #voletRessourceH:hover .ContenuVolet .EnSavoirPlus, #voletDevConseil:hover .ContenuVolet .EnSavoirPlus, #voletDroitAffaires:hover .ContenuVolet .EnSavoirPlus{
        opacity:1;
        animation-name: jump;
        animation-duration: 0.4s;
        animation-delay: 2s;
        animation-iteration-count: 1;
        animation-timing-function: ease-in-out;
    }

    .TexteVolet div {
        margin-top: 5%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .gras {
        font-weight: bold;
    }

    .ContenuVolet {
        height: 100%;
        position: relative;
    }

    .TexteVolet {
        transition-timing-function: ease;
        transition-duration: 0.5s;
        opacity: 0;
        height: auto;
        color: white;
        margin-left: 5%;
        margin-right: 5%;
        margin-top: 10%;
        padding-top: 0.1%;
        padding-bottom: 5%;
        font-size: 1.5em;
        background-color: rgba(0,0,0,0.50);
        transition-property: opacity;
        border-radius: 10px;
    }

    .EnSavoirPlus {
        margin-top: 5%;
        position: absolute;
        bottom: 0px;
        opacity: 0;
        text-decoration:none;
        text-align: center;
        width: 80%;
        padding: 20px;
        font-size: 1.5em;
        font-weight: bold;
        transition-timing-function: ease;
        transition-duration: 0.5s;
        transition-property: opacity;
        background-color: black;
        border-radius: 20px;
        color: RGB(246,109,28);
        margin: 5%;
    }

    .CenteringHeader {
        height: 40%;
        transition-timing-function: ease;
        transition-duration: 0.5s;
        transition-property: height;
    }

    .ImageEnConstruction {
        width: 80%;
        padding-left: 10%;
    }


    h2 {
        text-align: center;
        font-size: 1.6em;
        background-color: rgba(0, 0, 0, 0.5);
        margin-left: 5%;
        margin-right: 5%;
        border-radius: 10px;
        color: white;
    }

    .container {
        display:flex;
        height:100%;
        width:100%;
        flex-direction:row;
    }

}
