/*
    Root Element
*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: var(--blue_main_opac);
    height: 12vh;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/*=======================Logo/Wappen=======================*/
#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--gray1);
    width: 70vw;
    height: 12vh;
    border-bottom-right-radius: 10vh;
    border-top-right-radius: 10vh;
}
.img-logo {
    width: 8vh;
    height: 8vh;
}

#name span {
    display: flex;
    justify-content: center;
    font-family: var(--font-secondary), serif;
}
#logo #name span {
    font-size: xx-small;
}


/*=======================Nav=======================*/
nav{
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 30vw;
    height: 100vh;
    background: var(--blue_main);
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out, width 0.5s ease-out;
    display: flex;

    justify-content: center;
    align-items: center;
}

nav.active {
    pointer-events: auto;
    width: 70vw;
    transform: translateX(0);
    opacity: 1;

    border-top-right-radius: 2vh;
    border-bottom-right-radius: 2vh;
}


.nav-links{
    list-style: none;
    font-family: "Bellota";
}
nav.active ul li a{
    color: var(--gray1);
    font-size: medium;
    display: inline-block;


}
nav a,
nav a:visited {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 2vh;
}






.nav-links li a {
    text-decoration: none;
    font-family: var(--font-primary), sans-serif;
}
.nav-links li a.active{
    text-decoration: underline;
    text-decoration-thickness:0.1em;
    font-size: larger;
}

/*=======================Nav Button Start=======================*/
.nav-icon {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.nav-icon div {
    width: 90%;

    margin: 0 auto;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}
    /*=======================Nav Button Start=======================*/
#nav-expand{
    background: none;
    border: none;
    margin: 1vh 1vh 1vh auto;
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#nav-expand:hover {
    background-color: var(--blue_card_opac);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
#nav-expand:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
#nav-expand:focus-visible{
    outline: 3px solid var(--blue_card_opac);
    outline-offset: 2px;
}
/*=======================Nav Expand=======================*/
.nav-overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;

}

.nav-overlay-container.active {
    opacity: 1;
    visibility: visible;
}


@media (min-width: 768px) {
    nav.active
    {
        width: 25vw;
    }

    #logo #name span {
        font-size: xx-small;
    }
}

@media (min-width: 1024px) {
    nav.active
    {
        width: 25vw;
    }

    #logo #name span {
        font-size: x-small;
    }
}