:root {
  --main-text-color: #757575;
  --title-color: #212121;
  --accent-color: #2196f3;
  --alt-title-color: #ffffff;
  --alt-text-color: #ffffff;
  --logo-color: #000000;
  --icons-color: #afb1b8;
  --alt-icon-color: #ffffff;
  --form-btn-active: #188ce8;
  --dark-bg: #2f303a;
  --second-bg: #f5f4fa;
  --main-font: 'Roboto', sans-serif;
  --logo-font: 'Raleway', sans-serif;
  --timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  box-sizing: border-box;
}

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

body {
  font-family: var(--main-font);
  font-style: normal;
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.03em;
  color: var(--main-text-color);
}

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

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

.link {
  color: inherit;
  text-decoration: none;
  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: var(--timing-function);
  transition-delay: 0;
}

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

.list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}

.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media screen and (min-width: 480px) {
  .container {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

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

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

.mobile-menu__container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.logo {
  font-family: var(--logo-font);
  font-weight: bold;
  text-transform: none;
  font-size: 24px;
  line-height: 28px;
  font-size: 24px;
  line-height: 1.17;
  color: var(--alt-title-color);
}

@media screen and (min-width: 1200px) {
  .logo {
    font-size: 26px;
    line-height: 1.19;
  }
}

.logo:hover, .logo:focus {
  color: var(--alt-title-color);
}

.logo__span {
  color: var(--accent-color);
}

.header__logo {
  margin-right: 93px;
  padding-top: 16px;
  padding-bottom: 16px;
  color: var(--logo-color);
}

@media screen and (min-width: 768px) {
  .header__logo {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

.header__logo:hover, .header__logo:focus {
  color: var(--logo-color);
}

.menu {
  display: none;
}

@media screen and (min-width: 768px) {
  .menu {
    display: inline-flex;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.14;
    letter-spacing: 0.02em;
    color: var(--title-color);
  }
}

.menu__item:not(:last-child) {
  margin-right: 50px;
}

.menu__link {
  display: block;
  position: relative;
  padding-top: 32px;
  padding-bottom: 32px;
}

.menu__link--active {
  color: var(--accent-color);
}

.menu__link--active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: var(--accent-color);
}

.mobile-menu {
  position: fixed;
  z-index: 777;
  background-color: var(--alt-title-color);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 2px 4px rgba(0, 0, 0, 0.08), 0px 1px 3px rgba(0, 0, 0, 0.16);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transition: 250ms var(--timing-function);
}

.mobile-menu.is-hidden {
  left: 100%;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu__btn-open {
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .mobile-menu__btn-open {
    display: none;
  }
}

.mobile-menu__svg-open {
  fill: var(--title-color);
}

.mobile-menu__btn-open:hover .mobile-menu__svg-open,
.mobile-menu__btn-open:focus .mobile-menu__svg-open {
  fill: var(--accent-color);
}

.mobile-menu__btn-close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.mobile-menu__svg-close {
  fill: var(--title-color);
}

.mobile-menu__btn-close:hover .mobile-menu__svg-close,
.mobile-menu__btn-close:focus .mobile-menu__svg-close {
  fill: var(--accent-color);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  margin-bottom: auto;
}

.mobile-menu__link {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--title-color);
}

.mobile-menu__link--active {
  color: var(--accent-color);
}

.mobile-menu__contacts-list {
  margin-bottom: 64px;
}

.mobile-menu__contacts-item:not(:last-child) {
  margin-bottom: 30px;
}

.mobile-menu__link-tel {
  font-weight: 500;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--accent-color);
}

.mobile-menu__contacts-link {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: 0.02em;
  color: var(--main-text-color);
}

.mobile-menu__contacts-link:hover, .mobile-menu__contacts-link:focus {
  font-weight: 500;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--accent-color);
}

.mobile-menu__social-list {
  display: flex;
  flex-wrap: wrap;
}

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

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

.contacts {
  display: none;
}

@media screen and (min-width: 768px) {
  .contacts {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-style: 12px;
    line-height: 1.17;
    letter-spacing: 0.02em;
    color: var(--main-text-color);
  }
}

@media screen and (min-width: 1200px) {
  .contacts {
    flex-direction: row;
    font-size: 14px;
    line-height: 1.14;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .contacts__item {
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 1200px) {
  .contacts__item:not(:last-child) {
    margin-right: 50px;
  }
}

.contacts__link {
  display: flex;
  align-items: center;
}

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

.contacts__icon {
  stroke: currentColor;
}

.contacts__icon--start {
  margin-right: 10px;
}

.title {
  color: var(--title-color);
}

.page-title {
  margin-right: auto;
  margin-bottom: 30px;
  margin-left: auto;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.62;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--alt-title-color);
}

@media screen and (min-width: 480px) {
  .page-title {
    width: 360px;
  }
}

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

.gallery__title {
  font-weight: bold;
  font-size: 36px;
  line-height: 1.67;
  text-align: center;
}

.team__title {
  font-weight: bold;
  font-size: 28px;
  line-height: 1.17;
  text-align: center;
}

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

.btn {
  display: block;
  margin-right: auto;
  margin-left: auto;
  min-width: 200px;
  min-height: 50px;
  padding: 10px 32px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  font-family: inherit;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.87;
  border: none;
  border-radius: 4px;
  letter-spacing: 0.06em;
  background-color: var(--accent-color);
  color: var(--alt-text-color);
  cursor: pointer;
}

.filter__btn {
  padding: 6px 22px;
  border-radius: 4px;
  border: none;
  min-width: 73px;
  min-height: 38px;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0.03em;
  background-color: var(--second-bg);
  color: var(--title-color);
  cursor: pointer;
  transition-property: color, background-color, box-shadow;
  transition-duration: 250ms;
  transition-timing-function: var(--timing-function);
}

.filter__btn:hover, .filter__btn:focus {
  background-color: var(--accent-color);
  color: var(--alt-text-color);
  box-shadow: 0px 2px 2px 0px #0000001f;
  box-shadow: 0px 1px 2px 0px #00000014;
  box-shadow: 0px 3px 1px 0px #0000001a;
}

.btn--positioning-svg {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
}

.btn__icon {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  fill: var(--alt-icon-color);
}

.btn--animation {
  transition: background-color 250ms var(--timing-function);
}

.btn--animation:hover, .btn--animation:focus {
  background-color: var(--form-btn-active);
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: opacity 250ms var(--timing-function);
}

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

.is-hidden .modal {
  transform: translate(-50%, -50%) scale(1.2);
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 95%;
  min-height: 581px;
  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: 4px;
  background-color: var(--alt-text-color);
  transition: transform 250ms var(--timing-function);
}

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

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

.modal__close-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  cursor: pointer;
}

.modal__close-svg {
  transition-property: fill;
  transition-duration: 250ms;
  transition-timing-function: var(--timing-function);
}

.modal__close-btn:hover .modal__close-svg,
.modal__close-btn:focus .modal__close-svg {
  fill: var(--accent-color);
}

.form {
  padding: 40px;
}

.form__contact-details {
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  color: var(--title-color);
}

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

.form__field {
  margin-bottom: 10px;
  max-height: 58px;
}

.form__icon-position {
  position: relative;
}

.form__label {
  font-size: 12px;
  line-height: 1.66;
  letter-spacing: 0.01em;
}

.form__icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
  fill: var(--title-color);
  transition: fill 250ms var(--timing-function);
}

.form__input:focus + .form__icon {
  fill: var(--accent-color);
}

.form__input {
  width: 100%;
  height: 40px;
  padding-left: 42px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  font: inherit;
  transition-property: border-color;
  transition-duration: 250ms;
  transition-timing-function: var(--timing-function);
  cursor: pointer;
  outline: none;
}

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

.form__textarea {
  margin-bottom: 20px;
  max-height: 138px;
}

.form__comment {
  width: 100%;
  height: 120px;
  resize: none;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  padding-top: 12px;
  padding-left: 16px;
  padding-right: 16px;
  transition: border-color 250ms var(--timing-function);
  outline: none;
}

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

.form__comment::placeholder {
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}

.checkbox {
  margin-bottom: 30px;
}

@media screen and (min-width: 1200px) {
  .checkbox {
    margin-left: 12px;
  }
}

.checkbox__label {
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 1.67;
}

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

.checkbox__label::before {
  content: ' ';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid var(--title-color);
  border-radius: 4px;
  transition: background-color 250ms var(--timing-function);
}

.checkbox__input:checked + .checkbox__label::before {
  background-image: url(../images/icons/check.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  background-origin: border-box;
}

.checkbox__text {
  height: 14px;
}

.social-icons {
  display: inline-flex;
}

.social-icons__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  transition-property: fill, background-color;
  transition-duration: 250ms;
  transition-timing-function: var(--timing-function);
}

.social-icons__link:hover, .social-icons__link:focus {
  background-color: var(--accent-color);
}

.social-icons__svg {
  fill: var(--icons-color);
}

.social-icons__link:hover .social-icons__svg,
.social-icons__link:focus .social-icons__svg {
  fill: var(--alt-text-color);
}

.social-icons__item:not(:last-child) {
  margin-right: 10px;
}

.social-icons-section {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  .social-icons-section {
    margin-bottom: 60px;
  }
}

@media screen and (min-width: 768px) {
  .social-icons-section {
    width: 50%;
  }
}

@media screen and (min-width: 1200px) {
  .social-icons-section {
    min-width: 208px;
  }
}

.footer__social-icons-section {
  margin-right: auto;
}

.social-icons-section__title {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--alt-title-color);
}

.social-icons__svg--fill {
  fill: var(--alt-icon-color);
}

.social-icons__link--bgc {
  background-color: rgba(255, 255, 255, 0.1);
}

.portfolio__filter {
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .portfolio__filter {
    margin-bottom: 50px;
  }
}

.filter {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .filter {
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  .filter__item {
    margin-bottom: 15px;
  }
}

.filter__item:not(:last-child) {
  margin-right: 8px;
}

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

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

.nav {
  display: flex;
  align-items: center;
}

.header__nav {
  margin-right: auto;
}

.header {
  border-bottom: 1px solid #ececec;
}

.header--positioning {
  display: flex;
  align-items: center;
}

.hero {
  display: flex;
  justify-content: center;
  padding-top: 118px;
  padding-bottom: 118px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1600px;
  background-color: var(--dark-bg);
  background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(../images/gallery/mobile/hero/hero.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(../images/gallery/mobile/hero/hero@2x.jpg);
  }
}

@media screen and (min-width: 480px) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(../images/gallery/tablet/hero/hero.jpg);
  }
}

@media screen and (min-width: 480px) and (min-device-pixel-ratio: 2), screen and (min-width: 480px) and (min-resolution: 192dpi), screen and (min-width: 480px) and (min-resolution: 2dppx) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(../images/gallery/tablet/hero/hero@2x.jpg);
  }
}

@media screen and (min-width: 768px) {
  .hero {
    background-image: linear-gradient(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(../images/gallery/desktop/hero/hero.jpg);
  }
}

@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(rgba(47, 48, 58, 0.4), rgba(47, 48, 58, 0.4)), url(../images/gallery/desktop/hero/hero@2x.jpg);
  }
}

@media screen and (min-width: 1200px) {
  .hero {
    padding-top: 200px;
    padding-bottom: 200px;
    min-height: 600px;
  }
}

.advantages {
  padding-bottom: 0;
}

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

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

.advantages__item {
  width: 100%;
  margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
  .advantages__item {
    flex-basis: calc((100% - 2 * 30px) / 2);
    margin-left: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .advantages__item {
    flex-basis: calc((100% - 4 * 30px) / 4);
  }
}

.advantages__other-title {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.14;
  text-align: center;
  text-transform: uppercase;
}

@media screen and (min-width: 768px) {
  .advantages__other-title {
    text-align: left;
  }
}

.advantages__link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
  height: 120px;
  background: var(--second-bg);
  border-radius: 4px;
}

.gallery {
  display: none;
}

@media screen and (min-width: 1200px) {
  .gallery {
    display: block;
  }
}

.gallery__title {
  margin-bottom: 50px;
}

.gallery__list {
  display: flex;
  margin-left: -30px;
}

.gallery__item {
  margin-left: 30px;
  flex-basis: calc((100% - 3 * 30px) / 3);
}

.gallery__img {
  position: relative;
}

.gallery__info {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(47, 48, 58, 0.8);
}

.gallery__text {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.14;
  text-transform: uppercase;
  color: var(--alt-text-color);
}

.team {
  background-color: var(--second-bg);
}

.team__title {
  margin-bottom: 30px;
}

@media screen and (min-width: 1200px) {
  .team__title {
    margin-bottom: 50px;
  }
}

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

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

@media screen and (max-width: 768px) {
  .team__list:not(:last-child) {
    margin-bottom: 30px;
  }
}

.team__item {
  width: 100%;
  text-align: center;
  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;
  background-color: var(--alt-title-color);
  margin-bottom: 30px;
}

@media screen and (min-width: 768px) {
  .team__item {
    flex-basis: calc((100% - 2 * 30px) / 2);
    margin-left: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .team__item {
    flex-basis: calc((100% - 4 * 30px) / 4);
  }
}

.team__item-text {
  padding-top: 30px;
  padding-bottom: 30px;
}

.team__item-name {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.19;
}

.team__item-position {
  font-size: 16px;
  line-height: 1.19;
  margin-bottom: 16px;
}

.clients__title {
  font-size: 28px;
  line-height: 1.17;
  text-align: center;
  margin-bottom: 30px;
}

@media screen and (min-width: 1200px) {
  .clients__title {
    font-size: 36px;
    margin-bottom: 50px;
  }
}

.clients__list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -30px;
  margin-bottom: -30px;
}

.clients__item {
  width: 100%;
  height: 92px;
  margin-bottom: 30px;
  flex-basis: calc((100% - 2 * 30px) / 2);
  margin-left: 30px;
}

@media screen and (min-width: 768px) {
  .clients__item {
    flex-basis: calc((100% - 3 * 30px) / 3);
  }
}

@media screen and (min-width: 1200px) {
  .clients__item {
    flex-basis: calc((100% - 6 * 30px) / 6);
  }
}

.clients__icons-svg {
  fill: var(--icons-color);
}

.clients__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1px solid var(--icons-color);
  border-radius: 4px;
  transition-property: border;
  transition-duration: 250ms;
  transition-timing-function: var(--timing-function);
}

.clients__link:hover, .clients__link:focus {
  border: 1px solid var(--accent-color);
}

.clients__icons-svg {
  transition-property: fill;
  transition-duration: 250ms;
  transition-timing-function: var(--timing-function);
}

.clients__link:hover .clients__icons-svg,
.clients__link:focus .clients__icons-svg {
  fill: var(--accent-color);
}

@media screen and (min-width: 768px) {
  .card-set {
    display: flex;
    flex-wrap: wrap;
  }
}

.portfolio__card-set {
  margin-top: -30px;
}

@media screen and (min-width: 768px) {
  .portfolio__card-set {
    margin-left: -30px;
  }
}

.card-set__item {
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  .card-set__item {
    flex-basis: calc((100% - 2 * 30px) / 2);
    margin-left: 30px;
  }
}

@media screen and (min-width: 1200px) {
  .card-set__item {
    flex-basis: calc((100% - 3 * 30px) / 3);
  }
}

.card-set__link {
  transition-property: box-shadow;
  transition-duration: 250ms;
  transition-timing-function: var(--timing-function);
}

.card-set__link:hover, .card-set__link:focus {
  display: block;
  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);
}

.card-set__product {
  position: relative;
  overflow: hidden;
}

.card-set__overlay {
  position: absolute;
  transform: translateY(100%);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 150, 243, 0.9);
  transition: transform 250ms var(--timing-function);
}

.card-set__link:hover .card-set__overlay,
.card-set__link:focus .card-set__overlay {
  transform: translateY(0);
}

.card-set__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 322px;
  height: 168px;
  font-size: 18px;
  line-height: 1.56;
  color: var(--alt-text-color);
}

.card-set__info {
  padding: 20px 24px;
  border: 1px solid #eeeeee;
  border-top: none;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .card-set--first {
    height: 146px;
  }
}

.card-set__projects-title {
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.card-set__projects-item {
  font-size: 16px;
  line-height: 1.87;
  color: var(--main-text-color);
}

.footer {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--dark-bg);
}

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

@media screen and (min-width: 768px) {
  .footer--positioning {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (min-width: 1200px) {
  .footer--positioning {
    flex-wrap: nowrap;
    justify-content: center;
  }
}

.address-section {
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .address-section {
    width: 50%;
  }
}

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

@media screen and (max-width: 1199px) {
  .footer__address-section {
    margin-bottom: 60px;
  }
}

@media screen and (min-width: 1200px) {
  .footer__address-section {
    margin-right: 70px;
  }
}

.address {
  font-size: 14px;
  line-height: 1.71;
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
}

.footer__address {
  margin-top: 20px;
}

.address__item:not(:last-child) {
  margin-bottom: 8px;
}

@media screen and (min-width: 1200px) {
  .address__item:not(:last-child) {
    margin-bottom: 9px;
  }
}

.address--map {
  font-style: normal;
  font-size: 14px;
  line-height: 1.71;
  color: var(--alt-text-color);
}

.footer-form__title {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.14;
  text-transform: uppercase;
  color: var(--alt-title-color);
}

@media screen and (min-width: 1200px) {
  .footer-form__field {
    display: flex;
  }
}

.footer-form__input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 4px;
  color: var(--alt-text-color);
  background-color: transparent;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 16px;
}

@media screen and (min-width: 480px) {
  .footer-form__input {
    width: 450px;
  }
}

@media screen and (max-width: 1199px) {
  .footer-form__input {
    margin-bottom: 20px;
  }
}

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

.footer-form__input::placeholder {
  font-size: 16px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.6);
}
/*# sourceMappingURL=main.css.map */