html, body {margin: 0; padding: 0; height: 100%; text-align: center; background-image:initial;}
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: #f00e0e; text-transform: uppercase;}
h2 {color: #8265eb;}
h3 {font-size: 40px;  padding-top: 5%; margin-bottom: 5px; background-color: black; margin-top:0;}
h4, p {font-family: 'Roboto Slab', serif; color: #494949; margin-top: 0;}

hr {width: 300px; height: 3px; background: #7254b9; border: 0px; margin: 0 auto 40px auto;}
#logo, li, img {transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;}

/* HEADER **********************************/

header {
    width: 100%;
    height: 65px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(3, 3, 3);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0,3);
    z-index: 1;
   }

#logo {
    width: 240px;
    float: left;
    margin: 10px 0 0 50px;
    
}   

#logo:hover {
    opacity: 0.3;
}

#logo img {
    width: 60%;
}

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/background.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

#home h1 {
    margin: 100px auto 0 auto;
    font-size: 110px;
}

#home h2 {
    margin: 0 auto 0 auto;
    font-size: 25px;
}

#home img {
    width: 300px;
    margin-top: 350px;
    opacity: 0.01;
}

#home img:hover {
    transform: scale(1);
    opacity: 1;
}

/* About **********************************/
#about h3 {
    background-color: rgb(0, 0, 0);
}

#about {
    background-color: rgb(0, 0, 0);
}

#about img {
    width: 240px;
    border-radius: 10px;
}

#about img:hover {
    
    transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -moz-transform: scale(1.4);
    -o-transform: scale(1.4);
}

#about h4 {
    font-size: 25px;
}

#about p {
    width: 700px;
    margin: 0 auto 0 auto;
}

/* Work **********************************/

#work {
    background-color:black;
}


#projects {
    width: 900px;
    margin: 0 auto 0 auto;
}

#projects ul {
    padding: 0;
}

#projects ul li {
    width: 50%;
    float: left;
    margin-bottom: 15px;
}

#projects img {
    width: 280px;
    height:250px;
    border-radius: 10px;
}

#projects img:hover {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    box-shadow: 0 5px 5px rgba(0, 0 , 0 , 0.5);
}

/* Kontakt **********************************/


  
#contact {
    background-color: black;
}

form input, textarea {
    font-family: 'Roboto Slap', serif;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 5px solid;
    border-color: brown;
}

form input:first-child {
    margin-top: 10px;
}

form input {
    width: 552px;
    height: 30px;
}

form textarea {
    width: 550px;
    height: 200px;
    resize: none;
}

.input_text {
    color: #494949;
    padding-left: 10px;
}

::-webkit-input-placeholder {columns: #999999;}
::-moz-input-placeholder {columns: #999999;}
:-ms-input-placeholder {columns: #999999;}
:-moz-input-placeholder {columns: #999999;}

.button {
    background-color: #f0f0f0;
    color: #494949;
    width: 566px;
    height: 50px;
    border-radius: 10px;
}

.button:hover {
    background-color: #494949;
    color: #f0f0f0;
}

/* Footer **********************************/

footer {
    width: 100%;
    height: 70px;
    background-color:rgb(0, 0, 0);
}

footer p {
    font-size: 18px;
    color: #f0f0f0;
    padding-top: 30px;
    background-color:rgb(0, 0, 0);
}