@media (min-width: 0px) {
  :root {
    --swiper-theme-color: #f4f4f4;
  }
  .works__info h2 {
    margin-top: 10px;
    color: var(--, #151617);
    font-family: Manrope;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 33.6px */
  }
  .works {
    padding: 40px 16px;
  }
  .works__info {
    align-self: flex-start;
  }
  .works__description {
    margin-top: 15px;
    color: #414548;
    font-family: Manrope;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%; /* 23.4px */
  }

  .swiper {
    width: auto;
    height: 100%;
    margin-top: -24px;
  }
  .swiper2 .swiper-slide {
    margin-top: 50px;
    width: 300px;
  }

  .swiper2 .swiper-slider {
    border: 1px solid #f9fafb;
    background: #f9fafb;
    border-radius: 12px;
  }
  .swiper2 .swiper-slider-container {
    border: unset;
    background-color: transparent;
    border-radius: unset;
    background-image: url("../img/1_m_NN.webp");
    background-size: cover;
    background-repeat: round;
    /* height: 645px; */
    width: 100%;
    aspect-ratio: 1/1.58;
  }
  .swiper2 .swiper-slider1 {
    background-image: url("../img/2_m_n.webp");
  }
  .swiper2 .swiper-slider2 {
    background-image: url("../img/3_m_n.webp");
  }
  .swiper2 .swiper-slider3 {
    background-image: url("../img/4_m_n.webp");
  }
  .swiper2 .swiper-slider img {
    margin-top: 32px;
  }
  .swiper-horizontal
    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
  .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    width: 100% !important;
  }
  .swiper-pagination {
    position: unset;
  }
  .swiper-horizontal
    > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
  .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    transform: unset;
    margin-top: 16px;
    margin-bottom: 25px;
  }
  .swiper-pagination-bullet {
    width: 20px;
    height: 8px;
    border-radius: 10px;
    background: #dc5086;
  }
  .swiper-pagination1 {
    position: relative;
    left: -7px !important;
    bottom: -10px !important;
  }
  .narrow-screen {
    display: block;
  }
  .button_navigation2 {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
  }
  .width-screen {
    display: none;
  }
}

@media (min-width: 958px) {
  .works {
    margin-top: unset;
  }
  .works__wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .works__info h2 {
    font-size: 32px;
  }
  .works__description {
    font-size: 24px;
    margin-top: 15px;
  }

  .swiper-slider {
    width: 100%;
  }
  .swiper2 {
    max-width: 500px;
  }
  .swiper2 .swiper-slider {
    padding: 65px;
  }
}

@media (min-width: 1244px) {
  .works {
    padding: 100px 0;
  }
  .works__info h2 {
    font-size: 45px;
  }
  .works__wrapper {
    position: relative;
  }
  .works__description {
    font-size: 24px;
    line-height: 150%;
  }
  .works__info {
    margin-right: 24px;
  }
  .button_navigation2 {
    display: none;
  }
  .width-screen {
    gap: 16px;
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
  .narrow-screen {
    display: none;
  }
  /* .button-prev2 {
    position: absolute;
    left: 0;
    top: 53%;
    z-index: 10;
  }
  .button-next2 {
    position: absolute;
    right: 24px;
    top: 53%;
    z-index: 10;
  } */

  .swiper2 {
    max-width: 1068px;
  }

  .swiper2 .swiper-slider-container {
    height: 730px;
    width: 510px;
  }
  .swiper2 .swiper-slider-container {
    background-image: url("../img/1_d_n.webp");
  }
  .swiper2 .swiper-slider1 {
    background-image: url("../img/2_d_n.webp");
  }
  .swiper2 .swiper-slider2 {
    background-image: url("../img/3_d_n.webp");
  }
  .swiper2 .swiper-slider3 {
    background-image: url("../img/4_d_n.webp");
  }
}
