/* Grundlegende Header-Einstellungen */
header {
    display: flex;
    position: sticky;
    top: 0%;
    z-index: 11;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    padding: 0 50px;
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo-Bereich */
.logo {
    position: relative;
    width: 250px;
    height: 100%;

    margin: 0px 0px 0px 60px;

    display: flex;
    align-items: center;
    justify-content: start;

    gap: 20px;

    color: rgb(0, 0, 0);
    font-size: larger;
    font-weight: 900;
}

/* Navigation */
.hamburger{
    display: none;
}


nav{
    display: flex;

    transition: max-height 0.3s ease-in-out;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 12px;
    transition: color 0.3s ease-in-out;
}
nav ul li a:hover {
    color: #2f79d3;
}

.nav-probetrainingsbutton{
    text-decoration: none;
    color: white;
    background-color: var(--dark-blue);

    cursor: pointer;

    border-radius: 20px;

    font-size: 16px;
    font-weight: 500;

    padding: 8px 12px;
    transition: box-shadow 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
.nav-probetrainingsbutton:hover {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
    background-color: var(--light-blue);
}



@media(max-width: 1200px){
    .hamburger{
        display: block;
        font-weight: bolder;
        font-size: larger;
    }
    .mobile-probetrainingsbutton{
        display: flex;
        font-weight: bolder;
        font-size: larger;
    }
    .logo{
        margin-left: -20px;
        width: 200px;
        font-size: 1rem;
    }
    nav{
        position: absolute;
        top: 100%; /* Direkt unter der Header-Leiste */
        left: 0;
        max-height: 0;
        width: 100%;

        padding-bottom: 0px;

        background: #ffffff;

        overflow: hidden; 
        
        transition: max-height .5s ease-in-out, padding 0.6s ease-in-out;

        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }
    nav ul{
        width: 100%;
        height: fit-content;
        flex-direction: column;
        margin: 0px 0px 0px 20px;

        gap: 0px;
    }
    nav ul li{
        display: flex;
        justify-content: flex-start;
        align-items: center;

        margin-bottom: -10px;

        height: 60px;
    }
    nav ul li a{
        font-size: 1.5rem;
        font-weight: bold;
    }
    nav.open{
        max-height: 500px;
        padding-bottom: 30px;
    }

    nav ul pt{
        margin: 25px 0px 0px 10px;
    }
}
