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

.container {
  width: 288px;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .container {
    width: 768px;
    padding: 6px 16px;
  }
}

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

/* #region Header */

.header {
  background-color: #ffffff;
  opacity: 1;
  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);
  padding: 16px;
}

@media only screen and (min-width: 768px) {
  .header {
    padding: 0 16px;
  }
}

@media only screen and (min-width: 1158px) {
  .header {
    padding: 18px 15px;
  }
}

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

/* .container  ЭТУ ДВИЖУХУ В DESKTOП!!!!@MEDIA
  width: 100%;
  max-width: 1158px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
} */

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

.nav-list {
  list-style: none;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: row;
  gap: 40px;
  display: none;
}

@media only screen and (min-width: 768px) {
  .nav-list {
    display: flex;
  }
}

.nav-link.active {
  color: #404bbf;
}
.contact-list-item {
  list-style: none;
}
.nav-link.active::after {
  position: absolute;
  top: 100%;
  right: 0%;
  bottom: -1px;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: #404bbf;
}

.studio-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 0px;
}

.nav-link {
  color: #2e2f42;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 24px 0;
  position: relative;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-active {
  color: #404bbf;
}

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

.contact-link {
  color: #434455;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link:hover,
.contact-link:focus {
  color: #404bbf;
  text-decoration: none;
}

.header-contacts {
  font-style: normal;
  display: flex;
  display: none;
}

@media only screen and (min-width: 768px) {
  .header-contacts {
    display: flex;
  }
}

.logo {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  text-transform: uppercase;
  text-decoration: none;
  color: #404bbf;
  letter-spacing: 0.03em;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);

  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 0px;
  margin-right: 120px;
}

.logo-accent {
  color: #2e2f42;
}

.contacts-list {
  display: flex;
  gap: 40px;

  font-size: 12px;
  line-height: 117%;
  letter-spacing: 0.04em;
  color: #434455;
}

@media only screen and (min-width: 768px) {
  .contacts-list {
    flex-direction: column;
    gap: 12px;
  }
}

@media only screen and (min-width: 1158px) {
  .contacts-list {
    flex-direction: row;
  }
}

/* #endregion */

/* #region Hero */

.hero-section {
  padding: 188px 0;
  max-width: 1440px;
  margin: 0 auto;
  background-color: #2e2f42;
  padding: 72px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  width: 100%;

  background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
    image-set(
      url("../images/mobile/dark-bg@hero-bg1x.webp") 1x,
      url("../images/mobile/dark-bg@hero-bg2x.webp") 2x
    );
}

@media only screen and (min-width: 768px) {
  .hero-section {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      image-set(
        url("../images/tablet/imgtb@hero-bg-1x.webp") 1x,
        url("../images/tablet/imgtb@hero-bg-2x.webp") 2x
      );
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
}

@media only screen and (min-width: 1158px) {
  .hero-section {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      image-set(
        url("../images/desktop/imgdesk@hero-bg-1x.webp") 1x,
        url("../images/desktop/imgdesk@hero-bg-2x.webp") 2x
      );
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
}

.hero-title {
  margin: 0 auto;
  font-weight: 700;
  font-size: 36px;
  width: 216px;
  /* line-height: 40px; */
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  margin-bottom: 72px;
}

@media only screen and (min-width: 768px) {
  .hero-title {
    font-size: 56px;
    line-height: 1.07;

    width: 496px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    font-family: "Roboto", sans-serif;

    font-size: 56px;
    line-height: 107%;
  }
}

/* .hero-title { НОВОЕ ХИРО ДЛЯ ДЕСТКОПА
  

 */

.hero-button {
  background-color: #4d5ae5;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: block;
  margin: 0 auto;
  min-width: 169px;
  height: 56px;
  border-radius: 4px;

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

  width: 169px;
  border: none;
}

.hero-button:hover,
.hero-button:focus {
  background-color: #404bbf;
}

/* #endregion */

/* #region Benefits */

/* .benefits-section {
  padding: 120px 0;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
} */

.benefits-section {
  padding: 96px 0;
}

.benefits-wrapper {
  width: 264px;
  height: 112px;
  border: 1px solid #8e8f99;
  border-radius: 4px;
  text-align: center;
  background-color: #f4f4fd;
  margin-bottom: 8px;

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

@media only screen and (min-width: 1158px) {
  .benefits-wrapper {
    display: flex;
  }
}

.benefits-svg {
  width: 64px;
  height: 64px;
  margin-top: 24px;
  margin-bottom: 24px;
}

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

.benefits-section-title {
  text-transform: capitalize;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;

  display: none;
}

@media only screen and (min-width: 768px) {
  .benefits-item {
    width: calc((100% - 24px) / 2);
    align-items: start;
  }
}

@media only screen and (min-width: 1158px) {
  .benefits-item {
    width: calc((100% - 72px) / 4);
  }
}

.benefits-list {
  display: flex;
  gap: 72px;
  flex-direction: column;
}
@media only screen and (min-width: 768px) {
  .benefits-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 72px 24px;
  }
}

.benefits-title {
  margin-bottom: 8px;

  font-weight: 700;
  font-size: 36px;

  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
}
@media only screen and (min-width: 768px) {
  .benefits-title {
    text-align: start;
  }
}

@media only screen and (min-width: 1158px) {
  .benefits-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
  }
}

.benefits-text {
  font-weight: 500;
  font-size: 16px;

  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}

/* #endregion */

/* #region Team */

.team-section {
  background-color: #f4f4fd;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  padding: 96px 0;
}

@media only screen and (min-width: 768px) {
  .team-section {
    padding: 120px 0;
  }
}

.team-item {
  border-radius: 0px 0px 4px 4px;
  background-color: #ffffff;
  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-title {
  font-weight: 700;
  font-size: 36px;

  line-height: 1.11111;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 96px;
}

@media only screen and (min-width: 1158px) {
  .team-title {
    margin-bottom: 72px;

    text-transform: capitalize;
  }
}

.team-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 32px 0px;
}

.icon-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #4d5ae5;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-circle:hover,
.icon-circle:focus {
  background-color: #404bbf;
}

.social-icon {
  fill: #f4f4fd;
}

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

.team-position {
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  color: #434455;
  letter-spacing: 0.02em;
}

.team-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 72px;
}

@media only screen and (min-width: 768px) {
  .team-list {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    gap: 72px 24px;
    width: 552px;
  }
}

@media only screen and (min-width: 1158px) {
  .team-list {
    list-style: none;
    gap: 23px;
    width: 100%;
    flex-direction: row;
  }
}

/* #endregion */

/* #region Portfolio */

.portfolio {
  padding: 96px 0;
}

@media only screen and (min-width: 1158px) {
  .portfolio {
    padding: 120px 0;
  }
}

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

.portfolio-images {
  width: 288px;
  height: 280px;
}

@media only screen and (min-width: 768px) {
  .portfolio-images {
    width: 356px;
    height: 300px;
  }
}

@media only screen and (min-width: 1158px) {
  .portfolio-images {
    width: 360px;
  }
}

.portfolio-list {
  list-style: none;
  gap: 48px 0;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .portfolio-list {
    flex-direction: row;
    gap: 72px 24px;
  }
}

@media only screen and (min-width: 1158px) {
  .portfolio-list {
    gap: 48px 24px;
  }
}

.overlay {
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
  position: absolute;
  inset: 0;
  text-align: center;

  background: #4d5ae5;
  /* padding: 40px 32px; */
  display: flex;
  align-items: center;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(100%);
}

.portfolio-wrapper {
  /* border-bottom: 1px solid #e7e9fc;
  border-left: 1px solid #e7e9fc;
  border-right: 1px solid #e7e9fc; */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;

  padding: 32px 16px;
}
@media only screen and (min-width: 1158px) {
  .portfolio-wrapper {
    gap: 8px;
  }
}

.portfolio-list-item {
  border-bottom: 1px solid #e7e9fc;
  border-left: 1px solid #e7e9fc;
  border-right: 1px solid #e7e9fc;
  width: 288px;

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

@media only screen and (min-width: 768px) {
  .portfolio-list-item {
    width: 356px;
  }
}

@media only screen and (min-width: 1158px) {
  .portfolio-list-item {
    width: calc((100% - 24px * 2) / 3);
  }
}

.portfolio-list-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);
}

.portfolio-list-item:hover .overlay {
  transform: translatey(0);
}

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

.portfolio-text {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}

/* #endregion */

/* #region Footer */

.footer {
  background-color: #2e2f42;
  padding: 100px 0;
  display: flex;
}

.footer .container {
  row-gap: 72px;
}

@media only screen and (min-width: 768px) {
  .footer .container {
    column-gap: 24px;
    margin: 0 auto;
  }

  .container {
    padding: 0;
  }

  .container.container-footer {
    width: 496px;
  }
}

@media only screen and (min-width: 768px) {
  .container.container-footer {
    width: 1158px;
    margin: 0 auto;
    flex-wrap: nowrap;
  }
}

.footer-wrapper {
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .footer-wrapper {
    margin: 0;
  }
}

@media only screen and (min-width: 1158px) {
  .footer-wrapper {
    margin-right: 120px;
  }
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  text-transform: uppercase;
  text-decoration: none;
  color: #4d5ae5;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

@media only screen and (min-width: 768px) {
  .footer-logo {
    justify-content: start;
    align-items: start;
  }
}

@media only screen and (min-width: 1158px) {
  .footer-logo {
    display: inline-block;
  }
}

.logo-accent-footer {
  color: #f4f4fd;
}

.footer-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
  max-width: 264px;
}

.social-media {
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .social-media {
    margin: 0;
  }
}
@media only screen and (min-width: 1158px) {
  .social-media {
    margin-right: 80px;
  }
}
.footer .text-social {
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
}

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

.icon-list-footer {
  gap: 16px;
  display: flex;
}

.contact-link:hover,
.contact-link:focus {
  color: #404bbf;
}

.green-icons:hover,
.green-icons:focus {
  background-color: #31d0aa;
}

.container-footer {
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .container-footer {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto 0 108px;
  }
}

@media only screen and (min-width: 1158px) {
  .container-footer {
    align-items: baseline;
  }
}

.wrapper-appear {
  position: relative;
  display: inline-block;
  width: 288px;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .wrapper-appear {
    width: 355px;
  }
}
@media only screen and (min-width: 1158px) {
  .wrapper-appear {
    width: 360px;
  }
}

/* Footer subscribe */

.footer-subsrcibe {
  width: 100%;
}

@media only screen and (min-width: 1158px) {
  .footer-subsrcibe {
    width: 453px;
  }
}

.footer-subscribe-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: #ffffff;
  text-align: center;
}

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

.footer-subscribe-form {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .footer-subscribe-form {
    flex-direction: row;
    align-items: start;
    justify-content: start;
  }
}

.footer-subscribe-input {
  width: 288px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 4px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background-color: inherit;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #ffffff;
}

@media only screen and (min-width: 768px) {
  .footer-subscribe-input {
    width: 264px;
  }
}

.button-tg {
  min-width: 165px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
  fill: #ffffff;
  cursor: pointer;
  background-color: #4d5ae5;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.button-tg:hover {
  background: #404bbf;
}

.subscribe-tg-icon {
  margin-left: 16px;
}

/* #endregion */

/* #region Backdrop */

.backdrop-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  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);
}

.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: initial;
}

.backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  width: 288px;
  min-height: 584px;
  padding: 72px 16px 16px;
  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: #fcfcfc;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 288px;
}

@media only screen and (min-width: 768px) {
  .backdrop {
    width: 408px;
    min-height: 584px;
    padding: 72px 24px 24px 24px;
  }
}

.backdrop-btn-close {
  position: absolute;
  top: 24px;
  right: 24px;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  background-color: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: block;
  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);
}

.backdrop-btn-close:hover,
.backdrop-btn-close:focus {
  background-color: #404bbf;
  border: none;
}

.backdrop-close-icon {
  display: block;
  fill: #2e2f42;
  margin: 7px;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop-close-btn:hover .backdrop-close-icon,
.backdrop-close-btn:focus .backdrop-close-icon {
  fill: #ffffff;
}

.backdrop-caption {
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 16px;
}

.backdrop-form {
  display: block;
  gap: 8px;
  margin-bottom: 16px;
}

.backdrop-input-wrapper {
  margin-bottom: 8px;
}

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

.backdroop-form-field {
  position: relative;
}

.backdrop-form-input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  padding: 8px 32px;
  padding-left: 38px;
  background-color: transparent;
  outline: transparent;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop-form-input:hover,
.backdrop-form-input:focus {
  border: 1px solid #4d5ae5;
}

.backdrop-field-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop-form-input:hover + .backdrop-field-icon,
.backdrop-form-input:focus + .backdrop-field-icon {
  fill: #4d5ae5;
}

.backdrop-textarea-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.backdrop-text-area {
  width: 100%;
  height: 120px;
  resize: none;
  font-size: 12px;
  line-height: 117%;
  letter-spacing: 0.04em;
  color: rgba(46, 47, 66, 0.4);
  background-color: transparent;
  outline: transparent;
  padding: 8px 16px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop-text-area:focus {
  border-color: #4d5ae5;
}

.backdrop-text-area::placeholder {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: rgba(46, 47, 66, 0.4);
}

.backdrop-privacy-wrapper {
  display: flex;
  align-items: baseline;
  margin-bottom: 24px;
  justify-content: space-between;
}

.backdrop-privacy-label {
  display: flex;
  flex-direction: row;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 24px; */
}

.backdrop-btn-close:hover .backdrop-icon-close,
.backdrop-btn-close:focus .backdrop-icon-close {
  fill: #ffffff;
}
.privacy-label-icon {
  display: inline-flex;
  width: 16px;
  justify-content: center;
  align-items: center;
  fill: transparent;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  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);
  margin-right: 5px;
}

#user-privacy:checked + .backdrop-privacy-label .privacy-label-icon {
  border: none;
  fill: #f4f4fd;
  background-color: #404bbf;
}

.privacy-text-wrapper {
  width: 232px;
}

@media only screen and (min-width: 768px) {
  .privacy-text-wrapper {
    width: 338px;
  }
}

.backdrop-privacy-ref {
  line-height: 1.33333;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #4d5ae5;
}

.backdrop-btn-send {
  display: block;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 10px;
  border-radius: 4px;
  padding: 16px 32px;
  width: 169px;
  height: 56px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background: #4d5ae5;
  margin: 0 auto;
  min-width: 169px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: #ffffff;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop-btn-caption {
  display: flex;
  align-items: center;
  justify-content: center;
}

.backdrop-btn-send:hover,
.backdrop-btn-send:focus {
  border: none;
  background: #404bbf;
}

/* #endregion */

.mobile-button {
  width: 24px;
  height: 24px;
  background-color: transparent;
}
@media only screen and (min-width: 768px) {
  .mobile-button {
    display: none;
  }
}

.clear-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: transparent;
}

/* #region Mobile menu */

.mobile-menu-btn {
  width: 24px;
  height: 24px;
}

@media only screen and (min-width: 768px) {
  .header-section .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  padding: 72px 16px 40px;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #fff;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
  transform: translateY(-100%);
  opacity: 1;
  cursor: pointer;
  z-index: 1000;
}

/* .mobile-menu  */
.burger-menu-wrapper:hover .mobile-menu {
  transform: translateY(0);
  max-height: 100vh;
  opacity: 1;
  pointer-events: auto;
}

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

.mobile-nav {
  margin-bottom: auto;
}

.mobile-menu .nav-link-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0;
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  letter-spacing: 0.02em;
}

.mobile-menu .nav-link {
  font-weight: 700;
  font-size: 36px;
  line-height: 111%;
  letter-spacing: 0.02em;
  padding: 0;
}

.mobile-address {
  display: initial;
}

.mobile-address-item .mobile-contacts-link {
  display: block;
  margin-bottom: 24px;
}
.mobile-contacts-link.mobile-link-active {
  color: #404bbf;
}

.mobile-contacts-link {
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.02em;

  color: #434455;
}

.mobile-menu .team-socials-list {
  justify-content: space-between;
}

.mobile-address-list {
  margin-bottom: 48px;
}

.mobile-menu .icon-list {
  gap: 40px;
}

a.nav-link.active-blue {
  color: #404bbf;
}

.backdrop-form-field {
  position: relative;
}

/* #endregion */
