.centered-line {
    height: 6px;
    background-color: white;
    /* Line color */
    margin: 20px auto;
    /* Center the line with margin */
    width: 80%;
    /* Adjust width as needed */
}


.container_1 {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 20px;
    /* Center items vertically */
}

.line {
    width: 6px;
    height: 30px;
    background-color: white;
    /* Line color */
    margin-left: 5%;
    margin-right: 1%;
    /* Space between the line and the text */
}

.text-1 {
    color: white;
    /* Text color */
    font-size: 35px;
}

.scroller-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 50px;
}

.scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-left: 25px;
    padding-right: 15px;
}

.movie-card {
    flex: 0 0 auto;
    width: 200px;
    background-color:  #1a1a1a;
    color: white;
    margin-left: 15px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.movie-card img {
    width: 100%;
    height: 60%;
    border-radius: 8px 8px 0 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.movie-card img:hover {
      transform: scale(1.1);
}

.movie-info {
    padding: 10px;
}

.movie-info h4, .movie-info p {
    margin: 5px 0;
}

.scroll-left, .scroll-right {
    position: absolute;
    top: 50%;
    font-size: 70px;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

.scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}


.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}

.btn-container{
    display: flex;
}


.download-button , .trailer-button{
    display: inline;
    padding: 5px 10px;
    margin-left: 2px;
    font-size: 1em;
    color: #fff;
    background-color: rgb(138, 12, 12);
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    
}

.download-button:hover {
    background-color: rgb(179, 33, 33);
}


.trailer-button:hover {
    background-color: rgb(179, 33, 33);
}
/* Responsive Styles */
@media (max-width: 768px) {
    .movie-card {
        width: 150px;
    }
    .scroll-left, .scroll-right {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .movie-card {
        width: 50%;
    }
    .scroll-left, .scroll-right {
        padding: 5px;
    }
}
