@media screen and (max-width: 1480px) {
  .page__navigation {
    bottom: 20px;
    right: 20px;
  }

  .education__wrapper {
    flex-direction: column;
    align-items: center;
  }
}

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

  .page-header__wrapper {
    justify-content: end;
    min-height: 600px;
  }

  .header__title {
    margin-bottom: 20px;
  }

  .header__slogan {
    margin-bottom: 120px;
  }

  .article__content {
    max-width: 380px;
  }

  .article__wrapper {
    align-items: center;
    padding: 20px 0;
  }

  .themes__article {
    max-width: 380px;
  }

  .education__content {
    margin: 0;
    text-align: center;
  }

  .price__header {
    margin: 0 auto 20px;
  }

  .footer__wrapper {
    height: 220px;
  }

  .footer-social__list {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 980px) {
  .container {
    max-width: 600px;
  }

  .page-header__container.container {
    max-width: 100%;
  }

  .main-nav {
    padding: 20px 40px;
    min-height: 80px;
    box-sizing: border-box;
  }

  .page-header__wrapper {
    padding: 0 40px;
  }

  .header__title {
    font-size: 50px;
    line-height: 50px;
  }

  .header__slogan {
    font-size: 18px;
  }

  .about__title {
    font-size: 45px;
    margin: 0 auto;
  }

  .article__wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .article__image {
    align-items: center;
    justify-content: center;
  }

  .themes {
    background: #e9edee;
  }

  .themes__wrapper {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .themes__article {
    padding: 0 20px;
    box-sizing: border-box;
  }

  .price__list {
    flex-direction: column;
  }

  .price__item {
    max-width: 100%;
    justify-content: space-between;
  }

  .modal__content {
    max-width: 80%;
  }

  .modal__arrow {
    padding: 5px;
    font-size: 30px;
  }
}

@media screen and (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .main-nav {
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .navigation-logo {
    display: none;
  }

  .main-nav.opened {
    height: 100%;
    background-color: rgb(79 73 78 / 90%);
  }

  .main-nav.opened .navigation-logo {
    display: flex;
  }

  .main-nav.opened .main-nav__wrapper {
    position: fixed;
    top: 25px;
    right: 20px;
  }

  .main-nav.opened .main-nav__wrapper .main-nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 25%;
    left: 0;
    width: 100%;
  }

  .page-header__container {
    padding-top: 80px;
  }

  .main-nav__wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
  }

  .main-nav__list {
    display: none;
  }

  .menu__mobile {
    display: block;
  }

  .menu__mobile.active .menu__mobile-icon:before,
  .menu__mobile.active .menu__mobile-icon:after {
    background-color: #FFFFFF;
  }

  .site-list__link {
    font-size: 24px;
    font-weight: bold;
  }

  .page-header__wrapper {
    min-height: 500px;
  }

  .header__title {
    font-size: 40px;
  }

  .header__slogan {
    font-size: 16px;
  }

  .about__title {
    font-size: 35px;
  }

  .about__subtitle {
    font-size: 25px;
  }

  .work__item-title, .rules__subtitle {
    font-size: 20px;
  }

  .work__item-text, .rules__item-text {
    padding: 10px 5px;
    text-align: left;
  }

  .article__content {
    padding: 0;
  }

  .article__content-title {
    font-size: 20px;
  }

  .article__content-text {
    text-align: left;
    font-size: 16px;
  }

  .themes__article {
    font-size: 16px;
  }

  .education__title {
    font-size: 20px;
  }

  .slider-education {
    min-width: 400px;
    min-height: 500px;
  }

  .slider-questions {
    max-width: 500px;
  }

  .slider-questions__slide {
    width: 180px;
    height: 250px;
  }

  .slider-questions__quote-link {
    margin-top: 10px;
  }

  .price__title {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .price__subtitle {
    font-size: 16px;
  }

  .price__list {
    max-width: 500px;
  }

  .rules__title {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .rules__slogan {
    font-size: 16px;
  }

  .questions__title {
    font-size: 20px;
  }

  .slider-questions {
    height: 300px;
  }

  .slider-questions__slider-nav {
    right: -50px;
  }

  .slider-questions__quote-text {
    font-size: 13px;
  }

  .divider::before {
    position: absolute;
    height: 100%;
  }

  .footer-contacts {
    font-size: 14px;
  }
}

@media screen and (max-width: 650px) {
  .container {
    max-width: 400px;
  }

  .page-header__wrapper {
    min-height: 400px;
  }

  .education__content {
    width: 100%;
  }

  .slider-education__slider-nav,
  .slider-questions__slider-nav {
    left: -35px;
    right: -35px;
  }

  .page__navigation svg {
    width: 30px;
    height: 30px;
  }

  .footer-info {
    justify-content: flex-start;
  }

  .footer-contacts {
    flex-direction: column;
  }

  .social-list__link svg {
    width: 35px;
    height: 35px;
  }

  .modal__arrow--next {
    right: 10px;
  }

  .modal__arrow--prev {
    left: 10px;
  }
}

@media screen and (max-width: 480px) {
  .container {
    max-width: 300px;
  }

  .page-header__wrapper {
    max-width: 250px;
  }

  .header__title {
    font-size: 30px;
    line-height: 34px;
  }

  .header__slogan {
    margin-bottom: 20px;
    line-height: 20px;
  }

  .about__wrapper {
    text-align: center;
  }

  .about__title {
    font-size: 26px;
  }

  .about__subtitle {
    width: 100%;
    font-size: 20px;
    line-height: 24px;
    min-height: 0;
    margin-bottom: 30px;
  }

  .work__item-title,
  .rules__subtitle {
    font-size: 18px;
    max-width: 235px;
  }

  .slider-education {
    min-width: 250px;
    min-height: 380px;
  }

  .slider-education__slide {
    height: 300px;
  }

  .article__image img {
    max-width: 100%;
  }

  .themes__image img {
    width: 100%;
  }

  .slider-questions__slide_full {
    width: 80%;
  }

  .work__item-button--closed::before, .work__item-button--closed::after, .rules__item-button--closed::before, .rules__item-button--closed::after {
    top: 25px;
  }

  .footer-contacts {
    font-size: 12px;
  }

  .footer-info {
    padding: 10px 50px 10px 10px;
    white-space: pre-line;
  }

  .footer-info svg {
    right: 60px;
  }
}

@media screen and (max-width: 380px) {
  .slider-questions__slider-nav {
    left: -5px;
    right: -5px;
  }

  .modal__arrow--next {
    right: 5px;
  }

  .modal__arrow--prev {
    left: 5px;
  }
}
