:root {
  --accent-blue-color: #2196f3;
  --second-blue-color: #188ce8;
  --transparent-blue-color: #2196f3e6;
  --basic-black-color: #000;
  --text-black-color: #212121;
  --background-grey-color: #2f303a;
  --transparent-grey-color: #ffffff1a;
  --text-grey-color: #757575;
  --icon-grey-color: #afb1b8;
  --contact-grey-color: #fff9;
  --basic-white-color: #fff;
  --special-white-color: #f5f4fa;
  --second-white-color: #eee;
  --line-white-color: #ececec;
  --logo-font-family: "Raleway", sans-serif;
  --primary-font-family: "Roboto", sans-serif;
  --card-set-gap: 30px;
}

h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
  margin-bottom: 0;
}

ol, ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}

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

address {
  font-style: normal;
}

button {
  cursor: pointer;
}

.list {
  list-style: none;
}

.link {
  text-decoration: none;
}

body {
  overflow-y: overlay;
  font-family: var(--primary-font-family);
  color: var(--text-black-color);
  background-color: var(--basic-white-color);
  letter-spacing: .03em;
  font-size: 16px;
}

.section {
  padding-top: 60px;
  padding-bottom: 60px;
}

@media screen and (min-width: 1200px) {
  .section {
    padding-top: 94px;
    padding-bottom: 94px;
  }
}

.container {
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media screen and (min-width: 480px) {
  .container {
    width: 510px;
  }
}

@media screen and (min-width: 768px) {
  .container {
    width: 798px;
  }
}

@media screen and (min-width: 1200px) {
  .container {
    width: 1230px;
  }
}

.btn-to-top {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  background-color: var(--background-grey-color);
  color: var(--second-white-color);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: all .5s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: fixed;
  bottom: 3vh;
  right: -140px;
}

@media screen and (min-width: 1200px) {
  .btn-to-top {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 1199px) {
  .btn-to-top {
    width: 35px;
    height: 35px;
  }
}

@media screen and (max-width: 767px) {
  .btn-to-top {
    display: none;
  }
}

.btn-to-top:hover {
  background-color: var(--accent-blue-color);
  color: var(--basic-white-color);
}

.btn-to-top--visible {
  opacity: 1;
  visibility: visible;
  right: 2.5%;
}

.icon-to-top {
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  display: inline-block;
}

@media screen and (min-width: 1200px) {
  .icon-to-top {
    width: 1.5em;
    height: 1.5em;
  }
}

@media screen and (max-width: 1199px) {
  .icon-to-top {
    width: 1.2em;
    height: 1.2em;
  }
}

@media screen and (max-width: 767px) {
  .icon-to-top {
    width: 1.1em;
    height: 1.1em;
  }
}

.logo--footer {
  text-align: start;
  margin-bottom: 20px;
}

@media screen and (max-width: 1199px) {
  .logo {
    text-align: center;
  }
}

@media screen and (min-width: 767px) {
  .logo {
    margin-right: 93px;
  }
}

.logo__link {
  letter-spacing: .03em;
  -webkit-user-select: none;
  user-select: none;
  padding-top: 24px;
  padding-bottom: 25px;
  font-family: Raleway, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.19;
  display: block;
}

.logo__link.page-footer__logo {
  padding: 0;
}

.logo__first-half {
  color: #2196f3;
}

.logo__second-half {
  color: #000;
}

.logo__second-half--footer {
  color: var(--basic-white-color);
}

.title {
  text-align: center;
  letter-spacing: .03em;
  -webkit-user-select: none;
  user-select: none;
  margin-bottom: 50px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.17;
}

@media screen and (min-width: 1200px) {
  .title {
    font-size: 36px;
  }
}

.sotial-network__list {
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  display: flex;
}

.sotial-network__link {
  width: 30px;
  height: 30px;
  background-color: var(--basic-white-color);
  color: var(--icon-grey-color);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition-property: color, background-color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: flex;
}

.sotial-network__link:hover, .sotial-network__link:focus {
  color: var(--basic-white-color);
  background-color: var(--accent-blue-color);
}

.sotial-network__link--footer {
  width: 44px;
  height: 44px;
  color: var(--basic-white-color);
  background-color: var(--transparent-grey-color);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition-property: background-color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: flex;
}

.sotial-network__item:not(:last-child) {
  margin-right: 10px;
}

.social-network__icon {
  fill: currentColor;
}

.backdrop {
  width: 100vw;
  height: 100vh;
  background: #0003;
  transition: opacity .25s cubic-bezier(.4, 0, .2, 1), visibility .25s cubic-bezier(.4, 0, .2, 1);
  position: fixed;
  top: 0;
  left: 0;
}

.backdrop.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: 0;
}

.page-header {
  border-bottom: 1px solid var(--line-white-color);
}

.page-header__container {
  align-items: center;
  display: flex;
}

@media screen and (max-width: 767px) {
  .page-header__navigation {
    margin-left: auto;
  }
}

.page-header__menu {
  display: flex;
}

@media screen and (max-width: 767px) {
  .page-header__menu {
    display: none;
  }
}

.page-header__menu-item {
  position: relative;
}

.page-header__menu-item:not(:last-child) {
  margin-right: 50px;
}

.page-header__menu-item-link {
  letter-spacing: .02em;
  color: var(--text-black-color);
  padding: 32px 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.14;
  transition-property: color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: block;
}

.page-header__menu-item-link:hover, .page-header__menu-item-link:focus, .page-header__menu-item-link--current {
  color: var(--accent-blue-color);
}

.page-header__menu-item > .page-header__menu-item-link--current:before {
  content: "";
  width: 100%;
  height: 4px;
  background: var(--accent-blue-color);
  border-radius: 2px;
  position: absolute;
  bottom: 0;
}

@media (max-width: 767px) {
  .page-header__contact-list {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .page-header__contact-list {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: auto;
    display: flex;
  }
}

@media screen and (min-width: 1200px) {
  .page-header__contact-list {
    flex-direction: row;
    margin-left: auto;
  }
}

@media screen and (min-width: 768px) {
  .page-header__contact-item:not(:last-child) {
    margin-bottom: 10px;
    margin-right: 50px;
  }
}

@media screen and (min-width: 1200px) {
  .page-header__contact-item:not(:last-child) {
    margin-bottom: 0;
  }
}

.page-header__contact-mail {
  letter-spacing: .02em;
  color: var(--text-grey-color);
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.16;
  transition-property: color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: flex;
}

.page-header__contact-mail:hover, .page-header__contact-mail:focus {
  color: var(--accent-blue-color);
}

@media screen and (min-width: 1200px) {
  .page-header__contact-mail {
    padding-top: 24px;
    padding-bottom: 25px;
    font-size: 16px;
    line-height: 1.14;
  }
}

.page-header__contact-number {
  letter-spacing: .02em;
  color: var(--text-grey-color);
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.16;
  transition-property: color;
  transition-duration: .25s;
  display: flex;
}

.page-header__contact-number:hover, .page-header__contact-number:focus {
  color: var(--accent-blue-color);
}

@media screen and (min-width: 1200px) {
  .page-header__contact-number {
    padding-top: 24px;
    padding-bottom: 25px;
    font-size: 16px;
    line-height: 1.14;
  }
}

.page-header__icon-envelope, .page-header__icon-phone {
  fill: currentColor;
  margin-right: 10px;
}

.burger-btn {
  z-index: 100;
  min-height: 40px;
  min-width: 40px;
  cursor: pointer;
  background-color: #0000;
  border: none;
  border-radius: 50%;
  outline: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  display: flex;
  position: relative;
}

@media screen and (min-width: 767px) {
  .burger-btn {
    display: none;
  }
}

.burger-btn__icon {
  transition: color .25s cubic-bezier(.4, 0, .2, 1);
}

.burger-btn__icon:hover, .burger-btn__icon:focus {
  fill: var(--accent-blue-color);
  fill: var(--accent-blue-color);
}

.burger-btn__js-close {
  display: none;
}

.burger-btn.is-open .burger-btn__js-close {
  display: block;
}

.burger-btn.is-open .burger-btn__js-open, .none {
  display: none;
}

.burger-menu__container {
  width: 100vw;
  height: 100vh;
  background-color: var(--basic-white-color);
  z-index: 99;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 40px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  transform: translateX(-400%);
}

.burger-menu__container.is-open {
  transform: translateY(0);
}

.burger-menu__list-item-link {
  letter-spacing: .02em;
  color: var(--text-black-color);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.18;
}

.burger-menu__list-item-link:hover, .burger-menu__list-item-link:focus, .burger-menu__list-item-link--current {
  color: var(--accent-blue-color);
}

.burger-menu__list-item:not(:last-child), .burger-menu__tel-item {
  margin-bottom: 32px;
}

.burger-menu__tel-link {
  letter-spacing: .02em;
  color: var(--accent-blue-color);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.18;
}

.burger-menu__mail-item {
  margin-bottom: 64px;
}

.burger-menu__mail-link {
  letter-spacing: .02em;
  color: var(--text-grey-color);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.17;
}

.burger-menu__social-list {
  flex-wrap: wrap;
  margin-bottom: 30px;
  display: flex;
}

.burger-menu__social-item:not(:last-child) {
  margin-right: 10px;
}

.burger-menu__social-link {
  letter-spacing: .02em;
  color: var(--accent-blue-color);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.22;
}

.burger-menu__line {
  width: 1px;
  height: 22px;
  background-color: #21212133;
}

footer {
  font-family: var(--primary-font-family);
  background-color: var(--background-grey-color);
}

.page-footer {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-footer__container {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

@media screen and (min-width: 1200px) {
  .page-footer__container {
    flex-direction: row;
    align-items: baseline;
    display: flex;
  }

  .page-footer__link-wrapper {
    margin-right: 70px;
  }
}

.page-footer__wrapper {
  margin-bottom: 60px;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .page-footer__wrapper {
    width: 100%;
    justify-content: space-around;
    align-items: baseline;
    display: flex;
  }
}

@media screen and (min-width: 1200px) {
  .page-footer__wrapper {
    align-items: baseline;
    margin-bottom: 0;
    display: flex;
  }
}

.page-footer__text {
  max-width: 300px;
  font-family: var(--primary-font-family);
  letter-spacing: .03em;
  color: var(--contact-grey-color);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.71;
}

@media screen and (max-width: 767px) {
  .page-footer__text {
    text-align: center;
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 1199px) {
  .page-footer__text {
    text-align: center;
  }
}

.page-footer__address {
  text-align: center;
  margin-bottom: 60px;
}

@media screen and (min-width: 1200px) {
  .page-footer__address {
    text-align: left;
    margin-bottom: 0;
  }
}

.page-footer__address-item:not(:last-child) {
  margin-bottom: 9px;
}

.page-footer__address-link {
  font-family: var(--primary-font-family);
  letter-spacing: .03em;
  color: var(--contact-grey-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.71;
  transition-property: color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.page-footer__address-link:hover, .page-footer__address-link:focus {
  color: var(--accent-blue-color);
}

.page-footer__address-link-location {
  color: var(--basic-white-color);
}

.page-footer__sotial-title {
  text-align: center;
  text-transform: uppercase;
  color: var(--basic-white-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.14;
}

@media screen and (min-width: 1200px) {
  .page-footer__sotial-title {
    text-align: start;
  }

  .page-footer__social-wrapper {
    margin-right: auto;
  }

  .page-footer__form {
    justify-content: center;
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  .page-footer__subscription-wrapper {
    width: 100%;
  }
}

.page-footer__subscription-title {
  text-transform: uppercase;
  color: var(--basic-white-color);
  text-align: center;
  margin-right: 12px;
  font-weight: 700;
  line-height: 1.14;
}

@media screen and (min-width: 1200px) {
  .page-footer__subscription-title {
    text-align: left;
  }
}

.page-footer__subscription-input {
  width: 100%;
  height: 50px;
  filter: drop-shadow(0 4px 4px #00000026);
  color: var(--basic-white-color);
  background-color: #0000;
  border: 1px solid #ffffff4d;
  border-radius: 4px;
  outline: none;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 15px 16px;
  transition: border-color .25s cubic-bezier(.4, 0, .2, 1);
  display: block;
}

.page-footer__subscription-input:focus {
  border-color: var(--basic-white-color);
}

@media screen and (min-width: 768px) {
  .page-footer__subscription-input {
    width: 450px;
  }
}

@media screen and (min-width: 1200px) {
  .page-footer__subscription-input {
    width: 358px;
    margin-right: 12px;
  }
}

.page-footer__subscription-btn {
  height: 50px;
  letter-spacing: .06em;
  background-color: var(--accent-blue-color);
  color: var(--basic-white-color);
  border: none;
  border-radius: 4px;
  align-items: center;
  margin: 0 auto;
  padding: 10px 28px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.87;
  transition: background-color .25s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  box-shadow: 0 4px 4px #00000026;
}

.page-footer__subscription-btn:focus, .page-footer__subscription-btn:hover {
  background-color: var(--transparent-blue-color);
}

@media screen and (min-width: 1200px) {
  .page-footer__subscription-btn {
    margin-top: 20px;
  }
}

.page-footer__icon-subscribe {
  fill: currentColor;
  margin-left: 10px;
}

.modal {
  z-index: 200;
  width: calc(100% - 30px);
  min-height: 581px;
  background: var(--basic-white-color);
  border-radius: 4px;
  padding: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px #0000001f, 0 1px 1px #00000024, 0 2px 1px #0003;
}

@media screen and (min-width: 480px) {
  .modal {
    width: 465px;
  }
}

@media screen and (min-width: 1200px) {
  .modal {
    width: 528px;
  }
}

.modal__button {
  width: 30px;
  height: 30px;
  background: var(--basic-white-color);
  border: 1px solid #0000001a;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: fill .25s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: absolute;
  top: 8px;
  right: 8px;
}

.modal__button:hover, .modal__button:hover {
  fill: var(--accent-blue-color);
}

.modal__group {
  border: none;
  margin: 0;
  padding: 0;
}

.modal__title {
  font-family: var(--primary-font-family);
  text-align: center;
  color: var(--text-black-color);
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

@media screen and (min-width: 1200px) {
  .modal__title {
    line-height: 1.15;
  }
}

.modal__form-label {
  width: 100%;
  font-family: var(--primary-font-family);
  letter-spacing: .01em;
  color: var(--text-grey-color);
  flex-direction: column;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.17;
  display: flex;
}

.modal__form-label:not(:last-child) {
  margin-bottom: 10px;
}

.modal__input {
  width: 100%;
  height: 40px;
  border: 1px solid #21212133;
  border-radius: 4px;
  outline: none;
  margin-top: 4px;
  padding-left: 42px;
  transition: border-color .25s cubic-bezier(.4, 0, .2, 1);
}

.modal__input:focus {
  border-color: var(--accent-blue-color);
}

.modal__input-wrapper {
  position: relative;
}

.modal__textarea {
  width: 100%;
  height: 120px;
  resize: none;
  border: 1px solid #21212133;
  border-radius: 4px;
  outline: none;
  margin-top: 4px;
  margin-bottom: 20px;
  padding: 16px 12px;
}

.modal__textarea:focus {
  border-color: var(--accent-blue-color);
}

.modal__textarea::placeholder {
  letter-spacing: .01em;
  color: #75757580;
  font-size: 12px;
  line-height: 1.16;
}

.modal__checkbox-label {
  font-size: 12px;
  font-family: var(--primary-font-family);
  color: var(--text-grey-color);
  justify-content: center;
  align-items: center;
  font-weight: 400;
  line-height: 1.17;
  display: flex;
}

.modal__checkbox-label:before {
  content: "";
  min-width: 16px;
  min-height: 15px;
  background-image: url("icon-checkbox-off.7cb42d29.svg");
  background-position: 50%;
  background-repeat: no-repeat;
  border-radius: 2px;
  margin-right: 7px;
  transition-property: background-color, background-image;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: inline-block;
}

.modal__policy-input:checked + .modal__checkbox-label:before {
  background-color: var(--second-blue-color);
  background-image: url("icon-checkbox-on.76a007ea.svg");
}

@media screen and (min-width: 1200px) {
  .modal__checkbox-label {
    font-size: 14px;
    line-height: 1.71;
  }
}

.modal__link-policy {
  color: var(--accent-blue-color);
}

.modal__submit-button {
  min-width: 200px;
  letter-spacing: .06em;
  background-color: var(--accent-blue-color);
  color: var(--basic-white-color);
  border: 0;
  border-radius: 4px;
  margin: 30px auto 0;
  padding: 10px 52px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.87;
  transition: background-color .25s cubic-bezier(.4, 0, .2, 1);
  display: block;
}

.modal__submit-button:focus, .modal__submit-button:hover {
  background-color: var(--second-blue-color);
  box-shadow: 0 2px 3px #00000026;
}

.modal__icon {
  fill: var(--text-black-color);
  transition: fill .25s cubic-bezier(.4, 0, .2, 1);
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.modal__input:focus + .modal__icon {
  fill: var(--second-blue-color);
}

.visually-hidden {
  width: 1px;
  height: 1px;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  border: 0;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.hero {
  max-width: calc(100% - 30px);
  height: auto;
  text-align: center;
  background-color: #c4c4c4;
  background-image: linear-gradient(#2f303a99, #2f303a99), url("hero-image-480@1x.3cb19139.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--background-grey-color);
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 118px;
  padding-bottom: 118px;
}

@media screen and (min-device-pixel-ratio: 2), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(#2f303a99, #2f303a99), url("hero-image-480@2x.43def599.jpg");
  }
}

@media screen and (min-width: 768px) {
  .hero {
    min-width: 768px;
    max-width: calc(100% - 50px);
    height: auto;
    background-image: linear-gradient(#2f303a99, #2f303a99), url("hero-image-768@1x.5b01e1af.jpg");
    padding-top: 118px;
    padding-bottom: 118px;
  }
}

@media screen and (min-width: 768px) and (min-device-pixel-ratio: 2), screen and (min-width: 768px) and (min-resolution: 192dpi), screen and (min-width: 768px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(#2f303a99, #2f303a99), url("hero-image-768@2x.62a17132.jpg");
  }
}

@media screen and (min-width: 1200px) {
  .hero {
    max-width: 1400px;
    height: auto;
    background-image: linear-gradient(#2f303a99, #2f303a99), url("hero-image-1200@1x.37b385c8.jpg");
    padding-top: 200px;
    padding-bottom: 200px;
  }
}

@media screen and (min-width: 1200px) and (min-device-pixel-ratio: 2), screen and (min-width: 1200px) and (min-resolution: 192dpi), screen and (min-width: 1200px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(#2f303a99, #2f303a99), url("hero-image-1200@2x.5bb43027.jpg");
  }
}

.hero__title {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--card-set-gap);
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  -webkit-user-select: none;
  user-select: none;
  color: var(--basic-white-color);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.62;
}

@media screen and (min-width: 1200px) {
  .hero__title {
    max-width: 696px;
    font-size: 44px;
    line-height: 1.36;
  }
}

.hero__button {
  min-width: 200px;
  text-align: center;
  letter-spacing: .06em;
  cursor: pointer;
  color: var(--basic-white-color);
  background-color: var(--accent-blue-color);
  border: none;
  border-radius: 4px;
  margin: auto;
  padding: 10px 32px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.88;
  transition-property: background-color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: block;
}

.hero__button:hover, .hero__button:focus {
  background-color: var(--second-blue-color);
}

@media screen and (min-width: 1200px) {
  .hero__button {
    min-width: 216px;
  }
}

.preferences__list {
  margin-bottom: -30px;
}

@media screen and (min-width: 768px) {
  .preferences__list {
    flex-wrap: wrap;
    margin-left: -30px;
    display: flex;
  }
}

.preferences__item {
  margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
  .preferences__item {
    column-gap: var(--card-set-gap);
    flex-basis: calc(50% - 30px);
    margin-left: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .preferences__item {
    flex-basis: calc(25% - 30px);
  }
}

.preferences__subtitle {
  text-align: center;
  letter-spacing: .03em;
  text-transform: uppercase;
  -webkit-user-select: none;
  user-select: none;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.14;
}

@media screen and (min-width: 768px) {
  .preferences__subtitle {
    text-align: start;
  }
}

.preferences__description {
  letter-spacing: .03em;
  -webkit-user-select: none;
  user-select: none;
  color: var(--text-grey-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.71;
}

.preferences__icon {
  max-width: 450px;
  height: 120px;
  background-color: var(--special-white-color);
  border: 1px solid #0000;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  padding: 25px 100px;
  transition-property: border, background-color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: flex;
}

.preferences__icon:hover {
  background-color: var(--basic-white-color);
  border: 1px solid var(--second-white-color);
}

@media screen and (min-width: 768px) {
  .preferences__icon {
    max-width: 354px;
  }
}

@media screen and (min-width: 1200px) {
  .preferences__icon {
    max-width: 270px;
  }
}

@media (max-width: 1199px) {
  .about {
    display: none;
  }
}

.about.section {
  padding-top: 0;
}

.about__list {
  display: flex;
}

.about__item {
  position: relative;
  overflow: hidden;
}

.about__item:not(:last-child) {
  margin-right: var(--card-set-gap);
}

.about__description {
  width: 100%;
  height: 70px;
  text-transform: uppercase;
  color: var(--basic-white-color);
  -webkit-user-select: none;
  user-select: none;
  background-color: #2f303acc;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  line-height: 1.14;
  transition-property: bottom;
  transition-duration: .35s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: flex;
  position: absolute;
  bottom: -70px;
}

.about__item:hover .about__description {
  bottom: 0;
}

.team {
  background-color: var(--special-white-color);
}

.team__list {
  gap: var(--card-set-gap);
  flex-wrap: wrap;
  flex-basis: calc(25% - 22.5px);
  justify-content: center;
  display: flex;
}

.team__list-item {
  transition-property: scale;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  scale: 1;
}

.team__list-item:hover, .team__list-item:focus {
  scale: 1.07;
}

.team__member-image {
  width: 100%;
  height: auto;
  align-items: center;
  box-shadow: 0 1px 3px #0000001f, 0 1px 1px #00000024, 0 2px 1px #0003;
}

.team__content {
  padding-top: var(--card-set-gap);
  padding-bottom: var(--card-set-gap);
  background-color: var(--basic-white-color);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 1px 3px #0000001f, 0 1px 1px #00000024, 0 2px 1px #0003;
}

.team__member-name {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.19;
}

.team__member-position {
  text-align: center;
  color: var(--text-grey-color);
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.19;
}

.regular-customers__list {
  gap: var(--card-set-gap);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  display: flex;
}

.regular-customers__item {
  gap: var(--card-set-gap);
  flex-basis: calc(50% - 30px);
}

@media screen and (min-width: 768px) {
  .regular-customers__item {
    flex-basis: calc(33.3333% - 30px);
  }
}

@media screen and (min-width: 1200px) {
  .regular-customers__item {
    flex-basis: calc(16.6667% - 30px);
  }
}

.regular-customers__link {
  width: 170px;
  height: 92px;
  color: var(--icon-grey-color);
  border: 1px solid var(--icon-grey-color);
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  transition-property: color, border-color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: flex;
}

.regular-customers__link:hover, .regular-customers__link:focus {
  color: var(--accent-blue-color);
  border-color: var(--accent-blue-color);
}

.regular-customers__icon {
  fill: currentColor;
}

.filter.section {
  margin-top: 30px;
  margin-bottom: 40px;
  padding: 0;
}

.filter__menu-list {
  flex-wrap: wrap;
  column-gap: 8px;
  margin-bottom: 40px;
  display: flex;
}

@media screen and (min-width: 768px) {
  .filter__menu-list {
    justify-content: center;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 1200px) {
  .filter__menu-list {
    flex-wrap: nowrap;
    margin: 0 auto 50px;
  }
}

.filter__menu-item:not(:last-child) {
  margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
  .filter__menu-item:not(:last-child) {
    margin-bottom: 0;
  }
}

.filter__menu-button {
  color: var(--text-black-color);
  background-color: var(--special-white-color);
  border: none;
  border-radius: 4px;
  padding: 6px 22px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.63;
  transition-property: box-shadow, color, background-color;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

.filter__menu-button:hover, .filter__menu-button--active {
  color: var(--basic-white-color);
  background-color: var(--accent-blue-color);
  box-shadow: 0 3px 1px #0000001a, 0 1px 2px #00000014, 0 2px 2px #0000001f;
}

.none {
  display: none;
}

.section.portfolio {
  padding-top: 0;
  padding-bottom: 110px;
}

.portfolio-list {
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: -30px;
  margin-left: -30px;
  display: flex;
}

@media screen and (min-width: 768px) {
  .portfolio-list {
    justify-content: flex-start;
  }
}

@media screen and (min-width: 1200px) {
  .portfolio-list {
    justify-content: center;
  }
}

.portfolio-list__item {
  flex-basis: calc(100% - 30px);
  margin-bottom: 30px;
  margin-left: 30px;
}

@media screen and (min-width: 768px) {
  .portfolio-list__item {
    flex-basis: calc(50% - 30px);
    margin-left: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .portfolio-list__item {
    flex-basis: calc(33.3333% - 30px);
    margin-left: 30px;
  }
}

.portfolio-list__product-thumb {
  border: 1px solid var(--second-white-color);
  position: relative;
  overflow: hidden;
}

.portfolio-list__item .portfolio-list__product-thumb:after {
  content: "";
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--transparent-blue-color);
  transition-property: transform;
  transition-duration: .55s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(105%);
}

.portfolio-list__link:hover .portfolio-list__product-thumb:after, .portfolio-list__link:focus .portfolio-list__product-thumb:after {
  transform: translateY(0%);
}

.portfolio-list__product-action {
  z-index: 2;
  width: 100%;
  height: 100%;
  color: var(--basic-white-color);
  padding: 63px 24px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  transition-property: transform;
  transition-duration: .7s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
}

.portfolio-list__link:hover .portfolio-list__product-action, .portfolio-list__link:focus .portfolio-list__product-action {
  transform: translateY(0%);
}

.portfolio-list__image {
  border: 1px solid var(--second-white-color);
  width: 100%;
}

.portfolio-list__title {
  letter-spacing: .06em;
  color: var(--text-black-color);
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 2;
}

.portfolio-list__description {
  color: var(--text-grey-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.88;
}

.portfolio-list__link {
  transition-property: box-shadow;
  transition-duration: .25s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  display: block;
}

.portfolio-list__link:hover, .portfolio-list__link:focus {
  box-shadow: 0 1px 1px #0000001f, 0 4px 4px #0000000f, 1px 4px 6px #00000029;
}

.portfolio-list__content {
  border: 1px solid var(--second-white-color);
  border-top: none;
  padding: 20px 24px;
}

@media screen and (min-width: 768px) {
  .container__contacts {
    min-height: calc(100vh - 547px);
  }
}

@media screen and (min-width: 1200px) {
  .container__contacts {
    min-height: calc(100vh - 329px);
  }
}

.contacts__map {
  min-height: 550px;
  width: calc(100% - 30px);
  flex: auto;
  margin-top: 30px;
  margin-bottom: 94px;
  display: flex;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .contacts__map {
    min-height: 550px;
  }
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.contacts__maps {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

/*# sourceMappingURL=contacts.b07a87f3.css.map */
