nav {
    height: 15svh;
    width: 100vw;
    background-color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 30px 30px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    position: fixed;
    z-index: 500;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    /*flex-direction: row;*/
    align-items: center;
    justify-content: flex-end;
}

nav a:not(.acceuil_navbar) {
    min-width: 90px;
    padding: 15px;
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--bleu-fonce);
    border: 4px solid var(--bleu-fonce);
    border-radius: 35px;
    font-weight: 700;
    font-size: 150%;
}

nav a:hover:not(.acceuil_navbar) {
    background-color: var(--bleu-fonce);
    color: white;
}

.page_active:not(.acceuil_navbar) {
    background-color: var(--bleu-claire);
    color: white;
}

.page_active:hover:not(.acceuil_navbar) {
    background-color: var(--bleu-claire);
    color: var(--bleu-fonce);
}

nav .acceuil_navbar {
    margin-right: auto;
}

svg.svg_open {
    fill: black;
}

#navbar {
    display: none;
}

.open_navbar {
    display: none;
}

.close_navbar {
    display: none;
    fill: white;
}

img.icon {
    max-height: 11vh;
}

@media(max-width: 650px) {
    .links-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;
        background-color: var(--bleu-fonce);
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        transition: 0.75s ease-out;
    }
    nav a:not(.acceuil_navbar) {
        border: 0;
        box-sizing: border-box;
        height: auto;
        width: auto;
        padding: 10px 0px 10px 0px;
        margin: 10px 0px 10px 30px;
        border-bottom: 5px solid var(--bleu-claire);
        border-radius: 0;
        justify-content: flex-start;
        color: white;
        font-size: 125%;
    }
    .page_active:not(.acceuil_navbar) {
        background-color: transparent;
        border-bottom: 5px solid var(--rouge);
    }
    .acceuil_navbar {
        color: black;
        position: fixed;
        left: 0px;
    }
    .close_navbar {
        height: 48px;
        display: block;
        margin: 30px 0px 0px 25px;
        color: white;
    }
    .open_navbar {
        display: flex;
        align-items: center;
        margin-right: 10vw;
    }
    #navbar:checked ~ .links-container {
        right: 0;
    }
    #navbar:checked ~ #overlay {
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
    img.icon {
        max-height: 11svh;
        margin-left: 2vw;
    }
}