.film_preview_card {
    width: 18vw;
    height: 25vw;
    margin: 1vw;
    border-radius: 3vw;
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.film_preview_card_text_block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background-color: rgba(13, 29, 58, 0.8);
    padding: 1vw;
    margin: 0.5vw;
    color: #eaeaea; 
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 3vw;
    overflow-y: auto; 
}

.film_preview_card_text_block h3 {
    margin-top: 0;
    margin-bottom: 0.5vw;
    font-size: 1.5vw;
    font-weight: bold;
}
.film_preview_card_text_block::-webkit-scrollbar {
    display: none;
}
.film_preview_card_text_block p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1vw;
}
.films_list {
    width: 84%;
    margin-left: 12%;
    margin-right: 12%;
}
.films_block {
    margin-top: 5vw;
    margin-bottom: 5vw;
}
.film_preview_card:hover .film_preview_card_text_block {
    opacity: 1;
}