
/* cyrillic-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/KFOlCnqEu92Fr1MmEU9fABc4EsA.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  /* cyrillic */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/KFOlCnqEu92Fr1MmEU9fABc4EsA.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* greek-ext */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/KFOlCnqEu92Fr1MmEU9fCBc4EsA.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
  }
  /* greek */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/KFOlCnqEu92Fr1MmEU9fBxc4EsA.woff2) format('woff2');
    unicode-range: U+0370-03FF;
  }
  /* vietnamese */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/KFOlCnqEu92Fr1MmEU9fCxc4EsA.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/KFOlCnqEu92Fr1MmEU9fChc4EsA.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  /* cyrillic-ext */
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmYmRjRdE.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  }
  /* cyrillic */
  @font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISma2RjRdE.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  }
  /* greek-ext */
  @font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmY2RjRdE.woff2) format('woff2');
    unicode-range: U+1F00-1FFF;
  }
  /* greek */
  @font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmbGRjRdE.woff2) format('woff2');
    unicode-range: U+0370-03FF;
  }
  /* vietnamese */
  @font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmYGRjRdE.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmYWRjRdE.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmb2Rj.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }




  


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    text-align: center;
    font-family: 'Roboto';
    font-style: normal;
}


/*
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: #494949;
    text-transform: uppercase;
}

/* Überschreibe h2 von weiter oben! */
h2 {
    color: #5d7177;
}

/* Überschreibe h3 von weiter oben! */
h3 {
    font-size: 40px;
    padding-top: 8%;
    margin-bottom: 5px;
}

h4, p {
    font-family: 'Roboto', serif;
    color: #494949;
}

hr {
    width: 300px;
    height: 3px;
    background: #494949;
    border: 0px;
    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: 90px;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1; /* Muss immer die höste Nr. haben, sonst laufen Andere Elemetne über ihn! */
}

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

#logo:hover {
   opacity: 0.5; /*verlieren 50% der Deckkraft, wenn Mouseover -> Hover*/ 
}

#logo img {
    width: 100%;
    
}

header nav {
    float: right;
    margin: 20px 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/landing4.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; /* default 70 % Deckkraft!*/
}

#home img:hover {
    opacity: 1; /*beim Mouseover gehe auf 100 % Deckkraft*/
}


/* About ***************************************************************/

#about img {
    width: 240px;
}

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

#about p {
    width: 700px;
    margin: 0 auto 0 auto; /* Den Text im #about P zenterieren!*/
}

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

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

#work {
    background-color: #F0F0F0;
}

#work p {
    width: 700px;
    margin: 0 auto 0 auto; /* Den Text im #about P zenterieren!*/
}

/* projets ***************************************************************/


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

#projects ul {
    padding: 0;
}

#projects ul li {
    margin-bottom: 15px;   
}

#projects img{
    /* width: 280px; */
    /* height: 170px; */
    width: 80%;
    border-radius: 5px;

}

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

/* Contact ***************************************************************/


form input, textarea {
    font-family: 'Roboto', serif;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: 2px solid #494949;
    outline: none; /*Blaue Umrandung aktiven inputs abstellen!*/
}

form input:first-child { /* das 1. Element im Imput = Email*/
    margin-top: 10px
}

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

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

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

/*Placerholder-Farben der Textarea setzen*/
::-webkit-input-placeholer {color: #999999;}
::-moz-placeholer {color: #999999;}
:-ms-input-placeholer {color: #999999;}
:-moz-placeholer {color: #999999;}

.button {
    background-color: #f0f0f0;
    color: #494949;
    width: 550px;
    height: 50px;
}

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

/* footer ***************************************************************/

footer {
    width: 100%;
    height: 70px;
    background-color: #3f3f3f;
}

footer p {
    font-size: 12px;
    color: #f0f0f0;
    padding-top: 30px;
}

footer a {
    font-size: 12px;
    color: #f0f0f0;
    padding-top: 30px;
    text-transform: none;
}


/* Media Queries ***************************************************************/

/* Tablets*/
@media screen and (max-width: 1024px) {
    
    header {
        height: auto;
    }
    
    #logo {
        width: 100px;
        margin-top: 5px;
    }
    
    header nav {
        margin-top: 15px;
    }
    
    header nav ul li a {
        font-size: 16px;
    }
    
    #home h1 {
        font-size: 90px;
        margin-top: 200px;
    }
    
    #home h2 {
        font-size: 22px;
    }
    
    h3 {
        padding-top: 12%;
    }
    
    #about p {
        width: 80%; 
    }
    
    #projects {
        width: auto;
    }
    
    #projects ul li {
        width: 100%;
        float: none;
    }
    
    #projects ul li:last-child {
        padding-bottom: 20%;
    }
    
    #projects img {
        width: 80%; /*55*/
        height: auto;
    }
    
    form input, form textarea {
        width: 60%;
    }
    
    .button {
        width: 62%;
    }
    
    #work p {
        width: 75%;;
    }
    
}


/* Mobile*/
@media screen and (max-width: 520px) {
    
    #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: 60px;
        margin-top: 200px;
    }
    
    #home h2 {
        width: 70%;
        height: auto;
    }
    
    #projects img {
        width: 95%;
        height: auto;
    }

    #work p {
        width: 85%;
        height: auto;
    }

    form input, form textarea {
        width: 70%;
    }
    
    .button {
       width: 72%; 
    }
}