/* Basic reset styles */
*,
*:after,
*:before {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: #787878;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Intro */
#intro {
  width: 100%;
  height: 70vh;
  background: url(https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1169&q=80)
    center no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-attachment: fixed;
}
.intro_inner {
  width: 100%;
  text-align: center;
  color: #fff;
  max-width: 1000px;
  margin: 0 auto;
}
.intro_title {
  font-size: 40px;
  font-weight: 700;
  line-height: 2;
}
.intro_suptitle {
  font-family: "Nunito Sans";
  font-size: 18px;
  font-weight: 300;
  color: #fff;
}

/* Button */
button {
  padding: 15px 40px;
  margin: 20px;
  border: none;
  color: #fff;
  background-color: #10c9c3;
  cursor: pointer;
  transition: color 0.2s linear;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
button:hover {
  color: #10c9c3;
  background-color: #ffffff;
}

/* Header */
.header {
  padding: 14px 0;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 1px 1px #b5b5b53d;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_logo {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 700;
  color: #191919;
}

/* Navigation */
.nav {
  text-transform: uppercase;
  font-size: 12px;
}
.nav_link {
  display: inline-block;
  vertical-align: top;
  margin: 0 10px;
  text-decoration: none;
  color: #191919;
  transition: color 0.2s linear;
}
.nav_link:hover {
  color: #10c9c3;
}
/*Hamburger Menu*/
.hamburger {
  width: 25px;
  height: 20px;
  position: fixed;
  top: 16px;
  right: 20px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: space-around;
}
.change .line-1 {
  transform: rotateZ(-405deg) translate(-8px, 6px);
}
.change .line-2 {
  opacity: 0;
}
.change .line-3 {
  transform: rotateZ(405deg) translate(-8px, -6px);
}
.line {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.7s;
}

/* About Us */
.container_about {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}
#about_us {
  width: 100%;
  height: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about_title {
  font-size: 32px;
  font-weight: 700;
  line-height: 2;
  color: #191919;
  text-align: center;
  padding-top: 2rem;
}
.about_suptitle {
  font-family: "Nunito Sans";
  font-size: 16px;
  font-weight: 300;
  color: #787878;
  text-align: center;
}
.image {
  margin: 15px auto;
}
/*Skills*/
#skills {
  width: 100%;
  background: #f8f9f9;
}
.container_skills {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1rem;
}
.left_block {
  flex: 0 1 49%;
  min-height: 100%;
  max-width: 49%;
}
.right_block {
  flex: 0 1 49%;
  min-height: 100%;
  max-width: 49%;
}
.right_block img {
  width: 90%;
  margin: 0 auto;
  display: block;
}
/* Progress Bars */
.progress_container {
  margin: 20px auto;
}

.progress-bar {
  width: 80%;
  background-color: #d8d8d8;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-bar-fill {
  display: block;
  height: 7px;
  background-color: #10c9c3;
  transition: width 500ms ease-in-out;
}

.progress_text {
  text-align: left;
  text-transform: uppercase;
  line-height: 3;
  color: #191919;
  font-weight: 700;
  font-size: 14px;
}
.progress_text span {
  padding: 0 20px;
}

/*Statistics Block */
.statistics_block {
  width: 100%;
  background: #10c9c3;
}
.container_statistics {
  width: 100%;
  height: 240px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem;
}
.facts {
  flex: 0 1 25%;
  max-width: 25%;
  text-align: center;
  line-height: 3;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}
/* Projects */
.our_projects {
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.container_project {
  position: relative;
  width: 25%;
}

.image_project {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #343434;
}

.container_project:hover .overlay {
  opacity: 0.95;
}

.text {
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.category_text {
  color: #ffffff;
  font-size: 12px;
  font-weight: 300;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 2;
  width: 80%;
}

.project_link {
  color: #ffffff;
  font-size: 12px;
  font-weight: 300;
  position: absolute;
  top: 63%;
  left: 50%;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #ffffff;
  padding: 7px 14px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

/* Services */
.container_services {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

#services {
  height: auto;
  width: 100%;
}

.services_list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 500px;
  flex-wrap: wrap;
  margin: 2rem auto;
}

.service_container {
  flex: 1 0 24%;
  text-align: center;
  max-width: 24%;
}

.icon img {
  width: 40px;
}

.heading {
  text-transform: uppercase;
  color: #191919;
  font-weight: 700;
  font-size: 16px;
}

.subheading {
  font-family: "Nunito Sans";
  font-size: 14px;
  font-weight: 300;
  color: #787878;
}
/* Testominals */
#testominals {
  width: 100%;
}

.quote {
  font-family: "Nunito Sans";
  font-size: 18px;
  font-weight: 300;
  color: #fff;
}
.author {
  text-transform: uppercase;
  line-height: 2;
  color: #ffff;
  font-weight: 300;
  font-size: 14px;
}

/* Contact us */
#contact_us {
  height: auto;
  background: #f8f9f9;
}

.container_contact {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 2rem 1rem;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea,
#contact button[type="submit"] {
  font: 400 12px/16px "Open Sans", Helvetica, Arial, sans-serif;
}

#contact {
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  align-content: center;
}

#contact h3 {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 2;
  color: #191919;
}

#contact h4 {
  margin: 5px 0 25px;
  display: block;
  font-family: "Nunito Sans";
  font-size: 16px;
  font-weight: 300;
  color: #787878;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
  width: 100%;
  border: none;
  background: #fff;
  margin: 0 0 5px;
  padding: 20px;
}

#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}

#contact textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

#contact button[type="submit"] {
  cursor: pointer;
  width: 20%;
  border: none;
  background: #10c9c3;
  color: #fff;
  padding: 10px;
  font-size: 15px;
}

#contact button[type="submit"]:hover {
  background: rgb(83, 83, 83);
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

#contact input:focus,
#contact textarea:focus {
  outline: 0;
  border: 1px solid #999;
}
::-webkit-input-placeholder {
  color: #888;
}
:-moz-placeholder {
  color: #888;
}
::-moz-placeholder {
  color: #888;
}
:-ms-input-placeholder {
  color: #888;
}
/*Footer */
#footer {
  width: 100%;
  background: #141414;
}
.container_footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.copyrights p {
  font-family: "Nunito Sans";
  font-size: 16px;
  font-weight: 300;
  color: white;
  margin: 20px auto;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  background: #10c9c3;
}

/* Slides */
.mySlides {
  display: none;
  padding: 80px;
  text-align: center;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  color: #888;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

/* The dot/bullet/indicator container */
.dot-container {
  text-align: center;
  padding: 10px;
  background: #ddd;
  display: none;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active,
.dot:hover {
  background-color: #717171;
}

/* Add an italic font style to all quotes */
q {
  font-style: italic;
  color: #fff;
  font-weight: 400;
  font-family: "Nunito Sans";
  font-size: 21px;
}

/* Add a blue color to the author */
.author {
  color: #fff;
}

/* Media Queries */
/* ----------- Phones ----------- */
@media screen and (max-width: 720px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
  }
  .nav.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    background: #fff;
    top: 100%;
    left: 0;
    width: 100%;
    text-align: center;
  }
  .nav_link {
    padding: 10px;
    margin: 10px;
  }

  .intro_inner,
  .container_about,
  .container_services {
    padding: 25px;
  }
  .container_skills {
    flex-direction: column;
    align-items: normal;
    text-align: center;
  }

  .left_block {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 25px;
    margin-bottom: 22px;
  }

  .progress-bar {
    width: 100%;
  }

  .right_block {
    display: none;
  }
  .container_statistics {
    padding: 25px;
    height: auto;
  }
  .facts {
    flex: 1 1 100%;
    max-width: 49%;
    margin: 20px auto;
    line-height: 2;
    font-size: 12px;
  }
  .container_project {
    width: 100%;
  }

  .service_container {
    max-width: 50%;
    flex: 1 1 50%;
    padding: 25px;
  }
  .services_list,
  #services {
    height: auto;
  }
  .heading {
    font-size: 14px;
  }
  .about_title,
  .about_suptitle {
    text-align: center;
  }

  .container_contact {
    padding: 25px 25px 0 25px;
  }
  #contact button[type="submit"] {
    width: auto;
  }
}

/* Tablets and desktop */
@media screen and (min-width: 720px) and (max-width: 1440px) {
  .container_project {
    width: 50%;
  }
}
