html{
  scroll-behavior: smooth;
}

body{
  min-height: 100vh;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
  font-style: normal;
  color: #373A39;
}

  /* font-family: 'Raleway', sans-serif; */
  /* font-family: 'Merriweather', serif; */
  /* font-family: 'Montserrat', sans-serif; */

.title{
  font-size: 60px;
  line-height: 75px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -1.65px;
  color: #242121;
  padding-bottom: 18px;
  position: relative;
  align-self: flex-start;
}

.title::after{
  content: '';
  height: 4px;
  width: 60px;
  background-color: #FCBB08;
  position: absolute;
  bottom: 0;
  left: 0;
}

a{
  text-decoration: none;
}
.container{
  max-width: 1190px;
  padding: 0 10px;
  margin: 0 auto;
}

.header__top{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 999;
}

.header__top-inner{
  display: flex;
  padding-bottom: 29px;
  justify-content: space-between;
  align-items: flex-end;
}

.menu__btn{
  display: none;
}

.menu__list{
  display: flex;
}

.menu__list-link{
  padding: 0 9px 9px;
  font-size: 12px;
  line-height: 15px;
  text-transform: uppercase;
  color: #373A39;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.6px;
}

.menu__list-item + .menu__list-item{
  margin-left: 32px;
}

.menu__list-link:hover{
  border-bottom: 1px solid #FCBB08;
}

.header__content{
  background-image: url(../images/header-bg.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  font-family: 'Montserrat', sans-serif;
  margin-top: 100px;
}

.header__title{
  font-weight: 500;
  font-size: 72px;
  line-height: 88px;
  color: #fff;
  margin-top: auto;
  margin-bottom: 19px;
  padding-top: 130px;
}

.header__subtitle{
  color: #FCBB08;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 2.74286px;
  margin-bottom: auto;
}

.header__content-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 93px);
  justify-content: space-between;
}

.header__icon{
  margin-bottom: 62px;
}

.about{
  background-color: #F6F8FA;
  padding: 150px 0 144px;
}

.about__inner{
  display: flex;
  justify-content: space-between;
}

.about__title{
  font-size: 48px;
}

.about__text p{
  max-width: 770px;
  margin-bottom: 16px;
}

.expertise{
  padding: 140px 0 160px;
}

.expertise__title{
  margin-bottom: 90px;
}

.expertise__inner{
  display: flex;
  margin-bottom: 110px;
}

.expertise__info{
  width: 370px;
  margin-right: 30px;
  flex: none;
  margin-top: 10px;
}

.expertise__info-item{
  border-top: 2px solid #1D1D1D;
  padding: 2px 0 28px;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 1px;
  color: #1D1D1D;
  position: relative;
}

.expertise__info-item span{
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  margin-right: 7px;
}

.expertise__info-item span::before{
  content: '';
  position: absolute;
  height: 2px;
  background-color: #F0F0F0;
  right: -7px;
  top: -2px;
  width: 100%;
}


.expertise__text p{
  margin-bottom: 25px;
}

.expertise__items{
  display: flex;
  justify-content: space-between;
}

.expertise__item{
  width: 370px;
  padding-left: 85px;
  position: relative;
}

.expertise__item::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
}

.expertise__item--design::before{
  background-image: url(../images/design-icon.svg);
}
.expertise__item--dev::before{
  background-image: url(../images/monitor-icon.svg);
}
.expertise__item--marketing::before{
  background-image: url(../images/speaker-icon.svg);
}

.expertise__item-title{
  line-height: 20px;
  letter-spacing: 4.29px;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.expertise__item-text{
  color: #777;
}

.magic{
  background-color: #F6F8FA;
  background-image: url(../images/magic.jpg);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: left 85%;
}

.magic__inner{
  max-width: 470px;
  margin-left: auto;
  padding: 100px 0 190px;
}

.magic__title{
  margin-bottom: 67px;
}

.magic__text p{
  margin-bottom: 25px;
}

.portfolio{
  padding: 140px 0 165px;
}

.portfolio__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 100px;
}

.portfolio__filter-btn{
  margin-right: 65px;
}

.portfolio__btn{
  background-color: transparent;
  border: none;
  line-height: 24px;
  font-weight: 600;
  font-size: 12px;
  color: #333;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 4px 5px;
  outline-color: #FCBB08;
}

.portfolio__btn + .portfolio__btn{
  margin-left: 25px;
}

.mixitup-control-active{
  border-bottom: 1px solid #FCBB08;
}

.portfolio__content{
  column-count: 4;
  column-gap: 22px;
  margin-bottom: 72px;
}

.portfolio__item{
  margin-top: 20px;
  position: relative;
}

.portfolio__item:first-child{
  margin-top: 0;
}

.portfolio__item-link{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  background-color: #4C4A4A;
  border: 12px solid #666565;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all .8s;
}

.portfolio__item-link:hover{
  opacity: 1;
}

.portfolio__item img{
  width: 100%;
}

.portfolio__add{
  display: block;
  background-color: #F6F8FA;
  font-weight: bold;
  line-height: 17px;
  letter-spacing: 1.2px;
  color: #242121;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  padding: 42px 15px 41px;
  margin-bottom: 130px;
}

.blockquote{
  max-width: 650px;
  margin: 0 auto 148px;
  text-align: center;
  font-style: italic;
  line-height: 36px;
  font-weight: 300;
  font-size: 18px;
  font-family: 'Merriweather', serif;
  color: #242121;
}

.blockquote__author{
  padding-top: 51px;
  display: block;
  color: #9E9E9E;
  font-size: 14px;
  line-height: 32px;
}

.portfolio__video{
  background-image: url(../images/video-bg.jpg);
  background-repeat: no-repeat;
  height: 324px;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 165px;
}

.portfolio__numbers{
  display: flex;
  justify-content: space-around;
}

.portfolio__numbers-item{
  margin-bottom: 9px;
  text-align: center;
  font-weight: bold;
  font-size: 60px;
  line-height: 73px;
  font-family: 'Montserrat', sans-serif;
  color: #242121;
}

.portfolio__numbers-item span{
  font-weight: normal;
  font-size: 14px;
  line-height: 19px;
  color: #333;
  font-family: 'Open Sans', sans-serif;
  display: block;
}

.slider-blog{
  background-color: #F8F6FA;
  padding: 115px 0;
}

.slider-blog__item{
  padding: 190px 0;
}

.slider-blog__item-title{
  font-weight: bold;
  font-size: 36px;
  line-height: 52px;
  margin-bottom: 10px;
  color:#242121;
  max-width: 675px;
  display: inline-block;
}

.slider-blog__item-desc{
  max-width: 585px;
}

.slick-dots{
  display: flex;
}

.slick-dots li + li{
  margin-left: 13px;
}

.slick-dots button{
  background-color: #242121;
  opacity: 0.4;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  font-size: 0;
  padding: 0;
  border: none;
}

.slick-dots .slick-active button{
  opacity: 1;
  width: 10px;
  height: 10px;
  transform: translateY(-2px);
}

.slick-prev,
.slick-next{
  border: none;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-150%);
}

.slick-prev{
  left: -95px;
}

.slick-next{
  right: -95px;
}

.team{
  padding: 120px 0 130px;
}

.team__title{
  margin-bottom: 100px;
}

.team__items{
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.team__name{
  padding: 35px 0 12px;
  font-weight: bold;
  line-height: 17px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.team__position{
  font-weight: 300;
  line-height: 16px;
  font-size: 12px;
}

.pricing{
  background-color: #F6F8FA;
  padding: 145px 0 160px;
}

.pricing__title{
  margin-bottom: 90px;
}

.pricing__items{
  display: flex;
  justify-content: space-between;
}

ul.pricing__item{
  background-color: #fff;
  text-align: center;
  padding: 24px 25px 50px;
  width: 370px;
}

.pricing__item li{
  font-weight: 300;
  line-height: 22px;
  font-size: 16px;
  color: #242121;
  margin-bottom: 30px;
}

.pricing__item .pricing__item-name{
  text-align: left;
  font-weight: bold;
  margin-bottom: 8px;
}

.pricing__item .pricing__item-num{
  font-size: 80px;
  line-height: 109px;
  margin-bottom: 50px;
}

.pricing__item-num sup{
  font-size: 40px;
  line-height: 54px;
}

.pricing__item-link{
  margin-top: 70px;
  display: block;
  color: #242121;
  font-weight: bold;
  line-height: 17px;
  font-size: 14px;
  letter-spacing: 1.2px;
  font-family: 'Montserrat', sans-serif;
}

.clients{
  padding: 70px 0 95px;
}

.clients__list{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.connection{
  padding: 145px 0 160px;
  background-image: url(../images/map.jpg);
  background-repeat: no-repeat;
  background-size: 40%;
  background-position: right 65%;
}

.connection__title{
  margin-bottom: 80px;
}

.form{
  max-width: 570px;
}

.form input,
.form textarea{
  border: none;
  display: block;
  width: 100%;
  border-bottom: 2px solid #373A39;
  padding: 16px 0;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: bold;
}

.form input::placeholder,
.form textarea::placeholder{
  line-height: 20px;
  font-size: 12px;
  letter-spacing: 3.70909px;
  color: #B8B8B8;
  text-transform: uppercase;
  font-weight: 300;
}

.form textarea{
  min-height: 140px;
  resize: none;
}

.form button{
  font-weight: bold;
  font-size: 11px;
  line-height: 13px;
  color: #fff;
  text-transform: uppercase;
  padding: 17px 70px 15px;
  border: none;
  background-color:#242121;
  cursor: pointer;
  margin-top: 40px;
  letter-spacing: 2px;
}

.footer__top{
  padding: 110px 10px 60px;
  background-color: #333;
  text-align: center;
}

.footer__logo{
  display: inline-block;
  padding: 0 35px 4px;
  border-bottom: 2px solid #FCBB08;
  margin-bottom: 70px;
}

ul.footer__social{
  display: flex;
  justify-content: center;
  margin-bottom: 65px;
}

.footer__social-list{
  padding: 0 15px;
}

.footer__social-link{
  text-transform: uppercase;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  line-height: 15px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 4px;
}

.footer__contact{
  color: #fff;
  font-size: 14px;
  line-height: 32px;
  margin-bottom: 60px;
}

.footer__contact a{
  display: block;
  margin: 10px 0;
  color: #fff;
}

.go-top{
  display: inline-block;
}

.footer__copy{
  padding: 40px 10px;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  background-color: #2A2C2B;
  color: #ccc;
}


@media (max-width: 1440px){
  .magic__inner{
    padding: 50px 0;
  }
  .slick-prev{
    left: 0;
  }
  .slick-next{
    right: 0;
  }
  
}


@media (max-width: 1200px){
  .about__inner{
    display: block;
  }
  .about__title,
  .team__title,
  .pricing__title,
  .connection__title{
    margin-bottom: 50px;
  }
  .about,
  .expertise,
  .portfolio,
  .slider-blog,
  .team,
  .pricing,
  .connection{
    padding: 75px 0;
  }
  .header__top-inner{
    padding-bottom: 5px;
  }
  .about__text p{
    max-width: 100%;
  }
  .title{
    font-size: 48px;
    line-height: 60px;
  }
  .expertise__title{
    margin-bottom: 90px;
  }
  .portfolio__filter-btn{
    margin-right: 0;
  }
  .team__items,
  .pricing__items,
  .clients__list{
    column-gap: 20px;
  }
}


@media (max-width: 992px){
  .expertise__inner{
    display: block;
    margin-bottom: 75px;
  }
  .expertise__info{
    width: 100%;
    margin-right: 0;
  }
  .expertise__items{
    display: block;
  }
   .expertise__item{
     width: 100%;
     margin-bottom: 40px;
   }
   .magic{
     background-image: none;
   }
   .magic__inner{
         margin-left: 0;
     max-width: 100%;
   }
   .magic__title{
     margin-bottom: 50px;
   }
   .portfolio__content{
     column-count: 3;
     margin-bottom: 40px;
   }
   .portfolio__top{
     display: block;
     margin-bottom: 50px;
   }
   .portfolio__filter-btn{
     margin-top: 40px;
   }
   .connection{
     background-image: none;
   }
   .form{
     max-width: 100%;
   }
   .footer__top{
    padding-top: 75px;
   }
   .footer__logo{
     margin-bottom: 40px;
   }
   ul.footer__social{
     margin-bottom: 40px;
     flex-wrap: wrap;
   }
   .footer__social-list{
     width: 33.33%;
     margin-bottom: 25px;
   }
}


@media (max-width: 768px){
  .menu__list{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background-color: #000;
    display: block;
    text-align: center;
    transform: translateY(-200%);
    transition: all .5s;
  }
  ul.menu__list{
    padding: 90px 0 15px;
  }
  .menu__list-item + .menu__list-item{
    margin-left: 0;
  }
  .menu__list-link{
    display: block;
    padding: 15px 0;
    color: #fff;
  }
  .logo{
    position: relative;
    z-index: 2;
  }
  .menu__btn{
    display: block;
    background-color: transparent;
    border: none;
    padding: 0;
    margin-top: 30px;
    position: relative;
    z-index: 2;
  }
  .header__title{
    font-size: 50px;
    line-height: 65px;
    margin-bottom: 10px;
  }
  .header__top-inner path{
    transition: all .5s;
  }
  .header__top-inner rect{
    transition: all .5s;
  }
  .header__top-inner.header__top-inner--active .menu__list{
    transform: translateY(0%);
  }
  .header__top-inner.header__top-inner--active path{
    fill: #fff;
  }
  .header__top-inner.header__top-inner--active .menu__btn rect{
    fill: #fff;
  }
  .header__top-inner{
    align-items: center;
  }
  .header__subtitle{
    font-size: 14px;
    line-height: 16px;
  }
  .title{
    font-size: 48px;
    line-height: 60px;
  }
  .portfolio__content{
     column-count: 2;
  }
   .portfolio__btn{
    display: block;
    margin-bottom: 30px;
  }
   .portfolio__btn + .portfolio__btn{
     margin-left: 0;
  }
   .portfolio__add{
     margin-bottom: 40px;
  }
   .blockquote{
     margin-bottom: 40px;
     padding: 0 10px;
  }
   .portfolio__video{
     margin-bottom: 75px;
  }
   .portfolio__numbers{
     flex-wrap: wrap;
  }
   .portfolio__numbers-item{
     width: 50%;
     margin-bottom: 40px;
  }
    .slider-blog__item{
      padding: 40px 0;
  }
    ul.slick-dots{
      margin-left: 0;
  }
  .slider-blog__item-title{
    font-size: 24px;
    line-height: 32px;
  }
  .pricing__items{
    display: block;
  }
  ul.pricing__item{
    margin: 0 auto 20px;
    max-width: 500px;
    width: 100%;
  }
  .clients__list{
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .clients__list li{
    margin-bottom: 25px;
  }
}


@media (max-width: 640px){
  .team__items{
    display: block;
  }
  .team__item{
    margin-bottom: 20px;
  }
  .team__item img{
    margin: 0 auto;
  }
}


@media (max-width: 440px){
  .header__title{
    font-size: 36px;
    line-height: 44px;
  }
  .header__subtitle{
    line-height: 14px;
    font-size: 12px;
  }
  .about__title,
  .title{
    font-size: 30px;
    line-height: 40px;
  }
  .footer__social-list{
    width: 50%;
  }
}


@media (max-width: 340px){
  .expertise__item{
    padding-left: 0;
    padding-top: 60px;
  }
  .portfolio__numbers-item{
    width: 100%;
  }
}


