@font-face {
    font-family: trajan;
    src: url(../Assets/fonts/Trajan.ttf);
}
@font-face {
    font-family: bitstromWera;
    src: url(../Assets/fonts/BitstromWeraNerdFont-Regular.ttf);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #1f1f1f #f1f1f1;
}


body{
    background-color: #111111;
    color: #f1f1f1;
    height: 100vh;
    font-family: "trajan";
    font-size: 0.9em;
}

#MainPage{
    height: 100vh;
    width: 100%;
    background-color: #f1f1f1;
    color: #111111;
    scrollbar-color: #111111 #f1f1f1;
}

#MainPage h1{
    font-family: "trajan";
    position: absolute;
    height: auto;
    width: fit-content;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#MainLogo{
    position: absolute;
    height: auto;
    width: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    opacity: 1;
}

.navBar{
    position: fixed;
    width: 100%;
    height: 10vh;
    min-height: 60px;
    background-color: #f1f1f1;
}

.navLeft{
    position: relative;
    float: left;
    width: auto;
    height: 100%;
    text-align: left;

}
.navRight{
    position: relative; 
    float: right;
    width: auto;
    height: 100%;
    text-align: right;
}

a{
    text-decoration: none;
    color: #111111;
}

.navBar a{
    position: relative;
    padding: 1vw;
    color: #111111;
    top: 30%;
    font-family: "trajan";
    font-size: 1.2em;
    z-index: 999;
}

#navLogo{
    position: absolute;
    height: 60%;
    width: 100%; 
    top: 20%;
    left: 0;
    opacity: 1;
}

.navBar .LienImage{
    position: static;
}



p{
    font-family: 'bitstromWera','Times New Roman', Times, serif;
    line-height: 1.3em;
}


.ArticleImage{
    width: 80%;
    margin: auto 0;
}


@media only screen and (max-width: 560px) {

    /* For mobile phones: 
        On augmente la taille de la nav bar
        On met les liens à gauche en colonne et le logo à droite centrée verticalement
    */

    .navBar{
        height: auto;
        width: 100vw;
    }

    .navLeft{
        padding-top: 10px;
        padding-left: 10px;
        float: none;
        width: 100%;
        height: auto;
        text-align: left;
    }

    .navRight{
        float: none;
        width: 100%;
        height: auto;
        text-align: left;
        padding-bottom: 15px;
        padding-left: 10px;
    }

    #navLogo{
        position: absolute;
        height: 60%;
        width: 40%; 
        top: 20%;
        left: 50%;
        opacity: 1;
    }

}