*{margin: 0; padding: 0;}

/* Der Überschriftsbanner mit Logo */

h4{
    color: rgb(220, 220, 228);
    font-size: 50px;
    font-family: 'Roboto Condensed', sans-serif;
}

#header{
    width: 100%;
    background-image: linear-gradient(#f8f8f8, #2E3C52);
    background-size: 110%;
    background-repeat: no-repeat;
	background-position: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#header a{
    width: 20%;
}

/*Navigationsleiste (erklärt ab Seite 5) und Footer (erklärt auf Seite 8) */

ul {
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
    background-color:#2E3C52;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style-type: none;
    position: sticky;
    top: 0px;
}

li a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 25px;
    color:#F8F8F9;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    transition: 0.3s all;
    text-transform: uppercase;
}

@media only screen and (min-width: 992px) {  

    #nav li a:before {
        content: '';
        width: 65px;
        position: absolute;
        border-bottom: 2px solid #BBBFC2;
        bottom: 0;
        right: 300px;
        transition: 0.3s all;
    }
        
    #nav li a:hover:before{
        right: 0;
    }
        
    #nav li a:hover{
        color: #BBBFC2;
    }
}

.show-menu {
    font-family: 'Roboto Condensed', sans-serif;
    text-decoration: none;
    color: #F8F8F9;
    background-color:#2E3C52;
    text-align: center;
    padding: 10px 0;
    display: none;
    font-size: 25px;
    text-transform: uppercase;
    text-decoration: underline;
}

input[type=checkbox]{
    display: none;
}

input[type=checkbox]:checked ~ #nav{
    display: flex;
    flex-direction: column;
}

input[type=checkbox]:checked ~ #nav a{
    padding-top: 2%;
    padding-bottom: 1%;
}

/*Responsive Styles*/
@media screen and (max-width : 760px){
    
    h4{
        display: none;
    }

    input[type=checkbox] ~ #nav{
        display: none;
    }

    #nav li a {
        width: 90%;
        margin: auto;
        text-align: center;
        background-color: #2E3C52;
        margin-bottom: 1px;
    }

    #nav{
        width: 90%;
        margin: auto;
        padding-top: 0;
        background-color: #F8F8F9;
    }
    
    .show-menu {
        display: block;
        width: 100%;
    }

    #footer ul{
        display: flex;
        flex-direction: column;
        padding: 3%;
    }

    #footer li{
        margin-bottom: 1%;
    }
}

#footer{
    font-size: 20px;
    width:100%;
    background-color: #2E3C52;

}

#footer ul{
    width: 60%;
    font-size: 18px;
    color: #F8F8F9;
}

#footer li, #footer li a{
    font-size: 15px;
    font-family: 'Roboto Condensed', sans-serif;
}

#footer li a:hover{
    text-decoration: underline;
}

.impressum{
    background-color: #F8F8F9;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    text-align: justify;
    padding: 3%;
}

.impressum h1{
    font-size: 22px;
    text-decoration: underline;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    color:#2E3C52;

}

strong{
    font-size: 20px;
    color:#2E3C52;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
}

a{
    color:#2E3C52;
}