html {
  box-sizing: border-box;
  /* scroll-behavior: smooth; */
}

*,
*::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;
}

a[class] {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* font-family: 'Raleway', sans-serif; */
/* font-family: 'Merriweather', serif; */
/* font-family: 'Montserrat', sans-serif; */

body {
  min-height: 100vh;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 14px;
  font-style: normal;
  line-height: 24px;
  color: #3C3F3E;
}

.dark {
  color: #B0B0B0;
  background-color: #2A2626;
}

.container {
  max-width: 1190px;
  padding: 0 10px;
  margin: 0 auto;
}

.title {
  font-size: 60px;
  line-height: 75px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -1.65px;
  color: #2A2626;
  padding-bottom: 18px;
  align-self: flex-start;
  position: relative;
}

.title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: #E5B63A;
  bottom: 0;
  left: 0;
}

.header__top{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
 
  z-index: 10;
}

.header__top-inner {
  padding-bottom: 29px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.logo {
  position: relative;
  z-index: 2;
}

.menu__btn {
  display: none;
  position: relative;
  z-index: 2;
}

.menu__list {
  display: flex;
}

.menu__list-item+.menu__list-item {
  margin-left: 32px;
}

.menu__list-link {
  padding: 0 9px 9px;
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: #3C3F3E;
  font-weight: bold;
  font-family: 'Raleway', sans-serif;
  border-bottom: 1px solid transparent;
  letter-spacing: 0.6px;
  transition: all .3s;
}

.menu__list-link:hover {
  border-bottom: 1px solid #E5B63A;
}

.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;
  padding-top: 100px;
}

.header__content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: calc(100vh - 93px);

}

.header__title {
  font-weight: 500;
  font-size: 72px;
  line-height: 88px;
  color: #FFFFFF;
  margin-top: auto;
  margin-bottom: 19px;
  padding-top: 130px;
}

.header__subtitle {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 2.74286px;
  color: #E5B63A;
  margin-bottom: auto;
}

.header__icon {
  margin-bottom: 62px;
}

.about {
  background-color: #F2F5F7;
  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-top: 10px;
  margin-right: 30px;
  flex: none;

}

.expertise__info-item {
  border-top: 2px solid #222222;
  padding: 2px 0 28px;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 11px;
  line-height: 20px;
  letter-spacing: 1px;
  color: #222222;
  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: #EBEBEB;
  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;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
}

.expertise__item--desigh::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: #363636;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.expertise__item-text {
  color: #6E6E6E;

}

.magic {
  background-color: #F2F5F7;
  background-image: url("../images/magic.jpg");
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: left 82%;
}




.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;
  font-weight: 600;
  font-size: 12px;
  line-height: 24px;
  color: #363636;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 4px 5px;
  cursor: pointer;
  outline-color: #E5B63A;
}

.portfolio__btn+.portfolio__btn {
  margin-left: 25px;
}

.mixitup-control-active {

  border-bottom: 1px solid #E5B63A;
}

.portfolio__content {
  column-count: 4;
  column-gap: 22px;
  margin-bottom: 52px;
}

.portfolio__item {
  margin-bottom: 22px;
  position: relative;
}

.portfolio__item:hover .portfolio__item-link {
  opacity: 1;
}

.portfolio__item-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 1.4px;
  color: #FFFFFF;
  background-color: #504E4E;
  border: 12px solid #6A6868;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all .3s;



}

.portfolio__item img {
  width: 100%;
}

.portfolio_add {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 1.2px;
  color: #2A2626;
  text-align: center;
  text-transform: uppercase;
  padding: 42px 15px 41px;
  background-color: #F2F5F7;
  margin-bottom: 130px;
}

.blockquote {
  max-width: 650px;
  margin: 0 auto 148px;
  text-align: center;
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 36px;
  color: #2A2626;
}

.blockquote__author {
  display: block;
  color: #959595;
  font-size: 14px;
  line-height: 32px;
  padding-top: 51px;
}

.portfolio__video {
  background-image: url("../images/video-bg1.jpg");
  height: 324px;
  background-repeat: no-repeat;
  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 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 60px;
  line-height: 73px;
  color: #2A2626;
  margin-bottom: 9px;
}

.portfolio__numbers-item span {
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size: 14px;
  line-height: 19px;
  color: #363636;
}

.slider-blog {
  background-color: #F5F3F7;
  padding: 115px 0;
}

.slider-blog__item {
  padding: 160px 0;
}

.slider-blog__item-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 52px;
  margin-bottom: 10px;
  max-width: 675px;
  color: #3C3F3E;
  display: inline-block;
}

.slider-blog__item-descr {
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
  color: #3C3F3E;
  max-width: 585px;
}

.slick-dots {
  display: flex;

}

.slick-dots li:not(:last-child) {
  margin-right: 13px;
}

.slick-dots .slick-active button {
  opacity: 1;
  width: 10px;
  height: 10px;
  transform: translateY(-2px);
}

.slick-dots button {
  background-color: #2A2626;
  opacity: 0.4;
  height: 6px;
  width: 6px;
  border-radius: 50%;
  font-size: 0;
  padding: 0;
  border: none;
}

.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 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  padding: 35px 0 12px;
  color: #363636;
}

.team__position {
  font-size: 12px;
  line-height: 16px;
}

.pricing {
  background-color: #F2F5F7;
  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;
  font-size: 16px;
  line-height: 22px;
  color: #2A2626;
  margin-bottom: 30px;
}

.pricing__item .pricing__item-name {
  text-align-last: 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 {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  margin-top: 70px;
  letter-spacing: 1.2px;
  color: #2A2626;

}

.clients {
  padding: 70px 0 95px;
}

.clients__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.conection {
  padding: 145px 0 162px;
  background-image: url("../images/map.jpg");
  background-repeat: no-repeat;
  background-size: 40%;
  background-position: right 65%;
}

.conection__title {
  margin-bottom: 80px;
}

.form {
  max-width: 570px;
}

.form input,
.form textarea {
  border: none;
  display: block;
  width: 100%;
  border-bottom: 2px solid #3C3F3E;
  padding: 16px 0;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: bold;
}

.form input::placeholder,
.form textarea::placeholder {
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: #B0B0B0;
  letter-spacing: 3.7px;
  font-weight: 300;
}

form textarea {
  min-height: 140px;
  resize: none;
}

.form button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  padding: 17px 70px 15px;
  border: none;
  background-color: #2A2626;
  cursor: pointer;
  margin-top: 40px;

}

.footer__top {
  padding: 110px 10px 60px;
  background-color: #363636;
  text-align: center;
}

.footer__logo {
  display: inline-block;
  padding: 0 35px 4px;
  border-bottom: 2px solid #E5B63A;
  margin-bottom: 70px;
}

ul.footer__social {
  display: flex;
  justify-content: center;
  margin-bottom: 65px;
}

.footer__social-list {
  padding: 0 15px;
}

.footer__social-link {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
}

.footer__contact {
  font-size: 14px;
  line-height: 32px;
  color: #ffffff;
  margin-bottom: 60px;
}

.footer__contact a {
  display: block;
  margin: 10px 0;
  color: inherit;
}

.go-top {
  display: inline-block;
}

.footer__copy {
  padding: 40px 10px;
  text-align: center;
  color: #C4C4C4;
  background-color: #2E302F;
}

@media(max-width: 1440px) {
  .magic__inner {
    padding: 50px 0;
  }



  .slick-prev {
    left: 0;
  }

  .slick-next {
    right: 0;
  }

  .slider-blog__item {
    padding: 120px 60px;
  }

  ul.slick-dots {
    margin-left: 60px;
  }
}

@media(max-width: 1200px) {

  .about,
  .expertise,
  .portfolio,
  .slider-blog,
  .team,
  .pricing,
  .conection {
    padding: 75px 0;
  }

  .header__top-inner{
    padding-bottom: 5px;
  }

  .about__inner {
    display: block;

  }

  .title {
    font-size: 48px;
    line-height: 65px;
  }

  .about__title,
  .expertise__title,
  .about__title,
  .pricing__title,
  .conection__title {
    margin-bottom: 50px;
  }

  .about__text p {
    max-width: 100%;
  }

  .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__top {
    display: block;
    margin-bottom: 50px;
  }

  .portfolio__filter-btn {
    margin-top: 40px;
  }

  .portfolio__content {
    column-count: 3;
    column-gap: 22px;
    /* margin-bottom: 50px; */
  }

  .conection {
    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.3333%;
    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;
  }

  .menu__btn {
    display: block;
    background-color: transparent;
    border: none;
    padding: 0;
    margin-top: 30px;
  }

  .header__top-inner path,
  .header__top-inner rect {
    transition: fill .5s ease;
  }

  .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__title {
    font-size: 50px;
    line-height: 65px;
    margin-bottom: 10px;
  }

  .header__subtitle {
    font-size: 14px;
    line-height: 16px;
  }

  .title {
    font-size: 48px;
    line-height: 60px;
  }

  .portfolio__content {
    column-count: 2;

    /* margin-bottom: 50px; */
  }

  .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;
  }

  .slider-blog__item-title {

    font-size: 24px;
    line-height: 32px;
  }

  ul.slick-dots {
    margin-left: 0;
  }

  .pricing__items {
    display: block;
  }

  ul.pricing__item {
    margin: 0 auto 25px;
    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: 25px;
  }

  .team__item img {
    margin: 0 auto;
  }
}

@media (max-width: 440px) {
  .header__title {

    font-size: 36px;
    line-height: 44px;
  }

  .header__subtitle {
    font-size: 12px;
    line-height: 14px;
  }

  .about__title,
  .title {
    font-size: 28px;
    line-height: 42px;
  }

  .portfolio__content {
    column-gap: 12px;
  }

  .portfolio__item {
    margin-bottom: 12px;
  }

  .portfolio__numbers-item {
    width: 100%;
  }

  .footer__social-list {
    width: 50%;
    margin-bottom: 25px;
  }
}

@media (max-height: 440px) {
  .header__icon {
    margin-bottom: 20px;
    padding-top: 30px;
  }


}

@media (max-width: 340px) {
  .expertise__item {
    padding-left: 0;
    padding-top: 60px;
  }


}