:root {
  --iris: #4d5ae5;
  --ocean: #404bbf;
  --navy-blue: #2e2f42;
  --green: #31d0aa;
  --slate: #434455;
  --light-slate: #8e8f99;
  --cornflower: #e7e9fc;
  --cloud: #f4f4fd;
  --navy-blue-modal: rgba(46, 47, 66, 0.4);
  --grey: rgba(46, 47, 66, 0.7);
  --white: #fff;
  --dairy: #fcfcfc;
}
/* #region Загальні налаштування стилів */
.container {
  max-width: 320px;
  padding-left: 16px;
  padding-right: 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-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  font-style: normal;
  color: currentColor;
}
button {
  cursor: pointer;
  box-shadow: none;
  border: none;
}
address {
  font-style: normal;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--white);
}
/* #endregion Загальні налаштування стилів */

/* #region Header Navigation Styles Mobile */
.header {
  border-bottom: 1px solid var(--cornflower);
  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);
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--white);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav-logo-web {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--iris);
}
.header-nav-logo-studio {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-blue);
}
.header-nav {
  padding: 16px 0;
}
.header-nav-unordered {
  display: none;
}
.header-address {
}
.header-address-unordered {
  display: none;
}
.mobile-menu-btn {
  background: transparent;
  border: none;
  padding: 0;
}

/* #endregion Header Navigation Styles Mobile */
/* #region Header Navigation Styles Tablet */
@media screen and (min-width: 768px) {
  .header .container {
  }
  .header-nav {
    display: flex;
    align-items: center;
    padding: 0;
  }
  .header-nav-logo-web {
    padding: 24px 0;
    margin-right: 120px;
  }
  .header-nav-unordered {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  .header-nav-link {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--navy-blue);
    display: block;
    padding: 24px 0;

    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .current {
    color: var(--ocean);
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }
  .current::after {
    content: "";
    position: absolute;
    border-radius: 2px;
    height: 4px;
    width: 100%;
    background-color: var(--ocean);
    bottom: -1px;
    left: 0;
  }
  .header-nav-link:hover,
  .header-nav-link:focus,
  .header-nav-link:active {
    color: #404bbf;
  }
  .header-address {
    font-style: normal;
  }
  .header-address-contacts {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.16667;
    letter-spacing: 0.04em;
    color: #434455;
  }
  .header-address-contacts:hover,
  .header-address-contacts:focus {
    color: #404bbf;
  }
  .header-address-unordered {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* #endregion Header Navigation Styles Tablet */
/* #region Header Navigation Styles Desktop   */
@media screen and (min-width: 1158px) {
  .header .container {
    display: flex;
    align-items: center;
  }
  .header-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding: 0;
  }
  .header-nav-logo-web {
    margin-right: 76px;
  }

  .header-address {
    font-style: normal;
  }
  .header-address-unordered {
    display: flex;
    flex-direction: row;
    gap: 40px;
  }

  .header-address-contacts {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--slate);
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  .header-address-contacts:hover,
  .header-address-contacts:focus {
    color: #404bbf;
  }
}
/* #endregion Header Navigation Styles Desktop   */

/* #region section hero mobile */
.hero {
  background: var(--grey);
  background-image:
    linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
    url("../images/hero-bg-mobile.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  padding: 72px 0;
  max-width: 1440px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.07;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--white);
  margin-bottom: 72px;
  max-width: 216px;
}
.button-hero {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--white);
  background-color: var(--iris);
  border-radius: 4px;
  min-width: 169px;
  padding: 16px 32px;
  gap: 10px;

  border: none;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background: var(--iris);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button-hero:hover,
.button-hero:focus {
  background-color: #404bbf;
}
@media (min-resolution: 2x) {
  .hero {
    background-image:
      linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url("../images/hero-bg-mobile@2x.jpg");
  }
}
/* #endregion section hero mobile */
/* #region section hero tablet */
@media screen and (min-width: 768px) {
  .hero {
    padding: 112px 0;
    background-image:
      linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url("../images/hero-bg-tabl.jpg");
  }
  @media (min-resolution: 2x) {
    .hero {
      background-image:
        linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
        url("../images/hero-bg-tabl@2x.jpg");
    }
  }
  .hero-title {
    font-size: 56px;
    max-width: 496px;
    margin-bottom: 36px;
  }
}
/* #endregion section hero tablet */
/* #region section hero desktop */
@media screen and (min-width: 1158px) {
  .hero {
    padding: 188px 0;
    background-image:
      linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
      url("../images/hero-bg-desk.jpg");
  }
  @media (min-resolution: 2x) {
    .hero {
      background-image:
        linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
        url("../images/hero-bg-desk@2x.jpg");
    }
  }
  .hero-title {
    margin-bottom: 48px;
  }
}

/* #endregion section hero desktop */

/* #region section feature mobile */
.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;
}
.feature {
  padding-top: 96px;
  padding-bottom: 96px;
}
.feature-icon-container {
  display: none;
}
.feature-unordered {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.feature-title-name {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11111;
  letter-spacing: 0.02em;
  color: #2e2f42;
  text-align: center;
  margin-bottom: 8px;
}
.feature-text {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--slate);
}
/* #endregion section feature mobile */
/* #region section feature tablet */
@media screen and (min-width: 768px) {
  .feature-unordered {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 72px;
  }
  .feature-icon-container {
    display: none;
  }
  .feature-title-name {
    display: flex;
    align-items: start;
  }
  .feature-list {
    width: calc((100% - 24px) / 2);
  }
}
/* #endregion section feature tablet */
/* #region section feature desktop */
@media screen and (min-width: 1158px) {
  .feature {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .feature-unordered {
    display: flex;
    gap: 24px;
  }
  .feature-list {
    width: calc((100% - 3 * 24px) / 4);
  }
  .feature-title-name {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--navy-blue);
  }
  .feature-text {
    font-weight: 400;
  }
  .feature-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    background-color: var(--cloud);
    width: 264px;
    height: 112px;
    border-radius: 4px;
    align-items: center;
    border: 1px solid var(--light-slate);
    gap: 8px;
  }
}
/* #endregion section feature desktop */

/* #region team cards mobile */

.team-cards {
  background-color: var(--cloud);
  padding-top: 96px;
  padding-bottom: 96px;
}
.team-cards-title {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy-blue);
  text-transform: capitalize;
  margin-bottom: 72px;
}
.team-cards-unordered {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.team-cards-list {
  max-width: 264px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 0px 0px 4px 4px;
  box-shadow:
    0 2px 1px 0 rgba(46, 47, 66, 0.08),
    0 1px 1px 0 rgba(46, 47, 66, 0.16),
    0 1px 6px 0 rgba(46, 47, 66, 0.08);
}
.team-cards-list img {
  display: block;
  width: 100%;
  height: auto;
}

.team-cards-name-container {
  padding: 32px 16px;
}
.team-cards-name {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy-blue);
  text-transform: capitalize;
  margin-bottom: 8px;
}
.team-cards-content {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--slate);
  margin-bottom: 8px;
  gap: 8px;
}
.team-social-unordered {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.team-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--iris);
  border-radius: 50%;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--white);
}
.team-social-link:hover {
  background-color: #404bbf;
}
.team-social-link:focus,
.team-social-link:active {
  background-color: #404bbf;
}
.team-social-icon {
  fill: #f4f4fd;
}

/* #endregion team cards mobile */
/* #region team cards tablet */
@media screen and (min-width: 768px) {
  .team-cards .container {
    width: 584px;
  }
  .team-cards-unordered {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 64px;
  }
  .team-cards-list {
    margin: 0;
    width: calc((100% - 24px) / 2);
  }
}
/* #endregion team cards tablet */
/* #region team cards desktop */
@media screen and (min-width: 1158px) {
  .team-cards {
    background-color: var(--cloud);
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .team-cards .container {
    width: 1158px;
    margin: 0 auto;
  }
  .team-cards-unordered {
    display: flex;
    gap: 24px;
  }
  .team-cards-list {
    width: calc((100% - 3 * 24px) / 4);
  }
}
/* #endregion team cards desktop */

/* #region section projects mobile */
.section-projects {
  padding-top: 96px;
  padding-bottom: 96px;
}
.section-projects-title {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy-blue);
  text-transform: capitalize;
  margin-bottom: 72px;
}
.projects-list-unordered {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.projects-list {
  border: 1px solid var(--cornflower);
  border-top: none;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08);
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.projects-list:hover,
.projects-list:focus {
  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: var(--white);
}
.projects-text-overlay {
  display: none;
}
.projects-list-name-container {
  padding: 32px 16px;
  border: none;
}
.projects-name {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--navy-blue);
  text-transform: capitalize;
  margin-bottom: 8px;
}
.projects-text {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  /*text-align: center;*/
  color: var(--slate);
}
.projects-image {
  display: block;
  width: 100%;
  height: auto;
}

/* #endregion section projects mobile */
/* #region section projects tablet */
@media screen and (min-width: 768px) {
  .projects-list-unordered {
    display: flex;
    gap: 72px 24px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .projects-list {
    width: calc((100% - 24px) / 2);
  }

  .projects-text-container {
    position: relative;
    overflow: hidden;
  }
  .projects-text-overlay {
    inset: 0;
    position: absolute;
    display: flex;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--cloud);
    padding: 40px 32px;
    height: 100%;
    transform: translateY(100.5%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--iris);
  }
  .projects-list:hover .projects-text-overlay {
    transform: translateY(0);
  }
}
/* #endregion section projects tablet */
/* #region section projects desktop */
@media screen and (min-width: 1158px) {
  .projects-list-unordered {
    display: flex;
    gap: 48px 24px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .projects-list {
    box-shadow: none;
    width: calc((100% - 48px) / 3);
  }
}
/* #endregion section projects desktop */

/* #region Footer Styles mobile */
.footer {
  background-color: var(--navy-blue);
  padding: 96px 0;
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.footer-logo-text-container {
  text-align: center;
}
.footer-logo-web {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--iris);
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo-studio {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f4f4fd;
}
.footer-text {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
  max-width: 264px;
  text-align: start;
}
.footer-social-container {
  text-align: center;
}
.footer-social-title {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--white);
}
.footer-social-unordered {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.footer-social-link {
  display: flex;
  background-color: #4d5ae5;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-social-link:hover,
.footer-social-link:focus {
  background-color: #31d0aa;
}
.footer-social-icon {
  fill: #f4f4fd;
}
.footer-subscribe-container {
  text-align: center;
  max-width: 453px;
}
.footer-sub-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-sub-text {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-sub-input {
  border: 1px solid var(--white);
  border-radius: 4px;
  width: 100%;
  height: 40px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background-color: transparent;
  padding: 8px 16px;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: none; /* прибираємо стандартну рамку для фокуса під час введення */
  color: var(--white);
  flex-grow: 1;
  opacity: 0.3;
}
.footer-sub-input::placeholder {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--white);
  opacity: 0.6;
}
.footer-sub-button {
  font-family: "Roboto", sans-serif;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 16px;
  border-radius: 4px;
  padding: 8px 24px;
  min-width: 165px;
  height: 40px;
  background: var(--iris);
  color: var(--white);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  border: none;
  cursor: pointer;
}
.footer-sub-button-icon {
  fill: #f4f4fd;
  display: block;
}
.footer-sub-input:hover,
.footer-sub-input:focus,
.footer-sub-input:focus-visible {
  border-color: var(--green);
}
.footer-sub-button:hover,
.footer-sub-button:focus {
  background: var(--green);
}

/* #endregion Footer Styles mobile */
/* #region Footer Styles tablet */
@media screen and (min-width: 768px) {
  .footer .container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    column-gap: 24px;
    row-gap: 72 px;
    flex-wrap: wrap;
    padding-left: 108px;
  }
  .footer-logo-text-container {
    text-align: start;
    align-items: flex-start;
  }
  .footer-social-container {
    text-align: start;
    max-width: 208px;
  }
  .footer-subscribe-container {
    text-align: start;
  }
  .footer-sub-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }
  .footer-sub-input {
    width: 264px;
  }
}
/* #endregion Footer Styles tablet */
/* #region Footer Styles desktop */
@media screen and (min-width: 1158px) {
  .footer {
    padding: 100px 0;
  }
  .footer .container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0;
    padding-left: 15px;
  }
  .footer-logo-text-container {
    margin-right: 120px;
    margin-left: auto;
  }

  .footer-social-container {
    text-align: start;
    max-width: 208px;
    margin-right: 80px;
  }
  .footer-sub-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }
  .footer-sub-input {
    width: 264px;
    opacity: 1;
  }
  .footer-sub-input::placeholder {
    opacity: 1;
  }
}
/* #endregion Footer Styles desktop */

/* #region Modal-Ovelay Styles */
.modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  align-items: center;
  justify-content: center;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-blue-modal);
  z-index: 1000;

  /* сховати оврлей та актиність миші*/
  opacity: 0; /*0 - прихований, 1 - видимий*/
  pointer-events: none; /* none - неактивний, auto - активний*/
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
} /* зробити оврлей видимим */
.modal {
  background-color: #ffffff;
  width: 288px;
  min-height: 623px;
  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);
  border-radius: 4px;
  position: relative;
  padding: 72px 16px 24px 16px;
  overflow: auto;
}
.modal-close-button {
  position: absolute;
  top: 24px;
  right: 24px;
  border-radius: 100%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #e7e9fc;
  transition:
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-close-button:hover,
.modal-close-button:focus {
  background-color: #404bbf;
  border-color: #404bbf;
}
.modal-close-button:hover .modal-close-icon,
.modal-close-button:focus .modal-close-icon {
  fill: white;
}
.modal-title {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 16px;

  /* line-height: 24px; */
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy-blue);
}
.modal-form-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  border-radius: 4px;
  position: relative;
  margin-bottom: 8px;
  width: 100%;
}
textarea.modal-input {
  resize: none;
}
.modal-input-container {
  position: relative;
  width: 100%;
}
.modal-input-comment {
  border: 1px solid var(--navy-blue-modal);
  border-radius: 4px;
  width: 100%;
  height: 120px;
  resize: none;
  padding: 8px 16px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  box-sizing: border-box;
}
.modal-input-icon {
  position: absolute;
  top: 50%;
  left: 19px;
  pointer-events: none;
  width: 18px;
  height: 24px;
  transform: translateY(-50%);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  fill: #2e2f42;
}
.modal-label {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: rgb(142, 143, 153);
  display: block;

  gap: 4px;
  width: 100%;
}
.modal-input {
  border: 1px solid var(--navy-blue-modal);
  border-radius: 4px;
  width: 100%;
  height: 40px;
  padding-left: 38px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: none; /* прибираємо стандартну рамку для фокуса під час введення */
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}
.modal-input:hover,
.modal-input:focus,
.modal-input:focus-visible {
  border: 1px solid var(--iris);
}
.modal-input-container:focus-within .modal-input-icon {
  fill: var(--iris);
}
.modal-input-comment:hover,
.modal-input-comment:focus,
.modal-input-comment:focus-visible,
.modal-input-comment:active {
  border: 1px solid var(--navy-blue-modal);
  background-color: #ffffff;
  outline: none;
}
.modal-accept-container {
  display: flex;
  align-items: center;
  border-radius: 4px;
  margin-top: 16px;
  margin-bottom: 24px;
}
.modal-accept-label {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--slate);
  display: flex;
  align-items: center;
}
.modal-span-icon {
  border-radius: 2px;
  border: 1px solid var(--navy-blue-modal);
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-accept-icon {
  fill: white;
}
.modal-accept-checkbox:checked + .modal-accept-label .modal-span-icon {
  background-color: var(--iris);
  border-color: var(--iris);
}

.privacy-policy-link {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--iris);
  display: inline;
  white-space: nowrap;
}
.modal-send-button {
  font-family: "Roboto", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 4px;
  padding: 16px 32px;
  width: 169px;
  height: 56px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background: var(--iris);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--white);
  margin: 0 auto;
  cursor: pointer;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (min-width: 768px) {
  .modal {
    width: 408px;
    min-height: 584px;
    padding: 72px 24px 24px 24px;
  }
  .privacy-policy-link {
    margin-left: 0;
  }
}
/* #endregion Modal-Ovelay Styles */
/* #region Modal-Overlay-Menu */
.mobile-menu {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  align-items: center;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: #fff;
  /* transform: translateY(-100%); */

  /* сховати оврлей та актиність миші*/
  opacity: 0; /*0 - прихований, 1 - видимий*/
  pointer-events: none; /* none - неактивний, auto - активний*/
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
  padding-top: 72px;
  padding-bottom: 40px;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu.closing {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.container-mobile-menu {
  position: relative;
  display: flex;
  flex-direction: column;

  height: 100%;
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  margin-bottom: 24px;

  position: absolute;
  top: 24px;
  right: 24px;
}
.mobile-menu-close-icon {
}
.mobile-nav {
  margin-bottom: auto;
}
.mobile-nav-unordered-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.mobile-nav-list {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11111;
  letter-spacing: 0.02em;
  color: #2e2f42;
}
.mobile-nav-link {
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-link:hover,
.mobile-nav-link:focus,
.moobil-nav-link:active {
  color: #404bbf;
}
.mobile-address {
  font-style: normal;
}
.mobile-nav-unordered-adress {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
.mobile-nav-adress-list {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #434455;
}
.mobile-address-link {
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-address-link:hover,
.mobile-address-link:focus {
  color: #404bbf;
}
.mobile-social-container {
  display: block;
}
.mobile-social-unordered {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.mobile-social-list {
  width: calc((100% - 40px) / 3);
}
.mobile-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--iris);
  border-radius: 50%;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--white);
  width: 40px;
  height: 40px;
}
.mobile-social-link:hover,
.mobile-social-link:focus {
  background-color: #31d0aa;
}
.mobile-social-icon {
  fill: #f4f4fd;
}
/* #endregion Modal-Overlay-Menu */
