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, a {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #494949;
  text-transform: uppercase;
}

h2 {
  color: #5d7177
}

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

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

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

#logo, li, img, .button {
  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: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1; /*top priority*/
}


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

#logo:hover {
  opacity: 0.5;
}

#logo img {
  width: 30%;
}

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/landing.jpg);
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}
*/
#home, #work {
 /*https://www.gradientmagic.com/*/
  background-image: linear-gradient(339deg, rgba(47, 47, 47,0.02) 0%, rgba(47, 47, 47,0.02) 42%,transparent 42%, transparent 99%,rgba(17, 17, 17,0.02) 99%, rgba(17, 17, 17,0.02) 100%),linear-gradient(257deg, rgba(65, 65, 65,0.02) 0%, rgba(65, 65, 65,0.02) 11%,transparent 11%, transparent 92%,rgba(53, 53, 53,0.02) 92%, rgba(53, 53, 53,0.02) 100%),linear-gradient(191deg, rgba(5, 5, 5,0.02) 0%, rgba(5, 5, 5,0.02) 1%,transparent 1%, transparent 45%,rgba(19, 19, 19,0.02) 45%, rgba(19, 19, 19,0.02) 100%),linear-gradient(29deg, rgba(28, 28, 28,0.02) 0%, rgba(28, 28, 28,0.02) 33%,transparent 33%, transparent 40%,rgba(220, 220, 220,0.02) 40%, rgba(220, 220, 220,0.02) 100%),linear-gradient(90deg, rgb(255,255,255),rgb(255,255,255));

  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;
}*/
#home i {

  margin-top: 50px;
  opacity: 0.7;
}
#home i:hover {
  opacity: 1;
}

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

#about img {
  width: 90px;
}

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




#countries { /* DIV CONTAINER */
  width: auto; /*900px*/
  margin: 0 auto 0 auto;
}

#countries ul {
  padding: 0;
}

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


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

#work {
  background-color: #f0f0f0;
}

#projects { /* DIV CONTAINER */
  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 div {
  width: 280px;
  height: 170px;
  border-radius: 5px;
  transition: all 300ms;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  text-transform: none;
  color: #f0f0f0;
}


#project_05 {

  background-image: linear-gradient(90deg, rgb(37, 5, 31) 0%, rgb(37, 5, 31) 14.286%,rgb(71, 5, 38) 14.286%, rgb(71, 5, 38) 28.572%,rgb(106, 5, 45) 28.572%, rgb(106, 5, 45) 42.858%,rgb(140, 5, 52) 42.858%, rgb(140, 5, 52) 57.144%,rgb(174, 4, 58) 57.144%, rgb(174, 4, 58) 71.43%,rgb(209, 4, 65) 71.43%, rgb(209, 4, 65) 85.716%,rgb(243, 4, 72) 85.716%, rgb(243, 4, 72) 100.002%);
}

#project_02{

  background-image: linear-gradient(90deg, rgb(55, 38, 87) 0%, rgb(55, 38, 87) 14.286%,rgb(58, 56, 115) 14.286%, rgb(58, 56, 115) 28.572%,rgb(60, 74, 143) 28.572%, rgb(60, 74, 143) 42.858%,rgb(63, 93, 171) 42.858%, rgb(63, 93, 171) 57.144%,rgb(65, 111, 198) 57.144%, rgb(65, 111, 198) 71.43%,rgb(68, 129, 226) 71.43%, rgb(68, 129, 226) 85.716%,rgb(70, 147, 254) 85.716%, rgb(70, 147, 254) 100.002%);
}

#project_03 {
  background-image: linear-gradient(90deg, rgb(9, 128, 64) 0%, rgb(9, 128, 64) 12.5%,rgb(42, 145, 67) 12.5%, rgb(42, 145, 67) 25%,rgb(75, 161, 70) 25%, rgb(75, 161, 70) 37.5%,rgb(108, 178, 73) 37.5%, rgb(108, 178, 73) 50%,rgb(142, 195, 76) 50%, rgb(142, 195, 76) 62.5%,rgb(175, 212, 79) 62.5%, rgb(175, 212, 79) 75%,rgb(208, 228, 82) 75%, rgb(208, 228, 82) 87.5%,rgb(241, 245, 85) 87.5%, rgb(241, 245, 85) 100%);
}

#project_04 {
  background-image: linear-gradient(90deg, rgb(131, 24, 47) 0%, rgb(131, 24, 47) 12.5%,rgb(142, 36, 48) 12.5%, rgb(142, 36, 48) 25%,rgb(152, 47, 50) 25%, rgb(152, 47, 50) 37.5%,rgb(163, 59, 51) 37.5%, rgb(163, 59, 51) 50%,rgb(173, 71, 53) 50%, rgb(173, 71, 53) 62.5%,rgb(184, 83, 54) 62.5%, rgb(184, 83, 54) 75%,rgb(194, 94, 56) 75%, rgb(194, 94, 56) 87.5%,rgb(205, 106, 57) 87.5%, rgb(205, 106, 57) 100%);
}

#project_01 {
  background-image: linear-gradient(90deg, rgb(237, 134, 93) 0%, rgb(237, 134, 93) 12.5%,rgb(234, 146, 84) 12.5%, rgb(234, 146, 84) 25%,rgb(230, 158, 75) 25%, rgb(230, 158, 75) 37.5%,rgb(227, 170, 66) 37.5%, rgb(227, 170, 66) 50%,rgb(223, 181, 56) 50%, rgb(223, 181, 56) 62.5%,rgb(220, 193, 47) 62.5%, rgb(220, 193, 47) 75%,rgb(216, 205, 38) 75%, rgb(216, 205, 38) 87.5%,rgb(213, 217, 29) 87.5%, rgb(213, 217, 29) 100%);
}

#project_06 {
  background-image: linear-gradient(90deg, rgb(156, 58, 244) 0%, rgb(156, 58, 244) 12.5%,rgb(166, 84, 236) 12.5%, rgb(166, 84, 236) 25%,rgb(177, 110, 228) 25%, rgb(177, 110, 228) 37.5%,rgb(187, 136, 220) 37.5%, rgb(187, 136, 220) 50%,rgb(198, 161, 211) 50%, rgb(198, 161, 211) 62.5%,rgb(208, 187, 203) 62.5%, rgb(208, 187, 203) 75%,rgb(219, 213, 195) 75%, rgb(219, 213, 195) 87.5%,rgb(229, 239, 187) 87.5%, rgb(229, 239, 187) 100%);
}
/*
#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);
}*/


#projects div: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: 'Roboto-Slab', serif;
  font-size: 15px;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 2px solid;
  border-color: #494949;
  outline: none;
}


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

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

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

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

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


.button {
  background-color: #f0f0f0;
  color: #494949;
  width: 566px;
  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;
}

#justsayin {
	font-size: 12px;
	color: grey;
	padding-top: 30px;
}

/* 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 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: 55%;
    height: auto;
  }*/
  #projects div {
    width: 55%;
    height: 100px;
    display: inline-block;
  }
  form input, form textarea {
    width: 60%;
  }

  .button {
    width: 62%;
  }

}

/*  MOBILE  */
 @media screen and (max-width:580px) { /* 480px*/

   #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 { /* assign class "open" to ul, when clicking on it. see js file */
     height: auto;
   }

   header nav ul li {
     width: 100%;
     padding: 5px 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: 70%;
     height: auto;
   }*/
   #projects div {
     width: 70%;
     height: 100px;
   }

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

   .button {
     width: 72%;
   }
}
