@media (max-width: 1550px) {
  .header-wrapper {
    padding: 2px 16px 2px 6px;
  }
  .header {
    height: auto;
  }
  .footer-top {
    height: 55px;
  }
}

@media (max-width: 1350px) {
  .site-is-updating {
    display: none;
  }
}

@media (max-width: 1260px) {
  .header-wrapper {
    padding: 12px 8px 12px 4px;
  }
  .logo {
    margin-right: 103px;
  }
  .site-is-updating {
    gap: 15px;
    transform: translateX(-8px)
  }
  .site-is-updating-text {
    font-size: 10px;
  }
}

@media (max-width: 1147px) {
  .header-wrapper {
    padding: 2px 11px 2px 8px;
  }
  .logo {
    margin-right: 43px;
  }
}


@media (max-width: 1200px) {
  .home-right {
    transform: none;
  }
  .background-image img {
    max-width: none;
    max-height: none;
  }
  /* .header-menu {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: normal;
    padding: 100px 24px 0px 24px;
    width: 100%;
    background: linear-gradient(4.18deg, rgb(219, 223, 227) -0.853%,rgba(219, 223, 227, 0) 120.79%),rgb(243, 245, 247);
    z-index: 200;
    transform: translateX(5000px);

    transition: .2s ease-in-out;
  }
  .header-wrapper {
    justify-content: space-between;
  }
  .burger {
    position: relative;
    display: block;
    z-index: 500;
  }
  .menu-open {
    transform: translateX(0);
  }
  .header-nav {
    margin: 0;
  }
  .header-list {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
    padding: 15px;
    width: 100%;
  }
  .header-list li {
    max-width: 700px;
    width: 100%;
  }

  .header-list li a {
    width: 100%;
    justify-content: center;
  }
  .header-control {
    flex-direction: column;
    margin: 0;
  }
  .header-control .header-control-list {
    justify-content: center;
    padding: 0 0 25px;
    margin: 0 0 32px;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #D4D6D7;
    gap: 15px;
  } */

  /* HOME */
  .home-wrapper {
    overflow: hidden;
  }
  .home-content {
    flex-direction: column;
  }
  .home-checkers-bg {
    right: -160px;
    top: 0%;
    height: auto;
  }
  .home-left {
    gap: 60px;
  }

  /* ACCOUNT */
  .account-persone {
    margin-right: 25px;
  }
  .account-stat {
    max-width: 200px;
    margin-right: 25px;
  }
  .account-settings-fields {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CATEGORIES */
  .levels {
    padding: 0;
  }

  /* LESSONS */
  .lessons-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .logo {
    margin-right: 20px;
  }
  .header-nav-link.nav-selected {
    display: none;
  }
}

@media (max-width: 1025px) {
  .header-wrapper {
    padding-right: 8px;
  }
  .logo {
    margin-right: 32px;
    width: 190px;
    height: 36px;
  }
  .header-list {
    gap: 11px;
  }
  .header-control-list {
    gap: 24px;
  }
  .site-is-updating {
    transform: none
  }
}

@media (max-width: 1025px) and (min-width: 850px) {
  .control-button {
    font-size: 12px;
    justify-content: center;
    gap: 2px;
    white-space: nowrap;
  }
  .control-button img {
    width: 24px;
    height: 24px;
  }
  .nav-route svg {
    width: 18px;
    height: 18px;
  }
  .nav-route {
    font-size: 16px;
  }

}

@media (max-width: 1000px) {
  /* FOOTER */
  .footer-top {
    height: auto;
    padding: 20px 0px;
  }
  .footer-wrapper {
    flex-wrap: wrap;
    gap: 30px;
  }
  .footer-nav {
    order: 2;
    width: 100%;
  }
  .footer-nav-list {
    gap: 11px;
  }

  /* ACCOUNT */
  .account-header {
    flex-direction: column;
    gap: 15px;
  }
  .account-persone {
    gap: 15px;
  }
  .account-avatar {
    grid-row: 1;
  }
  .account-rating {
    grid-column: span 2;
    width: auto;
  }

  /* CATEGORIES */
  #categories {
    padding: 23px 0;
  }
  .levels {
    align-items: center;
  }
  .level {
    width: 100%;
  }
  .categories-wrapper {
    margin: 0;
    padding: 12px 13px 15px 19px;
    width: 100%;
  }
  .categories-blocks {
    grid-template-columns: 1fr;
  }
  .categories-block {
    padding: 25px 20px 18px 20px;
    width: 100%;
    min-height: auto;
  }
  .categories-block-title {
    font-size: 20px;
  }
  .point-wrapper {
    position: absolute;
  }

  /* LESSONS */
  .lessons-info {
    margin: 0 0 50px 0;
    transform: none;
  }
  .lessons-info-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* ARTICLES */
  .articles-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .level-arrow {
    top: 10px;
  }
  .point-wrapper {
    width: 16px;
    left: -20px;
    top: 58px;
  }
  .level {
    padding-left: 10px;
  }
  .gradient-line {
    display: none;
  }
}

@media (max-width: 965px) {
  .header-nav-link {
    display: none;
  }
}


@media (max-width: 850px) {
  .levels {
    padding: 0 16px;
  }
  .header-nav {
    display: none;
  }
  .control-panel {
    justify-content: flex-end;
    margin: 0;
    width: 100%;
  }
  .header-control-button {
    width: 30px;
    height: 30px;
    padding: 0;
  }
  .header-control-button span {
    display: none;
  }
  .site-is-updating {
    display: none;
  }
  .header .container {
    padding: 0;
    height: 100%;
  }
  .header-wrapper {
    padding: 0 24px;
    height: 100%;
  }
  .header {
    height: 50px;
    flex-shrink: 0;
  }
  .logo {
    width: 146px;
    height: 28px;
  }
}

@media (max-width: 785px) {
  .section-title {
    font-size: 24px;
  }
  /* MODALS */
  .graph-modal__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .signin-modal,
  .forgot-psw-modal,
  .change-psw-modal,
  .forgot-psw-success-modal {
    width: 342px;
  }
  .signup-modal {
    width: 390px;
    padding-left: 36px;
    padding-right: 36px;
  }
  .signup-modal .modal-fields {
    grid-template-columns: 1fr;
  }
  .modal-set-avatar .blue-border-btn {
    white-space: nowrap;
  }
  .feedback-modal,
  .policy-modal {
    width: 390px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .feedback-modal .modal-fields {
    display: flex;
    flex-direction: column;
  }
  .policy-modal-wrapper {
    padding-right: 18px;
    max-height: 636px;
  }

  /* HOME */
  .home-wrapper {
    padding: 25px 0 60px;
    background: linear-gradient(4.18deg, rgb(219, 223, 227) -0.756%,rgba(219, 223, 227, 0) 120.251%),rgb(243, 245, 247);;
  }
  .home-content {
    flex-direction: column-reverse;
    padding: 0;
    gap: 20px;
  }
  .home-right {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    transform: none;
  }
  .home-title-wrapper {
    display: none;
  }
  .home-title-mob {
    display: block;
    margin-bottom: 25px;
    padding: 10px 0 0 22px;
    width: 100%;
    height: 144px;
    background-image: url('../images/bg-title-mob.png');
  }
  .home-title {
    font-size: 32px;
  }
  .home-checkers-bg {
    top: -25px;
    right: 0;
    height: auto;
  }
  .home-control-panel {
    width: 100%;
    gap: 10px;
  }
  .home-control-button {
    padding: 8px 30px;
    width: 100%;
    font-size: 16px;
  }
  .home-control-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  .home-control-icon svg {
    width: 29px;
    height: 29px;
  }
  .home-advantages {
    margin-left: -24px;
    margin-right: -24px;
    max-width: none;
    gap: 20px;
  }
  .home-advantages {
    padding: 22px;
  }
  .home-advantages-item {
    padding: 0;
  }
  .home-advantages-image {
    width: 80px;
    height: 80px;
  }
  .home-advantages-descr {
    font-size: 14px;
    line-height: 140%;
  }
  .home-advantages-bage {
    width: 30px;
    height: 30px;
    top: -25px;
    left: 4px;
  }

  /* ACCOUNT */
  #account {
    padding: 24px 0;
    background: linear-gradient(4.65deg, rgb(219, 223, 227) -1.028%,rgba(219, 223, 227, 0) 121.757%), rgb(255, 255, 255);
  }
  #account .section-title {
    text-align: center;
  }
  .account-content-container {
    padding: 0;
  }
  .account-persone {
    margin: 0;
    grid-template-columns: 150px 1fr;
  }
  .account-stat {
    gap: 10px;
    margin: 0;
    max-width: none;
    width: 100%;
  }
  .account-tab-body {
    padding: 15px 25px;
  }
  .account-tabs {
    justify-content: center;
  }
  .account-tab {
    padding: 15px 0;
    font-size: 14px;
    min-width: auto;
    width: 107px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .account-tabs > .account-tab:last-of-type {
    padding-left: 29px;
    padding-right: 29px;
  }
  .table-wrapper::-webkit-scrollbar {
    display: none;
  }
  .account-settings-fields {
    grid-template-columns: 1fr;
  }
  .account-nickname p {
    font-size: 16px;
  }
  .account-rating {
    padding: 12px 0;
  }
  .paggination p:first-of-type {
    display: none;
  }
  .paggination p:last-of-type {
    display: flex;
  }

  /* LESSONS */
  .lessons-info {
    margin-bottom: 20px;
  }
  .lessons-title {
    font-size: 32px;
    line-height: 110%;
    max-width: 245px;
  }
  .lessons-info-body {
    margin-top: 16px;
    max-width: none;
    width: 100%;
  }
  .lessons-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 0 24px;
    width: 100%;
  }
  .lessons-info-head .transpanent {
    font-size: 16px;
    text-transform: uppercase;
  }
  .lessons-item-wrap {
    padding: 10px;
  }
  .lessons-item-image {
    height: 124px;
  }
  .lessons-item-info {
    margin-top: 6px;
    flex: 1;
  }
  .lessons-item-name {
    font-size: 16px;
    line-height: 24px;
  }
  .lessons-item-time svg {
    width: 12px;
    height: 15px;
  }
  .lessons-item-time-progress {
    margin-top: auto;
    flex-direction: column;
  }
  .lessons-item-time {
    align-items: flex-end;
  }
  .lessons-item-text {
    font-size: 12px;
    line-height: 110%;
  }
  .lessons-item-progress {
    font-size: 16px;
    font-weight: 500;
  }

  /* ARTICLEs */
  .articles-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .article-block {
    border-radius: 20px;
    padding: 10px;
  }
  .article-block img {
    height: 126px;
  }
  .article-block-content {
    height: 33px;
  }
  .articles-block-title {
    margin-bottom: 10px;
    font-size: 14px;
    word-break: break-all;
    -webkit-line-clamp: 2;
  }
  .article-block-descr{
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 576px) {
  html {
    height: 100%;
    height: -webkit-fill-available;
    overflow: hidden;
  }
  body {
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    height: 100%;
    height: -webkit-fill-available;
  }
  .home-left {
    display: none;
  }
  .home-text-block {
    display: none;
  }
  /* FOOTER */
  .footer {
    height: 45px;
    flex-shrink: 0;
  }
  .footer .logo {
    display: none;
  }
  .footer-top {
    padding: 0;
    height: 100%;
  }
  .footer-wrapper {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .footer-nav {
    display: none;
  }
  .policy-mob {
    display: block;
    font-weight: 400;
    font-size: 15px;
    line-height: 143%;
    text-align: center;
    color: #fff;
    opacity: 1;
    visibility: visible;
    user-select: auto;
  }
  .policy-mob:hover,
  .policy-mob:focus-visible,
  .policy-mob:active {
    color: #fff;
  }
  .footer .container {
    padding: 0;
  }

  /* HEADER */
  .home-advantages,
  .home-title-wrapper {
    display: none;
  }
  .home-wrapper {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .background-image {
    top: 0;
    bottom: 0;
  }
  .background-image picture {
    width: 100%;
  }
  .home-control-button {
    padding: 14px 14px;
    font-weight: 900;
  }
  .background-image img {
    transform: none;
    top: 0;
  }
  .home-control-panel {
    padding: 0 6px;
    gap: 12px;
  }
  .home-checkers-bg {
    left: 0;
    right: auto;
    top: -124px;
  }
  .single-checker {
    transform: translateX(-4%);
  }
  .settings-swiitcher input {
    background-image: url('../images/switcher.png');
    background-position: left 1px top 2px;
  }
  .settings-swiitcher input:checked {
    background-position: right 1px top 2px;
  }

  /* RESPONSE */
  .response-subscribe {
    width: 100%;
    max-width: 342px;
  }
  .response-top {
    flex-direction: column;
  }
  .response-price {
    align-items: center;
  }
  .response-top p {
    text-align: center;
  }
  .response-wrapper {
    min-height: 690px;
    background: linear-gradient(4.65deg, rgb(219, 223, 227) -1.028%,rgba(219, 223, 227, 0) 121.757%), rgb(255, 255, 255);;
  }
  .response-block {
    padding: 40px 25px;
    width: 100%;
    max-width: 342px;
  }

  /* lessons */
  .locked-content {
    padding: 0 15px;
  }
  .locked-content img {
    width: 40px;
    height: 40px;
  }
  .locked-content h3 {
    font-size: 16px;
  }
  .locked-content .btn span {
    display: none;
  }
  .policy-block {
    padding: 15px 25px;
    border-radius: 0;
  }
  .no-email a {
    margin: 0;
  }

  .point-wrapper {
    display: none;
  }
  #categories {
    padding-top: 9px;
    background-image: url('../images/lessons-bg-mob.jpg');
  }
  #categories .container {
    padding-inline: 16px;
  }
  .level {
    padding: 0;
  }
  .level-arrow {
    display: none;
  }
  .categories-blocks {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .categories-wrapper {
    padding: 16px 8px 5px 8px;
    background-image: none !important;
  }
  .categories-block-title {
    font-family: 'NotoSans', sans-serif;
    font-size: 15px;
    margin: 0;
  }
  .categories-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 105px;
    padding: 12px;
    border-radius: 10px;
  }
  .category-info-block {
    align-items: center;
  }
  .category-info-block picture {
    width: 24px;
    height: 24px;
  }
  #categories .section-title {
    font-family: 'NotoSans', sans-serif;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
  }
  .level-name {
    top: -13px;
    left: 17px;
    font-size: 15.5px;
    font-family: 'NotoSans', sans-serif;
    color: #838688;
  }
  .category-descr {
    font-family: 'NotoSans', sans-serif;
    font-size: 14px;
    color: #2c3339;
  }
  .levels-inner {
    gap: 23px;
  }
  .category-number {
    font-size: 14px;
  }
  .lessons-title,
  .lessons-info {
    display: none;
  }
  .lessons-total-mob {
    font-family: 'NotoSans', sans-serif;
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    text-align: center;
    color: #838688;
  }
  .lessons-breadcrumb-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 16px;
    gap: 6px;
  }
  ul.breadcrumb li.breadcrumb-item {
    font-family: 'NotoSans', sans-serif;
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 143%;
    text-align: center;
    color: #838688;
    opacity: 1;
  }
  ul.breadcrumb li.breadcrumb-item:not(:last-child):after {
    content: '';
    width: 6px;
    height: 10px;
    background-image: url('../images/breadcrumb-arrow.svg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    top: 50%;
    transform: translateY(-50%);
  }
  #lessons {
    padding-top: 12px;
    padding-bottom: 40px;
    background-image: url('../images/lessons-details-bg-mob.jpg');
    min-height: auto;
  }
  ul.breadcrumb li.breadcrumb-item:not(:last-child) {
    margin-right: 24px;
  }
  #lessons .breadcrumb {
    margin-bottom: 0px;
    flex-wrap: wrap;
  }
  .lessons-list {
    gap: 8px;
  }
  .lessons-item-wrap {
    border-radius: 10px;
    padding: 4px 4px 5px 4px;
    gap: 0;
    height: 100%;
  }
  .lessons-item-image {
    height: 120px;
    border-radius: 6px;
  }
  .lessons-item-info {
    padding-inline: 6px;
  }
  .lessons-item-name {
    margin-bottom: 8px;
    font-family: 'NotoSans', sans-serif;
    font-weight: 900;
    font-size: 14px;
    line-height: 143%;
  }
  .lessons-item-time-progress {
    flex-direction: row;
  }
  .lessons-item-progressbar {
    display: none;
  }
  .lessons-item-progress-done {
    display: none;
  }
  .slash,
  .lesson-minute {
    display: none;
  }
  .lessons-item-progress svg {
    display: block;
  }

  .lessons-item-text,
  .lessons-item-progress {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    color: #838688;
  }
  .lessons-item-time-progress {
    align-items: center;
  }
  .lessons-item-progress {
    align-items: center;
  }
  .lessons-item-time {
    align-items: center;
  }
  .lessons-item-time svg {
    width: 16px;
    height: 16px;
    margin-bottom: 3px;
  }
  .lessons-item-progress {
    font-size: 15px;
  }

  .feedback-modal {
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
  }
  .comment-bottom {
    flex-direction: column-reverse;
  }
  /* .input-info {
    align-self: flex-end;
    margin-bottom: 12px;
  } */
  .graph-modal::before {
    display: none;
  }

  .settings-popup {
    padding: 24px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 312px;
  }
  .settings-overlay {
    display: block;
    z-index: 599;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,.7);
  }
  .settings-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .settings-popup h4 {
    font-family: "NotoSans", sans-serif;
    font-weight: 500;
    font-size: 16px;
  }
  .settings-popup-title {
    display: block;
    margin: 0 auto;
    margin-bottom: 16px;
    text-align: center;
    font-family: "NotoSans", sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #2c3339;
  }
  .settings-btns {
    gap: 16px;
  }
  .settings-btns button {
    flex: 1;
    height: 42px;
    font-weight: 700;
    font-size: 16px;
    font-family: "Noto Sans", sans-serif;
  }
  .policy-full {
    padding-top: 12px;
    padding-bottom: 0;
  }
  .policy-full .section-title {
    font-family: "Noto Sans", sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    max-width: 312px;
    margin: 0 auto 16px auto;
  }
  .policy-block {
    padding: 20px 16px;
    border-radius: 12px 12px 0 0;
  }
  .policy-block p {
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    text-align: justify;
  }
  .privacy-back-btn {
    display: flex;
    width: 123px;
    height: 42px;
    margin: 24px auto 16px auto;
  }
  .policy-modal {
    padding: 20px 8px 20px 16px;
    width: 100%;
    height: 100dvh;
    margin: auto 0 0 0;
    border-radius: 0;
  }
  .policy-modal .modal-title {
    font-family: "Noto Sans", sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    max-width: 312px;
    margin: 0 auto 16px auto;
  }
  .policy-modal-wrapper {
    padding-right: 8px;
    height: calc(100vh - 172px);
    max-height: none;
    font-family: "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    text-align: justify;
  }
  .feedback-success-modal {
    padding: 24px 16px;
    max-width: 312px;
    width: 100%;
    box-shadow: 0 2px 20px 0 rgba(131, 134, 136, 0.2);
    background: #fff;
    transform: translateY(100%)
  }
  .feedback-success-modal svg {
    margin-bottom: 8px;
  }
  .feedback-success-modal p {
    font-family: "NotoSans", sans-serif;
    font-weight: 500;
  }
}

@media (max-width: 371px) {
  .home-title {
    font-size: 25px;
  }
  .home-title-mob {
    height: 120px;
    padding-top: 11px;
    background-size: contain;
  }
}