*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    background:rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.logo{
    position: absolute;
    /*transform: translateY(40%);*/
    top: 45px;
    border-radius: 100%;
    z-index: 2;
    transition: transform 0.5s ease-in;
}

.logo img{
    width: 220px;
    border-radius: 100%;
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 100%;
    list-style: none;
    z-index: 1;
}

.nav-links a{
    color: black;
    text-decoration: none;
    font-size: 18px;
}

.spacer{
    width: 33.333%;
}

.burger{
    display: none;
    cursor: pointer;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 6px;
}

.burger div{
    width: 25px;
    height: 3px;
    background: black;
    margin: 5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.exit-nav{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: none;
}

.logo-background{
    position: absolute;
    z-index: 1;
    height: 210px;
    width: 240px;
    top: 61px;
    transition: transform 0.5s ease-in;
}


.logo-back-mobil{
    display: none;
}


@media screen and (max-width:768px){

    html, body{
        overflow-x: hidden;
    }

    .nav-links{
        position: absolute;
        right: 0px;
        bottom: 5px;
        top: 50px;
        background: rgba(255, 255, 255, 0.8);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;

        transform: translateX(100%);
        
        border-radius: 6px;
    }


    .spacer{
        display: none;
    }

    .burger{
        display: block;
        position: absolute;
        right: 5vw;
        transition: transform 0.5s ease-in;
    }

    nav{
        background: none;
    }

    .logo-back-mobil{
        display: block;
    }

    .logo-back-desktop{
        display: none;
    }
    
    .logo-background{
        top: 0px;
    }

    .logo img{
        width: 200px;
    }

    .logo{
        top: 15px;
    }

    #impressum-datenschutz a{
        font-size: 10px;
    }

}

.nav-active{
    transform: translateX(-5px);
    transition: transform 0.5s ease-in;
}

.burger-active{
    transform: translateX(-13vw);
}


.logo-active{
    transform: translateX(-35vw);
    transition: transform 0.5s ease-in;
}

.logo-back-active{
    transform: translateX(-35vw);
    transition: transform 0.5s ease-in;
}


.toggle .burger-line1{
    transform: rotate(-45deg) translate(-5px,6px);
}

.toggle .burger-line2{
    opacity: 0;
}

.toggle .burger-line3{
    transform: rotate(45deg) translate(-5px,-6px);
}

.exit-nav-active{
    display: block;
}

#impressum-datenschutz{
    height: 40px;
    display:flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: black;
}

#impressum-datenschutz a:first-child{
    text-align: end;
}

#impressum-datenschutz a{
    color: rgba(255, 255, 255, 0.774);
    text-decoration: none;
    width: 30%;
}

#horizontal-line{
    width: 1px;
    height: 70%;
    background: rgba(255, 255, 255, 0.774);
    border-radius: 6px;
    margin-left: 5px;
    margin-right: 5px;
}

