body{
    margin: 0px;
    /* font-family: archivo-regular; */
    font-family: roboto;
    font-weight: 550;
    font-size: .9vw;
    background-color: var(--background);
}

@font-face {
    font-family: roboto;
    src: url(../fonts/RobotoFlex.ttf);
}

a{
    text-decoration: none;
    color: black;
    /* margin-bottom: .5vw; */
}

.active{
    background-color: lightgray;
}

.displayNone{
    display: none !important;
}

.gray{
    opacity: 50%;
}

:root{
    --background : rgba(248, 247, 247, 1);
}

@media (orientation: landscape){
    :root{
        --largeur-colonne-gauche : 34vw;
        --margin-top-window : 12vw;
        --font-size-little : 1.5vw;
        --font-size-big : 2.1vw;
        --font-size-project : 1.2vw
    }

    #left{
        width: calc(var(--largeur-colonne-gauche) - 2%);
        height: 100vh;
        position: fixed;
    
        left: 0vw;
    
        padding-right: 1%;
        padding-left: 1%;
    
        z-index: 10;
        
    }
    
    
    #logo{
        height: calc(2vw + var(--margin-top-window));
        transition: .2s;
    }
    
    #logo a{
        transition: .2s;
    }
    
    #logo a:hover{
        opacity: 50%;
        cursor: pointer;
    }
    
    #buttonsInfos{
        z-index: 100;
    
        margin: 2vw;
        font-size: var(--font-size-little);
        position: absolute;
        left: 0px;
        bottom: 0px;
        pointer-events: all;
    
        display: flex;
        flex-direction: column;
    
        height: fit-content;
    }
    
    #buttonsInfos a{
        text-decoration: none;
        color: black;
        /* margin-bottom: .5vw; */
        padding: .2vw;
        padding-left: .4vw;
        padding-right: .4vw;
        border-radius: 1000px;
        width: fit-content;
    }
    
    #buttonsInfos a:hover{
        cursor: pointer !important;
    }
    
    #buttonsInfos section{
        display: flex;
        flex-direction: column;
    }

    #closing-cross{
        position: fixed;
        top: 28px;
        left: 96%;
        font-size: 1.5vw;
        z-index: 10;
        /* width: 100vw;
        height: 7vh;
        bottom: 0px;
        left: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5vw;
        background: linear-gradient(0deg,rgba(255, 255, 255, 1) 90%, rgba(255, 255, 255, 0.53) 95%, rgba(255, 255, 255, 0) 100%); */
    
    }
    #closing-cross > a{
        color: black;
        text-decoration: none;
    }
    
    #logo img{
        height: 70%;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        left: 2vw;
    }
    
    #right{
        width: calc(100vw - var(--largeur-colonne-gauche) - 2vw);
        height: 100vh;
        position: fixed;
    
        left: var(--largeur-colonne-gauche);
        overflow-y: scroll;
    
        -ms-overflow-style: none;  /* Internet Explorer 10+ */
        scrollbar-width: none;  /* Firefox, Safari 18.2+, Chromium 121+ */
    }
    
    .rubrique-cross:hover{
        opacity: 100%;
    }
    
    .rubrique-cross{
        opacity: 50%;
        transition: .2S;
    }
    
    
    .right::-webkit-scrollbar { 
        display: none;  /* Older Safari and Chromium */
    }
    
    .rubrique:hover{
        cursor: pointer;
    }
    
    #rubriques{
        margin: 2vw;
        font-size: var(--font-size-little);
    }
    
    .rubrique{
        margin-bottom: .5vw;
        padding: .2vw;
        padding-left: .4vw;
        padding-right: .4vw;
        border-radius: 1000px;
        width: fit-content;
    }
    
    .active{
        background-color: lightgray;
    }
    
    .displayNone{
        display: none !important;
    }
    
    #title{
        font-size: var(--font-size-big);
        margin: 2vw;
    }
    
    h2{
        font-weight: 550;
    }

    #descriptifBtn{
        display: none;
    }
}

@media (orientation: portrait){
    :root{
        --largeur-colonne-gauche : 34vw;
        --margin-top-window : 12vw;
        --font-size-little : 15px;
        --font-size-big : 18px;
        --font-size-project : 15px;
    }

    *{
        hyphens: auto !important;
    }

    #descriptifBtn{
        display: none;
    }

    #buttonsInfos{
        width: 100vw;
        position: fixed;
        bottom: 0px;
        z-index: 1000;
        font-size: var(--font-size-big);
        display: flex;
        flex-direction: column;
    }

    #buttonsInfosAll{
        background-color: var(--background);
        padding: 2vw;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    #buttonsInfos section{
        display: flex;
        flex-direction: column;
    }

    body{
        display: flex !important;
        flex-direction: column !important;
    }

    #logo{
        height: 18vh !important;
        display: flex;
        flex-direction: row;
        justify-content: center;
        position: relative;
        /* margin-top: 5vw; */
        width: 100%;
        margin-bottom: 4% !important;
        padding: 0px !important;
        background-color: var(--background);
    }
    
    #logo a{
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: black;
        height: 100%;
    }
    
    #logo img{
        height: 75%;
        position: relative;
        margin: 0px !important;
        padding: 0px !important;

    }
    
    #left{
        width: calc(100vw) !important;
        position: relative;
        /* height: 18vh !important; */
    }

    #title{
        display: none;
    }
}


*::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  * {
    /* word-spacing: 01px; */
    /* text-justify: inter-word; */
    orphans: 2;
    widows: 2;
    -webkit-hyphens: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

  h1, h2{
    text-wrap: balance;
    line-height: 1;
  }

  video::-webkit-media-controls-fullscreen-button {
    display: none;
}

  