body,html{margin:0;padding:0;height:100vh;text-align:center}
section{min-height:100%}
a{text-decoration:none}
li{list-style-type:none}
a,h1,h2,h3{font-family:Roboto,sans-serif;font-weight:500;color:#888;text-transform:uppercase}
h2{color:#555}
h3{font-size:40px;padding-top:8%;margin-top:0;margin-bottom:5px}
h4{font-family:"Roboto Slab",serif;color:#494949}
hr{width:30px;height:3px;background:#494949;border:0;margin:0 auto 40px auto}
#logo,.fa-bars,img,li{transition:all .3s;-webkit-transition:all .3s;-moz-transition:all .3s;-o-transition:all .3s}
.fa-bars{display:none}

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

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

#logo {
  width: 140px;
  float: left;
  margin: 17px 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: 16px;
}

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

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

#home {
  overflow-y: hidden ! important;
  overflow-x: hidden ! important;
  background: url(../img/home.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

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

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

#home a i {
  font-size: 32px;
  color: white;
  margin-top: 20px;
  opacity: 0.5;
}

#home a i:hover {
  opacity: 0.3;
}

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

#about img {
  width: 240px;
  border-radius: 50%;
  box-shadow: inset 5px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

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

#about p {
  width: 70%;
  margin: 0 auto 0 auto;

}

/* PROJEKTE ******************************/

#work {
  background-color: #f0f0f0;
  margin-bottom: 0;
}

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

#projects ul {
  margin-bottom: 0;
  padding: 0;
}

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

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

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

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  background-color: #3f3f3f;
}

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

/* MEDIA QUERIS ******************************/

/* TABLET ******************************/

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

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

  #logo {
    width: 100px;
    margin-top: 5px;
  }

  #home {
    overflow-y: hidden ! important;
    overflow-x: hidden ! important;
    background: url(../img/home-m.jpg);
    background-position: center top;
    background-size: auto 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  #home h1 {
    font-size: 90px;
    margin-top: 550px;
  }

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

  h3 {
    padding-top: 12%;
  }

  /* #projects ul li {
    width: 33.3%;
  } */
}

/* MOBILE ******************************/

@media screen and (max-width: 900px) {
  /* #logo {
    width: 90px;
    margin-left: 30px;
  } */

  
  header {
    height: auto;
  }
  
  header nav {
    margin-top: 0;
  }
  header nav ul li {
    font-size: 12px;
  }
  
  #logo {
    width: 100px;
    margin-top: 5px;
  }
  
  #home {
    overflow-y: hidden ! important;
    overflow-x: hidden ! important;
    background: url(../img/home-m.jpg);
    background-position: center top;
    background-size: auto 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  #home h1 {
    font-size: 48px;
    margin-top: 800px;
  }
  #home h2 {
    font-size: 24px;
  }

  #projects {
    width: 100VW;
    height: 100vh;
  }

  #projects ul li {
    width: 50%;
  }

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

@media screen and (max-width: 480px) {
  #logo {
    width: 90px;
    margin-left: 30px;
  }

  #home {
    overflow-y: hidden ! important;
    overflow-x: hidden ! important;
    background: url(../img/home-m.jpg);
    background-position: center top;
    background-size: auto 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  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 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: 450px;
  }
  #home h2 {
    font-size: 16px;
  }

  #about img {
    width: 140px;
  }

  #work {
    min-height: 150%;
  }
  #projects ul li {
    width: 100vw;
  }



}

@media screen and (max-height: 400px) {
  #logo {
    width: 90px;
    margin-left: 30px;
  }

  #home {
    overflow-y: hidden ! important;
    overflow-x: hidden ! important;
    background: url(../img/home-m.jpg);
    background-position: center top;
    background-size: 100vw;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

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

  #about img {
    width: 140px;
  }

  .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 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 {
    font-size: 16px;
  }
}