html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    min-width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0%;
    background-image: url('assets/graphics/fond.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

header {
    min-height: 10vh;
    max-height: 10vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: top 0.3s ease-in-out;
}

header.no_headered {
    top: -30vh;
}

nav {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 10vh;
    left: 0;
    z-index: 990;
    transition: top 0.3s ease-in-out;
}

#overlay_load {
    position: fixed;

    z-index: 10000;
    scroll-behavior: smooth;

    transition: all 0.3s ease-in-out;
}

main {
    scroll-behavior: smooth;
    width: 100%;
    min-height: 90vh;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    padding-top: 15vh;
    /* To avoid content being hidden behind the header */
    /* background-color: #73e4a2; */

    transition: all 0.3s ease-in-out;
}

nav.no_headered {
    top: 0vh;
}

main.no_headered {
    top: 0px;
}

footer {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #76bfec;
    bottom: 0;
    left: 0;
    z-index: 900;
}

/* Responsive styles for mobile phones */
@media (max-width: 1200px) and (min-width: 900px) {

    footer {
        height: 50vh;
    }
}