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

  /*----------------hero----------------*/
  .hero {
    max-width: 1440px;

    padding-top: 188px;
    padding-bottom: 188px;
  }
  .logo {
    margin-right: 76px;
  }

  .header-contact {
    flex-direction: row;
    gap: 40px;

    font-size: 16px;
    line-height: 1.5;
  }
  .header-list .link {
    padding-bottom: 24px;
  }
  .header-contact .link {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  /*----------------features----------------*/
  .features {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .features-list {
    flex-wrap: nowrap;
  }
  .features-item {
    min-width: 264px;
  }
  .features-subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;

    text-align: left;

    letter-spacing: 0.02em;
    margin-bottom: 8px;
  }
  .features-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
  }
  /*----------------cards----------------*/
  .cards {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .cards-list {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 24px;
  }
  .cards-list > li {
    flex-basis: calc((100% - 72px) / 4);
  }
  /*----------------customer----------------*/
  .customers {
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .customers-title {
    font-weight: 700;
  }
  .customers-list {
    flex-wrap: nowrap;
  }
  /*----------------footer----------------*/
  .footer {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .footer-flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: baseline;
  }
  .footer-content {
    margin-right: 120px;
  }
  .footer-soc {
    margin-right: 80px;
  }
  .modal {
    max-height: 576px;
    overflow: hidden;
  }
  /*---------------------Portfolio---------------------*/
  .main {
    padding-top: 96px;
    padding-bottom: 120px;
  }

  .main-block-overlay {
    position: relative;
    overflow: hidden;
  }
  .main-overlay {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    padding: 40px 32px;
    overflow: auto;

    color: var(--light-color);

    background-color: var(--primary-brend-color);

    transform: translateY(100%);

    transition: transform var(--duration) var(--cubic-bezier);
  }
  .main-item-link:hover .main-overlay,
  .main-item-link:focus .main-overlay {
    opacity: 1;
    transform: translateY(0);
  }
  .main-picture {
    width: 360px;
    height: 300px;
  }
}
