*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


@font-face {
    font-family: "Inter-Light";
    src: url(../fonts/InterTight-Light.ttf) format("truetype");
    font-display: swap;
}


:root {
    --blau: #1F4E8C;
    --dunkel-blau: #18213b;
    --hell-grau: #F0F0F0;
    --rot: #D70026;
    --weiss: #FFFFEE;
    --schwarz: #000;
    --primaere-schriftart: "Inter_Light";
    --border-style: 2px solid;
    --border-transition: border .5s ease-in-out;
    --gradient: linear-gradient(to left, var(--dunkel-blau), var(--dunkel-blau) 80%, var(--hell-grau));
    --slideshowWidth: 20vw;
    --videoWidth: 60vw;
    --sectionPadding: 10rem 6rem;
    /*-----------------FONTSIZES-----------------------------------*/
    --FSnavbrowser: calc(0.6rem + 0.3vw);
    --FSnav1024: calc(1rem + 0.5vw);
    --FStextbrowser: calc(0.4rem + 0.5vw);
    --FStext1024: calc(0.8rem + 2vw);
    --FStext800: 1.2rem;
    --FStext500: 1rem;
    --FSh1browser: calc(2rem + 1vw);
    --FSh1800: calc(1rem + 3vw);
    --FSh2browser: calc(0.6rem + 0.7vw);
    --FSh21024: calc(1rem + 2vw);
    --FSh2800: 1.4rem;
    --FSh2500: 1.1rem;
    --FSh3browser: calc(0.5rem + 0.5vw);
    --FSh31024: calc(0.9rem + 2vw);
    --FSh3800: 1.3rem;
    --FSh3500: 1.2rem;
}


body {
    width: 100vw;
    position: relative;
}

header {
    width: 100%;
    height: 50px;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: var(--dunkel-blau);
    background: var(--gradient);
}

nav {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo-wrapper {
    position: relative;
    top: 50%;
    margin-left: 100px;
}

.nav-icon-link {
    text-decoration: none;
    margin-right: 20px;
}

.nav-icon-link img:hover {
    transform: scale(1.1);
    transition: all 0.1s;
}

.nav-icon-link img {
    height: 80px;
    transition: all 0.1s;
}

#dom-nav-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    margin-right: 100px;
}

.menu-icon {
    color: white;
    font-weight: bold;
    font-size: 40px;
    display: none;
    height: inherit;
    align-items: center;
    padding: 1px 10px;
    position: relative;
    flex-direction: column;
    justify-content: space-evenly;
}

.menu-bars {
    width: 25px;
    height: 1.5px;
    background-color: var(--weiss);
    border-radius: 2px;
    transform-origin: left;
    transition: all 0.3s ease-in-out;
}

#bar-middle {
    align-self: flex-start;
}

.menu-icon.open > #bar-top {
    transform: rotateZ(45deg)
}

.menu-icon.open > #bar-middle {
    width: 0;
}

.menu-icon.open > #bar-bottom {
    transform: rotateZ(-45deg)
}

#dom-nav-wrapper ul {
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none;
}

#dom-nav-wrapper ul li a {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-family: "Inter-Light", Arial, Helvetica, sans-serif;
    font-size: var(--FSnavbrowser);
    margin-left: 20px;
    position: relative;
}

#dom-nav-wrapper ul li a:hover {
    transform: scale(var(--scaleFactor));
    box-shadow: 0 3px 3px #00000070;
    transition: all 0.1s;
}

main {
    height: calc(100vh - 50px);
    perspective: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

main::-webkit-scrollbar {
    display: none;  /*Chrome and Brave*/
}


h1 {
    width: 100%;
    font-family: "Inter-Light";
    font-size: var(--FSh1browser);
    text-align: center;
    line-height: 1.3;
    color: #FFFFEE;
    margin-bottom: 3rem;
    text-shadow: black 5px 5px;
}

h2 {
    font-size: var(--FSh2browser);
}

h3 {
    font-size: var(--FSh3browser);
}


/* -------------Impressum--------------- */

#impressum-sec {
    min-height: 100vh;
    padding: 6rem;
    background-color: var(--dunkel-blau);
    position: relative;
    overflow: hidden;
    z-index: -2;
}

#impressum-wrapper {
    display: flex;
    justify-content: center;
}

#impressum-info {
    width: 80vw;
    color: var(--schwarz);
    font-family: "Inter-Light";
    font-size: var(--FStextbrowser);
    background-color: rgb(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 3px solid #FFFFEE;
    box-shadow: 0 10px 13px -7px #000000, 10px 10px 20px 10px rgba(0, 0, 0, 0.62);
    padding: 4rem;
}

/* ----------------------Mediaframes---------------------- */

@media screen and (max-width: 1024px) {
    #logo-wrapper {
        position: static;
        top: unset;
        margin-left: 40px;
    }

    .nav-icon-link img {
        height: 40px;
    }

    #dom-nav-wrapper {
        margin-right: 40px;
    }

    #dom-nav-wrapper ul li a {
        font-size: var(--FSnav1024);
    }

    #form-body {
        width: 50vw;
    }

    #impressum-sec {
        padding: 10rem 3rem;
    }


    #impressum-info {
        width:90vw;
        font-size: var(--FStext1024);
        padding: 3rem 2rem;
    }

    h2 {
        font-size: var(--FSh21024);
    }

    h3 {
        font-size: var(--FSh31024);
    }

}



@media screen and (max-width: 800px) {

    #logo-wrapper {
        margin-left: 10px;
    }

    #dom-nav-wrapper {
        margin-right: 20px;
    }

    h1 {
        font-size: var(--FSh1800);
    }

    h2 {
        font-size: var(--FSh2800);
    }

    h3 {
        font-size: var(--FSh3800);
    }

    #impressum-info {
        font-size: var(--FStext800);
    }

    #impressum-sec {
        padding: 10rem 1rem;
    }
}

@media screen and (max-width: 500px) {
    .menu-icon {
        display: flex;
    }

    .nav-icon-link {
        margin-right: 5px;
    }


    h2 {
        font-size: var(--FSh2500);
    }

    h3 {
        font-size: var(--FSh3500);
    }

    #impressum-info {
        font-size: var(--FStext500);
        padding: 2rem 1rem;
    }

    #dom-nav-wrapper ul li a {
        margin-left: 5px;
    }

    #dom-nav-wrapper {
        margin-right: 10px;
    }
}
