:root {
  --main-font: "Roboto", sans-serif;
  --secondary-font: "Raleway", sans-serif;
  --main-txt-cl: #212121;
  --main-txt-item-cl: #757575;
  --accent-txt-cl: #2196f3;
  --logo-style-cl: #000000;
  --header-phone-number: #757575;
  --hero-txt-cl: #ffffff;
  --Dark-bg-cl-1: #2f303a;
  --hero-button-bg-cl: #188ce8;
  --portfolio-buttons-bg-cl: #f5f4fa;
  --footer-socil-link-accent-cl: #44454e;
  --backdrop-cl: rgba(0, 0, 0, 0.2);
  --prrofession-bg-cl: rgba(47, 48, 58, 0.8);
  --overlay-bg-cl: rgba(33, 150, 243, 0.9);
  --social-link-cl: #afb1b8;
  --social-link-accent-cl: #ffffff;
  --social-link-bg-accent-cl: #2196f3;
  --anim-fast: 250ms;
  --indent: 30px;
  --items: 1;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.portfolio,
.clients,
.team,
.profession,
.benefits,
.hero {
  padding-top: 94px;
  padding-bottom: 94px;
}
.products__list,
.portfolio__list,
.socials-icons__list,
.footer__list,
.clients__list,
.teammate__list,
.team__list,
.profession__list,
.benefits__list,
.contacts,
.nav__list,
.social-links,
.menu-contacts,
.menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.products__link,
.socials-icons__link,
.footer__link,
.footer__logo,
.clients__link,
.teammate__link,
.contacts__mail,
.contacts__phone-number,
.nav__link,
.header__logo,
.socila-links__link,
.menu-contacts__link,
.menu__link {
  text-decoration: none;
  color: currentColor;
}
body {
  font-family: var(--main-font);
  color: var(--main-txt-cl);
  font-size: 14px;
  letter-spacing: 0.03em;
  background-color: var(--hero-txt-cl);
}
.no-scroll {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6,
ul,
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}
.conteiner {
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
@media screen and (min-width: 480px) {
  .conteiner {
    width: 480px;
  }
}
@media screen and (min-width: 768px) {
  .conteiner {
    width: 768px;
  }
}
@media screen and (min-width: 1200px) {
  .conteiner {
    width: 1200px;
  }
}
.btn {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.625;
  text-align: center;
  color: var(--main-txt-cl);
}
address {
  font-style: normal;
}
.logo {
  font-family: var(--secondary-font);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1666666667;
  color: var(--accent-txt-cl);
}
@media screen and (min-width: 1200px) {
  .logo {
    font-size: 26px;
    line-height: 1.1923076923;
  }
}
.menu {
  position: fixed;
  padding: 48px 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--hero-txt-cl);
  z-index: 100;
  font-weight: 500;
  letter-spacing: 0.02em;
  -webkit-transition: -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}
@media screen and (min-width: 320px) and (max-width: 479px) {
  .menu {
    padding: 30px 22px;
  }
}
@media screen and (orientation: landscape) {
  .menu {
    padding: 25px 18px;
  }
}
.menu__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 32px;
  margin-bottom: auto;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  font-size: 40px;
  line-height: 1.175;
}
@media screen and (min-width: 320px) and (max-width: 479px) {
  .menu__list {
    gap: 15px;
    font-size: 30px;
  }
}
@media screen and (orientation: landscape) {
  .menu__list {
    font-size: 20px;
    gap: 10px;
  }
}
.menu__link {
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu__link--current {
  color: var(--accent-txt-cl);
}
.menu__link:active {
  color: var(--accent-txt-cl);
}
.menu.is-open {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.menu-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 0;
  border: none;
  background-color: var(--hero-txt-cl);
  cursor: pointer;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-button:active {
  color: var(--accent-txt-cl);
}
.menu-button__icon {
  fill: currentColor;
}
.menu-contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}
@media screen and (orientation: landscape) {
  .menu-contacts {
    margin-bottom: 44px;
  }
}
.menu-contacts__mail {
  font-size: 34px;
  line-height: 1.1764705882;
  color: var(--accent-txt-cl);
}
@media screen and (min-width: 320px) and (max-width: 479px) {
  .menu-contacts__mail {
    font-size: 25px;
  }
}
@media screen and (orientation: landscape) {
  .menu-contacts__mail {
    font-size: 20px;
  }
}
.menu-contacts__phone-number {
  font-size: 24px;
  line-height: 1.1666666667;
  color: var(--main-txt-item-cl);
}
@media screen and (orientation: landscape) {
  .menu-contacts__phone-number {
    font-size: 20px;
  }
}
.social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
@media screen and (orientation: landscape) {
  .social-links {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
.socila-links__link {
  font-size: 18px;
  line-height: 1.5714285714;
  color: var(--accent-txt-cl);
}
.socila-links__link--style::after {
  content: "";
  width: 22px;
  height: 0;
  border: 1px solid rgba(33, 33, 33, 0.2);
  margin: 0 10px;
}
@media screen and (min-width: 320px) and (max-width: 479px) {
  .socila-links__link--style::after {
    margin: 0 5px;
  }
}
@media screen and (min-width: 320px) and (max-width: 479px) {
  .socila-links__link {
    font-size: 15px;
  }
}
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--backdrop-cl);
  z-index: 1000;
  -webkit-transition-property: opacity 250ms ease-out, visibility 250ms ease-out;
  transition-property: opacity 250ms ease-out, visibility 250ms ease-out;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
.backdrop.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.backdrop.is-hidden .modal {
  opacity: 0;
  -webkit-transform: translate(-50%, -50%) scale(0.4) rotate(1turn);
  transform: translate(-50%, -50%) scale(0.4) rotate(1turn);
}
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(1) rotate(0);
  transform: translate(-50%, -50%) scale(1) rotate(0);
  background-color: var(--hero-txt-cl);
  border-radius: 4px;
  -webkit-transition: opacity 400ms ease-in-out 200ms,
    -webkit-transform 400ms ease-in-out 200ms;
  transition: opacity 400ms ease-in-out 200ms,
    -webkit-transform 400ms ease-in-out 200ms;
  transition: transform 400ms ease-in-out 200ms, opacity 400ms ease-in-out 200ms;
  transition: transform 400ms ease-in-out 200ms, opacity 400ms ease-in-out 200ms,
    -webkit-transform 400ms ease-in-out 200ms;
  opacity: 1;
  padding: 40px;
  width: 450px;
  height: 609px;
}
@media screen and (max-width: 479px) {
  .modal {
    width: 290px;
    height: 450px;
    padding: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .modal {
    width: 528px;
    height: 581px;
  }
}
.modal__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 8px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background-color: var(--hero-txt-cl);
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal__btn:hover,
.modal__btn:focus {
  color: var(--accent-txt-cl);
}
.modal__icon {
  fill: currentColor;
}
.modal-form {
  text-align: center;
}
.modal-form__discription {
  display: block;
  font-size: 20px;
  margin-bottom: 12px;
}
@media screen and (max-width: 479px) {
  .modal-form__discription {
    font-size: 15px;
  }
}
.modal-form__group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
@media screen and (max-width: 479px) {
  .modal-form__group {
    gap: 5px;
    margin-bottom: 5px;
  }
}
.modal-form__field {
  position: relative;
  display: block;
}
.modal-form__input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  outline: none;
  border-radius: 4px;
  padding-left: 42px;
  -webkit-transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form__input:hover,
.modal-form__input:focus {
  border-color: var(--accent-txt-cl);
}
.modal-form__input:hover + .modal-form__icon,
.modal-form__input:focus + .modal-form__icon {
  fill: var(--accent-txt-cl);
}
@media screen and (max-width: 479px) {
  .modal-form__input {
    height: 30px;
    padding-left: 32px;
  }
}
.modal-form__icon {
  -webkit-transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form__icon {
  position: absolute;
  left: 12px;
  bottom: 11px;
}
@media screen and (max-width: 479px) {
  .modal-form__icon {
    left: 8px;
    bottom: 6px;
  }
}
.modal-form__input--comment-form {
  height: 120px;
  padding: 12px 16px;
  resize: none;
}
.modal-form__input--comment-form::-webkit-input-placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.1428571429;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}
.modal-form__input--comment-form::-moz-placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.1428571429;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}
.modal-form__input--comment-form:-ms-input-placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.1428571429;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}
.modal-form__input--comment-form::-ms-input-placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.1428571429;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}
.modal-form__input--comment-form::placeholder {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.1428571429;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}
@media screen and (max-width: 479px) {
  .modal-form__input--comment-form {
    height: 70px;
    padding: 6px 10px;
  }
  .modal-form__input--comment-form::-webkit-input-placeholder {
    font-size: 11px;
  }
  .modal-form__input--comment-form::-moz-placeholder {
    font-size: 11px;
  }
  .modal-form__input--comment-form:-ms-input-placeholder {
    font-size: 11px;
  }
  .modal-form__input--comment-form::-ms-input-placeholder {
    font-size: 11px;
  }
  .modal-form__input--comment-form::placeholder {
    font-size: 11px;
  }
}
.modal-form__comment {
  text-align: left;
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.1666666667;
  letter-spacing: 0.01em;
  color: var(--main-txt-item-cl);
}
.checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
@media screen and (max-width: 479px) {
  .checkbox {
    margin-bottom: 20px;
  }
}
.checkbox__input:checked + .checkbox__icon .checkbox__icon--uncheck {
  opacity: 0;
  -webkit-transition: opacity 250ms;
  transition: opacity 250ms;
}
.checkbox__icon--check {
  opacity: 0;
  -webkit-transition: opacity 250ms;
  transition: opacity 250ms;
}
.checkbox__input:checked + .checkbox__icon .checkbox__icon--check {
  opacity: 1;
}
.checkbox__text {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.1666666667;
  color: var(--main-txt-item-cl);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media screen and (max-width: 479px) {
  .checkbox__text {
    font-size: 10px;
  }
}
.checkbox__link {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.1666666667;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  color: var(--accent-txt-cl);
  text-underline-position: under;
}
@media screen and (max-width: 479px) {
  .checkbox__link {
    font-size: 10px;
    line-height: 1.2;
  }
}
.checkbox__btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.875;
  letter-spacing: 0.06em;
  padding: 10px 55px;
  color: var(--hero-txt-cl);
  background-color: var(--accent-txt-cl);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.checkbox__btn:hover,
.checkbox__btn:focus {
  background-color: var(--hero-button-bg-cl);
  -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}
.header {
  border-bottom: 1px solid #ececec;
}
.header__conteiner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .header__conteiner {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 10px 15px;
  }
}
.header__logo {
  color: var(--accent-txt-cl);
}
.header__logo--style {
  color: var(--logo-style-cl);
}
@media screen and (min-width: 1200px) {
  .header__logo {
    margin-right: 93px;
  }
}
@media screen and (min-width: 768px) {
  .header__logo {
    margin-right: 88px;
  }
}
.mobile-menu {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: none;
  background-color: var(--hero-txt-cl);
  padding: 0;
  cursor: pointer;
  -webkit-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu:active {
  color: var(--accent-txt-cl);
}
.mobile-menu__icon {
  fill: currentColor;
}
@media screen and (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.nav {
  margin-right: auto;
}
@media screen and (max-width: 767px) {
  .nav {
    display: none;
  }
}
.nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
}
.nav__link {
  display: block;
  color: var(--main-txt-cl);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.1428571429;
  letter-spacing: 0.02em;
  display: block;
  padding-top: 32px;
  padding-bottom: 32px;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__link:hover,
.nav__link:focus {
  color: var(--accent-txt-cl);
}
.nav__link--current {
  color: var(--accent-txt-cl);
  position: relative;
}
.nav__link--current::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  display: block;
  width: 100%;
  height: 4px;
  background: var(--accent-txt-cl);
  border-radius: 2px;
}
.contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 1199px) {
  .contacts {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }
}
@media screen and (min-width: 1200px) {
  .contacts {
    gap: 30px;
  }
}
.contacts__link {
  display: block;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.contacts__link:hover,
.contacts__link:focus {
  color: var(--accent-txt-cl);
}
@media screen and (min-width: 1200px) {
  .contacts__link {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
.contacts__mail,
.contacts__phone-number {
  font-weight: 500;
  color: var(--header-phone-number);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .contacts__mail,
  .contacts__phone-number {
    display: none;
  }
}
@media screen and (max-width: 1199px) {
  .contacts__mail,
  .contacts__phone-number {
    font-size: 12px;
  }
}
.contacts__icon {
  margin-right: 10px;
  fill: currentColor;
}
.hero {
  background-color: var(--Dark-bg-cl-1);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 118px 0;
  margin: 0 auto;
  background-image: -webkit-gradient(
      linear,
      left top,
      right top,
      from(rgba(47, 48, 58, 0.4)),
      to(rgba(47, 48, 58, 0.4))
    ),
    url("../images/bcg-img/img-@1x_sm.jpg");
  background-image: linear-gradient(
      to right,
      rgba(47, 48, 58, 0.4),
      rgba(47, 48, 58, 0.4)
    ),
    url("../images/bcg-img/img-@1x_sm.jpg");
}
@media screen and (min-width: 1200px) {
  .hero {
    padding: 200px 0;
    max-width: 1600px;
  }
}
@media (min-device-pixel-ratio: 2),
  (-webkit-min-device-pixel-ratio: 2),
  (min-resolution: 2dppx) {
  .hero {
    background-image: -webkit-gradient(
        linear,
        left top,
        right top,
        from(rgba(47, 48, 58, 0.4)),
        to(rgba(47, 48, 58, 0.4))
      ),
      url("../images/bcg-img/img-@2x_sm.jpg");
    background-image: linear-gradient(
        to right,
        rgba(47, 48, 58, 0.4),
        rgba(47, 48, 58, 0.4)
      ),
      url("../images/bcg-img/img-@2x_sm.jpg");
  }
}
@media screen and (min-width: 768px) {
  .hero {
    background-image: -webkit-gradient(
        linear,
        left top,
        right top,
        from(rgba(47, 48, 58, 0.4)),
        to(rgba(47, 48, 58, 0.4))
      ),
      url("../images/bcg-img/img-@1x_md.jpg");
    background-image: linear-gradient(
        to right,
        rgba(47, 48, 58, 0.4),
        rgba(47, 48, 58, 0.4)
      ),
      url("../images/bcg-img/img-@1x_md.jpg");
  }
}
@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2),
  screen and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 2),
  screen and (min-width: 768px) and (min-resolution: 2dppx) {
  .hero {
    background-image: -webkit-gradient(
        linear,
        left top,
        right top,
        from(rgba(47, 48, 58, 0.4)),
        to(rgba(47, 48, 58, 0.4))
      ),
      url("../images/bcg-img/img-@2x_md.jpg");
    background-image: linear-gradient(
        to right,
        rgba(47, 48, 58, 0.4),
        rgba(47, 48, 58, 0.4)
      ),
      url("../images/bcg-img/img-@2x_md.jpg");
  }
}
@media screen and (min-width: 1200px) {
  .hero {
    background-image: -webkit-gradient(
        linear,
        left top,
        right top,
        from(rgba(47, 48, 58, 0.4)),
        to(rgba(47, 48, 58, 0.4))
      ),
      url("../images/bcg-img/img-@1x_lg.jpg");
    background-image: linear-gradient(
        to right,
        rgba(47, 48, 58, 0.4),
        rgba(47, 48, 58, 0.4)
      ),
      url("../images/bcg-img/img-@1x_lg.jpg");
  }
}
@media screen and (min-width: 1200px) and (min-device-pixel-ratio: 2),
  screen and (min-width: 1200px) and (-webkit-min-device-pixel-ratio: 2),
  screen and (min-width: 1200px) and (min-resolution: 2dppx) {
  .hero {
    background-image: -webkit-gradient(
        linear,
        left top,
        right top,
        from(rgba(47, 48, 58, 0.4)),
        to(rgba(47, 48, 58, 0.4))
      ),
      url("../images/bcg-img/img@-2x_lg.jpg");
    background-image: linear-gradient(
        to right,
        rgba(47, 48, 58, 0.4),
        rgba(47, 48, 58, 0.4)
      ),
      url("../images/bcg-img/img@-2x_lg.jpg");
  }
}
.hero__discription {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.6153846154;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 auto;
  color: var(--hero-txt-cl);
  width: 360px;
  margin-bottom: 30px;
}
@media screen and (max-width: 479px) {
  .hero__discription {
    font-size: 20px;
    width: 280px;
  }
}
@media screen and (min-width: 1200px) {
  .hero__discription {
    font-size: 44px;
    line-height: 1.3636363636;
    width: 696px;
  }
}
.hero__button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: var(--accent-txt-cl);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.875;
  letter-spacing: 0.06em;
  color: var(--hero-txt-cl);
  border: none;
  cursor: pointer;
  min-width: 200px;
  -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 10px 32px;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__button:hover,
.hero__button:focus {
  background-color: var(--hero-button-bg-cl);
}
.benefits {
  padding: 60px 0;
}
@media screen and (min-width: 1200px) {
  .benefits {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}
.benefits__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 30px;
  width: auto;
}
@media screen and (min-width: 768px) {
  .benefits__list {
    --items: 2;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 1200px) {
  .benefits__list {
    --items: 4;
  }
}
.benefits__item {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7142857143;
  color: var(--main-txt-item-cl);
  -ms-flex-preferred-size: calc(
    (100% - var(--indent) * (var(--items) - 1)) / var(--items)
  );
  flex-basis: calc((100% - var(--indent) * (var(--items) - 1)) / var(--items));
}
@media screen and (min-width: 768px) {
  .benefits__item {
    width: 354px;
  }
}
@media screen and (min-width: 1200px) {
  .benefits__item {
    width: 270px;
  }
}
.benefits__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: var(--portfolio-buttons-bg-cl);
  padding: 25px 100px;
  margin-bottom: 30px;
}
.benefits__header {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1428571429;
  text-transform: uppercase;
  color: var(--main-txt-cl);
  margin-bottom: 10px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .benefits__header {
    text-align: left;
  }
}
.profession {
  padding-top: 0;
}
@media screen and (max-width: 1199px) {
  .profession {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  .profession {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}
.profession__header {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  color: var(--main-txt-cl);
  margin-bottom: 50px;
}
.profession__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}
.profession__item {
  -ms-flex-preferred-size: calc((100% - 60px) / 3);
  flex-basis: calc((100% - 60px) / 3);
  position: relative;
}
.profession__name {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1.1428571429;
  text-transform: uppercase;
  color: var(--hero-txt-cl);
  background-color: var(--prrofession-bg-cl);
}
.team {
  background-color: var(--portfolio-buttons-bg-cl);
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .team {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}
.team__header {
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
  color: var(--main-txt-cl);
}
.team__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.team__item {
  background-color: var(--hero-txt-cl);
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12),
    0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14),
    0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 0px 0px 4px 4px;
  -ms-flex-preferred-size: calc(
    (100% - var(--indent) * (var(--items) - 1)) / var(--items)
  );
  flex-basis: calc((100% - var(--indent) * (var(--items) - 1)) / var(--items));
}
@media screen and (min-width: 768px) {
  .team__item {
    --items: 2;
  }
}
@media screen and (min-width: 1200px) {
  .team__item {
    --items: 4;
  }
}
.teammate {
  padding: 30px;
}
.teammate__name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1875;
  text-align: center;
  color: var(--main-txt-cl);
  margin-bottom: 10px;
}
.teammate__profession {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1875;
  text-align: center;
  color: var(--main-txt-item-cl);
  margin-bottom: 16px;
}
.teammate__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
}
.teammate__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--social-link-cl);
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.teammate__link:hover,
.teammate__link:focus {
  color: var(--social-link-accent-cl);
  background-color: var(--social-link-bg-accent-cl);
}
.teammate__icon {
  fill: currentColor;
}
.clients {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .clients {
    padding-top: 94px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-bottom: 94px;
  }
}
.clients__header {
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1785714286;
  text-align: center;
  color: var(--main-txt-cl);
}
@media screen and (min-width: 1200px) {
  .clients__header {
    margin-bottom: 50px;
    font-size: 36px;
    line-height: 1.2;
  }
}
.clients__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
@media screen and (max-width: 479px) {
  .clients__list {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
.clients__item {
  --items: 2;
  -ms-flex-preferred-size: calc(
    (100% - var(--indent) * (var(--items) - 1)) / var(--items)
  );
  flex-basis: calc((100% - var(--indent) * (var(--items) - 1)) / var(--items));
}
@media screen and (min-width: 768px) {
  .clients__item {
    --items: 3;
  }
}
@media screen and (min-width: 1200px) {
  .clients__item {
    --items: 6;
  }
}
.clients__link {
  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;
  width: 210px;
  height: 92px;
  border: 1px solid var(--social-link-cl);
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: var(--social-link-cl);
  -webkit-transition-property: color, border-color;
  transition-property: color, border-color;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.clients__link:hover,
.clients__link:focus {
  border-color: var(--social-link-bg-accent-cl);
  color: var(--accent-txt-cl);
}
@media screen and (min-width: 1200px) {
  .clients__link {
    width: 170px !important;
  }
}
@media screen and (min-width: 768px) {
  .clients__link {
    width: 226px;
  }
}
@media screen and (max-width: 479px) {
  .clients__link {
    width: 290px;
  }
}
.clients__icon {
  fill: currentColor;
}
.footer {
  background-color: var(--Dark-bg-cl-1);
  padding-top: 60px;
  padding-bottom: 60px;
}
.footer__conteiner {
  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;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
@media screen and (min-width: 1200px) {
  .footer__conteiner {
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}
.footer__logo {
  display: inline-block;
  text-align: center;
  margin-bottom: 20px;
}
.footer__logo--style {
  color: var(--hero-txt-cl);
}
@media screen and (min-width: 768px) {
  .footer__links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 165px;
  }
}
@media screen and (min-width: 1200px) {
  .footer__links {
    gap: 70px;
  }
}
.footer__address {
  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;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
@media screen and (min-width: 1200px) {
  .footer__address {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}
.footer__list {
  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;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .footer__list {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}
.footer__link {
  color: var(--hero-txt-cl);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7142857143;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.footer__link:hover,
.footer__link:focus {
  color: var(--accent-txt-cl);
}
.footer__link--style {
  color: rgba(255, 255, 255, 0.6);
}
.socials-icons {
  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;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .socials-icons {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1200px) {
  .socials-icons {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}
.socials-icons__header {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--hero-txt-cl);
  margin-bottom: 20px;
}
@media screen and (min-width: 1200px) {
  .socials-icons__header {
    margin-right: 93px;
  }
}
.socials-icons__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 10px;
}
.socials-icons__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--social-link-accent-cl);
  background-color: var(--footer-socil-link-accent-cl);
  -webkit-transition-property: background-color;
  transition-property: background-color;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.socials-icons__link:hover,
.socials-icons__link:focus {
  background-color: var(--social-link-bg-accent-cl);
}
.socials-icons__icon {
  fill: currentColor;
}
@media screen and (min-width: 1200px) {
  .footer-form-box {
    margin-left: auto;
  }
}
.footer-form-box__header {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--hero-txt-cl);
  text-align: center;
  margin-bottom: 20px;
}
@media screen and (min-width: 1200px) {
  .footer-form-box__header {
    text-align: left;
  }
}
.footer-form {
  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;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
}
@media screen and (min-width: 1200px) {
  .footer-form {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}
.footer-form__input {
  width: 290px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 4px;
  background-color: inherit;
  outline: none;
  color: var(--hero-txt-cl);
}
@media screen and (min-width: 768px) {
  .footer-form__input {
    width: 450px;
  }
}
@media screen and (min-width: 1200px) {
  .footer-form__input {
    width: 358px;
  }
}
.footer-form__btn {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.875;
  letter-spacing: 0.06em;
  width: 200px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: var(--hero-txt-cl);
  background-color: var(--accent-txt-cl);
  padding: 10px 29px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition: -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-form__btn:hover,
.footer-form__btn:focus {
  -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}
.footer-form__txt {
  margin-right: 10px;
}
.footer-form__icon {
  fill: var(--hero-txt-cl);
}
.portfolio {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .portfolio {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}
.portfolio__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .portfolio__list {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
@media screen and (min-width: 768px) {
  .portfolio__list {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 50px;
  }
}
.portfolio__btn {
  background-color: var(--portfolio-buttons-bg-cl);
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.625;
  text-align: center;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  padding: 6px 22px;
  border-radius: 4px;
  -webkit-transition-property: color, background-color, -webkit-box-shadow;
  transition-property: color, background-color, -webkit-box-shadow;
  transition-property: color, background-color, box-shadow;
  transition-property: color, background-color, box-shadow, -webkit-box-shadow;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio__btn:hover,
.portfolio__btn:focus {
  color: var(--hero-txt-cl);
  background-color: var(--accent-txt-cl);
  -webkit-box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.1),
    0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.12);
  box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.08),
    0px 2px 2px rgba(0, 0, 0, 0.12);
}
@media screen and (min-width: 1200px) {
  .portfolio__btn:active {
    color: var(--hero-txt-cl);
    background-color: var(--accent-txt-cl);
    -webkit-box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.1),
      0px 1px 2px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.12);
    box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.08),
      0px 2px 2px rgba(0, 0, 0, 0.12);
  }
}
.products__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0;
}
.products__item {
  -ms-flex-preferred-size: calc(
    (100% - var(--indent) * (var(--items) - 1)) / var(--items)
  );
  flex-basis: calc((100% - var(--indent) * (var(--items) - 1)) / var(--items));
}
@media screen and (min-width: 768px) {
  .products__item {
    --items: 2;
  }
}
@media screen and (min-width: 1200px) {
  .products__item {
    --items: 3;
  }
}
.products__photo {
  position: relative;
  overflow: hidden;
}
.products__overlay {
  background-color: var(--overlay-bg-cl);
  position: absolute;
  padding: 63px 24px;
  top: 0;
  left: 0;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 250ms ease-in-out;
  transition: -webkit-transform 250ms ease-in-out;
  transition: transform 250ms ease-in-out;
  transition: transform 250ms ease-in-out, -webkit-transform 250ms ease-in-out;
}
.products__text {
  color: var(--hero-txt-cl);
  font-family: inherit;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5555555556;
  letter-spacing: 0.03em;
}
.products__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transition-property: -webkit-box-shadow;
  transition-property: -webkit-box-shadow;
  transition-property: box-shadow;
  transition-property: box-shadow, -webkit-box-shadow;
  -webkit-transition-duration: 250ms;
  transition-duration: 250ms;
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1199px) {
  .products__link:active {
    -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12),
      0px 4px 4px rgba(0, 0, 0, 0.06), 1px 4px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.06),
      1px 4px 6px rgba(0, 0, 0, 0.16);
  }
}
.products__link:hover,
.products__link:focus {
  -webkit-box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12),
    0px 4px 4px rgba(0, 0, 0, 0.06), 1px 4px 6px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.06),
    1px 4px 6px rgba(0, 0, 0, 0.16);
}
@media screen and (max-width: 1199px) {
  .products__link:active .products__overlay {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
.products__link:hover .products__overlay,
.products__link:focus .products__overlay {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.portfolio-name {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  border: 1px solid #eee;
  border-top: none;
  padding: 20px 24px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.portfolio-name__header {
  font-weight: 700;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--main-txt-cl);
  margin-bottom: 4px;
}
.portfolio-name__category {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.875;
  color: var(--main-txt-item-cl);
} /*# sourceMappingURL=main.min.css.map */
