@font-face {
    font-family: Social Regular;
    src: url(../fonts/ABC-Social/ABCSocialEdu-Regular.woff2), format(".woff2");
}

@font-face {
    font-family: Necto;
    src: url(../fonts/Necto/NectoMono-Regular.woff2), format(".woff2");
}

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

*::selection{
    background-color: yellow;
    color: black;
}

body{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.main-container{
    width: 100vw;
    height: 97vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 20px;
}

header{
    width: 100vw;
    display: flex;
    justify-content: space-between;
    background-color: white;
    /* -webkit-box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.10); 
    box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.10); */
    /* border-bottom: 1px solid black; */
    height: auto;
    padding: 0.5vw; 
}

header > h2{
    display: none;
}

nav{
    margin-right: 0.5vw;
    display: flex;
}

h1{
    
    font-family: Necto;
    text-decoration: none;
    font-size: 6vw; 
    font-weight: lighter;
    /* height: 40vh; */
    /* background-color: aqua; */
    color: black;
    text-align: left;
}

h3{
    display: flex;
    align-items: center;
    font-family: Necto;
    text-decoration: none;
    font-size: 1vw; 
    font-weight: lighter;
    padding-left: 0.5vw;
    /* background-color: rgb(255, 255, 255);
    -webkit-box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.10); 
    box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.10); */
    /* width: 60vw; */
    background-color: yellow;
    color: black;
    /* height: 3vh; */
}

nav > a{
    font-family: Necto;
    text-decoration: none;
    font-size: 2vw; 
    font-weight: lighter;
    margin-left: 40px;
    color: grey;
    height: 2.5vw;
}

nav > a:hover{
    color: white;
    background-color: grey;
    
}

.hero-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 99vw;
    height: 90vh;
}

footer{
    position: absolute;
    bottom: 1vh;
    text-align: right;
    right: 0.5vw;
}

footer > a{
    font-size: 1.5vw;
    color: rgb(88, 44, 232);
    text-decoration: none;
    font-family: Necto;
}

.footer > a:hover{
    color: black;
    background-color: yellow;
}


/* .hero-container > section {
    width: 20px;
    height: 140px;
} */

.color-block{
    width: calc(97vw/5);
    margin-bottom: 10px;
    height: 20px;
}

.untertitel{
    padding-left: 0.5vw;
    position: absolute;
    bottom: 1vh;
}

.untertitel > h2 {
    font-family: Social Regular;
    font-weight: lighter;
    font-size: 2vw;
}

.untertitel >h2 > a {
    color: rgb(88, 44, 232);
    text-decoration: none;
}


.untertitel > h2 > a:hover{
    color: black;
    background-color: yellow;
}

.color-block:hover{
    background-color: white;
}

.block1{
    background-color: #5d6cdf;
    display: block;
}
.block2{
    background-color: #cd0f48;
}
.block3{
    background-color: #784E2A;
}
.block4{
    background-color: #9c52f2;
}
.block5{
    background-color: #FFA301;
}
.block6{
    background-color: #2adc6b;
}
.block7{
    background-color: #E62CE3;
}

.marquee{
    height: 3vh;
    background-color: yellow;
    display: flex;
    align-items: center;
    text-align: left;
}

.mobil-umbruch{
    display: none;
}

@media (max-width: 1000px) {
    body{
        overflow: hidden;
    }
    
    header{
        flex-direction: column;
        -webkit-box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.10); 
        box-shadow: 0px 10px 20px 5px rgba(0,0,0,0.10);
    }

    .mobil-umbruch{
        display: block;
    }

    header > h2 {
        display: none;
        font-family: Necto;
        font-weight: lighter;
        color: grey;
        font-size: 4vw;
    }

    .marquee{
        height: 6vh;
    }

    h1{
        /* margin-top: 3vh; */
        font-size: 10vw;
        /* text-align: center; */
        width: 100vw;
        padding-left: 2vw;
        padding-top: 2vw;
    }

    nav{
        flex-direction: column;
        /* height: 50vh; */
        align-items: center;
        justify-content: center;
        /* position: absolute; */
        bottom: 7vh;
        margin: 0;
        margin-top: 2vh;
        width: 100vw;
    }

    nav > a {
        font-size: 7vw;
        height: auto;
        width: 100vw;
        /* margin-left: 4vw; */
        /* text-align: center; */
        text-align: left;
        padding-left: 2vw;
        margin: 0;
        margin-top: 5px;
        margin-bottom: 5px;
        /* background-color: grey; */
        
        background-color: rgb(240, 240, 240);
        
    }

    .untertitel{
        bottom: 7vh;
    }

    .untertitel > h2  {
        font-size: 4.5vw;
        padding-left: 2vw;
    }

    footer > a {
        font-size: 5vw;
    }

    h3 {
        color: black;
        font-size: 5vw;
        white-space: nowrap; /* Prevents text from wrapping */ /* Ensures text stays within bounds */
        width: 380vw; /* Adjust width as needed */
        position: relative;
        display: block;
    
        animation: marquee 20s linear infinite; /* Adjust speed as needed */
    }
    
    @keyframes marquee {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(-100%);
        }
    }

    
}

@media screen and (min-width: 700px) and (max-width: 1000px) {
    .marquee {
        height: 4vh;
    }

    .marquee > h3{
        font-size: 3vw;
    }

    .untertitel > h2 {
        font-size: 3vw;
    }

    h1{
        font-size: 9vw;
    }

    nav > a {
        font-size: 6vw;
    }

    footer > a {
        font-size: 3vw;
    }
}