/* #region common styles */
body {
  font-family: "Roboto", sans-serif;
  background-color: #fff;
  color: #434455;
}
ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: currentColor;
}
.container {
  max-width: 320px;
  margin: 0 auto;
  padding: 0 16px;
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media screen and (min-width: 1158px) {
  .container {
    max-width: 1158px;
    padding: 0 15px;
  }
}
.section {
  padding-top: 96px;
  padding-bottom: 96px;
}
@media screen and (min-width: 1158px) {
  .section {
  padding-top: 120px;
  padding-bottom: 120px;
}
}
.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;
}

/* #endregion */
/* #region header */
.header {
  border-bottom: 1px solid #e7e9fc;
  box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08),
    0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 2px 1px 0 rgba(46, 47, 66, 0.08);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-nav {
  display: flex;
  align-items: center;
}
.logo {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  color: #4d5ae5;
}
.header-logo-white {
  color: #2e2f42;
}
.header-logo {
  display: block;
  padding: 16px 0;
}
.header-nav-link {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #2e2f42;
  padding: 24px 0;
  display: block;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header-nav-link.current {
  position: relative;
}
.header-nav-link:hover,
.header-nav-link:focus,
.header-nav-link.current {
  color: #404bbf;
}
.header-nav-link.current::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: #404bbf;
}
.header-nav-link:active {
  text-decoration: underline;
}
.header-nav-list,
.header-address {
  display: none;
}
.header-address-link:hover,
.header-address-link:focus {
  color: #404bbf;
}
@media screen and (min-width: 768px) {
  .header-logo {
    padding: 24px 0;
    margin-right: 120px;
  }
  .header-nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .header-address {
    font-style: normal;
    display: block;
  }
  .header-address-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .header-address-link {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.17;
    color: #434455;
    text-decoration: none;
    letter-spacing: 0.04em;
    display: block;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@media screen and (min-width: 1158px) {
  .header-logo {
    margin-right: 76px;
  }
  .header-address {
    display: flex;
    align-items: center;
  }
  .header-address-list {
    flex-direction: row;
    gap: 40px;
  }
  .header-address-link {
    font-size: 16px;
    line-height: 1.5;
    color: #434455;
    letter-spacing: 0.02em;
    padding: 24px 0;
  }
}
.header-mobile-btn {
  padding: 0;
  border: none;
  cursor: pointer;
  background-color: transparent;
}
.burger-icon {
  display: block;
  fill: #2f2f37;
}
@media screen and (min-width: 768px) {
  .header-mobile-btn {
    display: none;
  }
}

/* #endregion */
/* #region mobile-menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
  transform 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.is-open {
transform: translateX(0);
    opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media screen and (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu-container {
  position: relative;
  padding-top: 72px;
  padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(46, 47, 66, 0.1);
  background-color: #e7e9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background-color: #404bbf;
  border: none;
}
.mobile-menu-close:focus> .close-icon,
.mobile-menu-close:hover> .close-icon {
    fill: #ffffff;
}
.close-icon {
  fill: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-nav {
    margin-bottom: auto;
}
.menu-nav-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.menu-nav-link {
    font-weight: 700;
font-size: 36px;
line-height: 1.11;
letter-spacing: 0.02em;
color: #2e2f42;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-nav-link:focus,
.menu-nav-link:hover,
.menu-nav-link.current {
    color: #404bbf;
}

.menu-address {
    font-style: normal;
    margin-bottom: 48px;
}
.menu-address-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.menu-address-link {
    font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-address-link:focus,
.menu-address-link:hover {
    color: #4d5ae5;
}
.menu-social {
    display: flex;
  align-items: center;
  justify-content: flex-start;
    gap: 40px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4d5ae5;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social-icon {
  fill: #f4f4fd;
}
.social-link:hover,
.social-link:focus {
  background-color: #404bbf;
}
/* #endregion */
/* #region -------hero-section------ */
.hero-section {
  max-width: 320px;
  margin: 0 auto;
    background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
      url("../images/people-office-mob-min.jpg");
      
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 72px;
  padding-bottom: 72px;
}
@media screen and (min-resolution: 192dpi)
 {
  .hero-section {
    background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
     url(../images/people-office-mob@2x-min.jpg);
  }
}
.hero-section-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-section-title {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  margin-bottom: 72px;
  max-width: 216px;
}
.hero-section-button {
  border-radius: 4px;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  display: block;
  min-width: 169px;
  height: 56px;
  background-color: #4d5ae5;
  color: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.hero-section-button:hover,
.hero-section-button:focus {
  background-color: #404bbf;
}
@media screen and (min-width: 768px) {
  .hero-section {
    max-width: 768px;
    padding-top: 112px;
    padding-bottom: 112px;
     background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
      url("../images/people-office-tab-min.jpg");
      
  }
  .hero-section-title {
  font-size: 56px;
  line-height: 1.07;
  max-width: 496px;
  margin-bottom: 36px;
  }
}
@media screen and (min-width: 768px) and (min-resolution: 192dpi) {
  .hero-section {
    background-image: linear-gradient( rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)),
      url("../images/people-office-tab@2x-min.jpg");
  }
}
@media screen and (min-width:1158px) {
  .hero-section {
  max-width: 1440px;
  padding-top: 188px;
  padding-bottom: 188px;
   background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
      url("../images/people-office-min-desk.jpg");
}
.hero-section-title {
  margin-bottom: 48px;
}
}
@media screen and (min-width: 1158px) and (min-resolution: 192dpi) {
  .hero-section {
    background-image: linear-gradient( rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)),
      url("../images/people-office@2x-min-desk.jpg");
  }
}
/* #endregion */
/* #region ------advantages-section--- */
.advantages-section-container {
  display: flex;
  flex-wrap: wrap;
  gap: 72px;
}
.advantages-section-card {
  flex-basis: 100%;
}
.advantages-section-frame {
  display: none;
}
.advantages-section-title {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  color: #2e2f42;
  text-align: center;
  margin-bottom: 8px;
}
.advantages-section-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
@media screen and (min-width: 768px) {
  .advantages-section-container {
    row-gap: 72px;
    column-gap: 24px;
  }
  .advantages-section-card {
  flex-basis: calc((100% - 24px) / 2);
}
.advantages-section-title {
  text-align: left;
}
}
@media screen and (min-width: 1158px) {
  .advantages-section-container {
 flex-wrap: nowrap;
  gap: 24px;
}
.advantages-section-card {
  flex-basis: calc((100% - 72px) / 4);
}
.advantages-section-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  border: 1px solid #8e8f99;
  border-radius: 4px;
  background-color: #f4f4fd;
  padding: 24px 100px;
  margin-bottom: 8px;
}
.advantages-section-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
}
.advantages-section-text {
  font-weight: 400;
}
}
/* #endregion */
/* #region  -------team-section------*/
.team-section {
  background-color: #f4f4fd;

}
.team-section-title {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 72px;
}
.team-section-container {
  display: flex;
  flex-wrap: wrap;
  gap: 72px;
  padding: 0 12px;
}
.team-section-card {
  background-color: #fff;
  flex-basis: 100%;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08),
    0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
}
.team-section-card-text {
  padding: 32px 0;
}
.team-section-card-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 8px;
}
.team-section-card-descr {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 8px; 
}
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #4d5ae5;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.social-icon {
  fill: #f4f4fd;
}
.social-link:hover,
.social-link:focus {
  background-color: #404bbf;
}
@media  screen and (min-width: 768px) {
  .team-section-container {
  column-gap: 24px;
  row-gap: 64px;
  padding: 0 92px;
}
.team-section-card {
  flex-basis: calc((100% - 24px) / 2);
}
}
@media screen and (min-width: 1158px) {
.team-section-container {
  flex-wrap: nowrap;
  gap: 24px;
  padding: 0;
}
.team-section-card {
  flex-basis: calc((100% - 72px) / 4);
}
}
/* #endregion */
/* #region  -----portfolio---*/
  .portfolio-title {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 72px;
}
.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.portfolio-item {
  flex-basis: 100%;
  box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08), 0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
}
.portfolio-item:hover .thumb-text {
  transform: translateY(0%);
}
.thumb {
  position: relative;
  overflow: hidden;
}
.thumb-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 40px 32px;
  background-color: #4d5ae5;
  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-item-content {
  border-bottom: 1px solid #e7e9fc;
  border-left: 1px solid #e7e9fc;
  border-right: 1px solid #e7e9fc;
  padding: 32px 16px;
}
.portfolio-item-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
}
.portfolio-item-descr {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
@media screen and (min-width: 768px) {
  .portfolio-list {
  row-gap: 72px;
  column-gap: 24px;
}
.portfolio-item {
  flex-basis: calc((100% - 24px) / 2);
}
}
@media screen and (min-width: 1158px) {
.portfolio-list {
  row-gap: 48px;
}
.portfolio-item {
  flex-basis: calc((100% - 48px) / 3);
  box-shadow: none;
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-item:hover {
  box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08),
    0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
}
}
/* #endregion */

/* #region -------footer------ */
.footer {
  background-color: #2e2f42;
  padding-top: 96px;
  padding-bottom: 96px;
}
.footer-container {
  display: flex;
 flex-direction: column;
  align-items: center;
  gap: 72px;
}
.footer-logo {
  display: block;
text-align: center;
  margin-bottom: 16px;
}
.footer-logo-white {
  color: #f4f4fd;
}
.footer-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
}
.footer-social-text {
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
}
.footer-social-links {
  gap: 16px;
}
.footer-social-link:hover,
.footer-social-link:focus {
  background-color: #31d0aa;
}
.footer-subscribe-text {
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
}
.footer-subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-subscribe-input {
  outline: transparent;
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 8px 16px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  min-width: 288px;
  height: 40px;
  background-color: inherit;
  font-weight: 400;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #ffffff;
  opacity: 0.3;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-subscribe-input::placeholder {
  color: #ffffff;
  opacity: 0.6;
}
.footer-subscribe-input:focus {
  border-color: #31d0aa;
}
.footer-subscribe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: none;
  border-radius: 4px;
  min-width: 165px;
  height: 40px;
  background-color: #4d5ae5;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #fff;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-subscribe-btn:focus,
.footer-subscribe-btn:hover {
  background-color: #31d0aa;
}
.footer-subscribe-icon {
  fill: #fff;
  margin-left: 16px;
}
@media screen and (min-width: 768px) {
.footer-container {
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 72px;
  padding: 0 108px;
}
.footer-logo,
.footer-social-text,
.footer-subscribe-text {
text-align: left;
}
.footer-text {
  max-width: 264px;
}

.footer-subscribe-form {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.footer-subscribe-input {
  min-width: 264px;
}
}
@media screen and (min-width: 1158px) {
  .footer {
  padding-top: 100px;
  padding-bottom: 100px;
}
.footer-container {
  flex-wrap: nowrap;
    gap: 0;
    padding: 0 15px;

}
.footer-logo-container {
  margin-right: 120px;
}
.footer-logo {
  display: inline-block;
}
.footer-subscribe {
  margin-left: auto;
}
.footer-subscribe-input {
opacity: 1;
}
.footer-subscribe-input::placeholder {
 opacity: 1;
}
}
/* #endregion */
/* #region ----modal--- */
 .backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 47, 66, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.backdrop:not(.is-open) .modal {
  transform: translate(-50%, -100%);
}
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 288px;
  min-height: 623px;
  border-radius: 4px;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12),
    0 2px 1px 0 rgba(0, 0, 0, 0.2);
  background-color: #fcfcfc;
  padding: 72px 16px 24px 16px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
  .modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  min-width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  border-radius: 50%;
  background-color: #e7e9fc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-close-btn:focus,
.modal-close-btn:hover {
  background-color: #404bbf;
  border: none;
}
.modal-close-icon {
  fill: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-close-btn:focus > .modal-close-icon,
.modal-close-btn:hover > .modal-close-icon {
  fill: #ffffff;
}
.modal-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 16px;
}
.modal-form-field {
  margin-bottom: 8px;
}
.modal-form-label {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
  margin-bottom: 4px;
  display: block;
}
.modal-form-input-container {
  position: relative;
}
.modal-form-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  fill: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-input {
  outline: transparent;
  padding-left: 34px;
  padding-top: 11px;
  padding-bottom: 11px;
  width: 100%;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  min-height: 40px;
  background-color: transparent;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-form-input:focus {
  border-color: #4d5ae5;
}
.modal-form-input:focus + .modal-form-icon {
  fill: #4d5ae5;
}
.modal-textarea-field {
  margin-bottom: 16px;
}
.modal-form-textarea {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  resize: none;
  outline: transparent;
  background-color: transparent;
  color: rgba(46, 47, 66, 0.5);
  display: block;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  padding: 8px 16px;
  width: 256px;
  height: 120px;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-textarea::placeholder {
  color: rgba(46, 47, 66, 0.5);
}
.modal-form-textarea:focus {
  border-color: #4d5ae5;
}
.modal-privacy-container {
  margin-bottom: 24px;
}
.modal-custom-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  fill: transparent;
  margin-right: 8px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    fill 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-checkbox:checked + .modal-checkbox-label > .modal-custom-checkbox {
  background-color: #404bbf;
  fill: #f4f4fd;
  border: none;
}
.modal-checkbox-label {
  display: flex;
  align-items: center;
  border-radius: 4px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
}
.modal-privacy-link {
  line-height: 1.33;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #4d5ae5;
}
.modal-form-btn {
  display: block;
  margin: 0 auto;
  cursor: pointer;
  min-width: 169px;
  height: 56px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background-color: #4d5ae5;
  padding: 16px 32px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-btn:focus,
.modal-form-btn:hover {
  background-color: #404bbf;
}
@media screen and (min-width: 768px) {
  .modal {
  width: 408px;
  min-height: 584px;
  padding: 72px 24px 24px 24px;
}
.modal-form-textarea {
  width: 360px;
}
}
@media screen and (min-width: 1158px) {
.modal-form-input {
  padding-left: 38px;
}
}
/* #endregion */
