*{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: 25%;
}

/*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%;
    }

    #Ich .container{
        display: flex;
        flex-direction: column;
        font-size: 19px;
    }

    .container p{
        width: 60%;
    }
    
    .container img{
        width: 50%;
        padding-top: 4%;
        padding-bottom: 4%;
    }

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

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

#footer{
    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;
}

hr{
    border:solid #BBBFC2 1px;
    width: 70%;
}

#zeile{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2%;
}

#zeile h1{
    font-size: 26px;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    color:#2E3C52;
    padding-right: 1%;
    padding-left: 1%;
}

/* Hauptteil Boxen */

#Ich{
    width: 100%;
    background-color: #F8F8F9;
    font-size: 22px;
    font-family: 'Raleway', sans-serif;
    padding-bottom: 2%;
    line-height: 150%;
}

.container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

p{
    width: 40%;
}
