/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/montserrat-v31-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300;
  src: url("../fonts/montserrat-v31-latin-300italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat-v31-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/montserrat-v31-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #000;
  font-size: 16px;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.to-top {
  width: 44px;
  height: 44px;
  background: #3765af;
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 24px;
  right: 24px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(55, 101, 175, 0.4);
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.to-top:hover {
  background: #2d56a0;
  box-shadow: 0 6px 18px rgba(55, 101, 175, 0.5);
}

.to-top.visible {
  display: flex;
}

.to-top:active {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(55, 101, 175, 0.45);
}

/* loader */

.loader {
  position: fixed;
  background: #fff;
  overflow-y: hidden;
  top: 0;
  left: 0;
  z-index: 10000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100vh;
  transition: opacity 1.8s;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: opacity 1.8s;
  -moz-transition: opacity 1.8s;
  -ms-transition: opacity 1.8s;
  -o-transition: opacity 1.8s;
}

@-webkit-keyframes arrows {
  0%,
  100% {
    color: #fff;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    color: #1270fc;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}

@keyframes arrows {
  0%,
  100% {
    color: #fff;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  50% {
    color: #1270fc;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}

.loader-item {
  --delay: 0s;
  animation: arrows 1s var(--delay) infinite ease-in;
  font-size: 60px;
  color: #1270fc;
  margin-right: 10px;
  text-shadow: 7px 14px 10px #1270fc;
  -webkit-animation: arrows 1s var(--delay) infinite ease-in;
}

.loader.disable {
  opacity: 0;
}

/* loader */

/* hero wrapper */

.hero-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* header */

.header {
  padding-top: 18px;
  flex-shrink: 0;
}

.header-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.about-user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.user-ava {
  width: 80px;
  -webkit-transition: -webkit-transform 2.1s;
  transition: -webkit-transform 2.1s;
  transition: transform 2.1s;
  transition:
    transform 2.1s,
    -webkit-transform 2.1s;
  -webkit-transition: transform 2.1s;
  -moz-transition: transform 2.1s;
  -ms-transition: transform 2.1s;
  -o-transition: transform 2.1s;
}

.user-ava:hover {
  transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  -o-transform: rotate(360deg);
}

.user-name {
  font-size: 16px;
  line-height: 15px;
  font-weight: 700;
  color: #2b2a2c;
}

.user-occupation {
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  color: #6a696b;
}

.nav-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #2b2a2c;
  margin-right: 30px;
  position: relative;
}

.nav-link:after {
  content: "";
  position: absolute;
  height: 2px;
  top: 20px;
  left: 0;
  width: 0;
  background: #3765af;
  transition: width 0.3s;
  -webkit-transition: width 0.3s;
  -moz-transition: width 0.3s;
  -ms-transition: width 0.3s;
  -o-transition: width 0.3s;
}

.nav-link:not(.hire--btn):hover:after {
  width: 100%;
}

.hire--btn {
  border: 2px solid #000;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #2b2a2c;
  transition:
    background 0.3s,
    color 0.3s;
  -webkit-transition:
    background 0.3s,
    color 0.3s;
  -moz-transition:
    background 0.3s,
    color 0.3s;
  -ms-transition:
    background 0.3s,
    color 0.3s;
  -o-transition:
    background 0.3s,
    color 0.3s;
}

.hire--btn:hover {
  background: #3765af;
  border: 2px solid #3765af;
  color: #fff;
}

.overflow {
  overflow-y: hidden;
}

/* header /*/

/* intro */

.intro {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.intro-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
}

.intro-about {
  width: 45%;
}

.intro__title {
  line-height: 15px;
  font-weight: 300;
  color: #2b2a2c;
  font-size: 45px;
  line-height: 48px;
  font-weight: 700;
  margin-bottom: 28px;
}

.intro__subtitle {
  font-size: 18px;
  line-height: 2;
  font-weight: 400;
  color: #6a696b;
  display: block;
  margin-bottom: 18%;
}

.intro__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.btn {
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 25px;
  border: 2px solid #3765af;
  border-radius: 25px;
  cursor: pointer;
  background: #3765af;
  color: #fff;
  border: 2px solid #3765af;
  -webkit-box-shadow: -3px 4px 1px 0px rgba(0, 0, 0, 0.76);
  box-shadow: -3px 4px 1px 0px rgba(0, 0, 0, 0.76);
  margin-right: 10px;
  font-weight: 600;
  color: #fff;
  -webkit-transition: -webkit-box-shadow 0.3s;
  transition: -webkit-box-shadow 0.3s;
  transition: box-shadow 0.3s;
  transition:
    box-shadow 0.3s,
    -webkit-box-shadow 0.3s;
  -webkit-transition: box-shadow 0.3s;
  -moz-transition: box-shadow 0.3s;
  -ms-transition: box-shadow 0.3s;
  -o-transition: box-shadow 0.3s;
}

.btn:hover {
  -webkit-box-shadow: -6px 6px 1px 0px rgba(0, 0, 0, 0.7);
  box-shadow: -6px 6px 1px 0px rgba(0, 0, 0, 0.7);
}

.intro__image-block {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.intro__image-block img {
  width: 300px;
}

.intro-animation {
  width: 100%;
  height: 480px;
  border: none;
}

/* hamburger menu */

.hamburger {
  display: none;
  position: absolute;
  top: 50px;
  right: 3%;
  width: 25px;
  height: 25px;
  z-index: 9;
  cursor: pointer;
}

.hamburger span,
.hamburger span:before,
.hamburger span:after {
  width: 25px;
  height: 2px;
  background-color: #000;
  position: absolute;
  content: "";
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.hamburger span:before {
  -webkit-transform: translateY(8px);
  -ms-transform: translateY(8px);
  transform: translateY(8px);
}

.hamburger span:after {
  -webkit-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  transform: translateY(-8px);
}

.hamburger_active span {
  background-color: transparent;
}

.hamburger_active span:before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hamburger_active span:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* hamburger menu /*/

/* intro /*/

/* canvas */

#canvas {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #0000000a;
  /* background-image: radial-gradient(#ff3cac8c 0%, #784ba0 40%, #2b86c5 100%); */
  z-index: -1;
}

/* canvas /*/

/* portfolio */

.portfolio {
  padding: 60px 0;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 10px auto 36px;
  text-align: center;
  column-gap: 45px;
}

.portfolio-filter__link.is-active {
  color: #3765af;
}

.portfolio-filter__link {
  font-size: 16px;
  line-height: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #6a696b;
  position: relative;
  padding-bottom: 5px;
}

.portfolio-filter__link:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  height: 2px;
  background: #3765af;
  width: 0;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transition: width 0.3s;
  -webkit-transition: width 0.3s;
  -moz-transition: width 0.3s;
  -ms-transition: width 0.3s;
  -o-transition: width 0.3s;
}

.filter {
  text-align: center;
  margin: 3% auto;
  width: 20%;
  color: #fff;
  padding: 10px 25px;
  font-weight: 600;
  -webkit-box-shadow: 0px 11px 17px 2px #0000002e;
  box-shadow: 0px 11px 17px 2px #0000002e;
  cursor: pointer;
  background: #3765af;
  display: none;
}

.load-more {
  text-align: center;
  margin: 40px auto;
  width: 250px;
  color: #fff;
  padding: 10px 25px;
  font-weight: 600;
  -webkit-box-shadow: 0px 11px 17px 2px #0000002e;
  box-shadow: 0px 11px 17px 2px #0000002e;
  cursor: pointer;
  background: #3765af;
  transition: box-shadow 0.3s ease-in;
  -webkit-transition: box-shadow 0.3s ease-in;
  -moz-transition: box-shadow 0.3s ease-in;
  -ms-transition: box-shadow 0.3s ease-in;
  -o-transition: box-shadow 0.3s ease-in;
}

.load-more:hover {
  box-shadow: 0px 1px 2px 3px #0000002e;
}

.portfolio-filter__link:hover:after {
  width: 100%;
}

.portfolio-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 20px;
}

.portfolio-content.hidden {
  display: none;
}

.portfolio-content__item {
  flex-basis: calc(33.333% - 14px);
  position: relative;
  border-radius: 10px;
  border: 1px solid #ccc;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 6px 6px 3px rgba(130, 136, 146, 0.4);
  transition: box-shadow 0.3s ease-in;
}

.portfolio-content__item:hover {
  -webkit-box-shadow: 0px 3px 3px 1px rgb(114 114 114 / 60%);
  box-shadow: 0px 3px 3px 1px rgb(114 114 114 / 60%);
}

.portfolio-content__item > a {
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-content__item > a::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center / 46px no-repeat,
    rgba(55, 101, 175, 0.52);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.portfolio-content__item:hover > a::after {
  transform: translateY(0);
}

.portfolio-content__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom: 4px solid #0e121421;
}

.portfolio-content__info {
  background: #fff;
  width: 100%;
  padding: 15px 20px;
  border-top: 2px solid #81757540;
  margin-top: auto;
}

.portfolio-content__category {
  font-size: 16px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #2b2a2c;
  display: block;
  margin-bottom: 3%;
}

.content-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.portfolio-content__title,
.portfolio-content__year {
  font-size: 16px;
  line-height: 15px;
  font-weight: 700;
  color: #2b2a2c;
}

.tooltip {
  width: 280px;
  position: fixed;
  padding: 10px 10px;
  border: 1px solid #b3c9ce;
  border-radius: 4px;
  text-align: center;
  font: 15px/1.3 sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  transform: translateY(-5px);
}

.tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.info_img {
  width: 35px;
  -webkit-filter: invert(6%) sepia(122%) saturate(11151%) hue-rotate(229deg)
    brightness(200%) contrast(100%);
  filter: invert(6%) sepia(122%) saturate(11151%) hue-rotate(229deg)
    brightness(200%) contrast(100%);
}

.info-tooltip {
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, serif;
  background: #3765af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.info-tooltip:hover {
  background: #4a7bc4;
}

.hidden-block {
  display: none;
}

.portfolio-content__item {
  transform: translateY(20px);
  animation: fadeIn 0.9s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-all .portfolio-content__item {
  display: block;
}

/* portfolio /*/

/* reviews */

.reviews {
  background: #000;
  padding: 60px 0 80px;
  margin-bottom: 100px;
  margin-top: 80px;
  position: relative;
  overflow: visible;
}

.review-block {
  margin: 0 auto;
  width: 85%;
}

.review-text {
  font-size: 14px;
  padding-bottom: 12px;
  line-height: 32px;
  font-weight: 200;
  font-style: italic;
  color: #ffffff;
  text-align: center;
}

.reviews-title {
  text-align: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 18px;
}

.left-arrow,
.right-arrow {
  position: absolute;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.left-arrow {
  left: 5%;
}

.right-arrow {
  right: 5%;
}

.left-arrow svg,
.right-arrow svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.left-arrow:hover,
.right-arrow:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.left-arrow:active,
.right-arrow:active {
  transform: translateY(-50%) scale(0.93);
}

.review-item {
  display: none;
}

.review-item.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-author {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translate(-50%, 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-author__img-block {
  width: 100px;
  height: 100px;
}

.review-author__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author__name {
  font-size: 16px;
  line-height: 32px;
  font-weight: 700;
  color: #2b2a2c;
  text-align: center;
  white-space: nowrap;
  margin-top: 8px;
}

/* reviews /*/

/* advantages */

.advantages {
  padding-top: 0;
  overflow-x: hidden;
}

.advantages-container {
  border-top: 1px solid #dadadad9;
  margin-top: 50px;
  padding-top: 45px;
}

.advantages-title {
  text-align: center;
  margin: 30px 0;
}

.advantages-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding-top: 15px;
}

.advantages-item {
  width: 33.3333%;
  margin-bottom: 50px;
  padding: 0 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.advantages-img {
  width: 120px;
  margin-bottom: 20px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.advantages-img:hover {
  transform: translateY(-8px);
  opacity: 0.85;
}

.advantages-desc {
  text-align: center;
  line-height: 1.5;
}

/* advantages /*/

/* carousel */
:root {
  --carousel-width: 100vw;
  --carousel-height: 120px;
  /* --carousel-elements: 12; */
  /* defined with JavaScript */
  --carousel-elements-displayed: 5;
  --carousel-element-width: calc(
    var(--carousel-width) / var(--carousel-elements-displayed)
  );
  --carousel-animation-duration: calc(var(--carousel-elements) * 3s);
}

.carousel {
  width: var(--carousel-width);
  height: var(--carousel-height);
  background-color: #3765af;
  color: #eee;
  overflow: hidden;
  position: relative;
}

.carousel:before,
.carousel:after {
  position: absolute;
  top: 0;
  width: 10rem;
  height: 100%;
  content: "";
  z-index: 1;
}

/* .carousel:before {
	left: 0;
	background: linear-gradient(to right, #111 0%, transparent 100%);
}

.carousel:after {
	right: 0;
	background: linear-gradient(to left, #111 0%, transparent 100%);
} */

.carousel-content {
  list-style: none;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-animation: scrolling var(--carousel-animation-duration) linear
    infinite;
  animation: scrolling var(--carousel-animation-duration) linear infinite;
}

/* .carousel-content:hover {
  animation-play-state: paused;
} */
@-webkit-keyframes scrolling {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(
      calc(-1 * var(--carousel-element-width) * var(--carousel-elements))
    );
    transform: translateX(
      calc(-1 * var(--carousel-element-width) * var(--carousel-elements))
    );
  }
}

@keyframes scrolling {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(
      calc(-1 * var(--carousel-element-width) * var(--carousel-elements))
    );
    transform: translateX(
      calc(-1 * var(--carousel-element-width) * var(--carousel-elements))
    );
  }
}

.carousel-content li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* text-align: center; */
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: var(--carousel-element-width);
  max-height: 100%;
  font-size: calc(var(--carousel-height) * 3 / 4);
  /* 5rem; */
  white-space: nowrap;
}

.carousel-content li img {
  width: 120px;
}

@media (max-width: 600px) {
  html {
    font-size: 12px;
  }

  :root {
    --carousel-width: 100vw;
    --carousel-height: 16vh;
    --carousel-elements-displayed: 3;
  }

  .carousel:before,
  .carousel:after {
    width: 5rem;
  }
}

/* carousel */

/* services */

.services {
  padding: 100px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}

.services-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-item {
  padding: 0;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dfdddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-block: 10px;
}

.services-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #3765af, #5a9cf5);
  transition: width 0.4s ease;
  z-index: 1;
}

.services-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #3765af, #5a9cf5);
  transition: width 0.4s ease;
  z-index: 1;
}

.services-item:hover::before {
  width: 100%;
}

.services-item:hover::after {
  width: 0;
}

.services-item:hover {
  box-shadow: 0 12px 32px rgba(55, 101, 175, 0.12);
}

.services-item:hover .services-img-wrap {
  background: #3765af;
}

.services-item:hover .services-img {
  filter: brightness(0) invert(1);
}

.services-img-wrap {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #eef3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  transition: background 0.3s;
}

.services-title {
  font-size: 18px;
  line-height: 1.4;
  color: #2b2a2c;
  font-weight: 600;
  padding: 18px 20px 0;
}

.services-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  padding: 10px 20px 0;
  margin: 0;
}

.services-list {
  list-style: none;
  padding: 16px 20px 28px;
  margin: 0;
  width: 100%;
  text-align: left;
}

.services-list li {
  font-size: 14px;
  color: #4b5563;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.services-list li:last-child {
  border-bottom: none;
}

.services-list li::before {
  content: "—";
  color: #3765af;
  margin-right: 8px;
}

.services-img {
  width: 32px;
  height: 32px;
  filter: invert(29%) sepia(70%) saturate(600%) hue-rotate(186deg)
    brightness(96%) contrast(90%);
  transition: filter 0.3s;
}

/* services /*/

/* footer */

.footer {
  background-color: #000;
  font-size: 14px;
  margin-top: 60px;
}

.footer-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 40px 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.copy {
  color: #ababab;
  display: inline-block;
  line-height: 1.6;
}

.icons {
  color: #ababab;
  display: inline-block;
  line-height: 1.6;
}

.footer-link {
  color: #039be5;
  transition: color 0.3s ease-in;
}

.footer-link:hover {
  color: #4bbcf5;
}

.vk-img {
  width: 36px;
  margin: 0 30px;
  filter: invert(365%) sepia(254%) saturate(1319%) hue-rotate(180deg)
    brightness(60%) contrast(100%);
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition:
    transform 0.3s,
    -webkit-transform 0.3s;
  -webkit-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -o-transition: transform 0.3s;
  -webkit-filter: invert(365%) sepia(254%) saturate(1319%) hue-rotate(180deg)
    brightness(60%) contrast(100%);
}

.vk-img:hover {
  transform: scale(1.3);
  -webkit-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -ms-transform: scale(1.3);
  -o-transform: scale(1.3);
}

.svg-social {
  width: 25px;
  color: aliceblue;
}

.footer-social {
  max-width: 250px;
  width: 100%;
}

.footer-social__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-social__link {
  width: 50px;
  height: 50px;
  border: 2px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
}

.gmail_icon:hover {
  box-shadow: inset 0 0 30px #c71610;
}

.ln-icon:hover {
  box-shadow: inset 0 0 30px #0a66c2;
}

.tm-icon:hover {
  box-shadow: inset 0 0 30px #32a9e1;
}

.yt-icon:hover {
  box-shadow: inset 0 0 30px #ff0033;
}

.footer-privacy {
  color: #ababab;
  margin-top: 5px;
}

/* footer */

/* popup */

.popup {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000080;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.popup.is-active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  overflow-y: scroll;
}

.popup__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.mobile-menu__ul {
  margin: 0;
  padding: 0;
}

.mobile-menu {
  width: 100%;
  margin: 0 auto;
}

.mobile-menu__li {
  text-align: center;
  transition: background 0.3s;
  -webkit-transition: background 0.3s;
  -moz-transition: background 0.3s;
  -ms-transition: background 0.3s;
  -o-transition: background 0.3s;
  margin-bottom: 3%;
}

.mobile-menu__link {
  font-family: "Montserrat";
  font-size: 24px;
  padding: 3% 0;
  line-height: 24px;
  font-weight: 900;
  color: #1f1f1f;
  display: inline-block;
  height: 100%;
  width: 100%;
  transition: color 0.3s;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  -ms-transition: color 0.3s;
  -o-transition: color 0.3s;
}

.popup__phone {
  width: 199px;
  height: 43px;
  border: 3px solid #ffa650;
  border-radius: 21.5px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  color: #ffa650;
}

.popup .social {
  margin-top: 5%;
}

.mobile-menu__li:hover {
  background-color: #ffa650;
}

.mobile-menu__link:hover {
  color: #fff;
}

.popup__wrapper {
  display: table;
  height: 100%;
  width: 100%;
  padding: 5%;
}

.popup__inner {
  display: table-cell;
  vertical-align: middle;
}

.popup__content {
  background-color: #fff;
  padding: 25px 0 35px;
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  position: relative;
}

.close-btn {
  position: absolute;
  background: none;
  border: none;
  padding: 0;
  border: 0;
  width: 33px;
  height: 23px;
  outline: none;
  cursor: pointer;
  display: inline-block;
  -webkit-transition:
    opacity 0.3s,
    -webkit-transform 0.3s;
  transition:
    opacity 0.3s,
    -webkit-transform 0.3s;
  transition:
    transform 0.3s,
    opacity 0.3s;
  transition:
    transform 0.3s,
    opacity 0.3s,
    -webkit-transform 0.3s;
  -webkit-transition:
    transform 0.3s,
    opacity 0.3s;
  -moz-transition:
    transform 0.3s,
    opacity 0.3s;
  -ms-transition:
    transform 0.3s,
    opacity 0.3s;
  -o-transition:
    transform 0.3s,
    opacity 0.3s;
}

.close-btn:before,
.close-btn:after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 28px;
  background-color: #1f1f1f;
  border-radius: 1.5px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.close-btn:before {
  transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
  -moz-transform: translateY(-50%) rotate(45deg);
  -ms-transform: translateY(-50%) rotate(45deg);
  -o-transform: translateY(-50%) rotate(45deg);
}

.close-btn:after {
  transform: translateY(-50%) rotate(-45deg);
  -webkit-transform: translateY(-50%) rotate(-45deg);
  -moz-transform: translateY(-50%) rotate(-45deg);
  -ms-transform: translateY(-50%) rotate(-45deg);
  -o-transform: translateY(-50%) rotate(-45deg);
}

.close-btn:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.close-btn:active {
  opacity: 0.8;
  transform: scale(0.9);
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
}

.popup__close-btn {
  top: 20px;
  right: 15px;
}

.form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.form__input {
  background-color: rgb(247, 247, 247);
  border-radius: 15px;
  border: 2px solid transparent;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  outline: none;
  padding: 14px 15px 14px 15px;
  margin-bottom: 20px;
}

.form__input:focus {
  border: 2px solid #3765af;
}

.form .order__btn {
  text-align: center;
  margin: 5% auto 0;
}

input[name="check_website"] {
  display: none;
}

.form .btn {
  margin-right: 0;
}

#textarea {
  min-width: 300px;
  min-height: 100px;
  height: 120px;
  margin-bottom: 7%;
  border: 2px solid #e3e0e0;
  resize: none;
  line-height: 1.7;
  border-radius: 14px;
  padding: 13px 10px;
  outline: none;
}

.popup-social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 4%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* popup /*/

.gdpr-notice {
  font-size: 13px;
  line-height: 1.4;
  color: #777;
  max-width: 320px;
}

.gdpr-notice a {
  color: inherit;
  text-decoration: underline;
}

.cookie-note {
  color: #ababab;
  line-height: 1.6;
  max-width: 55%;
  margin-left: auto;
}

.footer__block-wrap {
  display: flex;
  flex-direction: column;
  width: 33%;
}

/* ----------------------MEDIA QUERIES-------------------  */

@media screen and (max-width: 992px) {
  .portfolio-filter {
    column-gap: 30px;
  }

  .intro__title {
    font-size: 35px;
  }

  .intro__subtitle {
    font-size: 16px;
  }

  .btn {
    padding: 9px 15px;
  }

  .portfolio-content__item {
    flex-basis: calc(50% - 14px);
  }

  .advantages-item {
    padding: 0 18px;
  }

  .services-block {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__block-wrap {
    width: 50%;
  }

  .footer-block {
    flex-wrap: wrap;
  }

  .cookie-note {
    margin-left: unset;
  }
}

@media screen and (max-width: 915px) {
  .intro {
    padding-top: 65px;
  }

  .intro__title {
    font-size: 38px;
    text-align: center;
  }

  .btn {
    font-size: 15px;
  }

  .intro__buttons {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .intro__subtitle {
    text-align: center;
    margin-bottom: 5%;
    font-size: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .intro-content {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-bottom: 65px;
  }

  .intro-about {
    width: 100%;
    margin-bottom: 14px;
  }

  .intro__image-block {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .header-content {
    display: block;
  }

  .navigation {
    display: none;
  }

  .active .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    background: #fff;
    position: absolute;
    top: 0;
    margin-top: 12%;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
  }

  .nav-link {
    margin-right: 0;
    margin-bottom: 10%;
  }

  .about-user {
    -ms-flex-item-align: baseline;
    align-self: baseline;
  }

  .navigation.active {
    display: block;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    z-index: 8;
  }

  .hamburger {
    display: block;
  }

  .portfolio-filter {
    display: none;
  }

  .filter {
    display: block;
    width: 30%;
    margin: 15px auto 40px;
  }

  .portfolio-filter.open {
    width: 96%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .portfolio-filter__link {
    margin: 0 5% 4%;
  }

  .advantages-block {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .advantages-item {
    width: 50%;
  }

  .advantages-container {
    margin-top: 20px;
  }

  .intro-animation {
    height: 380px;
  }
}

@media screen and (max-width: 863px) {
  .advantages-block {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 840px) {
  .advantages-item {
    padding: 0 43px;
  }
}

@media screen and (max-width: 767px) {
  .portfolio {
    padding: 40px 0;
  }

  .services {
    padding: 60px 0;
  }

  .intro__subtitle {
    margin-bottom: 30px;
  }

  .intro__title {
    margin-bottom: 30px;
  }

  .intro__image {
    margin-top: 7%;
  }

  .review-text {
    padding: 0 18px;
  }

  .advantages-title {
    margin: 7% 0 8%;
  }

  .loader {
    display: none;
  }

  .footer-social__link {
    height: 45px;
    width: 45px;
  }

  .footer-social__list {
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  .intro {
    padding-top: 40px;
  }
}

@media screen and (max-width: 656px) {
  .services-block {
    grid-template-columns: 1fr;
  }

  .intro__title {
    font-size: 37px;
  }

  .btn {
    padding: 12px 18px;
  }

  .filter {
    display: block;
    width: 40%;
  }

  .advantages-item {
    width: 100%;
    margin-bottom: 9%;
  }

  .advantages-img {
    margin-bottom: 2%;
  }

  .footer__block-wrap {
    width: 100%;
  }

  .footer-block {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .cookie-note {
    max-width: 100%;
  }

  .footer-social {
    order: -5;
    margin-bottom: 15px;
  }

  .footer-meta {
    order: -3;
  }

  .footer-note {
    order: -2;
  }

  .footer-block {
    padding: 30px 10px;
  }
}

@media screen and (max-width: 576px) {
  .portfolio-content__item {
    flex-basis: calc(80% - 14px);
    margin: 0 auto;
  }

  .intro-animation {
    height: 280px;
  }

  .intro__title {
    font-size: 32px;
  }

  .intro__subtitle {
    display: block;
    width: 95%;
    line-height: 1.5;
    margin: 0 auto 20px;
    text-align: center;
  }

  .btn {
    margin-right: 0;
  }

  .intro__buttons {
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
  }

  .portfolio-filter__link {
    font-size: 15px;
  }

  .filter {
    display: block;
    width: 50%;
  }

  .carousel {
    height: 100px;
  }

  .reviews {
    margin-bottom: 80px;
    margin-top: 50px;
    position: relative;
  }

  .intro {
    padding-top: 40px;
  }

  .intro__title {
    margin-bottom: 15px;
  }

  .to-top {
    width: 40px;
    height: 40px;
    bottom: 12px;
    right: 12px;
  }
}

@media screen and (max-width: 531px) {
  .portfolio-content__item {
    flex-basis: calc(90% - 14px);
    margin: 0 auto;
  }

  .advantages-title {
    margin: 10% 0;
  }

  .footer-block {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .intro-content {
    padding-bottom: 30px;
  }

  .footer-social__link {
    height: 35px;
    width: 35px;
  }

  .svg-social {
    width: 16px;
  }
}

@media screen and (max-width: 460px) {
  .intro__title {
    font-size: 30px;
  }

  .intro__subtitle {
    width: 86%;
  }

  .intro__buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .btn {
    padding: 9px 31px;
    margin-bottom: 3%;
  }

  .portfolio-content__item {
    flex-basis: calc(95% - 14px);
    margin: 0 auto;
  }

  .left-arrow {
    left: 3%;
  }

  .right-arrow {
    right: 3%;
  }

  .advantages-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .vk-img {
    margin: 10px;
  }

  .carousel {
    height: 85px;
  }

  .intro-about {
    width: 100%;
    margin-bottom: 0px;
  }

  .intro {
    padding-bottom: 10px;
  }

  .portfolio-content__title {
    font-size: 18px;
  }

  .services {
    padding: 60px 0;
  }

  .services-header {
    margin-bottom: 24px;
  }

  .footer {
    margin-top: 20px;
  }

  .footer-social__list {
    column-gap: 14px;
    justify-content: center;
  }

  .carousel-content li img {
    width: 100px;
  }
}

@media screen and (max-width: 420px) {
  .intro__title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .intro__subtitle {
    width: 98%;
    margin-bottom: 20px;
  }

  .intro__image {
    width: 75%;
  }

  .portfolio-filter {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .portfolio-filter__link {
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
  }

  .left-arrow {
    left: 2%;
  }

  .right-arrow {
    right: 2%;
  }

  .advantages-item {
    padding: 0 10px;
  }

  .form__input {
    width: 100%;
    margin: 8px auto;
    height: 42px;
  }

  #textarea {
    min-width: 100%;
    margin: 20px auto;
  }

  .popup__close-btn {
    top: 15px;
    right: 12px;
  }

  .footer-block {
    padding: 25px 10px 20px;
  }

  .form {
    width: 85%;
  }

  .btn.formbtn {
    margin-bottom: 0;
  }

  .footer {
    font-size: 13px;
  }

  .cookie-note {
    margin-block: unset;
  }

  .to-top.visible {
    display: none;
  }
}

@media screen and (max-width: 385px) {
  .intro {
    padding-top: 30px;
  }

  .intro__subtitle {
    font-size: 18px;
  }
}

@media screen and (max-width: 362px) {
  .intro__title {
    font-size: 22px;
  }

  .intro__subtitle {
    font-size: 16px;
  }

  .advantages-title {
    font-size: 17px;
    line-height: 1.7;
  }

  .form__input {
    padding: 10px 85px 10px 20px;
  }

  .formbtn {
    width: 60%;
    margin: 0 auto !important;
  }

  .portfolio-content__item {
    flex-basis: calc(100% - 10px);
    margin: 0 auto;
  }

  .load-more {
    width: auto;
  }

  #filter {
    margin-bottom: 30px;
  }
}

/* for height */
@media screen and (max-height: 420px) {
  .nav-link {
    margin-bottom: 5%;
  }
}

@media screen and (max-height: 321px) {
  .intro {
    padding-top: 10px;
  }

  .intro__subtitle {
    display: block;
    width: 80%;
    line-height: 1.5;
    margin: 0 auto 5%;
  }

  .intro__title {
    margin-bottom: 15px;
  }

  .portfolio-content__title {
    font-size: 22px;
  }
}
