/*  ------------Singolo 1------------ */
* {
  margin: auto;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  margin: auto;
  font-family:  'Lato', 'Verdana', serif;
  font-size: 12px;
  scroll-behavior: smooth;
}

section {
  max-width: 1020px;
  margin: 0 auto;
}


header {
  height: 95px;
  background-color: #2d303a;
  position: fixed;
  width: 1020px;
  z-index: 99999;
}

.header__logo {
  float: left;
  padding-top: 35px;
  padding-left: 40px;
  padding-bottom: 40px;
}

.header__menu {
  float: right;
  padding-top: 43px;
  padding-right: 59px;
}

li {
  list-style-type: none;
  display: inline-block;
}

.navigation a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  padding-left: 20px;
}

.active a {
  color: #f06c64;
}

.navigation a:hover {
  color: #f06c64;
  cursor: pointer;
}

.header__bottom {
  background-color: #323746;
  height: 5px;
  position: absolute;
  bottom: 0;
  width: 1020px;
}

.container__phones {
  background-color: #f06c64;  
}

.container__phone-bottom {
  height: 5px;
  position: absolute;
  width: 1020px;
  background-color: #ea676b;
}

.slider__phones {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1020px;
  padding-top: 95px;
}

.arrow-right {
  padding-right: 10px;
  padding-bottom: 10px;
}

.arrow-left {
  padding-left: 15px;
  padding-bottom: 10px;
}
.container__phoneV {
  padding-top: 53px;
  padding-bottom: 66px;
}

.container__phoneH {
padding-bottom: 15px;
padding-left: 20px;

}

.services {
  background-color: #f2f2f2;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
}

.info-box {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 77px;
}

.info {
  width: 300px;
  font-size: 12px;
  color: #767e9e;
  padding-bottom: 40px;
  line-height: 19px;
}
img {
  float: left;
  padding-right: 25px;
}

h1 {
  font-size: 30px;
  font-weight: bold;
  color: #666d89;
}

.text {
  font-size: 18px;
  color: #767e9e;
  padding-bottom: 50px;
}

h3 {
  color: #666d89;
  font-size: 18px;
  font-weight: bold;
}

.text-info {

}

/* ------------Singolo 2------------ */
.container {
  max-width: 1020px;
  position: relative;
}

section {
  max-width: 1020px;
} 

.portfolio {
  background-color: #2d303a;
  overflow: hidden;
  padding-bottom: 25px;
}
.wrapper {
  margin: auto;
  max-width: 940px;
}

h2 {
  font-size: 30px;
  color: #666d89;
  padding-left: 40px;
  padding-top: 60px;
  padding-bottom: 33px;
  font-family: 'Lato';
  font-weight: 800;
}
.portfolio__info {
  font-size: 18px;
  color: #767e9e;
  padding-left: 40px;
  padding-bottom: 20px;
  font-family: 'Lato';

}

.portfolio__nvigation {
  margin-left: 40px;
  font-size: 12px;
  font-weight: 400;
  padding-bottom: 20px;
}

.portfolio__nvigation a {
  padding-right: 10px;
  text-decoration: none;
  color: #545a6f;
  border: 1px solid #666d89;
  border-radius: 5px;
}

.portfolio__nvigation span {
  padding-left: 10px;
  font-family: 'Lato';
}

.portfolio__nvigation a:hover {
  color: orange;
}

.portfolio__nvigation a:first-child {
  color: #fff;
}

.portfolio__gallery {
  padding-left: 40px;
  margin-top: 5px;
  

}

.portfolio__gallery img {
  padding-right: 15px;
  padding-bottom: 20px;
}

.portfolio__bottom {

  bottom: 0;
  width: 1020px;
  background-color: #323746;
  height: 6px;
}

.aboutUs {
  background-color: #f2f2f2;
  position: relative;
}

.aboutUs__info {
  font-size: 18px;
  text-align: justify;
  color: #767e9e;
  font-family: 'Lato';
  padding-bottom: 42px;
  padding-left: 40px;
}

.aboutus__bottom {
  position: absolute;
  bottom: 0;
  width: 1020px;
  background-color: #fff;
  height: 6px;
}

.photos {
  display: flex;
  padding-left: 40px;
}

.photo__name {
  font-size: 15px;
  color: #666d89;
  padding-top: 11px;
  font-family: 'Lato';

  font-weight: 800;
}

.photo:nth-child(3) {
  padding-right: 40px;
}

.photo__info {
  font-size: 12px;
  color: #767e9e;
  letter-spacing: 0.25;
}

.social {
  display: flex;
  margin-top: 23px;
  margin-bottom: 40px;
  margin-left: -3px;
  width: 153px;
  justify-content: space-between;
}

.social:nth-child(3) {
  padding-left: 1px;
}

.item-social {
  width: 30px;
  height: 30px;
  border-radius: 16px;
  border: 1px solid #666d89;
  display: flex;
 
}

.item-social:hover {
  cursor: pointer;

}

.icon-facebook {
  background-image: url(assets/img/facebook.png);
  background-position: center;
  background-repeat: no-repeat;
}

.icon-google {
  background-image: url(assets/img/google.png);
  background-position: center;
  background-repeat: no-repeat;
}

.icon-twitter {
  background-image: url(assets/img/twitter.png);
  background-position: center;
  background-repeat: no-repeat;
}

.icon-linkedin {
  background-image: url(assets/img/linkedin.png);
  background-position: center;
  background-repeat: no-repeat;
}
/* ------------Singolo 3------------ */


section {
  max-width: 1020px;
  margin: auto;
}

.container-3 {
  font-family: 'Lato', sans-serif;
  background-color: #f06c64;
  position: relative;
}

.wrapper {
  max-width: 940px;
  margin: auto;
}

.get-quote {
  font-size: 30px;
  color: #f0d8d9;
  padding-top: 60px;
  font-family: 'Lato', sans-serif;
}

.quote__descr {
  font-size: 18px;
  font-family: 'Lato', sans-serif;
  color: #f0d8d9;
  margin-top: 20px;
  text-align: justify;
}

.footer__form {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 620px;
  margin-top: 42px;
  margin-bottom: 12px;
}

input {
  border: none;
  margin-top: 15px;
  padding-top: 10px;
  padding-bottom: 15px;
  padding-left: 15px;
  border-radius: 5px;
  background-color: #d6564f;
  color: #f48c8f;
  font-size: 12px;
  outline: none;
  width: 620px;
}

input::-webkit-input-placeholder {
  color: #f48c8f;
}

textarea {
  margin-top: 15px;
  background-color: #d6564f;
  color: #f48c8f;
  border: none;
  border-radius: 5px;
  padding-top: 13px;
  padding-left: 15px;
  margin-bottom: 67px;
  font-size: 12px;
  outline: none;
  width: 620px;
  resize: none;
}

textarea::-webkit-input-placeholder {
  color: #f48c8f;
  font-size: 12px;
  font-family: 'Lato', sans-serif;

}

.btn__submit {
  position: absolute;
  top: 90%;
  left: 40px;
  width: 136px;
  height: 38px;
  padding: 11px 40px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: #686fff;
  background-color: #FBC65F;
  border: 1px solid #f48c8f;
  transition: all 0.3s ease-in;
}

.btn__submit:hover {
  cursor: pointer;
  color: #fff;
  background-color: inherit;
}

.flexbox {
  display: inline-flex;
}

h4 {
  margin-left: 22px;
  margin-top: 60px;
  font-size: 18px;
  font-family: 'Lato', sans-serif;
  color: #f0d8d9;
}

.contact__inform {
  margin-top: 0px;
}

.contact__adress {
  margin-top: 10px;
  font-size: 12px;
  margin-left: 20px;
  font-family: 'Lato', sans-serif;
  color: #f0d8d9;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  line-height: 1.7;
  text-align: justify;
}

.contacts {
  margin-top: 12px;
  margin-left: 1px;
}

.contacts img {
  padding-right: 12px;
  padding-top: 6px;
}

.contacts a {
  text-decoration: none;
  color: #f0d8d9;
}

.location {
  padding-left: 2px;
}

.bottom__border {
  height: 5px;
  background-color: #ea676b;
  position: absolute;
  bottom: 0;
  width: 1020px;
}

.icon-facebook {
  background-image: url(assets/img/facebook.png);
  background-position: center;
  background-repeat: no-repeat;
}

.icon-google {
  background-image: url(assets/img/google.png);
  background-position: center;
  background-repeat: no-repeat;
}

.icon-twitter {
  background-image: url(assets/img/twitter.png);
  background-position: center;
  background-repeat: no-repeat;
}

.icon-linkedin {
  background-image: url(assets/img/linkedin.png);
  background-position: center;
  background-repeat: no-repeat;
}

footer {
  display: flex;
  max-width: 1020px;
  height: 76px;
  background-color: #2d303a;
  margin: auto;
  position: relative;
}

.copyright {
  display: flex;
  left: 42px;
  position: absolute;
  bottom: 30px;

}

.item-social__footer {
  width: 31px;
  height: 31px;
  border-radius: 16px;
  border: 1px solid #666d89;
  display: flex;
}

.social-footer {
  display: flex;
  justify-content: space-between;
  position: absolute;
  right: 21px;
  bottom: 10px;
  width: 188px;
  cursor: pointer;
}


 /*--------- Media ---------*/

 @media(max-width: 768px) {
   section {
     max-width: 768px;
   }
   header {
     position: relative;
     max-width: 768px;
   }
   .header__bottom {
    max-width: 768px;
   }
   .aboutus__bottom {
     max-width: 78px;
   }
   .slider__phones {
     max-width: 768px;
   }
   .container__phoneV {
    width: 156px;
    height: 340px;
    margin-left: 30px;
    margin-top: -60px;
    }
    .container__phoneH {
      width: 340px;
      height: 156px;
      margin-right: 39px;
      margin-top: 30px;
  
    }
    .arrow-left {
      margin-left: 250px;
      margin-top: -55px;
    }
    .arrow-right {
      margin-right: 282px;
      margin-bottom: 80px;
    }
    .container__phone-bottom {
      max-width: 768px;
    }
    .portfolio__bottom {
      max-width: 768px;
    }
    .bottom__border {
      max-width: 768px;
    }
    .photo {
      margin-right: 20px;
    }
    .photo img {
      width: 220px;
      height: 220px;
    }
    .contact__adress {
      width: 100px;
    }
    form {
      width: 200px;
      margin-left: 40px;
    }
   }

