html, body{
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;
  scroll-behavior: smooth;
}

section {
  min-height:100%;
}

li {
 list-style-type: none;
}

h1, h2, a {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #F2F2F2;
  text-transform: capitalize;
}

a {
  text-decoration: none;
  color: #2A3340;
}

h2 {
  color: white;
}

h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #626973;
  text-transform: capitalize;
  font-size: 40px;
  padding-top: 8%;
  margin: 0 0 5px;
}

h4,p {
  font-family: 'Source Sans Pro', serif;
  color: #2A3340;
}

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

#logo, li, img, .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: 65px;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

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

#logo:hover {
  opacity: 0.5;
}

#logo img {
  width: 70%;
}

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: bottom -100px 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;
}

#home img:hover {
  opacity: 1;
}

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

#about {
  background-color: #F2F2F2;
}

#about img {
  width: 240px;
}

#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: 700px;
margin: 0 auto 0 auto;
}

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

#work {
  background-color: #f0f0f0;
}

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

#projects img {
  width: 280px;
  height: 170px;
  border-radius: 5px;
}

#projects ul {
  padding: 0;
}

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

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

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

form input, textarea {
  font-family: 'Source Sans Pro', serif;
  font-size: 15px;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 2px solid black;
}

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

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

form textarea {
  width: 550px;
  height: 200px;
  resize: none;
}
.input_text {
  color: #626973;
  padding-left: 10px;
}

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


.button {
  background-color: #F2F2F2;
  color: #2A3340;
  width: 564px;
  hight: 50px;
}

.button:hover {
  background-color: #2A3340;
  color: #F2F2F2;
}

/*  CANVAS  ************************************************/

#canvas1 {
  width: 100%;

}


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

footer {
width: 100%;
background-color: #2A3340;
}

footer p {
  font-size: 12px;
  color: #F2F2F2;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 0;
}

/*  MEDIA QUERRIES  ************************************************/

/* TABLETS */

@media screen and (max-width: 1400px) {
  header {
    height: auto;
  }
  #logo {
    width: 100px;
    margin-top: 5px;
  }
  header nav {
    margin-top: 0;
  }
  header nav ul li {
    font-size: 14px;
  }
  #home h1 {
    font-size: 85px;
    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: 55%;
    height: auto;
  }
  form input, form textarea {
    width: 60%;
  }
  .button {
    width: 62%;
  }


}

/* MOBILE */


@media screen and (max-width: 1024px) {
  #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: 12px;
    border-top: 1px solid #dddddd;
  }
  header nav ul li:hover {
    background-color: #eeeeee;
  }
  #home h1 {
    font-size: 244%;
    margin-top: 200px;
  }
  #home h2 {
    height: auto;
  }
  #projects img {
    width: 70%;
    height: auto;
  }
  form input, form textarea {
    width: 70%;
  }
  .button {
    width: 73%;
  }

}