header {
    width: 100%;
    height: 75px;
    background-color: rgba(0, 0, 0, .9);
    position: fixed;
    border-bottom: solid 1px rgba(200, 0, 0, 0.5);
    z-index: 100;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 0 50px white;
}
@keyframes shadow {
    0% {
        box-shadow: 5px 0 50px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 5px 5px 100px rgba(255, 255, 255);
    }
    100% {
        box-shadow: 5px 5px 50px rgba(255, 0, 0);
    }
}

#lang{
    position: absolute;
    width: 35px;
    color: white;
    top: 50%;
    transform: translate(0,-50%);
    right: 15px;
    border-radius: 15px;
    padding: 5px;
}
#lang:hover{
    background-color: rgba(0,0,0,0.5);
    cursor: pointer;
    scale: 1.1;
    rotate: 5deg;
}
#lang:active{
    background-color: rgba(100,0,0,0.5);
    scale: 0.9;
}


.logofile {
    position: absolute;
    top: 50%;
    left: 25px;
    transform: translate(0,-50%);
    -webkit-user-drag: none;
    width: 250px;
    pointer-events: none;
}
.seperator1 {
    position: absolute;
    font-size: 45px;
    color: white;
    left: 300px;
    top: 50%;
    transform: translate(0,-140%);
    z-index: 2;
}
.seperator2 {
    position: absolute;
    font-size: 45px;
    color: white;
    right: 70px;
    top: 50%;
    transform: translate(0,-140%);
}
.seperator3 {
    position: absolute;
    font-size: 45px;
    color: white;
    right: 300px;
    top: 50%;
    transform: translate(0,-140%);
}
.sidebarsocialicons {
    position: absolute;
    display: block;
    width: 280px;
    right: 60px;
    top: 50%;
    transform: translate(0,-50%);
    height: 75px;
    padding-bottom: 0px;
    -webkit-user-drag: none;
    text-align: center;
    filter: invert(1);
}
.sidebarsocialicons a {
    -webkit-user-drag: none;
}
.sidebarsocialicons img {
    position: relative;
    width: 35px;
    height: 35px;
    padding: 2px;
    margin-left: 1px;
    left: 10px;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-user-drag: none;
}
.sidebarsocialicons img:hover {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 1px;
    left: 2px;
    top: 50%;
    transform: translate(0, -50%) rotate(-15deg);
}
#desktop_nav {
    display: block;
    position: relative;
    width: 48%;
    height: 45px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(25, 25, 25, 0.5);
    text-align: center;
    border-radius: 25px;
    padding: 0 10px;
}
#desktop_nav_main {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
#desktop_nav li {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    white-space: nowrap;
    display: flex;
    align-items: center;
    border-radius: 25px;
}
#desktop_nav a {
    text-decoration: none;
    color: white;
    width: 90%;
    font-family: 'Nanum Gothic Coding';
    padding: 10px 10px;
    border-radius: 20px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}
#desktop_nav a:hover {
    background-color: darkred; /* Hover-Effekt für die Links */
}
#mobile_nav {display: none;}
#navbutton_mobile {display: none;}


@media screen and (max-width: 849px) {
    .logofile {
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        width: 60%;
    }
    #navbutton_mobile {
        display: block;
        position: absolute;
        margin: 0;
        padding: 0;
        background: transparent;
        text-align: center;
        width: 50px;
        height: 50px;
        left: 15px;
        top: 50%;
        transition: transform 1s;
        transform: translateY(-50%);
        border-radius: 50%;
    }
    #navbutton_mobile span {
        position: absolute;
        background-color: white;
        height: 1.5px;
        width: 20px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
    }
    #navbutton_mobile span:nth-child(1) {
        margin-top: -5px;
    }
    #navbutton_mobile span:nth-child(2) {
        margin-top: 0;
    }
    #navbutton_mobile span:nth-child(3) {
        margin-top: 5px;
    }
    #navbutton_mobile:hover {
        background-color: rgba(200,0,0,0.5);
        cursor: pointer;
    }
    #navbutton_mobile:active {
        background-color: rgba(150,0,0,0.5);
        cursor: pointer;
    }
    .seperator1, .seperator2, .seperator3, .sidebarsocialicons, #desktop_nav {display: none;}

    #mobile_nav {
        display: block;
        position: relative;
        width: 200px;
        height: 230px;
        left: -220px;
        top: 75px;
        transform: translate(0, 0);
        background-color: rgba(25, 25, 25, 0.5);
        backdrop-filter: blur(10px);
        text-align: center;
        padding: 0 10px;
        border-bottom-right-radius: 25px;
        transition: left 0.5s ease;
    }
    #mobile_nav.open {
        left: 0;
    }
    #mobile_nav_main {
        list-style: none;
        padding: 0;
        margin: 0;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    #mobile_nav li {
        position: relative;
        margin: 0;
        padding: 0;
        height: 45px;
        width: 100%;
        white-space: nowrap;
        display: flex;
        align-items: center;
        border-radius: 25px;
    }
    #mobile_nav a {
        text-decoration: none;
        color: white;
        width: 90%;
        font-family: 'Nanum Gothic Coding';
        padding: 10px 10px;
        border-radius: 20px;
    }
    #mobile_nav a:hover {
        background-color: darkred;
    }
}

@media screen and (min-width: 850px) and (max-width: 1249px) {    
    .logofile {
        left: 75px;
        top: 50%;
        transform: translateY(-50%);
        width: 35%;
    }
    #navbutton_mobile {
        display: block;
        position: absolute;
        margin: 0;
        padding: 0;
        background: transparent;
        text-align: center;
        width: 50px;
        height: 50px;
        left: 15px;
        top: 50%;
        transition: transform 1s;
        transform: translateY(-50%);
        border-radius: 50%;
    }
    #navbutton_mobile span {
        position: absolute;
        background-color: white;
        height: 1.5px;
        width: 20px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
    }
    #navbutton_mobile span:nth-child(1) {
        margin-top: -5px;
    }
    #navbutton_mobile span:nth-child(2) {
        margin-top: 0;
    }
    #navbutton_mobile span:nth-child(3) {
        margin-top: 5px;
    }
    #navbutton_mobile:hover {
        background-color: rgba(200,0,0,0.5);
        cursor: pointer;
    }
    #navbutton_mobile:active {
        background-color: rgba(150,0,0,0.5);
        cursor: pointer;
    }
    .seperator2 {
        position: absolute;
        font-size: 45px;
        color: white;
        right: 70px;
        top: 50%;
        transform: translate(0,-140%);
    }
    .seperator3 {
        position: absolute;
        font-size: 45px;
        color: white;
        right: 280px;
        top: 50%;
        transform: translate(0,-140%);
    }
    .sidebarsocialicons {
        position: absolute;
        display: block;
        width: 280px;
        right: 50px;
        top: 50%;
        transform: translate(0,-50%);
        height: 75px;
        padding-bottom: 0px;
        -webkit-user-drag: none;
        text-align: center;
        filter: invert(1);
    }
    .sidebarsocialicons a {
        -webkit-user-drag: none;
    }
    .sidebarsocialicons img {
        position: relative;
        width: 35px;
        height: 35px;
        padding: 2px;
        margin-left: 1px;
        left: 10px;
        top: 50%;
        transform: translate(0, -50%);
        -webkit-user-drag: none;
    }
    .sidebarsocialicons img:hover {
        position: relative;
        width: 42px;
        height: 42px;
        padding: 1px;
        left: 2px;
        top: 50%;
        transform: translate(0, -50%) rotate(-15deg);
    }
    .seperator1, #desktop_nav {display: none;}

    #mobile_nav {
        display: block;
        position: relative;
        width: 200px;
        height: 230px;
        left: -220px;
        top: 75px;
        transform: translate(0, 0);
        background-color: rgba(25, 25, 25, 0.5);
        backdrop-filter: blur(10px);
        text-align: center;
        padding: 0 10px;
        border-bottom-right-radius: 25px;
        transition: left 0.5s ease;
    }
    #mobile_nav.open {
        left: 0;
    }
    #mobile_nav_main {
        list-style: none;
        padding: 0;
        margin: 0;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    #mobile_nav li {
        position: relative;
        margin: 0;
        padding: 0;
        height: 45px;
        width: 100%;
        white-space: nowrap;
        display: flex;
        align-items: center;
        border-radius: 25px;
    }
    #mobile_nav a {
        text-decoration: none;
        color: white;
        width: 90%;
        font-family: 'Nanum Gothic Coding';
        padding: 10px 10px;
        border-radius: 20px;
    }
    #mobile_nav a:hover {
        background-color: darkred;
    }
}

#navbutton_mobile.openButton span:nth-child(1) {
    transform: translate(-50%, -50%) rotateZ(45deg);
    margin: 0;
}
#navbutton_mobile.openButton span:nth-child(2) {
    opacity: 0;
}
#navbutton_mobile.openButton span:nth-child(3) {
    transform: translate(-50%, -50%) rotateZ(-45deg);
    margin: 0;
}