/* Global settings */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
:root{
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
    overflow: auto; 
    scroll-behavior: smooth;
}
 
.wrapper{
    display: flex;
    flex-direction: column; 
    height: 100vh;
    
}
body{
    background-color: #e9e5e6;
}

/* Themes */
.bg-blue-1 { background: #081f37; }
.bg-blue-2 { background: #5fc9f3; }
.bg-blue-3 { background: #2e79ba; }
.bg-blue-4 { background: #1e549f; }

/* Text sizes */
.t-size-1 { font-size: 1rem; }
.t-size-2 { font-size: 1.15rem; }
.t-size-3 { font-size: 1.30rem; }
.t-size-4 { font-size: 1.45rem; }
.t-size-5 { font-size: 2rem; }
.t-size-h1 { font-size: 4rem; }
.t-size-h2 { font-size: 3rem; }
.t-size-h3 { 
    font-size: 2rem;
    color: #1e549f; /* Hauptfarbe */
    text-align: center;
 }

.t-middle { text-align: center; width: 100%; }


/* Scroll on Top button */

.scroll-to-top {
    position: fixed;
    bottom: 70px;
    right: 30px;
    background-color: #1e549f;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    display: none;
    z-index: 1000;
}

.scroll-to-top:hover {
    background-color: #2e79ba;
}

@media (max-width: 1200px) {
    .scroll-to-top {
        bottom: 80px;
        right: 0;
        padding: 8px 12px;
        font-size: 14px;
    }
}


/* Navbar*/
a, a:hover{
    text-decoration: none;
    
}
.top-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
    background: #081f37;
}

.top-bar span{
    color: #fff;
}
.top-bar ul{
    list-style: none;
    display: flex;
}
.top-bar li{
    margin: 0px 5px;
    color: #fff;
}
.top-bar a{
    color: #fff
}
.top-bar a:hover{
    color: #5fc9f3;
}

nav{
    background-color: #1e549f;
    padding: 0.4rem 1.2rem;
    display: flex;
    align-items: center;

}
nav a{
    color: #fff;
}
nav a:hover{
    color: #5fc9f3;
}
.logo{
    flex: 1;
}
.logo img{
    width: 6rem;
    margin-right: 0.6rem;
}
.menu{
    display: flex;
    align-items: center;
    list-style: none;
}
.menu li{
    padding: 1rem 0.6rem;
    font-size: 1rem;
    position: relative;
}
.menu li a.active{
    color: #5fc9f3;
}
.toggle{
    font-size: 1.8rem;
    display: none;
}

.menu li.open .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #081f37; 
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    width: fit-content;
}

.dropdown a {
    display: block;
    padding: 5px 10px;
    color: #fff; 
    text-decoration: none;
}

.dropdown a:hover {
    color: #5fc9f3; 
}


@media screen and (max-width: 960px) {
    nav{
        display: block;
        position: relative;
        padding: 1rem 1.2rem;
    }
    .menu{
        margin-top: 1rem;
        display: none;
    }
    .menu.active, .toggle{
        display: block;
    }

    .toggle{
        position: absolute;
        top: 2rem;
        right: 1.2rem;
    }
    .dropdown {
        position: block;
        width: 100%;
    }
}
/* Navbar end*/


/* Footer */

.footer{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e549f;
    padding: 1rem 2rem 1rem 2rem;
    margin-top: auto;
    position: relative;
}
.rights{
    display: flex;
    gap: 0.6rem;
    border-left: 1.5px #081f37;
    border-left-style:groove;
}
.footer p {
    color: #fff;
    font-size: 0.9rem;
}
.rights a{
    text-decoration: none;
    color: #fff;
    margin-left: 0.4rem;
    
}
.rights a:hover{
    color: #5fc9f3;
}
@media screen and (max-width: 800px) {
    
    .rights{
        flex-direction: column;
    }
    .rights a{
        font-size: 0.9rem;

    }
    .footer p{
        font-size: 0.9rem;
    }
}