html, body {margin: 0; padding: 0; height: 100%; text-align: center;}

section {
    min-height: 100%;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

h1, h2, h3, a {font-family: 'Roboto', sans-serif; font-weight: 400; color: #494949; text-transform: uppercase;
}

h2 {
    color: #5d7177;
}

h3 {font-size: 40px; padding-top: 8%; margin-bottom: 5px;}

h4, p {font-family: 'Kaushan Script', serif; color: #494949;}

hr {width: 30px; height: 3px; background: #494949; border: 0; margin: 0 auto 40px auto;}

#logo, li, img, .button, .fa-bars {transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; 
    -o-transition: all 300ms;}

.fa-bars {display: none;}

/* HEADER*************************************************************/

header {
    width: 100%;
    height: 85px;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

#logo {
    width: 180px;
    float: left;
    margin: 10px 0 0 50px;
}

#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: 20px;
}

header nav ul li:hover {
    padding-top: 5px;
}


/* HOME*************************************************************/

#home {
    background: url(../img/landing.jpg);
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-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;
}

.fa-arrow-circle-down {
    font-size: 40px;
    margin-top: 250px;
    opacity: 0.75;
}

.fa-arrow-circle-down:hover {
    opacity: 1;
}

#home img {
    width: 40px;
    margin-top: 250px;
    opacity: 0.75;
}

#home img:hover {
    opacity: 1;
}


/*****INFO*************************************************************/

#about img {
    width: 240px;
}

#about h4 {
    width: 80%;
    margin: 0 auto 0 auto;
    padding-top: 20px;

}

#about img:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}


/*****WORK*************************************************************/

#work {
    background-color: #f0f0f0;
}

#leistungen {
    width: 900px;
    margin: 0 auto 0 auto;
}

#leistungen ul {
    padding: 0;
}

/*****CONTACT*************************************************************/

form input, textarea {
    font-family: Roboto, serif;
    font-size: 20px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: 2px solid;
    border-color: #494949;
}

form input:first-child {
    margin-top: 10px;
}

form input {
    width: 550px;
    height: 30px;
}

form textarea {
    width: 550px;
    height: 200px;
    resize: none;
}

.input_text {
    color: #494949;
    padding-left: 10px;
}

::-webkit-input-placeholder {color: #999999;}
::-moz-placeholder {color: #999999;}
:-ms-input-placeholder {color: #999999;}
:-moz-placeholder {color: #999999;}

.button {
    background-color: #f0f0f0;
    color: #494949;
    width: 550px;
    height: 50px;   
}

.button:hover {
    background-color: #494949;
    color: #f0f0f0;
}

/* FOOTER*************************************************************/

footer {
    width: 100%;
    height: 80px;
    background-color: #3f3f3f;
}

footer p {
    font-size: 20px;
    color: #f0f0f0;
    padding-top: 30px;
}

/* MEDIA QUERIES*************************************************************/

/* TABLETS */

@media screen and (max-width: 1024px) {
    header {
        height: auto;
    }

    #logo {
        width: 100px;
        margin-top: 5px;
    }

    header nav {
        margin-top: 0;
    }

    header nav ul li {
        font-size: 12px;
    }


    #home h1 {
        font-size: 90px;
        margin-top: 200px;
    }

    #home h2 {
        font-size: 22px;
    }

    h3 {
        padding-top: 12%;
    }

    #about p {
        width: auto;
    }

    #leistungen {
        width: auto;
    }

    #leistungen ul li {
        width: 100%;
        float: none;
    }

    #leistungen ul li:last-child {
        padding-bottom: 20%;
    }

    form input, form textarea {
        width: 60%;
    }

    .button {
        width: 60%;
    }


}



/* MOBILE */

@media screen and (max-width: 480px) {
    
    #logo {
        width: 90px;
        margin-left: 30px;  
    }

    header nav {
        margin: 0;
        float: none;
    }

    .fa-bars {
        font-size: 17px;
        display: inline-block;
        width: 100%;
        cursor: pointer;
        text-align: right;
        float: right;
        margin: -25px 30px 0 0;
    }

    .fa-bars:hover {
        opacity: 0.5;
    }

    header nav ul {
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        width: 100%;

    }

    header nav ul.open {
        height: auto;
    }

    header nav ul li {
        width: 100%;
        padding: 5px 0;
        margin: 0;
        font-size: 11px;
        border-top: 1px solid #dddddd;
    }

    header nav ul li:hover {
        background-color: #eeeeee;
    }

    #home h1 {
        font-size: 40px;
        margin-top: 200px;
    }

    #home h2 {
        width: 70%;
        height: auto;
    }

    #about p {
        width: auto;
    }

    #leistungen img {
        width: 70%;
        height: auto;
    }

    form input, form textarea {
        width: 70%;
    }

    .input_text {
        font-size: 12px;
    }

    .button {
        width: 72%;
    }

    #info h4 {
        width: 80%;
    }




}