/* font-family: "Raleway", sans-serif;
font-family: 'Roboto', sans-serif; */

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

/*------reset-------*/
ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* ---------/reset----------*/

/* -------common-------- */
.container {
  /* max-width: 1158px;
  padding: 0 15px; */
  max-width: 320px;
  padding: 0 16px;
  margin-left: auto;
  margin-right: auto;
}

/* ?????????  .container-test  */
.container-test {
  /* max-width: 1158px;
  padding: 0 15px; */
  max-width: 320px;
  padding: 0 28px;
  margin-left: auto;
  margin-right: auto;
}

.section-padding {
  /* padding-top: 120px;
  padding-bottom: 120px; */

  padding-top: 96px;
  padding-bottom: 96px;
}

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

/* --------Header--------    */
button {
  cursor: pointer;
}

.page-header {
  border-bottom: 1px solid #e7e9fc;
  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);
}
.header-container {
  display: flex;
  align-items: center;

  justify-content: space-between;
}

.header-nav {
  display: flex;
  align-items: center;
}

.logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4d5ae5;
}

.header-logo {
  /* padding: 24px 0;
  margin-right: 76px; */

  padding: 16px 0;
  display: block;
}

.header-logo .logo-part {
  color: #2e2f42;
}

.nav-list {
  /* display: flex;
  align-items: center;
  gap: 40px; */

  display: none;
}

.nav-link {
  display: block;
  padding: 24px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #2e2f42;

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

.nav-link.current {
  position: relative;
}

.nav-link.current::after {
  content: '';

  position: absolute;
  left: 0px;
  bottom: -1px;
  background: #404bbf;
  border-radius: 2px;

  width: 100%;
  height: 4px;
}

.contacts {
  font-style: normal;
  margin-left: auto;

  display: none;
}

.contacts-list {
  /* display: flex;
  align-items: center;
  gap: 40px; */

  display: block;
}

.contacts-link {
  display: block;
  /* padding: 24px 0; */
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;

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

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

.burger-btn {
  padding: 0;
  border: none;
  background-color: transparent;
}

.burger-icon {
  display: block;
  fill: #2f2f37;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #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);

  z-index: 999;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-conteiner {
  position: relative;
  padding-top: 72px;
  padding-bottom: 72px;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.mobile-menu-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  line-height: 0;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

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

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav-link {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11111;
  letter-spacing: 0.02em;
  color: #2e2f42;
}

.mobile-logo-part {
  color: #404bbf;
}

.mobile-menu-contacts {
  margin-bottom: 40px;
}

.mobile-menu-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-contacts-link {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #434455;
  font-style: normal;
}

.mobile-menu-contacts-span {
  color: #4d5ae5;
}

.mobile-social-icons-list {
  display: flex;
  gap: 40px;
}
/* ----------/Header------------    */

/* ----------Hero--------------    */
.hero-section {
  background-color: #2e2f42;
  /* padding-top: 188px;
  padding-bottom: 188px; */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;

  padding-top: 72px;
  padding-bottom: 72px;
  background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
    url(../images/background-mob.jpg);

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

.hero-h-one {
  font-weight: 700;
  /* font-size: 56px; */
  /* line-height: 1.07; */
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  /* max-width: 496px; */
  /* margin-bottom: 48px; */
  margin-left: auto;
  margin-right: auto;

  font-size: 36px;
  line-height: 1.11;
  margin-bottom: 72px;
  max-width: 216px;
}

.hero-button {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  background-color: #4d5ae5;
  height: 56px;
  border: none;
  border-radius: 4px;
  min-width: 169px;
  margin-left: auto;
  margin-right: auto;
  display: block;

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

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

/* -----------Main Style------------------    */
/* -------------Our Benefits Style----------- */
.benefits-section {
}
.benefits-list {
  display: flex;

  flex-wrap: wrap;
  gap: 72px;
}

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

  width: 100%;
}

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

  /* display: flex; */

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

  display: none;
}

.benefits-h-three {
  /* font-weight: 500;
  font-size: 20px;
  line-height: 1.2; */
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;

  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;

  text-align: center;
}

.benefits-p {
  /* font-weight: 400; po umolchniu */
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;

  font-weight: 500;
}
/* ------------/Our Benefits Style----------- */

/* ------------Our Team Style---------------- */
.team-section {
  background-color: #f4f4fd;
}

.tam-list {
  /* width: 100%; */
}

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

  background-color: #fff;
  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);

  /* ?????? - 12px   ???????????? */
  /* width: (100% - 12px); */
  width: 100%;
  /* ?????? ???????????? */
}

.team-item-container {
  padding: 32px 0;
  text-align: center;
}

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

.team-list {
  display: flex;
  /* gap: 24px; */

  gap: 72px;
  flex-wrap: wrap;
}

.team-item-img {
  /* margin-bottom: 32px; */
}

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

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

.team-social-icons-list {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.team-social-icons {
  fill: #f4f4fd;
}

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

/* .team-social-icons-item:hover,
.team-social-icons-item:focus {
  background-color: #31d0aa;
} */
.team-social-icons-link:hover,
.team-social-icons-link:focus {
  background-color: #404bbf;
}

/* -------------/Our Team Style-------------- */

/* -------------Our Portfolio Style----------- */
.portfolio-section {
}

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

.portfolio-list {
  display: flex;
  flex-wrap: wrap;
  /* column-gap: 24px;
  row-gap: 48px; */

  gap: 48px;
}

.portfolio-item {
  /* width: calc((100% - 48px) / 3); */
  /* transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1); */

  box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08);
  width: 100%;
}

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

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

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

.portfolio-overlay {
  position: relative;
  overflow: hidden;
}

.portfolio-overlay-text {
  position: absolute;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
  background-color: #4d5ae5;

  top: 0;
  left: 0;
  padding: 40px 32px;
  height: 100%;
  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* .portfolio-item:hover .portfolio-overlay-text {
  transform: translateY(0%);
} */

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

/* -------------/Our Portfolio Style----------- */
/* ----------------/Main Style---------------   */

/* ----------------Footer Style--------------------*/
.footer-section {
  background-color: #2e2f42;
  padding: 96px 0;
}

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

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

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

.social-media-icons {
  max-width: 208px;
}

.footer-social-media-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 16px;

  text-align: center;
}

.container-footer {
  display: flex;
  /* align-items: baseline; */

  flex-direction: column;
  align-items: center;
  gap: 72px;
}

.webstudio-foter {
  /* margin-right: 120px; */

  /* display: block; */
  text-align: center;
}

.footer-social-icons-list {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.footer-social-icons {
  fill: #f4f4fd;
}

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

/* .team-social-icons-item:hover,
.team-social-icons-item:focus {
  background-color: #31d0aa;
} */
.footer-social-icons-link:hover,
.footer-social-icons-link:focus {
  background-color: #31d0aa;
}

/* ========== foter email */
.container-foter-email {
  /* margin-left: 80px; */

  display: flex;
  flex-direction: column;
}

.footer-form {
  display: flex;
  align-items: center;
  /* gap: 24px; */

  gap: 16px;

  flex-direction: column;
}

.footer-email-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 16px;

  text-align: center;
}

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

.footer-bts {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  height: 40px;
  min-width: 165px;
  border-radius: 4px;
  background-color: #4d5ae5;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 24px;
  padding-right: 24px;
  cursor: pointer;
}

.footer-bts-icon {
  fill: white;
  margin-left: 16px;
}

/* ========== foter email */

/* ----------------/Footer Style--------------------*/

/* ----------------Modal Backdrop Style--------------------*/
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  width: 100%;
  height: 100%;
  background-color: rgba(46, 47, 66, 0.4);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

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

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  position: absolute;
  /* width: 408px; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fcfcfc;
  /* padding: 72px 24px 24px 24px; */
  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);
  min-height: 584px;
  overflow: auto;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);

  width: 288px;
  padding: 72px 16px 24px 16px;
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  line-height: 0;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

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

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

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

  /* line-height: 24px; */
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 16px;
}

.review-form-field-wrapper {
  margin-bottom: 8px;
}
.review-form-field-label {
  display: block;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;

  margin-bottom: 4px;
}

.input-wrapper {
  position: relative;
}

.review-form-input {
  width: 100%;
  height: 40px;
  padding-left: 38px;
  padding-right: 16px;
  border-radius: 4px;
  color: #2e2f42;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);

  border: 1px solid rgba(46, 47, 66, 0.4);
  background-color: transparent;
  outline: transparent;
}

.review-form-input:focus {
  outline: none;
  border-color: #4d5ae5;
}
.review-form-input:focus + .form-icon {
  fill: #4d5ae5;
}

.form-icon {
  position: absolute;

  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  fill: #2e2f42;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.review-form-comment-wrapper {
  margin-bottom: 16px;
}

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

  /* margin-bottom: 16px; */
}

.review-form-comment::placeholder {
  font-size: 12px;
  line-height: 1.16667;
  letter-spacing: 0.04em;
  color: rgba(46, 47, 66, 0.4);
}
.review-form-comment:focus {
  border-color: #4d5ae5;
}

.review-form-checkbox-wrapper {
  margin-bottom: 24px;
}

.review-form-checkbox-input:checked
  + .review-form-checkbox-label
  > .custom-checkbox {
  background-color: #404bbf;
  border: none;
  fill: #f4f4fd;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  margin-right: 8px;
  background-color: transparent;
  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);

  flex-shrink: 0;
}

.review-form-checkbox-label {
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: #8e8f99;
  align-items: center;
  justify-content: center;

  display: flex;

  a {
    line-height: 1.33333;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4d5ae5;
  }
}

.review-form-checkbox-link {
  color: #4d5ae5;
}

.review-form-send-btn {
  min-width: 169px;
  height: 56px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 16px 32px;

  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background-color: #4d5ae5;
  border: 0;
  display: block;
  margin: 0 auto;

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

/* ----------------/Modal Backdrop Style--------------------*/

@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
  /* ----------Header------------    */
  .header-logo {
    padding: 24px 0;
    margin-right: 120px;
  }

  .burger-btn {
    display: none;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .contacts {
    font-style: normal;
    display: block;
  }

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

  .contacts-link {
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
  }

  /* mobe menu */
  .mobile-menu {
    display: none;
  }

  /* ----------/Header----------------------    */

  /* ------------- HERO ---------------------------*/
  .hero-section {
    padding-top: 112px;
    padding-bottom: 112px;
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/background-tab.jpg);

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

  .hero-h-one {
    font-size: 56px;
    line-height: 1.07;
    max-width: 496px;
    margin-bottom: 36px;
  }
  /* /HERO */

  /* -------------Our Benefits Style----------- */

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

  .benefits-h-three {
    text-align: left;
  }

  .benefits-list {
    column-gap: 24px;
    row-gap: 72px;
  }
  /* -------------/Our Benefits Style----------- */

  /* ------------Our Team Style---------------- */

  .container-test {
    max-width: 768px;
    padding: 0 108px;
  }

  .team-list {
    column-gap: 24px;
    row-gap: 64px;
  }
  .team-item {
    width: calc((100% - 24px) / 2);
    column-gap: 14px;
  }
  /* ------------/Our Team Style---------------- */

  /* -------------Our Portfolio Style----------- */
  .portfolio-list {
    column-gap: 24px;
    row-gap: 72px;
  }

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

  /* -------------/Our Portfolio Style----------- */

  /* ----------------Footer Style--------------------*/
  .container-footer {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 72px;
    align-items: baseline;
    padding-left: 108px;
  }

  .webstudio-foter {
    text-align: left;
  }

  .footer-form {
    flex-direction: row;
    gap: 24px;
  }
  .footer-social-media-text {
    text-align: left;
  }

  .footer-form-email {
    width: 264px;
  }

  .footer-email-text {
    text-align: left;
  }
  /* ----------------/Footer Style--------------------*/

  .modal {
    width: 408px;
    padding: 72px 24px 24px 24px;
  }
}

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

  .section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  /* ---------------Header----------------------    */
  .header-logo {
    margin-right: 76px;
  }

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

  .contacts-link {
    padding: 24px 0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
  /* --------------/Header----------------------    */

  /* ------------- HERO ---------------------------*/
  .hero-section {
    padding-top: 188px;
    padding-bottom: 188px;
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/hero-background.jpg);

    @media screen and (min-resolution: 2x),
      (-webkit-min-device-pixel-ratio: 2) {
      background-image: linear-gradient(
          rgba(46, 47, 66, 0.7),
          rgba(46, 47, 66, 0.7)
        ),
        url(../images/hero-background-2x.jpg);
    }
  }
  .hero-h-one {
    margin-bottom: 48px;
  }

  /* ------------- /HERO ---------------------------*/

  /* -------------Our Benefits Style----------- */

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

  .benefits-h-three {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    text-align: left;
  }

  .benefits-icon-container {
    display: flex;
  }

  .benefits-p {
    font-weight: 400;
  }
  /* -------------/Our Benefits Style----------- */

  /* ------------Our Team Style---------------- */
  .container-test {
    max-width: 1158px;
    padding: 0 15px;
  }

  .team-list {
    column-gap: 24px;
    row-gap: 64px;
  }
  .team-item {
    width: calc((100% - 72px) / 4);
    column-gap: 14px;
  }

  /* ------------/Our Team Style---------------- */

  /* -------------Our Portfolio Style----------- */
  .portfolio-list {
    column-gap: 24px;
    row-gap: 48px;
  }

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

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

  .portfolio-item:hover .portfolio-overlay-text {
    transform: translateY(0%);
  }

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

  /* -------------/Our Portfolio Style----------- */

  /* ----------------Footer Style--------------------*/
  .footer-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .container-footer {
    flex-wrap: nowrap;
    column-gap: unset;
  }

  .webstudio-foter {
    margin-right: 120px;
  }

  .container-foter-email {
    margin-left: 80px;
  }
  /* ----------------/Footer Style--------------------*/
}
