*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}
/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5%;
    font-size: x-large;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0066ff;
    padding: 1em 2em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    justify-content: space-between;
}

.logo a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    padding: 0;
    margin: 0;
}

.logobild{
    height: -14%;
    width: 16%;
    margin-right: auto;
    margin-top: 2%;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    margin-right: 5%;
}

.nav-links li {
    margin: 0 1em;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    margin-left: 20px;
}

.nav-links a:hover{
    color: #99c2ff;
    text-decoration: underline ;
    transition: .3s;
}

.wittgenstein-baum {
    font-family: "Wittgenstein", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: #0066ff;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: x-large;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.sidebar a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    top: 0;
    right: 0;
    width: 100%;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    
}

.sidebar a:hover{
    color: #9e9e9e;
    background-color: white;
    transition: .3s;
}

.sidebar li{
    list-style: none;
    width: 250px;
    text-align: center;
}

.menubutton {
    display: none;
    padding-right: 20px;
}

.Dropdown{
    position: absolute;
    width: 30%;
    right: 6%;
    background-color: #0066ff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    display: none;
    margin-top: 2%;
    text-align: left;
}

.Dropdown li{
    list-style: none;
    height: 100%;
}

.Dropdown li a{
    color: white;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}

.Dropdown li a:hover{
    text-decoration: none;
}

.adrop:hover .Dropdown{
    display: inline-block;
}

.bsmr-imagecontainer{
    margin-left: 25%;
}

footer {
    background-color: #0066ff;
    color: white;
    width: 100%;
    position: relative;
    margin-bottom: 0px;
    margin-top: 5%;
}

.footercontainer{
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    text-align: center;
    padding-top: 2%;
    margin-bottom: 0%;
}

.footertitle{
    font-size: xx-large;
}

.footertext{
    font-size: x-large
}

.rechtliche{
    border-style: solid;
    border-width: 5px;
    border-right-style: none;
    border-left-style: none;
    border-bottom-style: hidden;
    border-color: white;
    display: flex;
    text-align: center;
    padding-bottom: 2%;
    margin-top: 1%;
}

.rechtliche1{
    margin-left: 2%;
    text-decoration: none;
    color: white;
}

.rechtliche2{
    margin-left: 2%;
    text-decoration: none;
    color: white;
    margin-right: auto;
}
.rechtliche3{
    margin-left: auto;
}

.rechtliche1:hover{
    color: #99c2ff;
    transform: .3s;
}
.rechtliche2:hover{
    color: #99c2ff;
    transform: .5s;
}

.main{
    padding-top: 10%;
}

.h1{
    text-align: center;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-size: 60px;
}

.mapslink{
    text-decoration: none;
    color: #fff;
}

.mapslink:hover{
    color: #99c2ff;
}

.Rechtlichestextcontainer{
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    margin-left: 10%;
    margin-right: 10%;
}

.main{
    margin-top: 5%;
}

@media(max-width: 1620px){
    .hideonmobile{
        display: none;
    }
    .menubutton{
        display: flex;
    }
    .text-containeroverview h2{
        font-size: 35px;
    }
    
    .text-containeroverview p{
        font-size: 25px;
    }
    .text-containeroverview-right h2{
        font-size: 35px;
    }
    
    .text-containeroverview-right p{
        font-size: 25px;
    }

    .text-containeroverview-both h2{
        font-size: 35px;
    }
    
    .text-containeroverview-both p{
        font-size: 25px;
    }
}

@media(max-width: 1283px){
    .text-containeroverview h2{
        font-size: 30px;
    }
    
    .text-containeroverview p{
        font-size: 20px;
    }
    .text-containeroverview-right h2{
        font-size: 30px;
    }
    
    .text-containeroverview-right p{
        font-size: 20px;
    }

    .text-containeroverview-both h2{
        font-size: 30px;
    }
    
    .text-containeroverview-both p{
        font-size: 20px;
    }
    .linkofa{
        font-size: 30px;
    }
    .footertitle{
        font-size: 27px;
    }
    
    .footertext{
        font-size: 19px;
    }
}

@media(max-width: 1119px){
    .banner{
        margin-top: 7%;
    }
}

@media(max-width: 1000px){
    .text-containeroverview h2{
        font-size: 25px;
    }
    
    .text-containeroverview p{
        font-size: 15px;
    }
    .text-containeroverview-right h2{
        font-size: 25px;
    }
    
    .text-containeroverview-right p{
        font-size: 15px;
    }

    .text-containeroverview-both h2{
        font-size: 25px;
    }
    
    .text-containeroverview-both p{
        font-size: 15px;
    }
    .banner{
        margin-top: 9%;
    }
    .linkofa{
        font-size: 25px;
    }
    .footertitle{
        font-size: 22px;
    }
    
    .footertext{
        font-size: 14px;
    }
    .caofh4{
        margin-left: 0%;
    }

    .linkofa{
        margin-left: 0%;
    }
}

@media(max-width: 800px){
    .text-containeroverview{
        padding-left: 0%;
        padding-right: 0%;
    }
    .text-containeroverview-right{
        padding-left: 0%;
        padding-right: 0%;
    }
    .text-containeroverview-both{
        padding-left: 0%;
        padding-right: 0%;
    }
    .text-containeroverview h2{
        font-size: 25px;
        position: relative;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .text-containeroverview p{
        font-size: 15px;
        margin-left: 5%;
        margin-right: 5%;
    }
    .text-containeroverview-right h2{
        font-size: 25px;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .text-containeroverview-right p{
        font-size: 15px;
        margin-left: 5%;
        margin-right: 5%;
    }

    .text-containeroverview-both h2{
        font-size: 25px;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .text-containeroverview-both p{
        font-size: 15px;
        margin-left: 5%;
        margin-right: 5%;
    }
    .banner{
        margin-top: 11%;
    }
    .linkofa{
        font-size: 20px;
    }
    .footertitle{
        font-size: 22px;
    }
    
    .footertext{
        font-size: 14px;
    }
    .content{
        flex-direction: column;
    }
    .image-containeroverview{
        order: 2;
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 10%;
    }
    .business-image-container{
        display: inline;
        margin-bottom: -10%;
    }
    .business-image-container2{
        display: none;
    }

    .caofh4{
        font-size: 25px;
        margin-left: -25%;
    }

    .linkofa{
        margin-left: -25%;
    }

    .logobild{
        height: -8%;
        width: 22%;
        margin-right: auto;
        margin-top: 2%;
    }
    .caof1 {
        margin-left: 5%;
    }
}

@media(max-width: 700px){
    .banner{
        margin-top: 13%;
    }
}

@media(max-width: 600px){
    .logobild{
        height: 2%;
        width: 32%;
        margin-right: auto;
        margin-top: 2%;
    }

    .banner{
        margin-top: 15%;
    }

    .text-containeroverview img{
        width: 60%;
    }
}

@media(max-width: 500px){
    .logobild{
        height: 10%;
        width: 40%;
        margin-right: auto;
        margin-top: 2%;
    }
    .banner{
        margin-top: 18%;
    }
}
@media(max-width: 420px){
    .banner{
        margin-top: 21%;
    }
}

@media(max-width: 400px){
    .sidebar{
        width: 100%;
        align-items: center;
    }
    .logobild{
        height: 18%;
        width: 48%;
        margin-right: auto;
        margin-top: 2%;
    }
    .banner{
        margin-top: 22%;
    }
}
@media(max-width: 379px){
    .banner{
        margin-top: 24%;
    }
}

@media(max-width: 360px){
    .banner{
        margin-top: 25%;
    }
}
@media(max-width: 340px){
    .banner{
        margin-top: 26%;
    }
}
@media(max-width: 330px){
    .banner{
        margin-top: 27%;
    }
}
@media(max-width: 315px){
    .banner{
        margin-top: 28%;
    }
}
@media(max-width: 305px){
    .banner{
        margin-top: 29%;
    }
}