/* oswald-200 - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/oswald-v16-latin-200.eot'); /* IE9 Compat Modes */
  src: local('Oswald ExtraLight'), local('Oswald-ExtraLight'),
       url('../fonts/oswald-v16-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/oswald-v16-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/oswald-v16-latin-200.woff') format('woff'), /* Modern Browsers */
       url('../fonts/oswald-v16-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/oswald-v16-latin-200.svg#Oswald') format('svg'); /* Legacy iOS */
}




*{margin:0; padding:0;}
body{
    background-color: black;
    color: lawngreen;
    font-family: sans-serif;
    font-weight: 700;
}

.nav1{
    width: 0vw;
    height: 100vh; 
    position: fixed; 
    left: 100vw;
    transition: .4s all ease;
    /* nur für den beschissenen IE */
    overflow: hidden;
}
.nav2{
    width: 100vw;
    left: 0vw;
    transition: .4s all ease;
}
nav div{
    width: 100vw;
    height: 100vh;
    background-color: darkred;
}
body nav div{
    
    transition: .4s all ease;
}
body nav div ul li{
    font-size: 2em;
    font-family: 'Oswald', sans-serif;
}
body nav div ul li a{
    padding: .1em;
    padding-left: .5em;   
    color: lawngreen;
    display: block;
    text-decoration: none;
    font-weight: 200;
    text-transform: uppercase;
}
body nav div ul li:nth-child(1){
    padding-top: 1em;   
}

body nav div ul li a:hover{
    color: orangered;
    font-weight: 300;
}

.moving{
    transform: translate(0vw);
    transition: .4s all ease;
}







header{
    background-color: black;
    height: 10vh;
}
main{
    height: 80vh;
    background-color: black;
}
footer{
    height: 10vh;
}

navicon, #nav-icon2, #nav-icon3, #nav-icon4 {
    width: 60px;
    height: 45px;
    position: fixed;
    top: 1em;
    right: 1em;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 1;
}


navicon span{
    display: block;
    position: absolute;
    height: 9px;
    width: 100%;
    background: lawngreen;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
navicon:hover span{
    background: orangered;
}

navicon span:nth-child(1) {
    top: 0px;
}
navicon span:nth-child(2) {
    top: 18px;
}
navicon span:nth-child(3) {
    top: 36px;
}
navicon.open span:nth-child(1) {
    top: 18px;
    transform: rotate(135deg);
}
navicon.open span:nth-child(2) {
    width: 0;
    left: -20vw;
    opacity: 0;
}
navicon.open span:nth-child(3) {
    top: 18px;
    transform: rotate(-135deg);
}
