@font-face {
  font-family: 'Avenir Next Cyr';
  font-style: normal;
  font-weight: 750;
  font-display: swap;
  src: local('AvenirNextCyr-Bold'),
      url('../fonts/avenirnextcyr-bold.woff2') format('woff2'),
      url('../fonts/avenirnextcyr-bold.woff') format('woff'),
      url('../fonts/avenirnextcyr-bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Avenir Next Cyr';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('AvenirNextCyr-Demi'),
      url('../fonts/avenirnextcyr-demi.woff2') format('woff2'),
      url('../fonts/avenirnextcyr-demi.woff') format('woff'),
      url('../fonts/avenirnextcyr-demi.ttf') format('truetype');
}

@font-face {
  font-family: 'Avenir Next Cyr';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('AvenirNextCyr-Regular'),
      url('../fonts/avenirnextcyr-regular.woff2') format('woff2'),
      url('../fonts/avenirnextcyr-regular.woff') format('woff'),
      url('../fonts/avenirnextcyr-regular.ttf') format('truetype');
}

html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul[class] {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

body {
  min-height: 100vh;
  font-family: 'Avenir Next Cyr', sans-serif;
  font-weight: 400;
  font-size: 21px;
  line-height: normal;
  color: #000;
}

.container{
  max-width: 1210px;
  padding: 0 30px;
  margin: 0 auto;
}

.header{
  background-image: url('../images/header-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 540px;
  padding: 99px 0 40px;
  text-align: center;
  color: #fff;
  font-weight: 750;
  font-size: 30px;
  position: relative;
}

.header__title{
  font-weight: 750;
  font-size: 51px;
  text-transform: uppercase;
  margin-bottom: 67px;
}

.header__text{
  margin-bottom: 104px;
}

.select-wrapper{
  display: flex;
  justify-content: space-between;
}

.header__btn{
  flex-basis: 451px;
  font-size: 29px;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 15px;
  transition: all .4s;
}

.itprojects-link{
  background-color: #ff7500;
}

.reprojects-link{
  background-color: #0077ed;
}

.itprojects-link:hover{
  color: #ff7500;
  background-color: #fff;
}

.reprojects-link:hover{
  color: #0077ed;
  background-color: #fff;
}

.select{
  font-weight: 700;
  align-self: center;
  padding: 0 10px;
}

.header::after{
  content: '';
  height: 150px;
  background-color: #022156;
  position: absolute;
  bottom: -150px;
  left: 0;
  right: 0;
  display: none;
}

.about{
  padding-top: 37px;
  margin-bottom: 119px;
}

.about__title{  
  font-weight: 750;
  font-size: 50px;
  color: #17263d;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: -24px;
}

.round-pic{
  max-width: 290px;
  max-height: 290px;
  border-radius: 50%;
  margin: 0 auto 92px;
}

.pic-left{
  margin-left: 14%;
}

.pic-right{
  margin-right: 14%;
}

.projects-title{
  font-weight: 750;
  font-size: 30px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 66px;
}

.it-title{
  color: #ff7500;
  transform: translateY(277px);
}

.about__textbox{
  display: flex;
  justify-content: space-between;
  margin-top: -142px;
  margin-bottom: -8px;
}

.about__text{
  flex-basis: 536px;
}

.about__text + .about__text{
  margin-left: 50px;
}

.info-title{
  font-weight: 750;
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.info-title:not(:first-child){
  margin-top: 36px;
}

.info-text{
  margin-bottom: 30px;
  line-height: 127%;
}

.about__text span{
  font-weight: 700;
}

.list-item{
  padding-left: 33px;
  position: relative;
  line-height: 127%;
  margin-bottom: 23px;
}

.list-item::before{
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 10px;
}

.real-content{
  margin-top: -110px;
}

.it-content .list-item::before{
  background-color: #ff7500;
}

.real-content .list-item::before{
  background-color: #0077ed;
}

.real-title{
  color: #0077ed;
  transform: translateY(285px);
}

.team{
  background-color: #0077ed;
  padding-bottom: 50px;
}

.team__wrapper{
  display: flex;
  justify-content: space-between;
}

.team__info{
  flex-basis: 527px;
}

.team__pic{
  margin: -88px 0 54px;
}

.team__info{
  color: #fff;
}

.team__info + .team__info{
  margin-left: 50px;
}

.team__info .info-title{
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.team__info .info-title.team-member{
  text-align: left;
  margin-bottom: 2px;
  margin-top: 20px;
}

.info-link{
  text-decoration: none;
  color: #fff;
}

.footer{
  background-color: #161616;
  padding: 39px 0 42px;
  color: #fff;
  text-align: center;
}

.footer a{
  text-decoration: none;
  color: #00aae2;
}

.footer__more{
  font-size: 24px;
  line-height: 114%;
  margin-bottom: 27px;
}

.form-title{
  font-size: 32px;
  margin-bottom: 24px;
}

.form-input, .form-textarea{
  background: #d9d9d9;
  width: 86%;
  font-weight: 400;
  font-size: 16px;
  line-height: 117%;
  border: none;
}
.form-input{
  height: 34px;
  margin-bottom: 17px;
  padding: 0 7px;
}
.form-textarea{
  color: #000;
  height: 182px;
  padding: 7px;
  margin-top: 0;
  margin-bottom: 20px;
  resize: none;
}
.form-submit{
  font-weight: 700;
  font-size: 32px;
  line-height: 86%;
  background-color: #0077ed;
  color: #fff;
  border: none;
  padding: 18px 90px;
  margin-bottom: 70px;
  transition: all .4s;
  cursor: pointer;
}

.form-submit:hover{
  color: #0077ed;
  background-color: #fff;
}


.captcha-info{
  color: #bbb;
  font-size: 14px;
  line-height: 196%;
  margin-bottom: 34px;
}

.footer__text{
  font-size: 24px;
  line-height: 114%;
  margin-bottom: 16px;
}

.footer .book-online{
  display: inline-block;
  color: #fff;
  font-weight: 700;
  font-size: 32px;
  line-height: 86%;
  padding: 22px 37px 21px;
  background-color: #0077ed;
  margin: 11px 0 68px;
  transition: all .4s;
}

.book-online:hover{
  color: #0077ed;
  background-color: #fff;
}

.footer__hours{
  font-size: 20px;
  line-height: 137%;
  color: #bbb;
  margin-top: 48px;
  margin-bottom: 57px;
}

.footer__hours span{
  font-weight: 700;
}

.footer__bottom{
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: #bbb;
  font-size: 16px;
  line-height: 171%;
}

.footer__powered{
  text-align: right;
}


@media (max-width: 1040px){
  .header{
    font-size: 26px;
    min-height: 340px;
    padding-top: 70px;
  }
  .header__title{
    font-size: 46px;
    margin-bottom: 50px;
  }
  .header__text{
    margin-bottom: 65px;
  }
  .header__btn{
    font-size: 20px;
    flex-basis: 370px;
  }
  .select{
    font-size: 20px;
  }
  .about__title{
    font-size: 44px;
  }
  .round-pic {
    max-width: 240px;
    max-height: 240px;
  }
  .projects-title {
    font-size: 28px;
  }
  .it-title {
    transform: translateY(239px);
  }
  .real-title {
    transform: translateY(260px);
  }
}

@media (max-width: 850px){
  .header{
    font-size: 23px;
  }
  .header__title {
    font-size: 46px;
  }
  .header__btn{
    font-size: 16px;
  }
  .select{
    font-size: 16px;
  }
  .about__title{
    font-size: 40px;
  }
  .round-pic {
    max-width: 200px;
    max-height: 200px;
  }
  .projects-title {
    font-size: 26px;
  }
  .it-title {
    transform: translateY(200px);
  }
  .real-title {
    transform: translateY(226px);
  }
}

@media (max-width: 704px){
  .about{
    padding-top: 20px;
    margin-bottom: 147px;
  }
  .about__title{
    font-size: 18px;
  }
  .projects-title{
    font-size: 22px;
  }
  .about__textbox{
    flex-direction: column;
    margin-top: 72px;
  }
  .it-content{
    margin-bottom: 23px;
  }
  .about__text{
    margin-bottom: 36px;
  }
  .round-pic{
    max-width: 182px;
    max-height: 182px;
    margin-bottom: -6px;
  }
  .pic-left{
    margin-left: auto;
  }
  .pic-right{
    margin-right: auto;
    margin-top: 2px;
  }
  .it-title{
    transform: translateY(46px);
  }
  .info-title{
    font-size: 18px;
    text-align: center;
    margin-bottom: 11px;
  }
  .info-title:not(:first-child) {
    margin-top: 26px;
  }
  .info-text{
    font-size: 16px;
    line-height: 117%;
    margin-bottom: 14px;
  }
  .list-item{
    font-size: 16px;
    line-height: 117%;
    margin-bottom: 13px;
  }
  .real-title{
    transform: translateY(-19px);
  }
  .list-wrapper{
    display: flex;
  }
  .list-wrapper .info-list{
    margin: 0 auto;
  }
  .real-content{
    margin-top: -66px;
  }
  .about__text + .about__text{
    margin-left: 0;
  }
  .team__wrapper{
    flex-direction: column;
  }
  .team__info + .team__info {
    margin-left: 0;
    margin-top: 162px;
  }
  .team__pic {
    width: 81%;
    margin: -127px auto 54px;
  }
  .team__info .info-title {
    font-size: 18px;
    margin-bottom: 14px;
    margin-top: -26px;
  }
}

@media (max-width: 570px){
  .header{
    min-height: 228px;
    font-size: 16px;
    padding: 43px 0 0px;
  }
  .header__title{
    font-size: 32px;
    margin-bottom: 29px;
  }
  .header__text{
    margin-bottom: -65px;
  }
  .select-wrapper{
    flex-direction: column;
    position: absolute;
    bottom: -134px;
    left: 0px;
    right: 0px;
    z-index: 1;
  }
  .select{
    padding: 17px 10px;
  }
  .header__btn{
    font-size: 16px;
    line-height: 12px;
    flex-basis: auto;
    align-self: center;
    width: 250px;
    border-radius: 5px;
  }
  .header::after{
    display: block;
  }
  .about{
    padding-top: 170px;
  }
  .footer {
    padding-top: 28px;
    margin-top: -164px;
    padding-bottom: 20px;
  }
  .footer__more {
    font-weight: 750;
    font-size: 16px;
    line-height: 57%;
  }
  .captcha-info {
    font-size: 10px;
    line-height: 106%;
    margin-bottom: 17px;
  }
  .footer__text {
    font-weight: 750;
    font-size: 16px;
    line-height: 57%;
    margin-bottom: 10px;
  }
  .footer .book-online {
    font-size: 13px;
    line-height: 69%;
    padding: 7px 15px;
    margin-bottom: 28px;
  }
  .started-today{
    margin-bottom: 0;
  }
  .footer__hours {
    font-size: 13px;
    line-height: 110%;
    margin-top: 17px;
    margin-bottom: 13px;
  }
  .footer__bottom {
    flex-direction: column-reverse;
    text-align: center;
    font-weight: 750;
    font-size: 10px;
    line-height: 200%;
  }
  .footer__powered {
    text-align: center;
  }
  .footer__powered, .footer__copyright {
    align-self: center;
  }
  .footer__more{
    margin-bottom: 8px;
  }
  .form-title{
    font-size: 16px;
    margin-bottom: 5px;
  }
  .form-input, .form-textarea{
    font-size: 10px;
    line-height: 86%;
  }
  .form-input{
    height: 24px;
    margin-bottom: 7px;
  }
  .form-textarea{
    height: 96px;
    margin-top: 6px;
    margin-bottom: 5px;
  }
  .form-submit{
    font-size: 13px;
    line-height: 69%;
    padding: 7px 36px;
    margin-bottom: 28px;
  }
}

@media (max-width: 420px){
  .header__title {
    font-size: 23px;
  }
}


@media (max-width: 400px){
  .team__pic {
    margin: -76px auto 54px;
  }
  .footer {
    margin-top: -50px;
  }
  .footer__address {
    font-size: 12px;
  }
}

@media (max-width: 324px){
  .header {
    font-size: 14px;
  }
  .header__title {
    font-size: 19px;
  }
}