:root {
    --mainColor: #000000;
    --secondaryColor: #62a1ff;
    --primary: #1d1d1d;
    --classicWhite: #ffffff;
    --classicBlack: #000000;
    --font: #ffffff;
    --primFont: black;
    /*--backgroundColor: #222831;*/
   /* --backgroundColor: #0e2755; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-display: swap;
}
body.nav-open {
    overflow: hidden;
}

header {
    flex: 0 0 auto;
    z-index: 8;
    position: absolute;
    width: 100%;
    transition: all 0.3s ease;
    font-family: "Roboto", sans-serif;
    font-weight: 200;
    background: linear-gradient(to bottom, rgb(29, 29, 29) 0%, rgba(34, 40, 49, 0) 100%);

}

.header li {
    list-style: none;
}

.header a {
    color: var(--classicWhite);
    text-decoration: none;
}

.header img {
    width: 150px;
    height: auto;
}

.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 45px;
}

.navmenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navlogo {
    font-size: 40px;
    z-index: 10;
}

.navlink {
    position: relative;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 17px;
    letter-spacing: 0.2px;
    padding: 0 8px;
    font-weight: 400;
}

.navlink::before {
    transition: 0.3s ease;
    content: "";
    position: absolute;
    background: rgb(255, 255, 255);
    height: 1px;
    width: 0;
    left: 50%;
    right: 50%;
    bottom: -2px;
    background: var(--secondaryColor);
}

.navlink:hover::before {
    width: 100%;
    background: var(--secondaryColor);
    left: 0;
    right: 0;
    opacity: 1;
}

.lines {
    z-index: 10;
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
    background: rgb(255, 255, 255);
    font-family: "Roboto", sans-serif;
}

@media(max-width: 850px) {
    .menu-open .lines .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-open .lines .bar:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
        margin-top: 13px;
    }

    .navlink {
        font-size: 30px;
        padding: 0 8px;
    }

    .navlink::before {
        bottom: -2px;
        height: 1px;
    }

    .navmenu {
        position: fixed;
        height: 100vh;
        left: 100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background: var(--secondaryColor);
        width: 100%;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }

    .navitem {
        margin: 80px;
        font-size: 30px;
        font-family: "Roboto", sans-serif;
    }

    .menu-open .navmenu {
        left: 0%;
        width: 100%;
        margin: 0;
        height: 100%;
        overflow: hidden;
    }
}

@media(max-height: 770px) {
    .navitem {
        margin: 60px;
        font-size: 25px;
    }
}

.lines {
    display: none;
    cursor: pointer;
}

.bar {
    border-radius: 5px;
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--classicWhite);
    background: var(--classicWhite);
}

@media(max-width: 850px) {
    .lines {
        display: block;
    }

    .menu-open .lines .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-open .lines .bar:nth-child(2) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .navlink {
        font-size: 30px;
        padding: 0 8px;

    }

    .navlink::before {
        bottom: -2px;
        height: 1px;
    }

    .menu-open .navmenu {
        position: fixed;
        left: 100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background: var(--backgroundColor);
        width: 100%;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        height: 100vh;
        margin: 0;
    }

    .navitem {
        margin: 80px;
        font-size: 30px;
    }

    .menu-open .navmenu {
        left: 0%;
        width: 100%;
    }
}

@media(max-height: 770px) {
    .navitem {
        margin: 60px;
        font-size: 25px;
    }
}

svg {
    margin-bottom: -1px;
}

footer {
    padding: 50px 0px 15px 0px;
    text-align: center;
    position: relative;
    background: var(--primary);
    flex: 0 0 auto;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(14, 39, 85, 1) 0%, rgba(14, 39, 85, 0.5) 10%, rgba(14, 39, 85, 0) 100%);
    z-index: -1;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.social-media p {
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
    color: var(--classicWhite);
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
}

.social-media a {
    color: var(--secondaryColor);
    text-decoration: none;
}

.social-media a:hover {
    text-decoration: underline;
}

.legal-information {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.legal-information a {
    margin-bottom: 5px;
    text-align: center;
    color: var(--secondaryColor);
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.legal-information a:hover {
    text-decoration: underline;
}

.copyright-credits {
    margin-top: 20px;
    text-align: center;
    color: #5f77a1;
    font-size: 12px;
    line-height: 1.5;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: var(--backgroundColor);
}

::-webkit-scrollbar-thumb {
    background: var(--secondaryColor);
    border-radius: 10px;
}

::selection {
    color: var(--classicWhite);
    background: var(--secondaryColor);
}

#imprint, #privacy{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    color: var(--classicBlack);
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
}
.imprint-container, .privacy-container{
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 1200px;
    flex-direction: column;
    color: var(--classicBlack);
    padding: 150px 100px;
    font-weight: normal;
}
.imprint-container h2, .privacy-container h2{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}
.imprint-container p, .privacy-container p{
    font-weight: normal;
}

@media(max-width: 720px){
    .imprint-container{
        padding: 100px 50px;
        margin: 100px 0px;
    }
    .privacy-container{
        padding: 100px 50px;
    }
}

@media(max-width: 500px){
    .imprint-container{
        padding: 30px 30px;
    }
    .privacy-container{
        padding: 100px 30px;
    }
}

hr{
    margin: 20px 0px;
}

.imprint-content a{
    color: var(--secondaryColor);
    text-decoration: none;
}
.imprint-content a:hover{
    text-decoration: underline;
}