@font-face {
    font-family: "HarbingerCaps";
    src: url("../fonts/HarbingerCaps.otf");
    font-display: swap;
}

@font-face {
    font-family: "RobotoRegular";
    src: url("../fonts/RobotoRegular.ttf");
    font-display: swap;
}

html.avif {
    background: repeat url(../img/bgMarbre.avif);
    width: 100%;
}

html.fallback {
    background: repeat url(../img/bgMarbre.png);
    width: 100%;
}

body {
    height: 100%;
    margin: 0 auto;
    font-family: 'RobotoRegular';
}

header {
    background-color: #0d122f;
}

    header div {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    header .dystopiaLogo {
        width: auto;
        height: 45px;
    }

    header .ahraLogo {
        width: auto;
        height: 70px;
    }

@media (max-width: 290px) {
    header .ahraLogo {
        height: 50px;
    }
    header .dystopiaLogo {
        height: 40px;
    }

}

    /* NAVBAR */
    nav {
        height: 40px;
        font-family: "HarbingerCaps";
        background-color: #010317;
        position: relative;
        z-index: 2;
    }

        nav .maxWidth {
            background-color: #010317;
        }

        nav .logoMenu {
            height: 30px;
            float: right;
            margin: 3px 20px;
            width: auto;
        }


    #menuMobile:checked ~ label img {
        width: auto;
        height: 30px;
        float: right;
        margin: 2px 16px;
        border-top: 3px solid #0d122f;
        border-bottom: 3px solid #0d122f;
        border-left: 9px solid #0d122f;
        border-right: 9px solid #0d122f;
        border-radius: 7px;
        background-color: #0d122f;
    }

    nav .ulDesktop {
        display: none;
    }

    nav .ulMobile {
        background-color: #010317;
        z-index: 1;
        position: absolute;
        width: 100%;
        top: 39px;
        text-align: center;
        line-height: 33px;
        font-size: 17px;
    }

    nav ul {
        padding: 0;
        margin: 0;
    }

        nav ul li {
            list-style-type: none;
        }

            nav ul li a {
                text-decoration: none;
                text-transform: uppercase;
                color: white;
            }


    nav .pageActive {
        width: 30%;
        margin: auto;
    }

    /* ACCUEIL */
    .avif .home {
        background-image: url(../img/bgMobile.avif);
    }

    .fallback .home {
        background-image: url(../img/bgMobile.png);
    }

    .home {
        height: 1000px;
        background-size: cover;
        background-position: 17%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }



        .home .homeDiv {
            text-align: justify;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

            .home .homeDiv span {
                color: white;
                margin-top: 100px;
                margin: 120px 29px 0;
                /* text-align: center; */
                text-align: justify;
                font-size: 1.3rem;
            }

        .home .dlButton {
            justify-content: center;
            display: flex;
            width: 50%;
        }

        .home a {
            text-decoration: none;
            color: white;
            margin: 5rem auto;
            background-color: #010412;
            border: 2px solid #999eb3;
            border-radius: 9px;
            padding: 0.3rem;
            text-transform: uppercase;
            font-family: "HarbingerCaps";
            width: 10rem;
            text-align: center;
            font-size: 22px;
        }


    /* SCROLLBAR */
    ::-webkit-scrollbar {
        width: 7px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgb(1 11 38 / 33%);
        background-image: radial-gradient(#e5eafe, #0d122f);
        border-radius: 15px;
    }

    ::-webkit-scrollbar-track {
        background-color: #010317;
    }


    /* Top Button */

    .topButton {
        position: fixed;
        bottom: 10px;
        right: 10px;
        background-color: #0d122f;
        height: 2rem;
        width: 2rem;
        z-index: 1;
        opacity: 0.8;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        text-decoration: none;
        border-radius: 7px;
    }

    /* Desktop */
    @media (min-width: 720px) {
        section, .maxWidth {
            max-width: 1920px;
            margin: auto;
        }

        header .ahraLogoA {
            margin-right: auto;
            margin-left: calc(50% - 130.938px);
            transform: translateX(-50%);
        }

        header .dystopiaLogo {
            height: 45px;
        }

        /*NAVBAR*/

        nav {
            margin-bottom: 90px;
            justify-content: space-around;
            align-items: center;
        }

            nav div {
                height: 100%;
            }

            nav .logoMenu, nav .logoMenuOuvert, nav .ulMobile {
                display: none;
            }

            nav .ulDesktop {
                display: flex;
                justify-content: space-around;
                align-items: center;
                height: 100%;
                font-size: 1.1rem;
            }

            nav .pageActive {
                width: auto;
                margin: 0;
            }

        /* ACCUEIL*/
        .home {
            margin-top: -90px;
        }

        .avif .home {
            background-image: url(../img/ecranTitreNoLogo.avif);
        }

        .fallback .home {
            background-image: url(../img/ecranTitreNoLogo.png);
        }

        .home .homeDiv {
            width: 70%;
            float: right;
            margin: 10rem 3rem 0;
        }

            .home .homeDiv span {
                margin-top: 0;
                font-size: 1.6rem;
            }

        .home .dlButton a {
            width: 16rem;
            padding: 2rem;
            font-size: 25px;
        }

        .topButton {
            display: none;
        }
    }

    /* Pour interm�diaire */
    @media (min-width: 1400px) {

        .home .homeDiv {
            width: 50%;
            float: right;
            margin: 20rem 3rem 0;
        }
    }

