* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

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

img {
  display: block;
}

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

.section {
  padding: 96px 0;
}

.container {
  width: 320px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* .header {
  border-bottom: 1px solid #e7e9fc;
  box-shadow: 0px 1px 6px 0px rgba(46, 47, 66, 0.08),
    0px 1px 1px 0px rgba(46, 47, 66, 0.16),
    0px 2px 1px 0px rgba(46, 47, 66, 0.08);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
} */

.header-container {
  align-items: center;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header-logo {
  color: #4d5ae5;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.17; /* 116.667% */
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-right: 76px;
  padding: 24px 0;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header-logo-color {
  color: var(--NAVY-BLUE, #2e2f42);
}

.footer-logo-color {
  color: var(--CLOUD, #f4f4fd);
}

.header-list {
  display: none;
  gap: 40px;
  color: #404bbf;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.header-item {
  position: relative;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header-link {
  display: inline-block;
  color: var(--NAVY-BLUE, #2e2f42);
  /* Body Medium */
  font-weight: 500;
  line-height: 1.5; /* 150% */
  letter-spacing: 0.02em;
  padding: 24px 0;
  position: relative;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.current {
  color: #404bbf;
}

.current::after {
  content: "";
  width: 100%;
  height: 4px;
  border-radius: 2px;
  position: absolute;
  bottom: -1px;
  left: 0;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #404bbf;
}

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

.contacts {
  font-style: normal;
  margin-left: auto;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contacts-list {
  display: none;
  /* display: flex; */
  align-items: center;
  gap: 40px;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contacts-item {
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contacts-link {
  color: var(--SLATE, #434455);
  /* Body */
  line-height: 1.5; /* 150% */
  letter-spacing: 0.02em;
  padding: 24px 0;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-section {
  background-color: rgba(46, 47, 66, 0.7);
  background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
    url(../images/people-office-mob.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 72px 0;
  max-width: 1440px;
  margin: 0 auto;
}

@media screen and (min-resolution: 192dpi),
  screen and (min-resolution: 2dppx),
  screen and (min-device-pixel-ratio: 2) {
  .hero-section {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/people-office-mob-2x.jpg);
  }
}

.hero-title {
  color: var(--WHITE, #fff);
  text-align: center;
  max-width: 288px;
  margin: 0 auto;

  font-size: 36px;
  font-weight: 700;
  line-height: 1.11; /* 111.111% */
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.hero-btn {
  background: var(--IRIS, #4d5ae5);
  border-radius: 4px;
  padding: 16px 32px;
  display: block;
  margin: 0 auto;
  margin-top: 48px;

  min-width: 169px;
  height: 56px;
  border: none;

  color: var(--WHITE, #fff);
  /* Button Text */
  font-weight: 500;
  line-height: 1.5; /* 150% */
  letter-spacing: 0.04em;
  cursor: pointer;

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

.hero-btn:hover {
  background: #404bbf;
}

.hero-btn:focus {
  background: #404bbf;
}

.section-title {
  color: var(--NAVY-BLUE, #2e2f42);
  text-align: center;
  /* Header 2 */
  font-size: 36px;
  font-weight: 700;
  line-height: 1.11; /* 111.111% */
  letter-spacing: 0.02em;
  text-transform: capitalize;
  margin-bottom: 72px;
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 72px;
}

.features-svg-background {
  display: none;
}

.features-title {
  color: var(--NAVY-BLUE, #2e2f42);
  text-align: center;
  /* Header 2 */
  font-family: Roboto;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px; /* 111.111% */
  letter-spacing: 0.72px;
  text-transform: capitalize;
  margin-bottom: 8px;

  /* align-items: center;
  color: var(--NAVY-BLUE, #2e2f42);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.4px; */
}

.features-text {
  color: var(--SLATE, #434455);

  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
}

.team-section {
  background-color: #f4f4fd;
}

.section-team-title {
  margin-bottom: 72px;
}

/* .socials {
} */

.solials-list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  gap: 24px;
}

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

.socials-ellipse:hover,
.socials-ellipse:focus {
  background-color: #404bbf;
}

.socials-icon {
  position: absolute;
  fill: #f4f4fd;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.team-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 72px;
}

.team-image {
  width: 100%;
}

.team-item {
  background-color: #ffffff;
  width: 264px;
  border-radius: 0px 0px 4px 4px;
  box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
    0px 1px 1px 0px rgba(46, 47, 66, 0.16),
    0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}

.team-card {
  padding-top: 32px;
  padding-bottom: 32px;
}

.team-title {
  color: var(--NAVY-BLUE, #2e2f42);
  text-align: center;
  /* Header 3 */
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2; /* 120% */
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.team-text {
  text-align: center;
  /* Body */
  line-height: 1.5; /* 150% */
  letter-spacing: 0.02em;
}

.portfolio-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 48px;
}

.portfolio-card {
  padding: 32px 16px;
  border: 1px solid #e7e9fc;
  border-top: none;
}

.portfolio-item {
  background: var(--WHITE, #fff);

  background: var(--WHITE, #fff);
  /* width: calc((100% - 48px) / 3); */
  transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 288px;
}

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

.portfolio-item:hover .portfolio-cover-text {
  transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
    0px 1px 1px 0px rgba(46, 47, 66, 0.16),
    0px 1px 6px 0px rgba(46, 47, 66, 0.08);
  transform: translateY(0);
}

.portfolio-title {
  margin-bottom: 8px;
  color: var(--NAVY-BLUE, #2e2f42);
  /* Header 3 */
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2; /* 120% */
  letter-spacing: 0.4px;
}

.portfolio-text {
  /* Body */
  line-height: 1.5; /* 150% */
  letter-spacing: 0.02em;
}

.portfolio-cover-wrap {
  position: relative;
  overflow: hidden;
}

/* .portfolio-text-wrap {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--IRIS, #4d5ae5);
  padding-top: 40px;
  padding-left: 32px;
  padding-right: 32px;
  transform: translateY(100%);
} */

.portfolio-cover-text {
  color: var(--CLOUD, #f4f4fd);
  line-height: 1.5;
  letter-spacing: 0.02em;

  position: absolute;
  top: 0;
  height: 100%;
  background: var(--IRIS, #4d5ae5);
  padding: 40px 32px;
  transform: translateY(100%);

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

.footer {
  background: var(--NAVY-BLUE, #2e2f42);
  width: 100%;
  padding: 100px 0;
  display: flex;
  align-items: baseline;
}

.footer-container {
  margin: 0 auto;
  padding: 0 15px;

  width: 584px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 72px 24px;
}

.socials-list {
  display: flex;
  justify-content: center;
  align-items: center;

  margin-top: 16px;
  gap: 16px;
}

.socials-list-menu {
  width: 280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  margin-left: 16px;
}

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

/* .socials-item-footer {
} */

.socials-ellipse-footer:hover,
.socials-ellipse-footer:focus {
  background-color: #31d0aa;
}

.footer-socials-icon {
  position: absolute;
  fill: #f4f4fd;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 24px;
  width: 24px;
}

.footer-container {
  width: 768px;
}

.footer-info {
  width: 100%;
}

.footer-media {
  width: 100%;
}

.footer-logo {
  color: var(--IRIS, #4d5ae5);
  font-family: Raleway;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.16; /* 116.667% */
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-text {
  color: var(--CLOUD, #f4f4fd);
  /* Body */
  line-height: 1.5; /* 150% */
  letter-spacing: 0.02em;
  width: 264px;
  margin-top: 17.5px;
}

.footer-title-social {
  color: var(--WHITE, #fff);
  /* Body Medium */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 16px;

  width: 100%;
  text-align: center;
}

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

.footer-input {
  display: flex;
  flex-direction: row;
  width: 264px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--WHITE, #fff);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  background-color: transparent;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);

  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding-left: 16px;
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  color: #ffffff;
}
.footer-input::placeholder {
  color: #ffffff;
  font-size: 12px;
  line-height: 2px;
  letter-spacing: 0.02px;
}
.footer-input:focus {
  border-color: #4d5ae5;
}

.footer-form-button {
  min-width: 165px;
  height: 40px;

  display: inline-flex;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;

  border: none;
  border-radius: 4px;
  background: var(--IRIS, #4d5ae5);

  color: var(--WHITE, #fff);
  text-align: center;
  /* Button Text */
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: 0.64px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.footer-form-button:hover {
  background: var(--OCEAN, #404bbf);
}

.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
}

/* ============================== Modal ================================== */

.backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--NAVY-BLUE-modal, rgba(46, 47, 66, 0.4));
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.backdrop-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.is-open {
  display: block;
}

.modal {
  width: 288px;
  min-height: 584px;
  border-radius: 4px;
  background-color: #fcfcfc;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 72px 16px 24px 16px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  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);
}

.modal-form {
  display: flex;
  flex-direction: column;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--CORNFLOWER, #e7e9fc);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);

  position: absolute;
  right: 24px;
  top: 24px;
}

.header-button {
  width: 24px;
  height: 24px;
  cursor: pointer;
  border: none;
  background-color: #ffffff;
}

.modal-button:hover {
  background-color: #404bbf;
  border: none;
  fill: #ffffff;
}

.modal-button:focus {
  background-color: #404bbf;
  border: none;
  fill: #ffffff;
}

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

.modal-title {
  width: 100%;

  color: var(--NAVY-BLUE, #2e2f42);
  text-align: center;
  /* Body Medium */
  font-weight: 500;
  line-height: 1.5; /* 150% */
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.modal-label {
  display: flex;
  flex-direction: column;
  position: relative;

  color: var(--LIGHT-SLATE, #8e8f99);
  /* Small Text */
  font-size: 12px;
  line-height: 1.17; /* 116.667% */
  letter-spacing: 0.04em;
  margin-bottom: 4px;

  display: block;
}

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

  resize: none;
  padding: 8px 16px;

  /* Small Text */
  color: var(--NAVY-BLUE-modal, rgba(46, 47, 66, 0.4));
  font-size: 12px;
  line-height: 1.17; /* 116.667% */
  letter-spacing: 0.04em;

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

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

.modal-field {
  margin-bottom: 16px;
}

.checkbox-field {
  margin-bottom: 24px;
}

.modal-input {
  width: 100%;
  height: 40px;
  padding-left: 38px;
  color: #2e2f42;

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

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

.modal-input:focus + .modal-input-icon {
  fill: #4d5ae5;
}

.input-wrap {
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
}

.modal-input-icon {
  fill: var(--NAVY-BLUE, #2e2f42);
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.checkbox {
  color: var(--LIGHT-SLATE, #8e8f99);
  /* Small Text */
  font-size: 12px;
  line-height: 1.17; /* 116.667% */
  letter-spacing: 0.04em;

  /* gap: 8px; */
}

.privacy-policy {
  text-decoration: underline;
  color: var(--IRIS, #4d5ae5);
  margin-left: 2px;
}

.check-text-box {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  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);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  fill: transparent;
}

.checkbox-input:checked + .checkbox > .check-text-box {
  background-color: #404bbf;
  fill: #f4f4fd;
  border: none;
  display: inline-flex;
}

.modal-send-button {
  display: block;
  min-width: 169px;
  height: 56px;
  margin-left: 43px;
  margin-right: 60px;
  padding: 16px 32px;

  border-radius: 4px;
  border: none;
  background: var(--IRIS, #4d5ae5);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);

  cursor: pointer;
  color: var(--WHITE, #fff);
  text-align: center;
  /* Button Text */
  font-weight: 500;
  line-height: 1.5; /* 150% */
  letter-spacing: 0.04em;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ======= MENU ========= */

.menu-list {
  display: flex;
  flex-direction: column;
  padding: 72px 24px 40px 16px;
  gap: 40px;
}

.menu-item {
  color: var(--NAVY-BLUE, #2e2f42);
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.11; /* 111.111% */
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.menu-item:hover,
.menu-item:focus {
  color: var(--OCEAN, #404bbf);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contacts-list-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 168px;
  margin-left: 16px;

  color: var(--SLATE, #434455);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2; /* 120% */
  letter-spacing: 0.4px;
}

/* ===== MEDIA ====== */

/* ====== TABLET ======= */

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

  .header-container {
    display: flex;
  }

  .header-list {
    display: flex;
  }

  .header-button {
    display: none;
  }

  .contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .contacts-link {
    padding: 0;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.16; /* 116.667% */
    letter-spacing: 0.04em;
  }

  .hero-section {
    padding: 112px 0;

    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/people-office-tab.jpg);

    /* padding: 188px 0; */
  }

  @media screen and (min-resolution: 192dpi),
    screen and (min-resolution: 2dppx),
    screen and (min-device-pixel-ratio: 2) {
    .hero-section {
      background-image: linear-gradient(
          rgba(46, 47, 66, 0.7),
          rgba(46, 47, 66, 0.7)
        ),
        url(../images/people-office-tab@2x.jpg);
    }
  }

  .hero-title {
    font-size: 56px;
    line-height: 1.07; /* 107.143% */
    text-transform: none;

    max-width: 496px;
  }

  .features-item {
    width: calc((100% - 24px) / 2);
  }

  .features-list {
    gap: 0;
    row-gap: 72px;
    column-gap: 24px;
  }

  .features-title {
    display: flex;
    align-items: start;
  }

  .team-list {
    gap: 64px 24px;
  }

  .portfolio-item {
    width: calc((100% - 24px) / 2);
  }

  .footer-container {
    width: 584px;
  }

  .footer-title-social {
    text-align: start;
  }

  .footer-info {
    width: 264px;
  }

  .footer-media {
    width: 264px;
  }

  .footer-form {
    gap: 24px;
  }

  .socials-list {
    justify-content: flex-start;
  }

  .modal {
    width: 408px;
    top: 50%;

    padding: 72px 25px 24px 23px;
  }
}

/* =========== PC =========== */

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

  .section {
    padding: 120px 0;
  }

  .contacts-link {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  .hero-section {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/people-office.jpg);

    padding: 188px 0;
  }

  @media screen and (min-resolution: 192dpi),
    screen and (min-resolution: 2dppx),
    screen and (min-device-pixel-ratio: 2) {
    .hero-section {
      background-image: linear-gradient(
          rgba(46, 47, 66, 0.7),
          rgba(46, 47, 66, 0.7)
        ),
        url(../images/people-office@2x.jpg);
    }
  }

  .features-item {
    width: calc((100% - 72px) / 4);
  }

  .features-svg-background {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 264px;
    height: 112px;
    margin-bottom: 8px;

    border-radius: 4px;
    border: 1px solid var(--LIGHT-SLATE, #8e8f99);
    background: var(--CLOUD, #f4f4fd);
  }

  .features-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2; /* 120% */
    letter-spacing: 0.02em;
  }

  .features-item {
    width: 264px;
  }

  .features-text {
    font-weight: 400;
  }

  .team-list {
    gap: 24px;
  }

  .team-item {
    width: calc((100% - 72px) / 4);
  }

  .portfolio-item {
    width: calc((100% - 48px) / 3);
  }

  .modal {
    top: 50%;

    padding: 72px 25px 24px 23px;
  }

  .contacts-list {
    flex-direction: row;
    gap: 40px;
  }

  .footer-container {
    width: 1158px;
    gap: 0;
  }

  .footer-media {
    width: 208px;
    margin-left: 120px;
    margin-right: 80px;
  }
}
