html, body { 
  height: 100%;
  color: white;
 // font-style: italic;
  margin: 0;
   background: black;
   overflow-y: auto; 
           padding-top: 40px;
}



h1 {
	
	  text-align: left;
	  text-transform: uppercase;
	   padding-left: 11vw;
}

/* Зображення в слайді */
#films-slider .swiper-slide-films img {
    width: 100%;
   // height: 100%;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
}

/* При наведенні банер збільшується  */
#films-slider .swiper-slide-films:hover img {
    transform: scale(1.01);
    
}


/* Контейнер слайдера */

#films-container {
  //  width: 100%;
	//  height: 90vh;
	height: auto;
	padding-right: 10vw;
    padding-left: 10vw;
    background: transparent;
    cursor: pointer;
    transition: padding 0.3s ease-in-out; /* Плавна зміна відступів */
}

/* Відступи для різних екранів */
/* Для дуже великих екранів (1500px і більше) */

   
    .swiper-container-films {
        height: 90vh; /* Трохи більше висоти для великих екранів */
		
    }
	.swiper-container-films .swiper-slide {
         height: auto !important;
        display: flex;
        justify-content: center;
        align-items: center;
		 transition: height 0.3s ease-in-out; 
    }
	.swiper-scrollbar {
        position: absolute;
        right: 0;
        top: 0;
        width: 8px;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
    }


/* Для середніх екранів (1200px і менше) */
@media (max-width: 1200px) {
   
    .swiper-container-films {
        height: 85vh; /* Оптимальна висота для середніх екранів */
    }

   	.swiper-container-films .swiper-slide {
     //   height: 100%;
	  height: auto !important;
        display: flex;
        justify-content: center;
        align-items: center;
		 transition: height 0.3s ease-in-out; 
		 
   
    }
    .swiper-scrollbar {
        position: absolute;
        right: 0;
        top: 0;
        width: 8px;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
    }
}

/* Для планшетів (768px і менше) */
@media (max-width: 768px) {
   
    .swiper-container-films {
        height: 75vh; /* Зменшуємо висоту слайдера для кращої адаптації */
        overflow: hidden !important;/* Прибираємо зайве */
		//overflow: visible !important; /* Робимо так, щоб контент не обмежувався */
		touch-action: auto; /* Дозволяємо обробку дотиків */
    }
    .swiper-container-films .swiper-slide {
         height: auto !important;
        display: flex;
        justify-content: center;
        align-items: center;
		 transition: height 0.3s ease-in-out;
    }
    .swiper-scrollbar {
        position: absolute;
        right: 0;
        top: 0;
        width: 8px;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
    }
	
	/*body {
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
	}*/

	
}
/* Контейнер для дропдауну */


.film-filters {
	 text-align-last: end;
    padding-right: 11vw;
    height: 100px;
	
    display: flex;
    justify-content: flex-end; /* Вирівнювання по правій стороні */
    gap: 10px; /* Відступ між елементами */
    flex-wrap: wrap; /* Якщо не поміщається, переносити на новий рядок */
}

.film-filters .film-category-dropdown,
.film-filters .film-year-dropdown {
    min-width: 170px; 
}

.dropdown {
    //width: 100%;
   // padding: 5px;
	 width: 160px;
   // padding: 10px;
    font-size: 16px;
    background: black;
    color: white;
    border: 1px solid white;
    border-radius: 2px;
    cursor: pointer;
    text-align: right; /* Вирівнювання тексту по правому краю */
    padding-right: 5vw; /* Відстань справа */
    appearance: none; /* Знімає стандартне відображення select (залежить від браузера) */
    -webkit-appearance: none; /* Для Safari */
    -moz-appearance: none; /* Для Firefox */
}