html, body {margin: 0 ;padding: 0; height: 100%; text-align: center;background: #f7f7f7;}
section {min-height: 100%;}
a {text-decoration: none}
li {list-style-type: none;}
h1, h2, h3, a {font-family: 'Roboto', sans-serif; font-weight: 500; color: #000000; text-transform: uppercase;}
h2{color: #000000;}
h3{font-size: 40px; padding-top: 8%; margin-bottom: 5px;}
h4, p {font-family: 'Roboto Slab', serif; color: #000000;}
hr {width: 30px; height: 3px; background: #000000; border: 0; margin: 0 auto 40px auto;}
#logo, li, img {transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;}

/*HEADER************Oben Kopfbereich Menü********************************************/

header{width: 100%; height: 65px; position: fixed; top: 0; left: 0; background: #2e27277a; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); z-index: 1;}
#logo{width:90px; float: left;margin: 10px 0 0 10px;}
#logo:hover{opacity: 0.5;}
#logo img{width: 100%;}
header nav {float: right;margin: 10px 50px 0 0;}
header nav ul li{float: left;margin-left: 25px;}
header nav ul li a {font-size: 16px;}
header nav ul li:hover{padding-top: 5px;}



/*Home********************************************************/

#home {background: url(../img/banner.jpg);background-position: center center;background-size: cover;background-attachment: fixed;}
#home h1{margin: 240px auto 0 auto; font-size: 110px;}
#home h2 {margin: 0 auto 0 auto; font-size: 25px;}
#home img {width: 32px; margin-top: 150px; opacity: 0.7;}
#home img:hover{opacity: 1;}

/*About********************************************************/

#about img{width: 240px;}
#about img:hover{transform: scale(1.1);-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);}
#about h4 {font-size:25px;}
#about p {width: 700px; margin: 0 auto 0 auto;}

/*Work********************************************************/

#work {background-color: #b3acac;}
#projects {width: 900px;margin: 0 auto 0 auto;}
#projects ul {padding:0;}
#projects ul li {width: 33.3%; float: left;margin-bottom: 15px;}
#projects img {width: 280px; height: 170px;border-radius: 8px;}
#projects img:hover{transform: scale(1.1);-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);}

/*Dienstleistung********************************************************/
#dienstleistung {background-color: #b3acac;}
#projects {width: 900px;margin: 0 auto 0 auto;}
#projects ul {padding:0;}
#projects ul li {width: 33.3%; float: left;margin-bottom: 15px;}
#projects img {width: 280px; height: 170px;border-radius: 8px;}
#projects img:hover{transform: scale(1.1);-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);}
#projects{width: auto;}

/*Footer********************************************************/
footer {width: 100%; height: 80px; background-color: #3f3f3f;}
footer p {font-size: 12px;color:#ff5f02;padding: 30px;}


/*Animation********************************************************/
.leaf{
    position:absolute ;
    width:100%;
    height:100%;
    top:0;
    left:0;
}
.leaf div{
position:absolute ;
display:block ;
}
.leaf div:nth-child(1){
    left:20%; 
    animation:fall 15s linear infinite ;
    animation-delay:-2s;

}
.leaf div:nth-child(2){
    left:70%; 
    animation:fall 15s linear infinite ;
    animation-delay:-4s;
}
.leaf div:nth-child(3){
    left:10%; 
    animation:fall 20s linear infinite ;
    animation-delay:-7s;
    
}
.leaf div:nth-child(4){
    left:50%; 
   animation:fall 18s linear infinite ; 
   animation-delay:-5s;
}
.leaf div:nth-child(5){
    left:85%; 
    animation:fall 14s linear infinite ;
    animation-delay:-5s;
}
.leaf div:nth-child(6){
    left:15%; 
    animation:fall 16s linear infinite ;
    animation-delay:-10s;
}
.leaf div:nth-child(7){
    left:90%; 
    animation:fall 15s linear infinite ;
    animation-delay:-4s;
}

@keyframes fall{
    0%{
        opacity:1;
        top:-10%;
        transform:translateX (20px) rotate(0deg);
    }
    20%{
        opacity:0.8;
        transform:translateX (-20px) rotate(45deg);
    }
    40%{

        transform:translateX (-20px) rotate(90deg);
    }
    60%{
        
       transform:translateX (-20px) rotate(135deg); 
    }
    80%{
    
        transform:translateX (-20px) rotate(180deg);
    }
    100%{
        
        top:110%;
        transform:translateX (-20px) rotate(225deg);
    }
    }
.leaf1{
    transform: rotateX(180deg);
}
