:root{
    --noir : rgb(0, 0, 0);
    --blanc : white;
    --jaune : #fed201;
    --violet : #372037;
    --vert : #123107;
    --orange : #e94427;
    --rouge : #9b0000;
}

@font-face {
    font-family: BDO-bold;
    src: url(fonts/BDOGrotesk-Bold.woff2);
}

@font-face {
    font-family: BDO-black;
    src: url(fonts/BDOGrotesk-Black.woff2);
}

body{
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
}

p{
    margin: 0px;
}

*{
    font-family: BDO-black;
}

@media(orientation : landscape) {
    :root{
        --fs1 : 1.6vw;
        --fs2 : 2.5vw;
        --fs3 : 3vw;
        --fs4 : 4.5vw;
    }

    text:hover{
        cursor: default;
    }

    #menu{
        font-size: var(--fs3);
        color: white;
        position: fixed;
        z-index: 99999999999999999;
        bottom: 0px;
        transform: translateY(calc(4 * (100%/5)));
        transition: .2s;
    }

    #barre-1{
        background-color: var(--noir);
        justify-content: space-between;
    }

    #menu-cross{
        position: absolute;
        text-align: center;
        color: var(--jaune);
        cursor: default !important;
        left: 50%;
        transform: translateX(-50%);
    }

    li:hover{
        cursor: pointer;
        text-decoration: dotted underline;
    }

    body:has(#menu-cross:hover, #barre-2:hover, #barre-3:hover, #barre-4:hover, #barre-5:hover) #menu {
        transform: translateY(0%);
    }

    #barre-1 a{
        width: 30%;
        text-decoration: none;
    }

    #barre-1 a:first-of-type{
        text-align: start;
        color: white;
    }

    #barre-1 a:last-of-type{
        text-align: end;
        color: white;
    }

    #barre-2{
        background-color: var(--violet);
        justify-content: center;
    }

    #barre-3{
        background-color: var(--vert);
        justify-content: center;
    }

    #barre-4{    
        background-color: var(--orange);
        justify-content: center;
    }

    #barre-5{    
        background-color: var(--rouge);
        justify-content: center;
    }

    #barre-2 a, #barre-3 a, #barre-4 a, #barre-5 a{
        color: var(--jaune);
        text-decoration: none;
    }

    #barre-2 a:hover, #barre-3 a:hover, #barre-4 a:hover,  #barre-5 a:hover{
        cursor: pointer;
        text-decoration: underline dotted;
    }

    .menu-barre{
        width: calc(100vw - 1.4vw);
        display: flex;
        flex-direction: row;
        padding-top: .15vw;
        padding-bottom: 0vw;
        padding-left: .7vw;
        padding-right: .7vw;
    }

    #menu-secondaire{
        position: fixed;
        top: 0px;
        display: flex;
        justify-content: space-between;
        font-size: var(--fs3);

        width: calc(100vw - 1.4vw);
        padding-top: .15vw;
        padding-bottom: 0vw;
        padding-left: .7vw;
        padding-right: .7vw;
        /* color: white; */
        z-index: 9999999;
    }

    #menu-secondaire a:hover{
        text-decoration: underline dotted;
        cursor: pointer;
    }

    #menu-secondaire a{
        color: white;
        text-decoration: none;
    }

    *::-webkit-scrollbar {
        display: none;
    }
    
    /* Hide scrollbar for IE, Edge and Firefox */
    * {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    #logo{
        display: none;
        position: fixed;
        width: 5vw;
        height: 5vw;
        margin: 1vw;
        z-index: 9999999999;
        top: 0px;
        left: 0vw;
        cursor: pointer;
    }

    #logo img{
        width: 100%;
        height: 100%;
    }

    #footer{
        padding-bottom: 12vh;
        background-color: black;
        color: white;
        font-size: var(--fs1);
        font-family: BDO-bold !important;
        line-height: 1.1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    #footer div{
        position: relative;
        margin: 1vw;
    }

    #footer h2{
        font-family: BDO-bold !important;
        font-weight: normal;
    }

    #footer div:first-of-type a{
        display: flex;
        flex-direction: row;
    }

    #footer div:first-of-type section:last-of-type{
        display: flex;
        flex-direction: column;
    }

    #footer div:first-of-type{
        display: flex;
        flex-direction: column;
        font-size: var(--fs1);
        justify-content: space-between;
    }


    #footer div:first-of-type p{
        line-height: 1.1;
    }

    #contact{
        text-align: end;
    }


    #footer img{
        height: 4vw;
        margin-right: 1vw;
    }

    #logos-footer{
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
        justify-content: flex-end !important;
        margin: 0px !important;
        margin-top: 3% !important;
    }

    #logos-footer img{
        margin-right: 0px !important;
        margin-left: .5vw !important;
    }

    .deroulant{
        display: flex;
        flex-direction: column-reverse;
    }

    .deroulant:hover .a-derouler{
        max-height: 100vh;    
    }

    .a-derouler{
        max-height: 0;
        overflow: hidden;
        display: flex;
        align-items: unset;
        flex-direction: column;
        width: unset;
        margin: unset;
        padding: unset;
        position: absolute;
        transition: .2s;
        top: 0;
        transform: translateY(-100%);
    }

    #ad-gauche{
        left: 0;
        align-items: flex-start;
    }

    #ad-droite{
        overflow-x: visible;
        right: 0;
        align-items: flex-end;
    }

    .a-derouler li{
        background-color: black;
        width: fit-content;
        padding-left: 1vw;
        padding-right: 1vw;
        padding-top: .5vw !important;
        padding-bottom: .5vw !important;
        margin: -1px;
    }

    li{
        list-style-type: none;
        line-height: 1;

    }

    #footer p{
        line-height: 1.3;
    }

    #actu{
        color: white;

        position: fixed;
        top: 0px;
        left: 0px;
        width: 7vw;
        max-height: 7vw;
        border-radius: calc(7vw/2);
        margin: 1.4vw;
        background-color: black;
        z-index: 99999;

        transition: .2s;

        overflow: hidden;

        z-index: 9999999999 ;
    }

    #actu-circle:hover, #actu-cross:hover{
        cursor: pointer;
    }

    #logo-footer{
        filter: none !important;
    }

    #actu-circle{
        width: 6vw;
        height: 6vw;
        transform-origin: center;
        animation: actu 10s linear infinite;
    }

    #actu-header{
        display: flex;
        flex-direction: row;

        height: 6vw;
        margin: .5vw;

        font-size: var(--fs4);

        width: calc(100vw - 2.8vw);
        justify-content: space-between;

        align-items: center;
    }

    #actu-cross{
        height: 3vw;
        margin: 3vw
    }

    #actu-body{
        justify-content: center;
        display: flex;
        width: 92%;
        margin: 4%;
        height: 52vh;

        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;

        overflow: scroll;
    }

    .actu *{
        font-family: BDO-bold !important;
    }

    .actu{
        width: 97%;
        border: 1px solid white;
        padding: 1%;
        border-radius: 20px;
        margin-bottom: 1%;

        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .actu section{
        height: 100%;
    }

    .section-actu-gauche{
        width: 35%;
        margin-right: 1%;
        white-space: nowrap;
        font-size: var(--fs2);
        text-align: center;
    }

    .section-actu-droite{
        width: 65%;
    }

    .actu p{
        font-size: var(--fs1);
    }

    h6{
        text-decoration: underline;
        font-size: var(--fs1);
        margin: 0px;
    }

    @keyframes actu {
        from {
        transform: rotate(0%);
        }
    
        to {
        transform: rotate(360deg);
        }
    }

    .ss04 {
        font-feature-settings: "ss04" 4;
    }
}

/* ------------------------------------------ MOBILE ---------------------------------------------------- */
@media(orientation : portrait) {
    :root{
        --fs1 : 3.8vw;
        --fs2 : 2.5vw;
        --fs3 : 5.5vw;
        --fs4 : 4.5vw;
        --fs5 : 7vw
    }

    .ss04 {
        display: none;
    }

    text:hover{
        cursor: default;
    }

    #menu{
        font-size: var(--fs3);
        color: white;
        position: fixed;
        z-index: 99999999999999999;
        bottom: 0px;
        transform: translateY(calc(4 * (100%/5)));
        transition: .2s;
    }

    #barre-1{
        background-color: var(--noir);
        justify-content: space-between;
    }

    #menu-cross{
        position: absolute;
        text-align: center;
        color: var(--jaune);
        cursor: default !important;
        left: 50%;
        transform: translateX(-50%);
    }

    li:hover{
        cursor: pointer;
        text-decoration: dotted underline;
    }

    /* body:has(#menu-cross:hover, #barre-2:hover, #barre-3:hover, #barre-4:hover, #barre-5:hover) #menu {
        transform: translateY(0%);
    } */

    #barre-1 a{
        width: 30%;
        text-decoration: none;
    }

    #barre-1 a:first-of-type{
        text-align: start;
        color: white;
    }

    #barre-1 a:last-of-type{
        text-align: end;
        color: white;
    }

    #barre-2{
        background-color: var(--violet);
        justify-content: center;
    }

    #barre-3{
        background-color: var(--vert);
        justify-content: center;
    }

    #barre-4{    
        background-color: var(--orange);
        justify-content: center;
    }

    #barre-5{    
        background-color: var(--rouge);
        justify-content: center;
    }

    #barre-2 a, #barre-3 a, #barre-4 a, #barre-5 a{
        color: var(--jaune);
        text-decoration: none;
    }

    #barre-2 a:hover, #barre-3 a:hover, #barre-4 a:hover,  #barre-5 a:hover{
        cursor: pointer;
        text-decoration: underline dotted;
    }

    .menu-barre{
        width: calc(100vw - 1.4vw);
        display: flex;
        flex-direction: row;
        padding-top: .15vw;
        padding-bottom: 0vw;
        padding-left: .7vw;
        padding-right: .7vw;
    }

    #menu-secondaire{
        position: fixed;
        top: 0px;
        display: flex;
        justify-content: space-between;
        font-size: var(--fs3);

        width: calc(100vw - 1.4vw);
        padding-top: .15vw;
        padding-bottom: 0vw;
        padding-left: .7vw;
        padding-right: .7vw;
        /* color: white; */
        z-index: 9999999;
    }

    #menu-secondaire a:hover{
        text-decoration: underline dotted;
        cursor: pointer;
    }

    #menu-secondaire a{
        color: white;
        text-decoration: none;
    }

    *::-webkit-scrollbar {
        display: none;
    }
    
    /* Hide scrollbar for IE, Edge and Firefox */
    * {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    #logo{
        display: none;
        position: fixed;
        width: 5vw;
        height: 5vw;
        margin: 1vw;
        z-index: 9999999999;
        top: 0px;
        left: 0vw;
        cursor: pointer;
    }

    #logo img{
        width: 100%;
        height: 100%;
    }

    #footer{
        padding-bottom: 7vh;
        background-color: black;
        color: white;
        font-size: var(--fs1);
        font-family: BDO-bold !important;
        line-height: 1.1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    #footer a{
        color: white;
        text-decoration: none;    
    }

    #footer div{
        position: relative;
        margin: 1vw;
    }

    #footer h2{
        font-family: BDO-bold !important;
        font-weight: normal;
    }

    #footer div:first-of-type a{
        display: flex;
        flex-direction: row;
    }

    #footer div:first-of-type section:last-of-type{
        display: flex;
        flex-direction: column;
    }

    #footer div:first-of-type{
        display: flex;
        flex-direction: column;
        font-size: var(--fs1);
        justify-content: space-between;
    }


    #footer div:first-of-type p{
        line-height: 1.1;
    }

    #contact{
        text-align: end;
    }


    #footer img{
        height: 8.5vw;
        margin-right: 1vw;
    }

    #logos-footer{
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
        justify-content: flex-end !important;
        margin: 0px !important;
        margin-top: 3% !important;
    }

    #logos-footer img{
        height: 10.5vw;
        margin-right: 0px !important;
        margin-left: 2vw !important;
    }

    .deroulant{
        display: flex;
        flex-direction: column-reverse;
    }

    .deroulant:hover .a-derouler{
        max-height: 100vh;
        margin: unset;
    }

    .a-derouler{
        max-height: 0;
        overflow: hidden;
        display: flex;
        align-items: unset;
        flex-direction: column;
        width: unset;
        position: absolute;
        transition: .2s;
        top: 0;
        transform: translateY(-100%);
    }

    #ad-gauche{
        left: 0;
        align-items: flex-start;
        padding: 0px;
    }

    #ad-droite{
        overflow: visible !important;
right: 0;
align-items: flex-end;
z-index: -1;
position: absolute;
    }

    .a-derouler li{
        background-color: black;
        width: fit-content;
        padding-left: 1vw;
        padding-right: 1vw;
        padding-top: 1.5vw !important;
        padding-bottom: 1.5vw !important;
        margin: -1px;
    }

    li{
        list-style-type: none;
        line-height: 1;

    }

    #footer p{
        line-height: 1.3;
    }

    #actu{
        color: white;

        position: fixed;
        top: 0px;
        left: 0px;
        width: 14vw;
        max-height: 14vw;
        border-radius: calc(14vw/2);
        margin: 1.4vw;
        background-color: black;
        z-index: 99999;

        transition: .2s;

        overflow: hidden;

        z-index: 9999999999 ;
    }

    #actu-circle:hover, #actu-cross:hover{
        cursor: pointer;
    }

    #logo-footer{
        filter: none !important;
    }

    #actu-circle{
        width: 12vw;
        height: 12vw;
        margin: .6vw;
        transform-origin: center;
        animation: actu 10s linear infinite;
    }

    #actu-header *{
        font-weight: normal;
    }

    #actu-header{
        display: flex;
        flex-direction: row;

        height: 13vw;
        margin: .5vw;

        font-size: var(--fs3);

        width: calc(100vw - 2.8vw);
        justify-content: space-between;

        align-items: center;

        position: relative;
        top: 0px;
    }

    #actu-cross{
        height: 5vw;
        margin: 3vw;
        margin-right: 4vw
    }

    #actu-body{
        width: 100%;

        display: flex;
        width: 92%;
        height: 62vh;
        margin: 4%;

        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;

        overflow-y: scroll;
        position: relative;
        padding-bottom: 20vh;
    }

    .actu *{
        font-family: BDO-bold !important;
    }

    .actu{
        width: 97%;
        border: 1px solid white;
        padding: 1%;
        border-radius: 20px;
        margin-bottom: 4vw;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .actu *{
        font-weight: normal;
    }

    .actu section{
        height: 100%;
    }

    .section-actu-gauche{
        width: 100%;
        margin-right: 1%;
        white-space: nowrap;
        font-size: var(--fs3);
        margin: 3%;
        margin-bottom: 0px;
        text-align: center;
    }

    .section-actu-droite{
        width: 90%;
        margin-bottom: 5%;
        margin-top: 5%;
    }

    .actu p{
        font-size: var(--fs1);
    }

    h6{
        text-decoration: underline;
        font-size: var(--fs1);
        margin: 0px;
    }

    @keyframes actu {
        from {
        transform: rotate(0%);
        }
    
        to {
        transform: rotate(360deg);
        }
    }

    .ss04 {
        font-feature-settings: "ss04" 4;
    }
}
