.hidden {
  display: none;
}

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

/* #region Reset */
a {
  text-decoration: none;
}
.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;
}
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
}
/* #endregion */

/* #region Common */
.container {
  max-width: 320px;
  padding: 0 16px;
  margin: 0 auto;
}

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

@media screen and (min-width: 1158px) {
  .container {
    max-width: 1158px;
    padding: 0 15px;
  }
}
/* #endregion */

/* #region Header */
.page-header {
  border-bottom: 1px solid #e7e9fc;
  box-shadow: 0px 2px 1px rgba(46, 47, 66, 0.08),
    0px 1px 1px rgba(46, 47, 66, 0.16), 0px 1px 6px rgba(46, 47, 66, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav-list,
.contacts-address {
  display: none;
}

.logo {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4d5ae5;
}

.header-logo {
  padding: 16px 0;
  display: block;
}

.header-logo .logo-part {
  color: #2e2f42;
}

.burger-btn {
  padding: 0;
  border: none;
  background-color: transparent;
}

.burger-icon {
  display: block;
  fill: #2f2f37;
}

@media screen and (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .header-nav {
    display: flex;
    align-items: center;
  }
  .header-nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .header-logo {
    padding: 24px 0;
    margin-right: 120px;
  }
  .header-href-studio {
    position: relative;
    color: #404bbf;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
    padding: 24px 0;
    display: block;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .header-href-studio::after {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: #404bbf;
    content: "";
  }
  .header-href {
    position: relative;
    color: #2e2f42;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.32px;
    padding: 24px 0;
    display: block;
  }
  .header-href:hover {
    color: #404bbf;
  }
  .header-href:focus {
    color: #404bbf;
  }

  .contacts-address {
    font-style: normal;
    display: block;
  }

  .contacts-address-ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .address-href {
    font-size: 12px;
    display: block;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #434455;

    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .address-href:hover,
  .address-href:focus {
    color: #404bbf;
  }
}

@media screen and (min-width: 1158px) {
  .header-logo {
    margin-right: 76px;
  }

  .contacts-address-ul {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .address-href {
    padding: 24px 0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
}

/* #region  Mobile-Menu*/
@media screen and (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: #ffffff;

  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);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-container {
  position: relative;
  padding-top: 72px;
  padding-bottom: 40px;

  display: flex;
  flex-direction: column;
  height: 100%;

  background-color: #ffffff;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  cursor: pointer;

  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-nav {
  margin-bottom: auto;
}
.mobile-menu-nav-ul {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-menu-header-href {
  max-width: 216px;
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
}
.mobile-menu-header-href-studio {
  max-width: 216px;
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  letter-spacing: 0.02em;
  text-align: center;
  color: #404bbf;
}

.contacts-address-mm {
  font-style: normal;
  margin-bottom: 48px;
}

.contacts-address-ul-mm {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.address-href-mm {
  font-size: 20px;
  display: block;

  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #4d5ae5;
}

.address-href-mm-mail {
  font-size: 20px;
  display: block;

  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.02em;
  color: #434455;
}

.field-icon-footer-mobile-menu {
  display: flex;
  gap: 40px;
}

/* #endregion */
/* #endregion */

/* #region Section 1 - Effective Solutions */
.section_effective_solutions {
  max-width: 320px;
  margin: 0 auto; /* центрує блок по горизонталі */
  background-color: #2e2f42;

  padding-top: 72px;
  padding-bottom: 72px;
  padding-left: 52px;
  padding-right: 52px;

  background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
    url(../images/bg_pictures/Dark-bg-mobile-min.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media screen and (min-resolution: 192dpi) {
  .section_effective_solutions {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/bg_pictures/Dark-bg-mobile@2x-min.jpg);
  }
}

.section_effective_solutions .container {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h-first {
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ffffff;
  margin-bottom: 72px;
}

.button_order_service {
  background-color: #4d5ae5;
  border-radius: 4px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
  cursor: pointer;
  display: block;
  min-width: 169px;
  height: 56px;
  border: none;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button_order_service:hover,
.button_order_service:focus {
  background-color: #404bbf;
}

/* Tablet */
@media screen and (min-width: 768px) {
  .section_effective_solutions {
    max-width: 768px;
    padding-bottom: 112px;
    padding-top: 112px;
    padding-left: 136px;
    padding-right: 136px;

    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/bg_pictures/Dark-bg-tablet-min.jpg);
  }

  .h-first {
    min-width: 496px;
    font-size: 56px;
    line-height: 107%;

    margin-bottom: 36px;
  }
}
@media screen and (min-width: 768px) and (min-resolution: 192dpi) {
  .section_effective_solutions {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/bg_pictures/Dark-bg-tablet@2x-min.jpg);
  }
}

/* Desktop */
@media screen and (min-width: 1158px) {
  .section_effective_solutions {
    max-width: 1440px;
    padding-bottom: 188px;
    padding-top: 188px;
    padding-left: 472px;
    padding-right: 472px;

    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/bg_pictures/Dark-bg-desktop-min.jpg);
  }
}
.h-first {
  margin-bottom: 48px;
}
@media screen and (min-width: 1158px) and (min-resolution: 192dpi) {
  .section_effective_solutions {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/bg_pictures/Dark-bg-desktop@2x-min.jpg);
  }
}
/* #endregion */

/* #region Section 2 - Benefits */
.section_benefits {
  padding-top: 96px;
  padding-bottom: 96px;
}

.benefits-ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  gap: 72px;
}

.benefits-ul-li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section_benefits .h-third {
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  letter-spacing: 0.02em;
  text-align: center;
}

.section_benefits .p-section-two-three {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: var(--slate);
}

.field-icon-benefits {
  display: none;
  justify-content: center;
  align-items: center;
  background-color: #f4f4fd;
  height: 112px;
  border: 1px solid #8e8f99;
  border-radius: 4px;
}

/* Tablet */
@media screen and (min-width: 768px) {
  .benefits-ul {
    gap: 72px 24px; /* вертикальний і горизонтальний відступи */
  }

  .benefits-ul-li {
    width: 356px;
  }

  .section_benefits .h-third {
    text-align: start;
  }
}

/* Desktop */
@media screen and (min-width: 1158px) {
  .section_benefits {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .benefits-ul {
    gap: 24px;
  }

  .benefits-ul-li {
    width: calc((100% - 72px) / 4);
  }

  .h-second {
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #2e2f42;
    margin-bottom: 72px;
  }

  .section_benefits .h-third {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #2e2f42;
  }

  .section_benefits .p-section-two-three {
    color: #434455;
  }

  .field-icon-benefits {
    display: flex;
  }
}
/* #endregion */

/* #region Section 3 - Our Team */
.section_our_team {
  padding-top: 96px;
  padding-bottom: 96px;
  background-color: #f4f4fd;
}

.our-team-ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  gap: 72px;
}

.section_our_team .h-second {
  font-size: 36px;
  line-height: 1.11;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: #2e2f42;
  margin-bottom: 72px;
}

.our-team-ul-li {
  border-radius: 0 0 4px 4px;
  background-color: #fff;
  box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
    0px 1px 1px rgba(46, 47, 66, 0.16), 0px 2px 1px rgba(46, 47, 66, 0.08);
}

.our-team-ul-li-div {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section_our_team .h-third {
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
}

.section_our_team .p-section-two-three {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
  margin-bottom: 8px;
}

/* icons */
.field-icon-our-team {
  margin: 0 16px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.circle-icon-our-team {
  width: 40px;
  height: 40px;
}

.icon-link-sm {
  width: 100%;
  height: 100%;
  background-color: #4d5ae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.icon-link-sm:hover,
.icon-link-sm:focus {
  background-color: #404bbf;
}

.icons-socialmedia-benefits {
  fill: #f4f4fd;
}

/* Tablet */
@media screen and (min-width: 768px) {
  .section_our_team .container {
    min-width: 768px;
  }

  .our-team-ul {
    gap: 64px 24px; /* вертикальний і горизонтальний відступи */
  }
}

/* Desktop */
@media screen and (min-width: 1158px) {
  .section_our_team {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .section_our_team .container {
    min-width: 1158px;
  }
}
/* #endregion */

/* #region Section 4 - Our Portfolio */
.section_our_portfolio {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-four-h-second {
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 72px;
}

.our-portfolio-ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  column-gap: 24px;
  row-gap: 48px;
}

.our-portfolio-ul-li {
  box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
    0px 1px 1px rgba(46, 47, 66, 0.16), 0px 2px 1px rgba(46, 47, 66, 0.08);
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.our-portfolio-ul-li:hover {
  box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
    0px 1px 1px rgba(46, 47, 66, 0.16), 0px 2px 1px rgba(46, 47, 66, 0.08);
}

.picture-animation {
  min-height: 280px;
  min-width: 288px;
  position: relative;
  overflow: hidden;
}

.picture-animation img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-paragraph {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
  padding: 40px 32px;
  background-color: #4d5ae5;

  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.our-portfolio-ul-li:hover .overlay-paragraph {
  transform: translateY(0%);
}

.our-portfolio-ul-li-div {
  padding: 32px 16px;
  border: 1px solid #e7e9fc;
  border-top: none;
  background-color: #ffffff;
}

.section_our_portfolio .h-third {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
}

/* Tablet */
@media screen and (min-width: 768px) {
  .section_our_portfolio .container {
    width: 768px;
  }
  .our-portfolio-ul {
    row-gap: 72px;
  }
  .picture-animation {
    min-height: 300px;
    min-width: 356px;
  }
}

/* Desktop */
@media screen and (min-width: 1158px) {
  .section_our_portfolio {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .our-portfolio-ul {
    row-gap: 48px;
  }
  .section_our_portfolio .container {
    width: 1158px;
  }
  .picture-animation {
    min-width: 360px;
  }
  .our-portfolio-ul-li {
    box-shadow: none;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}
/* #endregion */

/* #region Footer */
.page-footer {
  padding-top: 96px;
  padding-bottom: 96px;

  background-color: #2e2f42;
}
.page-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 72px;

  min-width: 288px;
}
.webstudio-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo .logo-part {
  color: #f4f4fd;
}
.p-footer {
  line-height: 1.5;
  color: #f4f4fd;
  letter-spacing: 0.02em;
}
/* #region Social Media */
.social-media-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.social-media-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.02em;
  color: #f4f4fd;
}

.field-icon-footer {
  display: flex;
  gap: 16px;
}
.circle-icon-footer {
  width: 40px;
  height: 40px;
}
.icon-link-sm-footer {
  width: 100%;
  height: 100%;
  background-color: #4d5ae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.icon-link-sm-footer:hover,
.icon-link-sm-footer:focus {
  background-color: #31d0aa;
}

.icons-socialmedia-footer {
  fill: #f4f4fd;
}
/* #endregion Social Media */

.footer-subscribe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.email-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.form-input {
  width: 288px;
  height: 40px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  padding-left: 16px;
  background-color: transparent;

  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.form-input::placeholder {
  color: #ffffff;
}

.subscribe-button {
  min-width: 165px;
  height: 40px;
  border-radius: 4px;
  background-color: #4d5ae5;

  display: flex;
  justify-content: center;
  align-items: center;

  font-family: "Roboto" sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
  cursor: pointer;

  border: none;
}

.icons-subscribe-footer {
  margin-left: 16px;
  fill: #f4f4fd;
}

/* Tablet */
@media screen and (min-width: 768px) {
  .page-footer {
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .page-footer .container {
    justify-content: start;
    column-gap: 24px;
    padding-left: 92px;
  }
  .webstudio-footer {
    max-width: 264px;
    align-items: start;
  }
  .social-media-footer {
    max-width: 208px;
    align-items: start;
  }
  .footer-subscribe {
    align-items: start;
    gap: 16px;
  }
  .email-form {
    gap: 24px;
  }
  .form-input {
    width: 264px;
  }
}

/* Desktop */
@media screen and (min-width: 1158px) {
  .page-footer .container {
    column-gap: 0px;
    padding: 0 15px;
    max-width: 1158px;
  }
  .webstudio-footer {
    margin-right: 120px;
  }
  .social-media-footer {
    margin-right: 80px;
  }
}

/* #endregion */

/* #region Modal-Fenster */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  z-index: 999;

  background-color: rgba(46, 47, 66, 0.4);
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-fenster {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 288px;
  min-height: 623px;
  background: #fcfcfc;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.12),
    0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);

  padding-top: 72px;
  padding-right: 16px;
  padding-bottom: 24px;
  padding-left: 16px;
}

.kreuz-button {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  cursor: pointer;

  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.kreuz-button:hover,
.kreuz-button:focus {
  background-color: #404bbf;
  border: none;
}

.kreuz-button:hover .icon-close-modal,
.kreuz-button:focus .icon-close-modal {
  fill: #ffffff;
}

.icon-close-modal {
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
  fill: #2e2f42;
}

.kreuz-button:hover,
.kreuz-button:focus .icon-close-modal:hover {
  fill: #ffffff;
}

.modalfenster-maintext {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.02em;
  color: #2e2f42;

  margin-bottom: 16px;
}

/* Modal-FORM */

.modal-form-div {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}

.modal-name-label {
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
  display: block;
  margin-bottom: 4px;
}

.label-input-icon {
  position: relative;
}

.modal-form-input {
  width: 100%;
  height: 40px;

  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;

  background-color: transparent;
  padding-left: 38px;

  outline: transparent;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  border-color: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-input:focus {
  border-color: #4d5ae5;
}

.modal-form-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);

  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.label-input-icon:focus-within .modal-form-icon {
  fill: #4d5ae5;
}

.modal-form-div-comment {
  margin-bottom: 16px;
}

.textarea-modal {
  width: 100%;
  height: 120px;

  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: rgba(46, 47, 66, 0.4);

  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;

  padding: 8px 16px;

  outline: transparent;
  resize: none;
}

.textarea-modal::placeholder {
  color: #2e2f4266;
}

.textarea-modal:focus {
  border-color: #4d5ae5;
}

.modal-form-checkbox {
  margin-bottom: 24px;
}

.modal-checkbox-label {
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;

  display: flex;
  align-items: center;
}

.checkbox-span {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 2px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1),
    fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  fill: transparent;

  margin-right: 8px;
}
.checkbox-span-text {
  max-width: 231px;
}

.modal-form-icon-check {
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.visually-hidden:checked + .modal-checkbox-label .checkbox-span {
  background-color: #404bbf;
  border: none;
  fill: #f4f4fd;
}

.send-button {
  transform: translateX(25%);

  display: block;
  min-width: 169px;
  height: 56px;

  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;

  color: #ffffff;
  cursor: pointer;

  background-color: #4d5ae5;
  border: none;
  border-radius: 4px;
  box-shadow: 0px 4px 4px 0px #00000026;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy_policy {
  color: #4d5ae5;
}

/* Tablet */
@media screen and (min-width: 768px) {
  .modal-fenster {
    width: 408px;
    min-height: 584px;

    padding-top: 72px;
    padding-right: 24px;
    padding-bottom: 24px;
    padding-left: 24px;
  }

  .checkbox-span-text {
    max-width: 600px;
  }

  .send-button {
    transform: translateX(50%);
  }
}

/* #endregion Modal-Fenster */
