/*   #region common   */
.hidden {
  display: none;
}
/*   default text format   */
body {
  font-family: 'Roboto', sans-serif;
  color: #434455;
  background-color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
/*   removes scrollbar Y from main page when form is-open   */
body:has(.form-overlay.is-open) {
  /* margin-right: 20px; */
  overflow-y: hidden;
}

/*   default headers format   */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
/*   default paragraph format   */
p {
  margin: 0;
}
/*   default lists format   */
ul,
ol {
  list-style-type: none;
  font-style: normal;
  padding-left: 0;
  margin: 0;
}
/*   default images format   */
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  -webkit-tap-highlight-color: transparent;
}
/*   default containers format   */

.section {
  width: 100%;
  padding-top: 96px;
  padding-bottom: 96px;
  /* outline: 1px solid red; */
}
/* @media screen and (min-width: 768px) {
} */
@media screen and (min-width: 1158px) {
  .section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}
.header {
  border-bottom: 1px solid #e7e9fc;
  padding-top: 0;
  padding-bottom: 0;
  height: 56px;
  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);
}
@media screen and (min-width: 768px) {
  .header {
    height: 72px;
  }
}
/* @media screen and (min-width: 1158px) {
} */

.container {
  max-width: 320px;
  padding: 0 16px;
  margin: 0 auto;
  /* outline: 1px solid blue; */
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media screen and (min-width: 1158px) {
  .container {
    max-width: 1158px;
    padding: 0 15px;
  }
}
/*   default headers h2 format */
.features-header,
.team-header,
.portfolio-header {
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 0.02em; /* мене заставили написати цей рядок */
  line-height: 1.11111;
  color: #2e2f42;
}

/*   default headers h3 format */
.features-item-header,
.team-item-header,
.portfolio-item-header {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
}
/*   #endregion   */

/*   #region header   */

/*   text settings   */
.logo,
.footer-link {
  text-decoration: none;
  color: #2e2f42;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.logo .accent-text,
.footer .accent-text {
  color: #4d5ae5;
}
/*   container settings   */
.header-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 320px;
  height: 56px;
}
@media only screen and (min-width: 768px) {
  .header-block {
    max-width: 768px;
    height: 72px;
    justify-content: flex-start;
  }
}
@media only screen and (min-width: 1158px) {
  .header-block {
    max-width: 1158px;
  }
}
.mobile-menu-btn {
  width: 24px;
  height: 24px;
  background-color: transparent;
  fill: #2f2f37;
  border: none;
  padding: 0;
}
@media only screen and (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}
.navigation,
.contacts {
  display: none;
}
@media only screen and (min-width: 768px) {
  .navigation,
  .contacts {
    display: block;
  }
}
.navigation-list {
  display: flex;
  gap: 40px;
}
@media only screen and (min-width: 768px) {
  .navigation-list {
    padding-left: 120px;
  }
}
@media only screen and (min-width: 1158px) {
  .navigation-list {
    padding-left: 76px;
  }
}
.navigation-item-link {
  position: relative;
  display: block;
  padding-top: 24px;
  padding-bottom: 24px;

  text-decoration: none;
  font-weight: 500;
  color: #2e2f42;

  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.navigation-item-link.is-active {
  color: #404bbf; /* OCEAN */
}
/* .navigation-list :first-child ::after { */
.navigation-item-link.is-active::after {
  position: absolute;
  bottom: -1px;
  /* top: calc(100% - 4px - 1px); */
  display: block;
  content: '';
  width: 100%;
  height: 4px;
  /* border: none; */
  border-radius: 2px;
  background-color: #404bbf;
}

.contacts {
  margin-left: auto;
}
.contacts-list {
  display: flex;
  flex-direction: column;
  margin-right: auto;
  gap: 40px;
}
@media only screen and (min-width: 768px) {
  .contacts-list {
    gap: 12px;
  }
}
@media only screen and (min-width: 1158px) {
  .contacts-list {
    flex-direction: row;
    gap: 40px;
  }
}
.contacts-item-link {
  display: block;
  /* padding-top: 24px;
  padding-bottom: 24px; */
  color: #434455;
  /* font-style: normal; */
  text-decoration: none;

  transition-property: color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (min-width: 768px) and (max-width: 1157.98px) {
  .contacts-item-link {
    /* font-weight: 400; */
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
  }
}
@media only screen and (min-width: 1158px) {
  .contacts-item-link {
    /* padding-top: 24px;
  padding-bottom: 24px; */
  }
}
.navigation-item-link:hover,
.navigation-item-link:focus,
.contacts-item-link:hover,
.contacts-item-link:focus {
  color: #404bbf;
}

/*   #endregion   */

/*   #region main > hero  */
.hero {
  max-width: 100%;
  margin: 0 auto;
  background-color: #2e2f42;
  background-image:
    linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
    url(../images/hero_bg_mobile.jpg);
  /* background-size: cover; */

  background-size: 320px;
  background-repeat: no-repeat;
  background-position: center;

  padding-top: 72px;
  padding-bottom: 72px;
}
@media (min-resolution: 192dpi) {
  .hero {
    background-image:
      linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero_bg_mobile@2x.jpg);
  }
}
@media screen and (min-width: 768px) {
  .hero {
    background-image:
      linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero_bg_tablet.jpg);
    background-size: 768px;
    padding-top: 112px;
    padding-bottom: 112px;
  }
}
@media screen and (min-width: 768px) and (min-resolution: 192dpi) {
  .hero {
    background-image:
      linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero_bg_tablet@2x.jpg);
  }
}
@media screen and (min-width: 1158px) {
  .hero {
    max-width: 1440px;
    background-image:
      linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero_bg_desktop.jpg);
    background-size: 1440px;
    padding-top: 188px;
    padding-bottom: 188px;
  }
}
@media screen and (min-width: 1158px) and (min-resolution: 192dpi) {
  .hero {
    background-image:
      linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url(../images/hero_bg_desktop@2x.jpg);
  }
}
.hero-header {
  max-width: 216px;
  margin: 0 auto;
  margin-bottom: 72px;
  text-align: center;

  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .hero-header {
    max-width: 496px;
    margin-bottom: 36px;

    font-size: 56px;
    line-height: 1.07;
  }
}
@media screen and (min-width: 1158px) {
  .hero-header {
    margin-bottom: 48px;
  }
}
.hero-btn,
.send-btn {
  display: flex;
  border: none;
  border-radius: 4px;
  padding: 16px 32px;
  margin: auto;
  justify-content: center;

  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  background-color: #4d5ae5;
  color: #ffffff;

  transition-property: background-color;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-btn:hover,
.hero-btn:focus,
.send-btn:hover,
.send-btn:focus,
.send-btn:active {
  background-color: #404bbf;
  cursor: pointer;
}
/*   #endregion   */

/*   #region main > features  */
.features-header {
  /* listed in common style->headers h2 */
}
.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;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
@media screen and (min-width: 768px) {
  .features-list {
    flex-direction: row;
    flex-wrap: wrap;
    /* row-gap: 72px; */
    column-gap: 24px;
  }
}
@media screen and (min-width: 1158px) {
  .features-list {
    display: flex;
    /* column-gap: 24px; */
  }
}
.features-list-item {
  width: 288px;
}
@media screen and (min-width: 768px) {
  .features-list-item {
    width: calc((100% - 24px) / 2);
  }
}
@media screen and (min-width: 1158px) {
  .features-list-item {
    width: calc((100% - 24px * 3) / 4);
  }
}

.features-item-icon {
  display: none;
}
@media screen and (min-width: 1158px) {
  .features-item-icon {
    display: flex;
    border: 1px solid #8e8f99; /* LIGHT SLATE */
    border-radius: 4px;
    background-color: #f4f4fd; /* CLOUD */
    max-width: 264px;
    height: 112px;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
  }
}
.features-item-header {
  /* listed in common style->headers h3 */
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11111;
  letter-spacing: 0.02em;

  text-align: center;

  padding-bottom: 8px;
}
@media screen and (min-width: 768px) {
  .features-item-header {
    text-align: left;
  }
}
@media screen and (min-width: 1158px) {
  .features-item-header {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
  }
}

.features-item-text {
  font-weight: 500;
  /* listed in common style  */
}
/* @media screen and (min-width: 768px) {
  .features-item-text {
  }
} */
@media screen and (min-width: 1158px) {
  .features-item-text {
    font-weight: 400;
  }
}
/*   #endregion   */

/*   #region main > team  */
.team {
  background-color: #f4f4fd;
}
/* --------D4------- */
@media screen and (min-width: 768px) and (max-width: 1157.98px) {
  .team-block {
    max-width: 584px;
  }
}

.team-header {
  text-align: center;
  padding-bottom: 72px;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .team-list {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 64px;
    column-gap: 24px;
  }
}
/* @media screen and (min-width: 1158px) {
  .team-list {
    
  }
} */

.team-list-item {
  display: flex;
  flex-direction: column;
  /* width: calc((100% - 24px * 3) / 4); */
  width: 264px;
  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);
  background-color: white;
}

.team-item-textblock {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 16px;
}

.team-item-header,
.team-item-text {
  /* listed in common style->headers h3 */
  /*           +           */
  text-align: center;
}
.team-social-list {
  display: flex;
  gap: 24px;
  /* width: calc((100% - 24 * 3) / 4); */
  justify-content: center;
}
.team-social-item {
}
.team-social-link:hover,
.team-social-link:focus {
  background-color: #404bbf; /* OCEAN */
}
.team-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;

  border: none;
  border-radius: 50% 50%;
  background-color: #4d5ae5;

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

  fill: #f4f4fd;
}
.team-social-link .s-icon {
  /* align-items: center; */
  /* margin: auto; */
}

/*   #endregion   */

/*   #region main > portfolio  */
.portfolio-header {
  /* listed in common style->headers h2 */
  /*           +           */
  padding-bottom: 72px;
  text-align: center;
}
.portfolio-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  /* align-items: center;
  justify-content: center; */
}
@media screen and (min-width: 768px) {
  .portfolio-list {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 72px;
    column-gap: 24px;
  }
}
@media screen and (min-width: 1158px) {
  .portfolio-list {
    row-gap: 48px;
  }
}
.portfolio-list-item {
  width: 100%;
  transition-property: box-shadow;
  transition-duration: 250ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (min-width: 768px) {
  .portfolio-list-item {
    width: calc((100% - 24px) / 2);
  }
}
@media only screen and (max-width: 1157.98px) {
  .portfolio-list-item {
    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);
  }
}
@media 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-image-wrapper {
  position: relative;
  overflow: hidden;
}
.portfolio-list-item:hover .overlay {
  transform: translateY(0);
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 40px 32px;
  transform: translateY(101%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* transition-property: background-color;
  transition-duration: 2500ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); */

  background-color: #4d5ae5; /* IRIS  */
  color: #f4f4fd; /* CLOUD */
}
.portfolio-item-textblock {
  /* listed in common style  */
  /*           +           */
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 16px;
  border: 1px solid #e7e9fc;
  border-top: none;
}
/*   #endregion   */

/*   #region footer   */
.footer {
  padding-top: 96px;
  padding-bottom: 96px;
  background-color: #2e2f42;
}
/* @media screen and (min-width: 768px) {
  .footer {
    
  }
} */
@media screen and (min-width: 1158px) {
  .footer {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
.footer-block {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
/* @media screen and (min-width: 768px) {
  .footer-block {
    flex-direction: row; 
    column-gap: 24px;
    row-gap: 72px;
    flex-wrap: wrap;
     padding-left: 108px;
  }
} */
/* --------D4------- */
@media screen and (min-width: 768px) and (max-width: 1157.98px) {
  .footer-block {
    padding-left: 108px;
    padding-right: 108px;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 24px;
    /* row-gap: 72px; */
  }
}
@media screen and (min-width: 1158px) {
  .footer-block {
    flex-direction: row;
    gap: 0px;
    flex-wrap: nowrap;
    padding-left: 15px;
    align-items: baseline;
  }
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;

  align-items: center;
}
@media screen and (min-width: 768px) {
  .footer-center {
    align-items: flex-start;
  }
}
@media screen and (min-width: 1158px) {
  .footer-center {
    margin-left: 120px;
    margin-right: 80px;
  }
}
.footer-center-header,
.footer-right-header {
  font-weight: 500;
  font-size: 16px;
  color: white;
}
.footer-link {
  /* width: 264px; */
  margin: 0 auto;
  color: #f4f4fd;
}
@media screen and (min-width: 768px) {
  .footer-link {
    margin: 0;
  }
}
/* @media screen and (min-width:1158px) {
  .footer-link {
  }
} */
.footer-text {
  width: 264px;
  color: #f4f4fd;
}
.footer-social-list {
  display: flex;
  gap: 16px;
  /* width: calc((100% - 24 * 3) / 4); */
  justify-content: center;
}
.footer-social-item {
}

.footer-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;

  background-color: #4d5ae5; /* IRIS */
  border: none;
  border-radius: 50% 50%;

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

  fill: #f4f4fd; /* CLOUD */
}
.footer-social-link:hover,
.footer-social-link:focus {
  background-color: #31d0aa; /* GREEN */
  border-radius: 50% 50%;
}
.footer-social-link:active {
  background-color: #31d0aa; /* GREEN */
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .footer-right {
    align-items: flex-start;
  }
}
/* @media screen and (min-width: 1158px) {
  .footer-right {
    }
} */

/* .footer-right p {
  margin-bottom: 16px;
} */

.subscribe-set {
  width: 288px;
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .subscribe-set {
    flex-direction: row;
    gap: 24px;
    width: 453px;
  }
}
/* @media screen and (min-width: 1158px) {
  .subscribe-set {
    
  }
} */
.subscribe-email {
  outline: none;
  width: 100%;
  border: 1px solid white;
  border-radius: 4px;

  height: 40px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);

  background-color: inherit;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: white;

  padding-left: 16px;

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: border-color;
}
@media screen and (min-width: 768px) {
  .subscribe-email {
    width: 264px;
  }
}
/* @media screen and (min-width: 1158px) {
  .subscribe-email {
      }
} */

.subscribe-email::placeholder {
  color: white;
}
.subscribe-email:hover,
.subscribe-email:focus {
  outline: none;
  border-color: #31d0aa;
}

.subscribe-btn {
  background-color: #4d5ae5;
  fill: white;

  color: white;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;

  display: flex;
  align-items: center;
  gap: 16px;

  border: none;
  border-radius: 4px;
  padding: 8px 24px;
  width: 165px;
  height: 40px;

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: background-color;
}
@media screen and (min-width: 768px) {
  .subscribe-btn {
    width: 165px;
  }
}
/* @media screen and (min-width: 1158px) {
  .subscribe-btn {
    
  }
} */

.subscribe-btn:hover,
.subscribe-btn:focus {
  background-color: #31d0aa;
}
/*   #endregion   */

/*   #region dialog window   */
.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-color: rgba(46, 47, 66, 0.4); /* NAVY BLUE 40% */

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

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-window {
  display: flex;
  flex-direction: column;
  position: relative;
  /* position: absolute; */
  width: 288px;
  height: 623px;
  padding-left: 16px;
  padding-right: 16px;

  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; /* DAIRY */
}
@media screen and (min-width: 768px) {
  .form-window {
    width: 408px;
    height: 584px;
    padding-left: 24px;
    padding-right: 24px;
  }
}
.form-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  /* transition: opacity 2300ms cubic-bezier(0.4, 0, 0.2, 1); */
}
.close-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 24px;
  right: 24px;

  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #e7e9fc; /* CORNFLOWER */
  width: 24px;
  height: 24px;

  font-size: 0%;

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: background-color;
}
@media only screen and (min-width: 768px) and (max-width: 1157.98px) {
  .form-window .close-btn {
    top: 32px;
    right: 32px;
  }
}
.close-btn-icon {
  fill: #2e2f42;

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: fill;
}
.close-btn:hover,
.close-btn:focus {
  background-color: #404bbf;
}
.close-btn:hover .close-btn-icon,
.close-btn:focus .close-btn-icon {
  fill: white;
}
.form-window p {
  margin-top: 72px;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42; /* NAVY BLUE */
}
.form-window label {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33333;
  letter-spacing: 0.04em;
}
.form-window form {
  width: 100%;
  height: 100%;
}
.input-set {
  display: flex;
  gap: 8px;
  flex-direction: column;
  margin-bottom: 16px;
}
.input-set label {
  line-height: 1.17;
  letter-spacing: 0.04em;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #8e8f99;

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: color;
}
/* .input-set label:focus-within {
  color: #4d5ae5; 
} */
.input-set input {
  padding-left: 38px;

  border: 1px solid rgba(46, 47, 66, 0.4); /* NAVY BLUE 40%  */
  border-radius: 4px;
  width: 100%;
  height: 40px;
  margin-top: 4px;

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: border-color;
}
.input-set svg {
  position: absolute;
  /* bottom: 8px; */
  top: calc(100% - 20px);
  transform: translateY(-50%);
  left: 16px;

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: fill;
}
.input-set textarea {
  padding-left: 16px;
  padding-top: 8px;
  height: 120px;
  margin-top: 4px;
  resize: none;
  border: 1px solid rgba(46, 47, 66, 0.4);
  /* NAVY BLUE 40%*/
  border-radius: 4px;

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

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: border-color;
}
.input-set input:focus,
.input-set textarea:focus {
  border-color: #4d5ae5; /* IRIS  */
  outline: none;
}
.input-set input:focus + svg {
  fill: #4d5ae5; /* IRIS  */
}
.checkbox-set {
  /* display: inline-flex; */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 24px;
  color: #8e8f99;
  width: 100%;
  /* height: 16px; */
  /* height: auto; */
  max-height: 31px;
}
.custom-checkbox {
  margin-right: 8px;
  display: inline-flex;

  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;

  background-color: transparent;
  fill: transparent;

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

  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: background-color, fill;
}
.policy-checkbox:checked + .policy-checkbox-label > .custom-checkbox {
  background-color: #404bbf;
  fill: #f4f4fd;
  border: none;
}

.policy-checkbox-link {
  line-height: 1.33333;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #4d5ae5; /* IRIS  */
}
.send-btn {
  margin: 0 auto;
  margin-bottom: 24px;
  /* border-radius: 4px; */
  /* padding: 16px 32px; */
  width: 169px;
  height: 56px;

  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  /* background: #4d5ae5;  */
  /* IRIS  */
}
/*   #endregion   */

/*   #region mobile menu window   */
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-wrapper {
  display: flex;
  flex-direction: column;

  padding: 72px 24px 40px 16px;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-color: white;
}
@media only screen and (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu a {
  text-decoration: none;
  color: #2e2f42;
}
.mobile-menu-navblock {
  width: 151px;
  height: 200px;
  margin-bottom: auto;
}

.mobile-menu-navlist {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 40px;

  width: 100%;
  height: 100%;

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

  line-height: 1.11111;
  letter-spacing: 0.02em;
  color: #2e2f42; /*  NAVY BLUE */
}
.mobile-menu-navlist-link.is-active {
  color: #404bbf; /*  OCEAN  */
}
.mobile-menu-contactsblock {
  width: 193px;
  height: 72px;
  margin-bottom: 48px;
}
.mobile-menu-contactslist {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 24px;

  width: 100%;
  height: 100%;

  /* font-style: initial; */

  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.mobile-menu-contactslist li:nth-child(1) a {
  color: #4d5ae5;
}
.mobile-menu-socialslist {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: row;
  gap: 40px;

  width: 280px;
  height: 40px;
}
/*   #endregion   */
