/* :root {
    --text: #989898;
    --text-light: #fff;
    --theme-body: #151414;
    --text-news: #d0d0d0;
    --border-news: #272727;
    --blue: #408bea;
} */

:root {
    --text: rgb(152, 152, 152);
    --text-light: rgb(255, 255, 255);
    --theme-body: rgb(21, 20, 20);
    --text-news: rgb(208, 208, 208);
    --border-news: rgb(39, 39, 39);
    --blue: rgb(64, 139, 234);

    /* Nino add color */
    --red: rgb(255, 0, 0);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #424040;
}

.movies_box::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.big-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.big-title h1 {
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
}

.big-title h1::before {
    content: '';
    width: 300px;
    height: 4px;
    background-color: #272727;
    display: inline-block;
    margin-right: 10px;
}

.big-title h1::after {
    content: '';
    width: 300px;
    height: 4px;
    background-color: #272727;
    display: inline-block;
    margin-left: 10px;
}

.movies_box {
    display: flex;
    flex-wrap: wrap;
    width: 805px;
    /* height: 620px; */
    /* justify-content: center; */
    align-content: flex-start;
    overflow: hidden;
    overflow-y: scroll;
}

.movies_box.litmit_movies {
    display: grid;
    grid-template-columns: 160px 160px 160px 160px 160px;
    height: 250px;
    overflow: hidden;
}

.movies_box article {
    /* display: none; */
}

.movie-card {
    width: 160px;
    height: 250px;
    padding: 10px;
    flex-direction: column;
    overflow: hidden;
    white-space: nowrap;
}

.movie-top {
    width: 140px;
    height: 196px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.movie-card .movie-tag,
.movie-card .movie-quality {
    position: absolute;
    font-size: 10px;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}

.movie-card .movie-tag {
    top: 0;
    left: 0;
    width: 62px;
    background: var(--red);
    color: var(--text-light);
    padding: 2px 5px;
    border-radius: 0px 0px 5px 0px;
    /* hide tag */
    display: none;
}

.movie-card .movie-quality {
    bottom: 7px;
    left: 7px;
    background-color: var(--blue);
    color: var(--text-light);
    width: 96px;
    border-radius: 3px;
}

.movie-card .play {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    fill: var(--text-light);
    z-index: 2;
}

.movie-top:hover .play {
    display: block;
    font-size: 60px;
}

.movie-card img {
    width: 100%;
    object-fit: fill;
}

.movie-top:hover img {
    transform: scale(1.3);
    transition: all 0.5s ease-in-out;
    backdrop-filter: blur(50px);
    opacity: 0.2;
    z-index: 1;
    filter: blur(2px);
}

.movie-info {
    width: 140px;
    height: 42px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    flex-direction: column;
    overflow: hidden;
}

.movie-info h3 {
    font-size: 12px;
    margin: 5px 0px 0px 0px;
    font-weight: bold;
    color: white;
}

.movie-info p {
    font-size: 12px;
    font-weight: bold;
    color: #978e8e;
}

.list-page {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.list-page li {
    color: white;
    background-color: #131313;
    width: 29px;
    height: 29px;
    border: #090909 1px solid;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 5px 0px 5px;
}

.list-page .active {
    color: #408bea;
    background-color: #000000;
}
