/* General */
* {
    margin: 0;
    font-family: monospace ;
}

/* Custom font */
@font-face {
    font-family: 'LeagueGothic'; /*a name to be used later*/
    font-weight: bold;
    src: url('../LeagueGothic-Regular-VariableFont_wdth.ttf'); /*URL to font*/
}

/* Animation */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Compatibility and responsive */
body{
    background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment:fixed;
    overflow-x: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Navbar (header) */
nav {
    position: fixed;
    width: 100%;
    z-index: 100;

    background-color: black;
    color: white;
    padding: 10px;
    box-shadow: 0px 0px 10px black;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding-left: 10px;
    gap: 40px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: 0.5s;
}

nav a:hover {
    color: red;
    font-weight: bold;
    transition: 0.5s;
}

#accueil {
    font-weight: bolder;
    transition: 0.5s;
}

#accueil:hover {
    color: darkcyan;
    transition: 0.5s;
}

/* Footer */
footer {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 25px;
    color: white;
    font-size: x-small;
    text-shadow: 1px 1px 2px black;
    /*background-color: black;
    box-shadow: 0px 0px 10px black;*/
}

footer a {
    color: red;
    text-decoration: none;
    transition: 0.25s;
}

footer a:hover {
    color: yellow;
}

/* Typographie */
h1 {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 10px;
    font-size: 7.5vw;
    font-family: 'LeagueGothic';
    letter-spacing: 0.2em;
    color: white;
    /*-webkit-text-stroke: 1px black;*/
    -webkit-font-smoothing: antialiased;
}

#alert {
    background-color: red;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Responsive */
@media screen and (max-width: 900px) {
    h1 {
        font-size: 12vw;
        padding-top: 60px;
        padding-bottom: 10px;
    }

    nav {
        width: fit-content;
    }

    nav ul {
        padding-top: 30px;
        gap: 10px;
        justify-content: center;
    }

    nav a {
        font-size: 10px;
    }

}