:root {
  --gap: 8px;
  --border-radius-2: 2px;
  --color-main-back: #f6f6f6;
  --color-violet-back: #440d83;
}

@media (max-width: 1024px) {
  .sidebar,
  .nav__list,
  .nav__mid-link,
  .section__top-link,
  .calendar__control {
    display: none;
  }

  .title-2 {
    font-size: 34px;
    line-height: 41px;
    color: #0f2233;
  }

  /* NAV */
  .nav {
    position: relative;
    padding-bottom: 50px;
    color: #ffffff;
  }

  .nav__container {
    position: absolute;
    padding: 30px 20px;
  }

  .nav__wrapper {
    padding: 30px 10px 50px;
    min-height: 550px;
    justify-content: flex-end;
  }

  .burger {
    position: relative;
    display: block;
    margin-bottom: auto;
    width: 40px;
    height: 30px;
    z-index: 1;
  }

  .burger__line,
  .burger::before,
  .burger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    border-radius: 100px;
  }

  .burger__line {
    bottom: 42.2%;
  }

  .burger::before {
    top: 0;
  }

  .burger::after {
    bottom: 0;
  }

  .nav__slide {
    background-position: center;
  }

  .nav__mid {
    margin: 0;
    padding: 0;
    padding-bottom: 90px;
  }

  .nav__ttl {
    margin: 0;
    padding: 0;
    font-size: 100px;
    line-height: 110px;
  }

  /* ACTIVITIES */
  .activities__container {
    padding: 30px 0;
    background-color: #ffffff;
  }

  .activities__wrapper {
    padding: 0 10px;
  }

  /* calendar */
  .calendar,
  .activities__tabs {
    margin-right: -20px;
  }

  .calendar__slider-wrap {
    max-width: 100%;
  }

  .activities__tabs {
    position: relative;
  }

  .activities__lst {
    position: absolute;
    margin: 0;
    padding: 0;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    cursor: grab;
  }

  .activities__lst:active {
    cursor: grabbing;
  }

  .activities__lst::-webkit-scrollbar {
    display: none;
  }

  .activities__itm {
    margin: 0;
    font-size: 15px;
  }

  .activities__cards {
    padding: 0;
    margin-right: -15px;
    margin-bottom: 20px;
  }

  .calendar-cards {
    padding: 65px 20px 0 0;
  }

  .lectorium-cards {
    margin-bottom: 5px;
  }

  .activities__card {
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 20px;
    flex-basis: 35%;
    flex-grow: 1;
    background-position: center;
  }

  .activities__txt {
    font-size: 17px;
    line-height: 20px;
  }

  .activities__btn-more {
    width: 100%;
  }

}

@media (max-width: 720px) {
  .title-2 {
    font-size: 30px;
    line-height: 36px;
  }

  .nav {
    padding-bottom: 25px;
  }

  .burger {
    width: 21px;
    height: 16px;
  }

  .burger__line,
  .burger::before,
  .burger::after {
    height: 2px;
    background-color: #ffffff;
  }

  .nav__wrapper {
    padding: 24px 10px 50px;
    min-height: 421px;
  }

  .nav__container {
    padding: 24px 20px;
  }

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

  .nav__mid {
    padding-bottom: 50px;
  }

  .nav__inf {
    font-size: 13px;
    line-height: 16px;
  }

  .nav__txt {
    max-width: 100%;
    font-size: 20px;
    line-height: 25px;
  }

  .nav__bottom-link {
    font-size: 16px;
    line-height: 20px;
  }

  .nav__slider-control {
    position: relative;
    padding-right: 15px;
    text-align: right;
    transform: translateY(-100px);
  }

  .nav__slider-control svg {
    width: 30px;
  }

  /* ACTIVITIES */
  .activities {
    padding-bottom: 0;
  }

  .activities__container {
    padding-bottom: 100px;
  }

  .activities__ttl {
    margin-bottom: 15px;
  }

  .currentMonth,
  .nextMonth {
    font-size: 13px;
    line-height: 16px;
  }

  .date {
    font-size: 18px;
    line-height: 36px;
  }

  .day {
    font-size: 10px;
    line-height: 12px;
  }

  .activities__itm {
    font-size: 13px;
  }

  .activities__btn {
    padding: 6px 15px 7px;
  }

  .calendar-cards {
    padding-top: 55px;
  }

  .activities__label,
  .activities__price {
    padding: 1px 6px;
    font-size: 10px;
  }

  .activities__card-content {
    display: flex;
    flex-direction: column;
  }

  .activities__date {
    margin-bottom: var(--gap);
    font-size: 13px;
    line-height: 16px;
  }

  .activities__txt {
    font-size: 15px;
    line-height: 19px;
  }
}

@media (max-width: 480px) {
  .slider-btn-wrapper {
    padding-right: 20px;
    padding-bottom: 9px;
    justify-content: flex-end;
  }

  .calendar__slider-btn {
    padding: 7px 15px;
    display: block;
    font-size: 13px;
    border: 1px solid #000000;
    border-radius: 100px;
  }

  .calendar__slider-btn span {
    margin-right: 11px;
  }

  /* ACTIVITIES */
  .activities__cards {
    padding: 0;
    width: 100%;
  }

  .calendar-cards {
    padding-top: 55px;
  }

  .lectorium-cards {
    margin-bottom: 30px;
  }

  .swiper-wrapper {
    max-width: 50vw;
    margin-bottom: var(--gap);
    box-sizing: inherit;
  }

  .activities__card {
    margin: 0;
    flex-basis: 350px;
    min-height: 350px;
  }

  .activities__card:not(:last-child) {
    margin-right: var(--gap);
  }

  .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
  .swiper-pagination-horizontal.swiper-pagination-bullets
    .swiper-pagination-bullet {
    margin: 0;
    margin-right: 6px;
  }

  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    position: static;
  }

  .swiper-pagination {
    text-align: left;
  }

  .swiper-pagination-bullet {
    background: #616d79;
    opacity: 0.25;
  }

  .swiper-pagination-bullet-active {
    background: var(--color-violet-back);
    opacity: 1;
  }

}

@media (max-width: 355px) {
  .nav__container {
    padding: 24px 10px;
  }

  .nav__wrapper {
    padding: 24px 0 50px;
  }

  .activities__wrapper {
    padding: 0;
  }
}
