html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;}
section {
  min-height: 100%}
a {
  text-decoration: none;}
li {
  list-style-type: none;}

h1, h2, h3, h4, a {
  font-family: 'Amatic SC', sans-serif;
  font-weight: 500;
  color: #494949;
  }

h1{
  font-family:'Caveat', sans-serif;
  font-size: 25px;
}

h2 {
  color: #5d7177;
}

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

h4, p {
  font-family: 'Caveat', sans-serif;
  font-size: 25px;
  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: 72px;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  box-shadow: 01px 3px rgba(0, 0, 0, 0.1);
  z-index: 1;
  }

#logo {
    width: 250px;
    float: left;
    }

#logo:hover {
  opacity: 0.5;
}

#logo img {
    width: 100%;
  }

header nav {
    float: none;
    }

header nav ul li {
  float: left;
  margin-left: 25px;
  }

header nav ul li a {
  font-size: 25px;
}

header nav ul li:hover {
  padding-top: 5px;
  }


  /* HOME *******************************************/

#home {
  background: url(../img/Home1.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

#home h1 {
  margin: 240px auto 0 auto;
  font-size: 200px;
}

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

#home img {
  width: 35px;
  margin-top: 150px;
  opacity: 0.7;
}

#home img:hover {
  opacity: 1;
}

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

#img-logo img {
  width: 240px
}

#img-logo 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)
}

#about{
  background: #CCEEFF;
}
#about h4 {
  font-size: 50px
}

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

#pfeil-about img {
  width: 35px;
  margin-top: 150px;
  opacity: 0.7;
}

#pfeil-about img:hover {
  opacity: 1;
}

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

#work {
  background-color: #CCEEFF;
  }

#work li {
  font-size: 25px
}

#work p {
  width: 700px;
  margin: 0 auto 0 auto;
  padding-top: 25px;
}

#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: 5px;
}

#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)
}

#pfeil-work img {
  width: 35px;
  margin-bottom: 150px;
  opacity: 0.7;
}

#pfeil-work img:hover {
  opacity: 1;
}

/* PRICE *********************************************/

#price {
  background-color: #CCEEFF;
  }

  /* GALLERY *********************************************/

#gallery {
    background-color: #CCEEFF;
    }

    /* PRODUCTS *********************************************/

#products {
    background-color: #CCEEFF;
    }

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

#contact {
  background-color: #CCEEFF;
  }

  #contact h4 {
    font-family: 'Caveat', sans-serif;
    font-weight: 500;
    font-size: 50px;
    color: #494949;
    margin: 0;
    padding-top: 15px;
    }


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

footer {
  width: 100%;
  height: 65px;

  }

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

/* MEDIA QUERIES *******************************************/

/* TABLETS */

@media screen and (max-width: 1024px) {
  header {
    height: auto;
  }

  header nav {
    margin-top: 0;
  }

  header nav ul li {
    font-size: 12px;
  }

  #home h1 {
    font-size: 180px;
    margin: 240px auto 0 auto;
  }

  #home h2 {
    font-size: 47px;
  }

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

  #about p {
    width: 80%;
  }

  #work p {
    width: 80%;
  }

  #projects {
    width: auto;
  }

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

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

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

  form input, textarea {
    width: 60%;
    }

  .button {
    width: 62%;
  }

}

/* MOBILE */

@media screen and (max-width: 480px) {

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

  .fas {
    font-size: 17px;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: right;
    float: right;
    margin: -25px 30px 0 0;
  }

  .fas: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%;
  heigth: auto;
  }

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

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

.button {
  width: 72%;
}
}
