html, body {
  margin: 0;
  padding: 0;
  height: 100%;

}

section {
  min-height: 100%;
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

h1, h2, h3, a {
  /* font-family: 'Roboto', sans-serif;    */
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #494949;
  text-transform: uppercase;
}

h2 {
  color: #5d7177;
}

h3 {
  font-size: 40px;
  padding-top: 8%;
  margin-bottom: 5px;
  text-align: center;
}

h4, p {
  /* font-family: 'Roboto Slab', serif;  */
  font-family: 'Baloo Thambi 2', serif;
  color: #494949;
}

hr {
  width: 30px;
  height: 3px;
  background: #494949;
  border: 0px;
  margin: 0px auto 40px auto;
}

#logo, li, img, .button, .fa-bars, .fa-youtube, .fa-twitter, .fa-twitch, .fa-arrow-alt-circle-left, a {transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;}
.fa-bars {display: none;}

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

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

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

#logo:hover {
  opacity: 0.5;
}

#logo img {
  width: 100%;
}

header nav {
  float: right;
  margin: 10px 50px 0px 0px;
}

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

#home h1 {
  margin: 240px auto 0px auto;
  font-size: 110px;
  text-align: center;
}

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

#home img {
  width: 32px;
  display: block;
  margin: 150px auto auto auto;
  opacity: 0.7;
}

#home img:hover {
  opacity: 1;
}


/* ABOUT *************************************/

#about img {
  width: 240px;
  display: block;
  margin: 0 auto;
}

#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;
  text-align: center;
}

#about p {
  font-size: 18px;
  width: 700px;
  margin: 0px auto 0px auto;
  text-align: center;
}

#about a {
  font-family: 'Baloo Thambi 2', serif;
  font-size: 18px;
  color: #000000;
  text-align: center;
  text-transform: none;
}

#about a:hover {
  opacity: 0.5;
}

/*
.fa-arrow-alt-circle-left {
  font-size: 42px;
  color: #494949;
  display: block;
  width: 100%
  cursor: pointer;
  text-align: center;
  margin: 0px auto 50px auto;
}*/

#social_media {
  text-align: center;
}

.fa-youtube {
  font-size: 50px;
  color: #494949;
  display: inline-block;
  width: 100%
  cursor: pointer;
  text-align: center;
  margin: 50px 20px 10px 20px;
}

.fa-youtube:hover {
  opacity: 0.5;
}

.fa-twitter {
  font-size: 50px;
  color: #494949;
  display: inline-block;
  width: 100%
  cursor: pointer;
  text-align: center;
  margin: 50px 20px 10px 20px;
}

.fa-twitter:hover {
  opacity: 0.5;
}

.fa-twitch {
  font-size: 50px;
  color: #494949;
  display: inline-block;
  width: 100%
  cursor: pointer;
  text-align: center;
  margin: 50px 20px 10px 20px;
}

.fa-twitch:hover {
  opacity: 0.5;
}

/* WORK *************************************/

#work {
  background-color: #f0f0f0;
}

#work p {
  font-size: 18px;
  width: 700px;
  margin: 0px auto 0px auto;
  text-align: center;
}

#projects {
  width: 1250px;
  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: 5px;
}
*/
#projects img {
  width: 400px;
  height: 250px;
}

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

/* SPEEDART *************************************/

#speedart {
  background-color: white;
}

#speedart h3 {
  padding-top: 6%;
}

#speedart h4 {
  font-size: 25px;
  text-align: center;
}

#speedart p {
  font-size: 18px;
  width: 700px;
  margin: 0px auto 0px auto;
  text-align: center;
}

#best_speedart_video {
  text-align: center;
  margin-top: 30px;
}

#speedart_video {
  text-align: center;
  margin-top: 30;
}

.fa-arrow-alt-circle-left {
  font-size: 42px;
  color: #494949;
  display: block;
  width: 100%
  cursor: pointer;
  text-align: center;
  margin: 0px auto 50px auto;
}

.fa-arrow-alt-circle-left:hover {
  opacity: 0.5;
}

/* CONTACT *************************************/

#contact {
  background-color: white;
}
#contact p {
  font-size: 18px;
  width: 700px;
  margin: 0px auto 0px auto;
  text-align: center;
}

#contact a {

  font-family: 'Montserrat', sans-serif;
  color: #000000;
  text-align: center;
  text-transform: lowercase;
}

#contact a:hover {
  opacity: 0.5;
}

form input, textarea {

  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 2px solid;
  border-color: #494949;
  outline: none;
  display: block;
  margin: -10 auto auto auto;
}

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

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

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

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

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

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

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

/* IMPRESSUM *************************************/

#impressum {
  background-color: white;
}

#impressum h3 {
  padding-top: 6%;
}

#impressum h4 {
  font-size: 25px;
  text-align: center;
}

#impressum p {
  width: 700px;
  margin: 0px auto 0px auto;
  text-align: center;
}

#impressum a {

  font-family: 'Montserrat', sans-serif;
  color: #000000;
  text-align: center;
  text-transform: lowercase;
}

#impressum a:hover {
  opacity: 0.5;
}

/* DATENSCHUTZERKLÄRUNG *************************************/

#datenschutzerklärung {
  background-color: white;
}

#datenschutzerklärung h3 {
  padding-top: 6%;
}

#datenschutzerklärung h4 {
  font-size: 25px;
  text-align: center;
}

#datenschutzerklärung p {
  width: 700px;
  margin: 0px auto 0px auto;
  text-align: center;
}

#datenschutzerklärung a {

  font-family: 'Montserrat', sans-serif;
  color: #000000;
  text-align: center;
  text-transform: lowercase;
}

#datenschutzerklärung a:hover {
  opacity: 0.5;
}

/* FOOTER *************************************/


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

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

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

footer a:hover {
  opacity: 0.5;
}

/* 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**********************************/

    #home h1 {
      font-size: 50px;           /*alt 55px*/
      margin-top: 200px;
    }

    #home h2 {
      font-size: 20px;          /*alt 22px*/
    }

    #home h3 {
      padding-top: 12%;
    }

    /*ABOUT**********************************/

    #about p {
      font-size: 17px;
      width: 80%;
    }

    /*WORK**********************************/

    #work p {
      font-size: 17px;
      width: 80%;
    }

    #projects {
      text-align: center;
      width: auto;
    }

    #projects ul li {
      width: 100%;
      float: none;
    }

    #projects ul li:last-child {
      padding-bottom: 20%;
    }

    #projects img {
      width: 70%;
      height: auto;
    }

    /*SPEEDART*********************************/

    #speedart h3 {
      padding-top: 20%;
    }

    #speedart p {
      font-size: 17px;
      width: 80%;
    }

    iframe {
      width: 80%;
    }

    /*CONTACT**********************************/

    #contact p {
      font-size: 17px;
      width: 80%;
    }

    form input, form textarea {
      width: 80%;
    }

    .button {
      width: 80%;
    }

    /*IMPRESSUM**********************************/

    #impressum h3 {
      padding-top: 20%;
    }

    #impressum p {
      font-size: 17px;
      width: 80%;
    }

    /*DATENSCHUTZERKLÄRUNG**********************************/

    #datenschutzerklärung h3 {
      padding-top: 20%;
      font-size: 30px;
    }

    #datenschutzerklärung p {
      font-size: 17px;
      width: 80%;
    }

    /*FOOTER**********************************/

    footer a, p {
      font-size: 12px;
      padding-top: 30px;
      text-align: center;
    }

  }

/* MOBILES */

  @media screen and (max-width: 500px) {
    #logo {
      width: 150px;  /* alt 90px */
      /*margin-left: 20px; /* alt 30px */
      margin: 15 15;
      text-align: right;
    }

    header nav {
      margin: 0;
      float: none;
    }

    .fa-bars {
      font-size: 30px; /* alt 17px */
      display: inline-block;
      /*width: 100%;*/
      cursor: pointer;
      text-align: right;
      float: right;
      margin: 25 20px;
      /*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 0px;
      margin: 0;
      font-size: 30px;
      text-align: center;
      /*font-size: 11px;*/
      border-top: 1px solid #dddddd;
    }

    header nav ul li:hover {
      background-color: #eeeeee;
    }

    /*SORGT DAFÜR DAS ES RICHTIG ANGEZEIGT WIRD*/
    #datenschutzerklärung p {
      width: 100%;
    }

  }
