/********** Basis-Stilangaben **********/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #3F3935;
    line-height: 1.25;
}





/* Schrift */

img {
    width: 100%;
    max-height: 40rem;
    object-fit: cover;
}

.titelbild {
    
    min-height: 20rem;
}

h1 {
    font-family: 'Amatic SC', cursive;
    font-weight: 100;
    color: white;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: .5px .5px 9px #3F3935;

}


h2 {
    font-family: 'Amatic SC', cursive;
    font-weight: 100;
    text-align: center;
    margin-top: 1rem;

}

h3 {
    font-family: 'Amatic SC', cursive;
    font-weight: 100;
    font-size: 1.5rem;
}

p,
a {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: #9bccea;
}

a:hover {
    text-decoration: none;
    color: #cedbeb;
}

.button {
    background-color: #9bccea;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 12px;
    font-size: 18px;
    margin-top: 3rem;

}





/* Navigation 
nav {
    position: fixed; 
    width: 100%;
    background-color: #9bccea;
    z-index: 100;
}

ul {
    max-width: 70rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
    list-style: none;
    padding: 0.5rem;

}

li a {
    color: #ffffff;
    font-size: 1.3rem;


}

li a:hover,
.active 
{
    text-decoration: underline;
    text-underline-position: under;
}
*/



/*** Navigation ***/
header {
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.34);
    background-color: #9bccea;
    z-index: 100000;
}

.topnav {
    display: flex;
    justify-content: space-between;
    max-width: 1500px;
    margin: 0 auto;
    max-width: 70rem;
}

.topnav a,
.topnav p {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 1.25rem;
    text-decoration: none;
    font-size: 1rem;
}

nav {
    margin: 0 auto;
    width: 100%;
    max-width: 70rem;
    display: flex;
    justify-content: space-around;
}

.topnav a:hover {
    text-decoration: underline;
    text-underline-position: under;

}

.topnav a.active {
    text-decoration: underline;
    text-underline-position: under;
    font-weight: 500;
}

.topnav .icon,
.topnav img,
.topnav p 
{
    display: none;
}




/** responsiv **/
@media only screen and (max-width: 40rem) {
    .topnav p {
        display: block;
        font-size: 1.5rem;
        
    }


    .topnav a {
        display: none;
        background-color: #9bccea;
        
    }

    .topnav p {
        width: 80%;
        font-family: 'Amatic SC', cursive;
        position: relative;
        text-align: start;
        left: 3rem;
    }
    
    .topnav img {
         display: block;
        width:4rem;
        padding: 0.8rem;
        position:fixed;
    }

    .topnav a.icon {
        display: block;
        position: relative;
        top: 0;
        right: 0;
    }

    .topnav.responsive {
        position: relative;


    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
        z-index: 30;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: right;
       


    }

    nav {
        position: absolute;
        right: 0;
        top: 4rem;
       box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.34);
        z-index: 10;
        margin: auto;
        display: block;
        background-color: #9bccea;
    }
    
    


}





/*** Burger-Icon ***/
.burger {
    display: inline-block;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 34px;
    height: 3px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-6px, -8px);
}

/***/









/* Segmente */
.content {
    display: flex;
    max-width: 70rem;
    justify-content: center;
    margin: 0 auto;
    padding: 1rem;

}

.segment {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    padding: 10rem 2rem;

}

hr {
    color: #3F3935;
    background: #3F3935;
    height: 2px;
    width: 168px;
    margin: 1rem auto 3rem auto;
    border: 0;

}

/* Video */
.video {
    margin-bottom: 3rem;
}

/* privacy */
.privacy {
    margin: 2rem auto;
    font-family: 'Amatic SC', cursive;
    font-weight: 100;
    max-width: 70rem;
    padding: 0 2rem;
}

.privacy p {
    margin-bottom: 1rem;
}



/* Footer */
footer {
    background-color: #9bccea;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

footer a {
    color: white;
}


/********** klein **********/
@media only screen and (max-width: 40rem) {

    /* Schrift */
    h1 {
        font-size: 3.5rem;
        top: 20%;
        width: 100%;
        text-shadow: .5px .5px 9px #3F3935;
        text-align: center;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 16px;
        line-height: 1.6em;
    }

    /* Segmente */
    .content {
        display: flex;
        flex-wrap: wrap;
    }

    .segment {
        padding: 3rem 1.3rem;
        width: 100%;
    }



    /* privacy */
    .privacy {
        padding: 0 1rem;
    }
}

/********** mittel **********/
@media only screen and (min-width: 40rem) and (max-width: 75rem) {

    /* Schrift */
    h1 {
        font-size: 4rem;
        top: 25%;
        width: 100%;
        text-shadow: .5px .5px 9px #3F3935;
        text-align: center;
    }

    h2 {
        font-size: 3rem;
    }

    p {
        font-size: 18px;
        line-height: 1.6em;
    }




    /* Segmente */
    .segment {
        padding: 5rem 5rem;
    }








}

/********** groß **********/
@media only screen and (min-width: 75rem) {

    /* Schrift */
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    p {
        font-size: 18px;
        line-height: 1.6em;
    }



    /* Segmente */
    .segment {
        padding: 5rem 4rem;
    }




}
