nav{
    height: 90px;
    background-color: transparent;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 15;
    transition: background-color 0.3s;
}

.white-bg{
    background-color: var(--header-bg-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-logo-mobile {
    display: none;
}

.white-bg a{
    color: var(--header-text-color);
}

.white-bg .logo-header{
    color: var(--header-text-color);
}

.header-image{
    background-image: url('../img/header.jpg');
    background-size: cover;
    background-attachment: scroll;
    background-repeat: no-repeat;
    height: 68vh;
    width: 100%;
    position: absolute;
    top: 0;
}

.header-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.separator {
    width: 100%;
    z-index: 2;
    position: absolute;
    bottom: -7px;
    fill: var(--color-logo-bordeaux);
}

.active{
    text-decoration: var(--color-logo-orange) 4px underline;
    text-underline-offset: 10px;
}

.links-container{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a{
    font-size: 14pt;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--header-text-white);
}

nav a:hover{
    text-decoration: var(--color-logo-pink) 4px underline;
    text-underline-offset: 10px;
}

nav svg{
    fill: var(--text-color);
}

#sidebar-active{
    display: none;
}

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

.logo-header{
    display: flex;
    align-items: center;
    font-size: 16pt;
    color: var(--header-text-white);
    margin-right: auto;
}

.container{
    margin-left: 15%;
    margin-right: 15%;
    background-color: white;
}

.container-transparent{
    margin-left: 15%;
    margin-right: 15%;
    background-color: transparent;
}

/*@media(max-width: 900px) {*/
@media(max-width: 1105px) {
    .logo-text{
        display: none;
    }
}

@media(max-width: 760px) {
    .container {
        margin-top: 0;
    }

    .header-image{
        display: none;
    }

     nav a{
        color: var(--header-text-color);
    }

    nav {
        background-color: var(--header-bg-color);
        color: var(--header-text-color);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    nav svg{
        fill: var(--color-1);
    }

    .links-container{
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;
        background-color: #fff;
        box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
        transition: 0.5s ease-out;
    }

    nav a{
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }

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

    #sidebar-active:checked ~ .links-container{
        right: 0;
    }

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