/* header.css */


/* LOGO */

.logo {
    margin-right: auto;
}

/* NAVBAR */

.navbar-center {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-inline: auto;
}

.navbar-center svg {
    fill: var(--clr-dark);
}

.links-container {
    /* height: 100%;
    width: 100%; */

    display: flex;
    flex-direction: row;
    align-items: center;
}

.button.dark.appointment {
    margin-left: auto;
}

/* LOCALISATION */

.localisation {
    display: flex;
    justify-content: center;
    align-items: center;
}

#localisation-button {
    font-weight: 700;
}

/* NAVBAR RIGHT */

/* .navbar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
} */


/* --- --- --- --- --- */

#sidebar-active {
    display: none;
}

.open-sidebar-button, .close-sidebar-button {
    display: none;
}


@media(max-width: 52rem) {
    .links-container{
        /* display: none; */

        padding: 2rem;
        border-bottom: 1px solid var(--clr-dark);
        background-color: var(--clr-light);
        box-shadow: .35rem .35rem .35rem rgba(0, 0, 0, 0.05);
        
        flex-direction: column;
        gap: 2rem;
        align-items: center;

        position: fixed;
        top: -150%;
        /* right: 0; */
        right: 0;

        z-index: 10;

        width: 100%;
        height: fit-content;

        transition: .4s ease-out;
    }

    .localisation {
        border-top: 1px solid var(--clr-dark);
        padding-top: 2rem;
        gap: 2rem;
    }

    .open-sidebar-button, .close-sidebar-button {
        display: block;
    }

    #sidebar-active:checked ~ .links-container {
        /* display: flex; */
        top: 0;
    }

    #sidebar-active:checked ~ #overlay {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: fixed;

        z-index: 9;
    }
}