/*#region common*/
.hidden {
  display: none;
}
* {
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  color: #434455;
  background-color: #ffffff;
}
a {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}
.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 common*/
/*#region container*/
.container {
  max-width: 320px;
  padding: 0 16px;
  margin: 0 auto;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media screen and (min-width: 1158px) {
  .container {
    max-width: 1158px;
    padding: 0 15px;
  }
}

/*#endregion container*/
/*#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);
}
.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.link-list,
.contacts {
  display: none;
}

.page-logo {
  font-size: 18px;
  line-height: 1.17;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4d5ae5;
}
.header-logo {
  padding: 16px 0;
  display: block;
}
.page-logo-accent {
  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-logo {
    padding: 24px 0;
    margin-right: 120px;
  }
  .page-nav {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    display: flex;
    align-items: center;
  }
  .page-nav .link {
    color: #2e2f42;
    letter-spacing: 0.02em;
    padding: 24px 0;
    display: block;
  }
  .link-list {
    display: flex;
    gap: 40px;
  }
  .page-nav .link:hover,
  .page-nav .link:active,
  .page-nav .link:focus {
    color: #404bbf;
  }
  .contacts {
    font-style: normal;
    display: flex;
  }
  .contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #434455;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
  .contacts-list-item {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
    color: #434455;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .contacts-list-item:hover,
  .contacts-list-item:focus {
    color: #404bbf;
  }
  .link-list li:first-child .link {
    position: relative;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    color: #404bbf;
  }
  .link-list li:first-child .link::after {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 4px;
    background-color: #404bbf;
    border-radius: 2px;
  }
}
@media screen and (min-width: 1158px) {
  .header-logo {
    margin-right: 76px;
  }
  .contacts-list {
    flex-direction: row;
    gap: 40px;
    align-items: center;
  }
  .contacts-list-item {
    font-size: 16px;
    padding: 24px 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
  .page-nav {
    align-items: baseline;
  }
}
/*#endregion header*/

/*#region mobile menu*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  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);
}
@media screen and (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu .container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu-container {
  flex-direction: column;
  align-items: start;
  height: 100%;
  position: relative;
  padding-top: 72px;
  padding-bottom: 40px;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background-color: #404bbf;
  border: none;
}
.mobile-menu-close-icon {
  display: block;
  fill: #2e2f42;
  stroke: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-close:hover .mobile-menu-close-icon {
  fill: #ffffff;
}
.mobile-menu-close:focus .mobile-menu-close-icon {
  fill: #ffffff;
}

.mobile-menu-nav {
  margin-bottom: auto;
}
.mobile-menu-nav-list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 40px;
  padding-left: 0;
}
.mobile-menu-nav-list-item {
  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);
}
.mobile-menu-nav-list-item:hover,
.mobile-menu-nav-list-item:focus {
  color: #404bbf;
}
.mobile-menu-contacts {
  font-style: normal;
  display: flex;
  margin-bottom: 48px;
}
.mobile-menu-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #434455;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.mobile-menu-contacts-list-item {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #434455;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-contacts-list-item:hover,
.mobile-menu-contacts-list-item:focus {
  color: #4d5ae5;
}
.mobile-menu-socials-list {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.mobile-menu-socials-list-item {
  width: 40px;
  height: 40px;
}
.mobile-menu-socials-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: #4d5ae5;
  border-radius: 50%;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-socials-link:hover,
.mobile-menu-socials-link:focus {
  background-color: #404bbf;
}
.mobile-menu-socials-icons {
  fill: #f4f4fd;
}
/*#endregion mobile menu*/

/*#region hero-image Перша секція*/
.hero-image {
  max-width: 320px;
  margin: 0 auto;
  padding: 72px 0;
  background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgb(46, 47, 66, 0.7)),
    url('../images/hero-mob.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-image .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-image-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0 auto;
  margin-bottom: 72px;
  text-align: center;
  max-width: 216px;
}
.ordinary-button {
  display: block;
  margin: 0 auto;
  min-width: 169px;
  border: none;
  background-color: #4d5ae5;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
  padding: 16px 32px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (min-resolution: 192dpi) {
  .hero-image {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgb(46, 47, 66, 0.7)
      ),
      url('../images/hero-mob@2x.jpg');
  }
}
@media screen and (min-width: 768px) {
  .hero-image {
    padding: 112px 0;
    max-width: 768px;
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgb(46, 47, 66, 0.7)
      ),
      url('../images/hero-tablet.jpg');
  }
  .hero-image-title {
    font-size: 56px;
    line-height: 1.07;
    margin-bottom: 36px;
    max-width: 496px;
  }
  .ordinary-button {
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) and (min-resolution: 192dpi) {
  .hero-image {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgb(46, 47, 66, 0.7)
      ),
      url('../images/hero-tablet@2x.jpg');
  }
}
@media screen and (min-width: 1158px) {
  .hero-image {
    padding: 188px 0;
    max-width: 1158px;
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgb(46, 47, 66, 0.7)
      ),
      url('../images/hero.jpg');
  }
  .hero-image-title {
    margin-bottom: 48px;
  }
  .ordinary-button {
    margin: 0 auto;
  }
  .ordinary-button:hover,
  .ordinary-button:focus {
    background-color: #404bbf;
  }
}
@media screen and (min-width: 1158px) and (min-resolution: 192dpi) {
  .hero-image {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgb(46, 47, 66, 0.7)
      ),
      url('../images/hero@2x.jpg');
  }
}
/*#endregion hero-image Перша секція*/
/*#region features Друга секція*/
.features {
  padding: 96px 0;
}
.features-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
}
.features-icons-container {
  display: none;
}
.features-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 72px;
}
.features-list-item {
  max-width: 288px;
}
.features-category {
  font-size: 36px;
  line-height: 1.11;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
  text-align: center;
}
.features-desc {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}
@media screen and (min-width: 768px) {
  .features {
    padding: 96px 0 119px;
  }
  .features-list {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 72px;
    column-gap: 24px;
  }
  .features-list-item {
    flex-basis: calc((100% - 24px) / 2);
  }
  .features-category {
    text-align: start;
  }
}
@media screen and (min-width: 1158px) {
  .features {
    padding: 120px 0;
  }
  .features-list-item {
    flex-basis: calc((100% - 72px) / 4);
  }
  .features-category {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
  }
  .features-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #8e8f99;
    border-radius: 4px;
    height: 112px;
    margin-bottom: 8px;
    background-color: #f4f4fd;
  }
  .features-desc {
    font-weight: 400;
  }
}
/*#endregion features*/

/*#region our-team Третя секція*/
.team {
  padding: 96px 0;
  background-color: #f4f4fd;
}
.team-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: #2e2f42;
  margin-bottom: 72px;
}
.team-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 72px;
}
.person-card {
  padding: 32px 0;
}
.team-list-item {
  background-color: #fff;
  border-radius: 0 0 4px 4px;
  max-width: 264px;
}
.team-person {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #2e2f42;
  text-align: center;
  margin-bottom: 8px;
}
.team-person-post {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
  text-align: center;
}

.team-socials {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding-top: 8px;
}
.socials-list {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding-top: 8px;
}
.socials-list-item {
  width: 40px;
  height: 40px;
}
.socials-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: #4d5ae5;
  border-radius: 50%;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team-socials-icons {
  fill: #f4f4fd;
}
@media screen and (min-width: 768px) {
  .team-list {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 64px;
    column-gap: 24px;
  }
  .team-list-item {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media screen and (min-width: 1158px) {
  .team-list-item {
    flex-basis: calc((100% - 72px) / 4);
  }
  .team {
    padding: 120px 0;
  }
  .socials-link:hover,
  .socials-link:focus {
    background-color: #404bbf;
  }
}
/*#endregion our-team Третя секція*/

/*#region our-portfolio Четверта секція*/
.portfolio {
  padding: 92px 0 100px;
}
.portfolio-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: #2e2f42;
  margin-bottom: 72px;
}
.portfolio-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.portfolio-list-item {
  min-width: 288px;
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.app-info {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 32px 16px;
  border-bottom: 1px solid #e7e9fc;
  border-left: 1px solid #e7e9fc;
  border-right: 1px solid #e7e9fc;
}
.app-name {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #2e2f42;
}
.app-category {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
}
@media screen and (min-width: 768px) {
  .portfolio {
    padding: 73px 0 110px;
  }
  .portfolio-list {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 72px;
    column-gap: 24px;
  }
  .portfolio-list-item {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media screen and (min-width: 1158px) {
  .portfolio {
    padding: 120px 0;
  }
  .portfolio-list {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 48px;
    column-gap: 24px;
  }
  .portfolio-list-item {
    flex-basis: calc((100% - 48px) / 3);
  }
  .portfolio-list-item: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);
  }
  .app-image {
    position: relative;
    overflow: hidden;
  }

  .hidden-paragraph {
    display: block;
    position: absolute;
    top: 0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    padding: 40px 32px;
    background-color: #4d5ae5;
    height: 100%;
    width: 100%;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .portfolio-list-item:hover .hidden-paragraph {
    transform: translateY(0%);
  }
}
/*#endregion our-portfolio Четверта секція*/

/*#region footer*/
.page-footer {
  padding: 96px 0;
  background-color: #2e2f42;
}
.page-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
}
.footer-logo-text-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
}
.footer-page-logo-accent {
  color: #f4f4fd;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 288px;
}
.page-logo {
  display: inline-block;
  text-align: center;
}
.footer-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
}
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 208px;
}
.footer-titles {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: center;
}
.footer-socials-list {
  display: flex;
  gap: 24px;
}
.footer-socials-item {
  width: 40px;
  height: 40px;
}
.footer-socials-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-color: #4d5ae5;
  border-radius: 50%;
}

.footer-socials-icons {
  fill: #f4f4fd;
}
.footer-form-wrapper {
  display: flex;
  flex-direction: column;

  gap: 16px;
}
.footer-form-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: center;
}
.foot-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.foot-form-label {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.e-mail-input {
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 4px;
  width: 288px;
  height: 40px;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  padding-left: 16px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  opacity: 0.3;
  color: #ffffff;
}
.e-mail-input::placeholder {
  font-weight: 400;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0.6;
}
.subscr-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: 8px 24px;
  max-width: 165px;
  background-color: #4d5ae5;
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.foot-form-btn-icon {
  fill: #fff;
  margin-left: 16px;
}
@media screen and (min-width: 768px) {
  .page-footer {
    padding: 96px 108px;
    background-color: #2e2f42;
  }
  .page-logo {
    text-align: start;
  }
  .footer-titles {
    text-align: start;
  }
  .page-footer .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: start;
    row-gap: 72px;
    column-gap: 24px;
  }
  .footer-logo-text-socials {
    gap: 24px;
    flex-direction: row;
  }
  .footer-logo-text {
    max-width: 264px;
  }
  .footer-socials-list {
    gap: 16px;
  }
  .footer-form-title {
    text-align: start;
  }
  .foot-form {
    flex-direction: row;
    gap: 24px;
  }
  .e-mail-input {
    width: 264px;
  }
}
@media screen and (min-width: 1158px) {
  .page-footer {
    padding: 100px 0;
    background-color: #2e2f42;
  }
  .page-footer .container {
    flex-direction: row;
    gap: 80px;
  }
  .footer-logo-text-socials {
    gap: 120px;
    align-items: baseline;
  }
  .e-mail-input {
    opacity: 1;
  }
  .e-mail-input::placeholder {
    opacity: 1;
  }
  .footer-logo-text {
    margin-right: 0;
  }
  .footer-socials-link:hover,
  .footer-socials-link:focus {
    background-color: #31d0aa;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
}
/*#endregion footer*/

/*#region popup*/
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(46, 47, 66, 0.4);
  height: 100%;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hidden-popup {
  opacity: 0;
  user-select: none;
  pointer-events: none;
}
.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 288px;
  min-height: 623px;
  background-color: #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);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
  padding: 72px 16px 16px;
}
.popup-form {
  position: relative;
}
.popup-exit {
  position: absolute;
  padding: 0;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.popup-exit-icon {
  display: block;
  fill: #e7e9fc;
  stroke: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.popup-exit:hover .popup-exit-icon {
  fill: #ffffff;
}
.popup-exit:focus .popup-exit-icon {
  fill: #ffffff;
}
.popup-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 16px;
}
.form-field-wrapper {
  margin-bottom: 8px;
}
.form-field-wrapper-textarea {
  margin-bottom: 16px;
}
.field-wrapper {
  position: relative;
}
.label-field {
  display: block;
  margin-bottom: 4px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
}
.input-field {
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  background-color: transparent;
  outline: transparent;
  width: 100%;
  height: 40px;
  padding-left: 38px;
  align-items: center;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  color: #2e2f42;
}
.input-field:focus {
  border-color: #4d5ae5;
}
.field-icon {
  position: absolute;
  fill: #2e2f42;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.input-field:focus + .field-icon {
  fill: #4d5ae5;
}
.user-text {
  resize: none;
  width: 100%;
  height: 120px;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  padding: 8px 16px;
  outline: transparent;
  background-color: transparent;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.user-text:focus {
  border-color: #4d5ae5;
}
.form-field-wrapper-policy {
  margin-bottom: 24px;
}
.popup-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 169px;
  height: 56px;
  border-radius: 4px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background: #4d5ae5;
  border: none;
  left: 50%;
  transform: translateX(-50%);
}
.popup-form .ordinary-button {
  margin-bottom: 8px;
}
.popup-btn:focus {
  outline: none;
}

.custom-chb {
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 8px;
  height: 16px;
  width: 16px;
  border-radius: 2px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  fill: transparent;
  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);
}
.policy-chb:checked + .policy .custom-chb {
  background-color: #404bbf;
  border: none;
  fill: #f4f4fd;
}
.policy {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
  display: flex;
  align-items: center;
}
.pp-link {
  line-height: 1.33333;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #4d5ae5;
}
@media screen and (min-width: 768px) {
  .popup {
    padding: 72px 24px 24px;
    width: 408px;
    min-height: 584px;
  }
  .popup-form .ordinary-button {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1158px) {
  .popup-exit:hover,
  .popup-exit:focus {
    background-color: #404bbf;
    border: none;
  }
}
/*#endregion popup*/
