:root {
    --font-size-footer: 0.75rem;
    --font-size-strong: 1.25rem;
    --font-size-sm: 1rem;
    --font-size-md: 1.25rem;
    --font-size-xl: 2rem;

    /* для слабовидящих на десктопе */
    --font-size-footer-large: 1rem;
    --font-size-strong-large: 1.5rem;
    --font-size-sm-large: 1.25rem;
    --font-size-md-large: 1.5rem;
    --font-size-xl-large: 2.5rem;
  }

@font-face {
  font-family: "StapelExpanded";
  src: url("../fonts/stapel_narrow-bold.ttf") format("truetype"),
  url("../fonts/stapel_narrow-bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "StapelSemi";
  src: url("../fonts/stapel_semi-expanded-medium.ttf") format("truetype"),
  url("../fonts/stapel_semi-expanded-medium.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "StapelMedium";
  src: url("../fonts/stapel_medium.ttf") format("truetype"),
  url("../fonts/stapel_medium.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

html, body {
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  scroll-behavior: smooth;
}

body{
  display: flex;
  flex-direction: column;
  background-color: #6B0661;
}

.select2-container {
  width: 200px !important;
}

.full-width {
  display: flex;
  position: relative;
  flex-direction: column;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  height: 100vH;
  max-width: 100vw;
  justify-content: center;
  align-items: center;
}

header{
  width: 100%;
  padding: 10px 0px 10px 0px;
  top: 0;
  z-index: 1020;
}

.header-opacity {
  position: fixed;
  background: linear-gradient(
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0) 100%
    );
}

.header{
  position: sticky;
  background-color: white;
  -webkit-box-shadow: 0px 2px 16px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 2px 16px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 2px 16px 5px rgba(0, 0, 0, 0.3);
}

.header-fixed{
  position: fixed;
  background-color: white;
  -webkit-box-shadow: 0px 2px 16px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 2px 16px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 2px 16px 5px rgba(0, 0, 0, 0.3);
}

.mobile-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1021;
}

.desktop-menu{
  justify-content: space-around;
  align-items: center;
}

.mobile-menu {
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  transition: left 0.3s ease;
  pointer-events: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  margin-right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1021;
}

.burger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-btn-black{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  margin-right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1021;
}

.burger-btn-black span {
  display: block;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-wrapper.active .burger-btn span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-wrapper.active .burger-btn span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-wrapper.active .burger-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.glasses-btn{
  background-color: transparent;
  border: none;
}

.icon {
  width: 50px;
  height: 50px;
  background-color: #fff;
  
  -webkit-mask: url('../img/glasses.svg') no-repeat center;
  -webkit-mask-size: contain;

  mask: url('../img/glasses.svg') no-repeat center;
  mask-size: contain;
}

.icon-black{
  width: 50px;
  height: 50px;
  background-color: #000;
  
  -webkit-mask: url('../img/glasses.svg') no-repeat center;
  -webkit-mask-size: contain;

  mask: url('../img/glasses.svg') no-repeat center;
  mask-size: contain;
}

.close-btn {
  background: none;
  border: none;
  color: #000;
  font-size: 24px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
}

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-wrapper.active {
  pointer-events: auto;
}

.mobile-menu-wrapper.active .mobile-menu {
  left: 0;
}

.mobile-menu-wrapper.active .mobile-menu-overlay {
  opacity: 1;
}

.footer_hr{
  border: none;
  margin: 0rem 0rem 1rem 0rem;
  height: 2px;
  -webkit-box-shadow: 0px -5px 16px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px -5px 16px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0px -5px 16px 5px rgba(0, 0, 0, 0.3);
}

main {
  flex: 1;
  margin-bottom: 20px;
}

p{
  text-align: justify;
  font-family: 'StapelMedium';
  font-size: var(--font-size-sm);
  margin-bottom: 10px;
  transition: font-size 0.3s ease;
}

h1{
  font-family: 'StapelExpanded';
  font-size: var(--font-size-xl);
  transition: font-size 0.3s ease;
}

h2{
  font-family: 'StapelSemi';
  font-size: var(--font-size-md);
  transition: font-size 0.3s ease;
}

.how-come-to-us{
  align-items: center;
}

.our-contacts{
  justify-items: center;
}

strong{
  font-family: 'StapelExpanded';
  font-size: var(--font-size-strong);
  font-weight: 500;
  transition: font-size 0.3s ease;
}

.ticket-refund{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tutorial-img{
  height: 100%;
  width: 100%;
}

.filter-form{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.filters-buttons input, 
.filters-buttons a {
  width: 100%;
}

.name-page{
  margin-bottom: 1rem;
}

.card-custom {
  color: black;
  border-radius: 16px;
  border: 1px solid lightgrey;
  box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}


.info-card {
  color: black;
  border-radius: 16px;
  border: 1px solid lightgrey;
  box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.1);
  /* background-color: white; */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.carousel{
  background-color: #fff;
  border-radius: 16px;
  border: 1px solid lightgrey;
  box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.1);
}

.carousel-indicators.custom-indicators {
  bottom: -30px;
}
.carousel-indicators.custom-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  margin: 0 5px;
  background-color: #6c757d;
  transition: background-color 0.3s;
}
.carousel-indicators.custom-indicators button.active {
  background-color: #006664;
}

.custom-carousel-control {
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  opacity: 1;
  z-index: 10;
}

.custom-arrow-icon {
  background-size: 100% 100%;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
}

.carousel-control-prev.custom-carousel-control {
  left: 10px;
}
.carousel-control-prev .carousel-control-prev-icon {
  width: 32px;
  height: 32px;
  background-image: url("/static/img/arrow-left.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.carousel-control-next.custom-carousel-control {
  right: 10px;
}
.carousel-control-next .carousel-control-next-icon {
  width: 32px;
  height: 32px;
  background-image: url("/static/img/arrow-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pushkin-badge {
  top: 0;
  left: 0;
  padding: 8px;
  z-index: 10;
}

#movieInfo .pushkin-badge{
  position: absolute; top: -1px; left: 40px; z-index: 3;
}

#movieInfo .img-fluid{
  max-height: 520px; 
  object-fit: contain; 
  position: relative; 
  z-index:2;
}

.lastday-badge {
  top: 0;
  right: 0;
  padding: 8px;
  z-index: 10;
}

.badge-img {
  width: clamp(50px, 20%, 90px);
  height: auto;
  display: block;
}

.shadow-btn{
  border: 1px solid lightgrey;
  box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.1);
  color: #fff;
  font-family: "StapelSemi";
  background-color: #6c757d;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.shadow-img{
  box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.1);
  border: 1px solid lightgrey;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.a-text{
  color: white;
  text-align: center;
  font-size: var(--font-size-md);
  font-family: 'StapelSemi';
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
}

.a-text-black{
  color: black;
  text-align: center;
  font-size: var(--font-size-md);
  font-family: 'StapelSemi';
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
}

.a-logo{
  height: 60px;
  transition: transform 0.3s ease;
}

.card {
  padding: 16px;
  border-radius: 16px;
}

.movie-info-block > p{
  text-align: left;
}

.session-time, .session-price, .session-free-place{
  background-color: #6B0661;
  padding: .25rem;
  color: #fff;
  border-radius: .25rem;
}

#movieInfo .card{
  width: 75%;
  justify-self: center;
}

#movieDescription .active-p{
  display: none;
}

.afisha-wrapper{
  position: relative;
  width: 100%;
}

.pushkin-icon{
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 2;
}

.pushkin-badge-hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.pushkin-badge {
    transition: transform 0.3s ease;
}

.social-logo{
  height: 30px;
  width: 30px;
  margin-bottom: 0.5rem;
}

.filter_form{
  margin-bottom: 20px;
}

.filter_name{
  font-size: var(--font-size-md);
  transition: font-size 0.3s ease;
}

#filterToggleBtn.active-filters {
  border: 2px solid #006664;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.select{
  border-radius: 20px;
  border: solid;
  border-color: #006664;
  padding: 5px 5px;
  font-size: var(--font-size-md);
  transition: font-size 0.3s ease;
}
.selected-day{
  border: solid;
  border-color: #006664 !important; 
}

.genre{
  background-color: #006664;
}

.day-span{
  background-color: #006664;
}

.age-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: bold;
  font-size: var(--font-size-sm);
  margin-left: 0.5rem;
  color: white;
  transition: font-size 0.3s ease;
}

.age-ZC {
    background-color: #4CAF50;
}
.age-SC {
    background-color: #8BC34A;
}
.age-TC {
    background-color: #FFEB3B;
    color: black;
}
.age-STC {
    background-color: #FF9800;
}
.age-EC {
    background-color: #F44336;
}

.filter-btn{
  font-family: "StapelSemi";
  box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.1);
  border: 2px solid #C6CFD6;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.action-btn{
  display: block;
  justify-self: center;
  box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.1);
  background-color: #006664;
  color: #fff;
  font-family: "StapelSemi";
  font-size: var(--font-size-sm);
  text-wrap: unset;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, font-size 0.3s ease;
}

.nonaction-btn{
  display: block;
  justify-self: center;
  box-shadow: 0px 0px 15px 10px rgba(0,0,0,0.1);
  background-color: #C6CFD6;
  color: #000;
  font-family: "StapelSemi";
  font-size: var(--font-size-sm);
  text-wrap: unset;
  cursor: not-allowed;
}

.arrow{
  max-width: 5rem;
  z-index: 1;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); 
}

footer {
  color: #fff;
  flex-shrink: 0;
}

footer p{
  font-size: var(--font-size-footer);
  margin-bottom: 0.5rem;
  transition: font-size 0.3s ease;
}

footer a{
  font-size: var(--font-size-footer);
  transition: font-size 0.3s ease;
}

.justify-self-center{
  justify-self: center;
}

.justify-content-space-around{
  justify-content: space-around;
}

.map-container{
  position: relative;
  display: inline-block;
  width: 100%;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: transparent;
}

#yandexMap {
  min-width: 250px;
}

.a-colored{
  color: #006664;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.a-pink{
  color: #D0CCFF;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-media{
  justify-items: end;
}

.mb-067{
  margin-bottom: 0.67em;
}

.section-card{
  background-color: #fff;
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.1);
}

.trailer-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.trailer-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trailer-background .trailer-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0) 70%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.trailer-background video.blurred {
    filter: blur(10px) brightness(0.6);
    transition: filter 0.5s ease;
}

#movieInfo .row.position-relative {
    z-index: 1;
    position: relative;
}

@media (max-height: 700px) {
  .film-card-wrapper {
    max-height: 90vh;
    overflow-y: auto;
  }

  .film-card-wrapper::-webkit-scrollbar {
    width: 6px;
  }
  .film-card-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
  }
}



@media (min-width: 1200px) {
  .col-xl-1-7 {
    flex: 0 0 auto;
    width: 14.2857%;
  }
}

/* ОБЩЕЕ */
.week-wrapper,
.week-viewport,
.week {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.week .card-custom {
  color: black;
  border-radius: 16px;
  border: 1px solid lightgrey;
  box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.week-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Вьюпорт — именно он скроллит; вертикально не режем тени */
.week-viewport {
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    flex: 1; /* расширяем на всю ширину между кнопками */
    isolation: isolate;
}

.week-viewport::-webkit-scrollbar { display: none; }

.week {
    display: flex;
    scroll-behavior: smooth;
    gap: 20px;
}

/* Карточки */
.day-item { flex-shrink: 0; }

/* --- Десктоп/ноутбук --- */
@media (min-width: 992px) {
  .week { gap: 20px; justify-content: space-between; padding: 1rem;}
  .day-item { flex: 1; min-width: 150px; }
}

/* --- Узкие экраны --- */
@media (max-width: 991px) {
  .week { gap: 12px; padding: 1rem 0;}
  .day-item { width: 150px; }
  /* «Пик» крайних карточек: виден кусочек следующей карточки */
  .week-viewport { 
    --peek: 24px;
    padding-inline: var(--peek);
    /* мягкая подсказка прокрутки — затемнение краёв */
    -webkit-mask-image: linear-gradient(to right,
       transparent 0, black var(--peek),
       black calc(100% - var(--peek)), transparent 100%);
            mask-image: linear-gradient(to right,
       transparent 0, black var(--peek),
       black calc(100% - var(--peek)), transparent 100%);
  }
}


.week .card-title {
  font-size: var(--font-size-sm);
  font-family: 'StapelMedium';
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

.week .card-text {
  font-size: 0.85rem;
  text-align: center;
  transition: font-size 0.3s ease;
}

.week .badge.day-span {
  font-size: 0.75rem;
  padding: 0.3em 0.5em;
  display: inline-block;
  text-align: center;
  transition: font-size 0.3s ease;
}

.week .card-body {
  min-height: auto !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Факты о фильме */

.facts-slider-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.facts-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
}

.fact-card {
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 400px;
}

.card-text a{
  text-decoration: underline;
  color: #006664;
  transition: color 0.3s ease;
}

/* Фильтрация фильмов */

.form-label{
  margin: 0;
  font-family: 'StapelSemi';
  font-size: var(--font-size-md);
  transition: font-size 0.3s ease;
}

.form-check-label{
  font-family: 'StapelMedium';
  font-size: var(--font-size-sm);
  transition: font-size 0.3s ease;
}

.form-check-input:checked{
  background-color: #006664;
  border-color: #006664;
}

/* Модальное окно покупки билетов */
.buyticket-modal{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  padding: 25%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  width: 100%;
  height: 100%;
}

.modal-title{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.closemodal-btn{
  border: none;
  background: none;
  align-self: center;
  font-size: 1.25rem;
}

.modal-content{
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: self-start;
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
}

.session-block{
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}


html.large-font {
  --font-size-footer: var(--font-size-footer-large);
  --font-size-strong: var(--font-size-strong-large);
  --font-size-sm: var(--font-size-sm-large);
  --font-size-md: var(--font-size-md-large);
  --font-size-xl: var(--font-size-xl-large);
}

@media (hover: none) and (pointer: coarse) {
    a:hover {
        text-decoration: none;
        color: inherit;
    }
}

@media (hover: hover) and (pointer: fine) {
  .card-custom:hover {
    color: #006664;
    transform: translateY(-4px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
  }

  .info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
  }

  .shadow-btn:hover{ 
    transform: translateY(-4px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    background-color: #5c636a;
    color: #fff;
  }

  .shadow-img:hover {
    transform: translateY(-4px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
  }

  .a-text:hover, .a-text-black:hover{
    color: #006664;
    transform: translateY(-4px);
  }

  .a-logo:hover{
    transform: translateY(-4px);
  }

  .filter-btn:hover{
    transform: translateY(-4px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    background-color: #C6CFD6;
  }

  #filterToggleBtn.active-filters:hover{
    transform: translateY(-4px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    background-color: #006664;
    color: #fff;
  }

  .action-btn:hover{
    transform: translateY(-4px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    background-color: #004140;
    color: #fff;
  }

  .a-colored:hover{
    color: #004140;
    transform: translateY(-4px);
  }

  .a-pink:hover{
    color:#8c88ae;
    transform: translateY(-4px);
  }

  .week .card-custom:hover {
    color: #006664;
    transform: translateY(-4px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
  }

  .card-text a:hover{
    color: #004140;
  }
}

@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(-100%); opacity: 0; }
}

@media (max-width: 767.98px) {
  :root {
    --font-size-footer: 0.6875rem;
    --font-size-strong: 1.125rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-xl: 1.5rem;

    --font-size-footer-large: 0.875rem;
    --font-size-strong-large: 1.25rem;
    --font-size-sm-large: 1rem;
    --font-size-md-large: 1.25rem;
    --font-size-xl-large: 2rem;
  }

  #movieInfo .img-fluid {
    max-height: 220px;
    max-width: 70%;
    margin: 0 auto;
    display: block;
  }

  #movieInfo .pushkin-badge{
    position: relative;
    top: 20px;
    left: -50px;
    z-index: 3;
    width: 111.45px;
  }

  #movieInfo .mb-2{
    margin-bottom: .25rem !important;
  }

  #movieInfo .mb-3{
    margin-bottom: .5rem !important;
  }

  #movieInfo .p-4{
    padding: .75rem !important;
  }

  .arrow{
    width: 3rem;
  }

  .filter-aside {
    display: none;
    position: fixed;
    background: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 16px;
    z-index: 1050;
  }

  .filter-aside.active {
    display: block;
    animation: slideIn 0.3s ease forwards;
  }

  .filter-aside.closing {
    animation: slideOut 0.3s ease forwards;
  }

  .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
  }

  .filters-buttons {
    align-items: center;
  }

  .filters-buttons input, 
  .filters-buttons a {
    display: block;
    justify-self: center;
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

@media (max-width: 576px) {
    .fact-card {
        min-width: 90%;
        max-width: 260px;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .fact-card {
        min-width: 45%;
    }
}

@media (min-width: 992px) {
  .burger-btn {
    display: none;
  }

  .burger-btn-black{
    display: none;
  }

  .desktop-menu {
    display: flex;
  }
}

@media (max-width: 991px) {
  .desktop-menu {
    display: none;
  }
  .burger-menu {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .fact-card {
        min-width: 30%;
    }
}

@media (min-width: 1200px) {
    .fact-card {
        min-width: 23%;
    }
}

@media (max-width: 576px) {
  .week a {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .card-custom {
    padding-top: 12px !important;
  }

  .card-custom img {
    max-height: 160px;
  }

  .afisha-wrapper {
    max-height: 180px;
  }
}

@media (max-width: 500px) {
  .week .card-title {
    font-size: 0.9rem;
  }

  .week .card-text {
    font-size: 0.8rem;
  }

  .week .badge.day-span {
    font-size: 0.7rem;
  }

  .card-custom {
    padding-top: 12px !important;
  }

  .card-custom img {
    max-height: 160px;
  }

  .text-overlay p{
    display: none;
  }
}

@media (max-width: 400px) {
  #movieDescription .active-p{
    display: block;
  }

  #movieInfo .non-active-p{
    display: none;
  }
}