body {
  background-color: #ffffff;
  color: #757575;
  font-family: Roboto, sans-serif;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

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

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

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

.container__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu__button-open {
  min-height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background-color: transparent;
  cursor: pointer;
  border: none;
  outline: none;
}
.mobile-menu__button-open:focus {
  fill: #2196f3;
}
@media (min-width: 768px) {
  .mobile-menu__button-open {
    display: none;
  }
}

.mobile-menu__button-close {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: 0;
  background-color: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu__button-close:hover, .mobile-menu__button-close:focus {
  fill: #2196f3;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transform: translateX(100%);
  transition: transform 250ms linear;
  padding: 48px 40px;
}
.mobile-menu.is-open {
  transform: translateX(0);
}
@media (max-width: 439px) {
  .mobile-menu {
    padding: 30px 30px;
  }
}

.mob-menu__item:not(:last-child) {
  margin-bottom: 32px;
}

.mob-menu__link {
  font-weight: 500;
  font-size: 40px;
  line-height: 47px;
  letter-spacing: 0.02em;
  color: #212121;
  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-menu__link:hover, .mob-menu__link:focus {
  color: #2196f3;
}

.mob-menu__link--current {
  color: #2196f3;
}

.mob-contacts__item:not(:last-child) {
  margin-bottom: 32px;
}

.mob-contacts__link {
  font-weight: 500;
  font-size: 34px;
  line-height: 1.17;
  letter-spacing: 0.02em;
  color: #2196f3;
  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-contacts__link:hover, .mob-contacts__link:focus {
  color: #2196f3;
}
@media (max-width: 439px) {
  .mob-contacts__link {
    font-size: 28px;
  }
}
.mob-contacts__link--mail-font {
  font-size: 24px;
  color: #757575;
}

.mob-social {
  display: none;
}
@media screen and (min-width: 440px) {
  .mob-social {
    display: flex;
    margin-top: 64px;
  }
}

.mob-social__item:not(:last-child) {
  margin-right: 10px;
}

.mob-social__link {
  display: flex;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: #2196f3;
}
.mob-social__item:not(:last-child) .mob-social__link::after {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  margin-left: 10px;
  background-color: rgba(33, 33, 33, 0.2);
}

@media (max-width: 439px) {
  .mobile-social {
    display: flex;
    margin-top: 32px;
  }
  .mobile-social__item {
    width: 44px;
    height: 44px;
  }
  .mobile-social__item + .mobile-social__item {
    margin-left: 10px;
  }
  .mobile-social__link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #2196f3;
    transition-property: color, background-color;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-social__link:focus, .mobile-social__link:hover {
    background-color: #2196f3;
    color: #ffffff;
  }
  .mobile-social__logo {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
}
@media screen and (min-width: 440px) {
  .mobile-social {
    display: none;
  }
}

.logo {
  font-family: Raleway, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.19;
  letter-spacing: 0.03em;
  color: #2196f3;
}
@media screen and (min-width: 1200px) {
  .logo {
    font-size: 26px;
  }
}
.logo-header {
  color: #212121;
}
.logo-footer {
  color: #ffffff;
}

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

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

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

.section__title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.17;
  text-align: center;
  letter-spacing: 0.03em;
  color: #212121;
  margin-bottom: 30px;
}
@media screen and (min-width: 1200px) {
  .section__title {
    font-size: 36px;
    margin-bottom: 50px;
  }
}

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

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

@media screen and (max-width: 767px) {
  .header__container {
    display: flex;
    justify-content: space-between;
  }
}
@media screen and (min-width: 768px) {
  .header__container {
    display: flex;
    align-items: center;
  }
}

.header__logo-menu {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .menu {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .menu {
    display: flex;
    align-items: center;
    margin-left: 88px;
  }
}
@media screen and (min-width: 1200px) {
  .menu {
    margin-left: 93px;
  }
}

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

.menu__link {
  display: block;
  padding-top: 32px;
  padding-bottom: 32px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: #212121;
  position: relative;
  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.menu__link:hover, .menu__link:focus {
  color: #2196f3;
}

.menu__link--current {
  color: #2196f3;
}
.menu__link--current::after {
  content: "";
  width: 100%;
  height: 4px;
  background-color: #2196f3;
  position: absolute;
  bottom: -1%;
  display: block;
  border-radius: 2px;
}

@media screen and (max-width: 767px) {
  .contacts {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .contacts {
    margin-left: auto;
  }
}
@media screen and (min-width: 1200px) {
  .contacts {
    display: flex;
    align-items: center;
  }
}

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

.contacts__link {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: #757575;
  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.contacts__link:hover, .contacts__link:focus {
  color: #2196f3;
}
@media screen and (min-width: 1200px) {
  .contacts__link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
    font-size: 14px;
  }
}

.contacts__icon-mail {
  width: 14px;
  height: 10px;
  margin-right: 10px;
  fill: currentColor;
}
@media screen and (min-width: 1200px) {
  .contacts__icon-mail {
    width: 16px;
    height: 12px;
  }
}

.contacts__icon-tel {
  width: 10px;
  height: 14px;
  margin-right: 10px;
  fill: currentColor;
}
@media screen and (min-width: 1200px) {
  .contacts__icon-tel {
    height: 16px;
  }
}

.contacts-section .section__title {
  margin-bottom: 40px;
}
@media screen and (min-width: 1200px) {
  .contacts-section .section__title {
    margin-bottom: 50px;
  }
}

.contacts-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 1200px) {
  .contacts-grid {
    flex-direction: row;
    align-items: stretch;
    gap: 30px;
  }
}

.contacts-info {
  flex-basis: 100%;
}
@media screen and (min-width: 1200px) {
  .contacts-info {
    flex-basis: 40%;
  }
}

.contacts-info__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contacts-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f4fa;
  fill: #2196f3;
}
.contacts-info__icon svg {
  width: 18px;
  height: 18px;
}

.contacts-info__label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #757575;
  margin-bottom: 2px;
}

.contacts-info__value {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #212121;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contacts-info__value:hover, .contacts-info__value:focus {
  color: #2196f3;
}

.contacts-info__socials {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.contacts-info__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f4fa;
  fill: #afb1b8;
  transition-property: background-color, fill;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.contacts-info__social-link svg {
  width: 20px;
  height: 20px;
}
.contacts-info__social-link:hover, .contacts-info__social-link:focus {
  background: #2196f3;
  fill: #ffffff;
}

.contact-form {
  flex-basis: 100%;
  padding: 32px;
  background: #f5f4fa;
  border-radius: 8px;
}
@media screen and (min-width: 1200px) {
  .contact-form {
    flex-basis: 60%;
    padding: 40px;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact-form__label {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #757575;
  margin-bottom: 6px;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: #212121;
  background: #ffffff;
  border: 1px solid rgba(33, 33, 33, 0.15);
  border-radius: 4px;
  outline: none;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: #2196f3;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__button {
  display: inline-block;
  cursor: pointer;
  min-width: 200px;
  min-height: 50px;
  padding: 0 32px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.87;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: #2196f3;
  border: transparent;
  border-radius: 4px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-form__button:hover, .contact-form__button:focus {
  background-color: #188ce8;
}

.contact-form__status {
  margin-top: 16px;
  min-height: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #2e7d32;
}
.contact-form__status.is-hidden {
  display: none;
}

.contacts-map {
  margin-top: 40px;
}
@media screen and (min-width: 1200px) {
  .contacts-map {
    margin-top: 50px;
  }
}

.contacts-map__frame {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 8px;
  filter: grayscale(40%) contrast(1.05);
}
@media screen and (min-width: 768px) {
  .contacts-map__frame {
    height: 400px;
  }
}

.footer {
  padding-top: 60px;
  padding-bottom: 60px;
  background: #2f303a;
  text-align: center;
}
@media screen and (min-width: 1200px) {
  .footer {
    text-align: left;
  }
}

@media screen and (min-width: 768px) {
  .footer__columns {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-around;
  }
}
@media screen and (min-width: 1200px) {
  .footer__columns {
    flex-grow: 1;
    justify-content: space-between;
  }
}

.footer__columns--title {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.14;
  text-transform: uppercase;
  color: #ffffff;
}

.address {
  margin-top: 20px;
}

.footer-contacts__item:not(:last-child) {
  margin-bottom: 9px;
}

.footer-contacts__link {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
}
.footer-contacts__link:hover, .footer-contacts__link:focus {
  color: #2196f3;
}

.footer-contacts__link--address {
  font-weight: normal;
  color: #ffffff;
  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social {
  margin-top: 60px;
}
@media screen and (min-width: 768px) {
  .footer-social {
    margin-top: 0;
  }
}

.footer-social__list {
  display: flex;
  justify-content: center;
}

.footer-social__item {
  width: 44px;
  height: 44px;
}

.footer-social__item + .footer-social__item {
  margin-left: 10px;
}

.footer-social__link {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition-property: background-color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-social__link:hover, .footer-social__link:focus {
  background: #2196f3;
}

.footer-social__logo {
  fill: #ffffff;
  height: 20px;
  width: 20px;
}

.footer-mailing {
  margin-top: 60px;
}
@media screen and (min-width: 1200px) {
  .footer-mailing {
    margin-top: 0;
  }
}

@media screen and (min-width: 1200px) {
  .footer-mailing__form {
    display: flex;
    align-items: center;
  }
}

.footer-mailing__input {
  width: 100%;
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .footer-mailing__input {
    width: 450px;
  }
}
@media screen and (min-width: 1200px) {
  .footer-mailing__input {
    margin-bottom: 0;
    width: 358px;
  }
}
.footer-mailing__input {
  height: 50px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 4px;
  background-color: transparent;
  color: #ffffff;
}

.footer-mailing__button {
  display: flex;
  margin: 0 auto;
}
@media screen and (min-width: 1200px) {
  .footer-mailing__button {
    margin-top: 0;
    margin-left: 12px;
  }
}
.footer-mailing__button {
  height: 50px;
  min-width: 200px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.87;
  align-items: center;
  letter-spacing: 0.06em;
  padding: 10px 2px 10px 28px;
  color: #ffffff;
  border: transparent;
  background: #2196f3;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  transition-property: background-color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-mailing__button:hover, .footer-mailing__button:focus {
  background-color: #188ce8;
}

.footer-mailing__icon {
  fill: #ffffff;
  height: 24px;
  width: 24px;
  margin-left: 10px;
}
