@keyframes pop {
    from{
        opacity : 0%;
    }
    to{
        opacity: 100%;
    }
}

@media (orientation: landscape) {
    .projet{
        width: 30%;
        display: flex;
        align-items: center;
        flex-direction: column;
        color: black;
        text-decoration: none;
        animation: pop .4s;
        margin-bottom: .5vw;
    }
    
    #logo{
        height: var(--margin-top-window);
    }
    
    #logo img{
        height: 70%;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        left: 2vw;
    }
    
    #boulon{
        height: 14vh;
        width: fit-content;
    }
    
    #boulon img{
        height: 100%;
    }
    
    #left{
        padding-top: 0px !important;
    }
    
    .projet:hover{
        cursor: pointer;
    }
    
    .projet > p{
        text-align: center;
    }
    
    .projet-img > img{
        height: 120%;
        position: relative;
        left: 50%   ;
        top: 50%    ;
        transform: translate(-50%, -50%);
    }
    
    .projet-img{
        width: 100%;
        height: 24vh;
        overflow: hidden;
    }
    
    .projet-rubrique{
        opacity: 40%;
        margin-top: .6vw;
        margin-bottom: 0vw;
    }
    
    .projet-title{
        margin-top: 0.1vw;
        width: 80%;
    }
    
    .gray{
        opacity: 40%;
        font-size: var(--font-size-little);
    }
    
    #mosaique{
        height: auto;
    
        width: 100%;
    
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        /* background-color: white; */
    
        padding-top: 2vw;
        padding-bottom: 5vh;
    
        
        background: linear-gradient(0deg,rgba(248, 247, 247, 1) 60%, rgba(248, 247, 247, 0.53) 71%, rgba(248, 247, 247, 0) 81%);
    }
    
    #presentation{
        pointer-events: none;
        height: 50vh;
        margin-top: 2vw;
    
        font-size: var(--font-size-big);
        position: fixed;
        /* width: 100%; */
        width: calc(100vw - var(--largeur-colonne-gauche) - 3vw);
    
        /* font-family: archivo-bold; */
        display: flex;
        flex-direction: column;
    }
    
    #definition{
        width: 75%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: row;
        /* font-family: 'Courier New', Courier, monospace; */
        justify-content: space-around;
    }
    
    #synopsis{
        text-align: center;
        width: 80%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (orientation: portrait){
    body{
        display: flex !important;
        flex-direction: column !important;
    }
    
    #left{
        width: calc(100vw - 2%) !important;
    }

    .projet{
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        color: black;
        text-decoration: none;
        animation: pop .4s;
        margin-bottom: 8vw;
        font-size: var(--font-size-project);
    }


    .projet:hover{
        cursor: pointer;
    }
    
    .projet > p{
        text-align: center;
    }
    
    .projet-img > img{
        height: 100%;
        position: relative;
        left: 50%   ;
        top: 50%    ;
        transform: translate(-50%, -50%);
    }
    
    .projet-img{
        width: 100%;
        height: 24vh;
        overflow: hidden;
    }
    
    .projet-rubrique{
        opacity: 40%;
        margin-top: 2vw;
        margin-bottom: 0vw;
        width: 75%;
    }
    
    .projet-title{
        margin-top: 0.1vw;
        width: 75%;
    
    }
    
    .gray{
        opacity: 40%;
        font-size: var(--font-size-little);
    }
    
    #mosaique{
        height: auto;
    
        width: 100%;
    
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* background-color: white; */
    
        padding-bottom: 2vh;
    
        
        background: linear-gradient(0deg,rgba(248, 247, 247, 1) 96%, rgba(248, 247, 247, 0.53) 99%, rgba(248, 247, 247, 0) 100%);
    }

    .rubrique:hover{
        cursor: pointer;
    }
    
    #rubriques{
        margin: 5vw;
        margin-bottom: 8vw;
        font-size: var(--font-size-little);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .rubrique{
        margin-bottom: .2vw;
        padding: .9vw;
        padding-left: 2vw;
        padding-right: 2vw;
        border-radius: 1000px;
        width: fit-content;
    }
}

