/* Desktop style*/

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

  /** Logo **/

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

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

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

  /* Hero Image section */

  .section {
    padding: 120px 0;
  }

  .hero-image {
    padding: 188px 0;
    max-width: 1440px;
    background-image: linear-gradient(to bottom, #2e2f42b3, #2e2f42b3),
      url(../images/people-office-desktop.jpg);
  }

  @media screen and (min-resolution: 192dpi) {
    .hero-image {
      background-image: linear-gradient(to bottom, #2e2f42b3, #2e2f42b3),
        url(../images/people-office-desktop@2x.jpg);
    }
  }

  .hero-image-title {
    margin-bottom: 48px;
  }

  /* Features section */

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

  .feature-icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    width: 264px;
    height: 112px;
    background-color: var(--team-bg);
    margin-bottom: 8px;
    border: 1px solid #8e8f99;
  }

  .feature-title {
    text-align: left;
    font-weight: 500;
    font-size: 20px;
  }

  /* Team section */

  .our-team-list {
    flex-direction: row;
    gap: 24px;
  }

  .our-team-item {
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);

    width: calc((100% - 72px) / 4);
    box-shadow: unset;
  }

  .our-team-item:hover {
    box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08),
      0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
  }

  /* Portfolio */

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

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

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

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

  .overlay-text {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--logo-color);
    display: flex;
    justify-content: center;
    align-items: baseline;
    transform: translateY(100%);
    color: var(--team-bg);
    padding: 40px 32px;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Footer */

  .page-footer {
    padding: 100px 0;
  }

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

  .footer-logo-wrapper {
    margin-right: 120px;
  }

  .footer-social-box {
    max-width: 208px;
    margin-right: 80px;
  }
}
