body {
    background-image: linear-gradient(to right top, #0f172a, #13203c, #172a4f, #1b3363, #203d78, #2b4384, #364a91, #41509d, #5253a3, #6257a9, #725aae, #815db3);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 76px;
    padding-bottom: 66px;
}

.footer-space {
    display: inline;
}

footer.sticky-footer {
    background-image: linear-gradient(to right top, #0f172a, #13203c, #172a4f, #1b3363, #203d78, #2b4384, #364a91, #41509d, #5253a3, #6257a9, #725aae, #815db3);
    padding: 1rem 0;
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

footer.sticky-footer .copyright {
    line-height: 1;
    font-size: 0.8rem;
    font-family: 'Josefin Sans';
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-content p {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-content p {
        margin: 5px 0;
    }

    .footer-space {
        display: none;
      }
}

body.sidebar-toggled footer.sticky-footer {
    width: 100%;
}

.navbar .search-form .form-control {
    border-radius: 18px;
}

.navbar .search-form .form-control:hover {
    border-radius: 4px;
}

.navbar {
    background-image: linear-gradient(to right top, #0f172a, #13203c, #172a4f, #1b3363, #203d78, #2b4384, #364a91, #41509d, #5253a3, #6257a9, #725aae, #815db3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    font-family: 'Josefin Sans';
    font-size: 18px;
}

.nav-link, .dropdown-item {
    color: #fff !important;
}

.navbar-nav .nav-link:hover {
    color: #0f172a !important;
    font-size: 17px;
}

.search-form {
    margin-top: auto;
    margin-bottom: auto;
}

.dropdown-menu {
    background-color: #203d78;
}

.dropdown-item:hover {
    background-color: #4A5F9E !important;
}

.btn-outline-success {
    border-color: #fff;
    color: #fff;
}

.btn-outline-success:hover {
    background-color: #fff;
    border: #fff;
    color: #333;
}

.modal-content {
    background-color: #41509d;
    color: white;
    border: none;
    box-shadow: none;
}

.modal-header {
    padding: 20px;
    padding-bottom: 10px;
    border-bottom: none;
}

.modal-title {
    color: white;
    margin-bottom: 0;
}

.modal-body {
    color: white;
    padding: 0;
    padding-left: 20px;
    text-align: center;
}

.modal-footer {
    padding: 10px;
    padding-top: 0;
    border-top: none;
}

.btn-design {
    background-color: #ff6f61;
    border-color: #ff6f61;
}

.btn-design:hover {
    background-color: #e96053;
    border-color: #e96053;
}

.btn-design:focus,
.btn-design.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 111, 97, 0.5);
}

.line {
    color: #B7BDD8;
}

.disabled {
    color: gray;
    pointer-events: none;
}

.genre-title {
    display: inline-flex;
    font-family: 'Source Sans Pro';
    font-size: 26px;
    color: #ffffff;
    font-weight: bolder;
    align-items: center;
    text-decoration: none;
}

.genre-title i {
    margin-top: 5px;
    margin-left: 15px;
    font-size: 16px;
}

.genre-title:hover {
    font-size: 25px;
    color: #0f172a;
}

.btn-prev,
.btn-next {
    position: relative;
    top: 0;
    bottom: 0;
    width: auto;
    height: auto;
    border: 2px solid #9298B2;
    border-radius: 5px;
    padding: 5px;
    background-color: transparent;
}

.btn-prev-icon,
.btn-next-icon {
    width: 20px;
    height: 20px;
}

.title {
    font-family: 'Anton';
    color: #ffffff;
}

.title-film {
    font-family: 'Josefin Sans';
    font-weight: bold;
    color: #ffffff;
}

.sub-title-film {
    font-family: 'Josefin Sans';
}

.carousel-inner .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    color: white;
    transition: .3s;
    border-radius: 10px;
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 72, 112, 0);
    transition: .3s;
    z-index: 1;
}

.card:hover::before {
    background: rgba(5, 0, 0, 0.6);
}

.card:hover .book-container,
.card:hover .informations-container {
    opacity: 1;
    transform: translateY(0);
}

.card .book-container,
.card .informations-container {
    position: absolute;
    left: 0;
    right: 0;
    transition: .3s;
    z-index: 2;
}

.card .book-container {
    top: 30%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    opacity: 0;
    z-index: 3;
}

.card .book-container .content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.card .informations-container {
    bottom: 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    color: white;
    border-radius: 0 0 10px 10px;
}

.card .book-container .content .btn {
    flex: 1;
    margin: 0 5px;
    border: 1px solid #C0B687;
    padding: 10px 10px;
    background: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    color: #C0B687;
    cursor: pointer;
    transition: .3s;
}

.card .book-container .content .btn:hover {
    background: #C0B687;
    border: 0;
    color: white;
}

.card-img-top {
    border-radius: 10px 10px 0 0;
    z-index: 0;
    height: 300px;
    width: 200px;
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.mobile-card-list {
    margin-bottom: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.pagination button {
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    color: #333;
    padding: 10px 15px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
    font-size: 16px;
}

.pagination button:hover {
    background-color: #ddd;
}

.pagination button.active {
    background-image: linear-gradient(to left top, #725aae, #5d53a1, #494c94, #354586, #203d78);
    color: white;
}

.pagination button.prev,
.pagination button.next {
    font-weight: bold;
}

.pagination button:disabled {
    background-color: #e9e9e9;
    color: #aaa;
    cursor: not-allowed;
    border: 1px solid #ccc;
}

.movie-description li {
    list-style-type: none;
    font-family: 'Josefin Sans';
    color: #ffffff;
    font-size: 18px;
}

.sub-content {
    text-decoration: none;
    color: #e9e9e9;
    font-size: 16px;
    text-align: justify;
}

:root {
    --circle-width: 0.09em;
    --circle-width-hover: 0.07em;
    --primary-color: #000000;
    --secondary-color: #dfe8ed;
    --bg-color: #ffffff;
    --primary-color-blue: #30bae7;
    --primary-color-green: #15c7a8;
    --primary-color-orange: #eb7d4b;
    --primary-color-pink: #d74680;
    --primary-color-span: #3c4761;
}

.c100 {
    display: inline-block;
    position: relative;
    font-size: 70px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    vertical-align: middle;
}

.c100>span {
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
    top: 0;
    width: 5em;
    line-height: 5em;
    font-size: 0.2em;
    color: var(--primary-color-span);
    display: block;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease-out;
}

.c100:after {
    position: absolute;
    top: var(--circle-width);
    left: var(--circle-width);
    display: block;
    content: " ";
    border-radius: 50%;
    background-color: var(--bg-color);
    width: calc(1em - (2 * var(--circle-width)));
    height: calc(1em - (2 * var(--circle-width)));
    transition: all 0.2s ease-in;
}

.slice {
    position: absolute;
    width: 1em;
    height: 1em;
    clip: rect(0em, 1em, 1em, 0.5em);
}

.c100:hover {
    cursor: default;
}

.c100:hover>span {
    width: 3.33em;
    line-height: 3.33em;
    font-size: 0.3em;
    color: var(--primary-color-span);
}

.c100:hover:after {
    top: var(--circle-width-hover);
    left: var(--circle-width-hover);
    width: calc(1em - (2 * var(--circle-width-hover)));
    height: calc(1em - (2 * var(--circle-width-hover)));
}

.c100.p70>span {
    color: var(--primary-color-green);
}

.user-score-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.user-score-text {
    text-align: center;
    font-family: 'Josefin Sans';
    font-size: 20px;
    color: #ffffff;
    margin: 0;
}

.video-container {
    margin-bottom: 20px;
}

.halim-list-eps {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.halim-episode {
    margin: 5px;
}

.halim-btn {
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    background-color: #1f2c3e;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.halim-btn:hover {
    background-color: #810438;
    color: #ffffff;
}

.halim-btn.active {
    background-color: #cf0f0f;
    color: #ffffff;
    pointer-events: none;
}

@media only screen and (max-width: 1200px) {
    .card-img-top {
        height: 250px;
        width: 150px;
    }

    .genre-title {
        font-size: 22px;
    }
    
    .genre-title:hover {
        font-size: 23px;
    }

    .title-film {
        font-size: 15px;
    }

    .sub-title-film {
        font-size: 14px;
    }
}

@media only screen and (max-width: 992px) {
    .card-img-top {
        height: 180px;
        width: 120px;
    }

    .genre-title {
        font-size: 22px;
    }
    
    .genre-title:hover {
        font-size: 23px;
    }

    .card {
        border-radius: 8px;
    }

    .card .informations-container {
        padding: 6px;
        border-radius: 0 0 8px 8px;
    }

    .content {
        padding: 6px;
    }

    .title-film {
        margin: 6px;
        font-size: 12px;
    }

    .sub-title-film {
        font-size: 10px;
    }
}

@media only screen and (max-width: 768px) {
    .card-img-top {
        border-radius: 8px 8px 0 0;
        height: 160px;
        width: 108px;
    }

    .genre-title {
        font-size: 20px;
    }
    
    .genre-title:hover {
        font-size: 21px;
    }


    .title-film {
        margin: 4px;
        font-size: 11px;
    }

    .sub-title-film {
        font-size: 9px;
    }

    .card .informations-container {
        padding: 4px;
        border-radius: 0 0 8px 8px;
    }

    .content {
        padding: 4px;
    }

    .card .book-container .content .btn {
        margin: 0 2.5px;
        padding: 6px 6px;
        font-size: 8px;
    }
}

@media only screen and (max-width: 576px) {
    .card-img-top {
        border-radius: 4px 4px 0 0;
        height: 236px;
        width: 156px;
    }

    .genre-title {
        font-size: 20px;
    }
    
    .genre-title:hover {
        font-size: 19px;
    }

    .title-film {
        margin: 4px;
        font-size: 13px;
    }

    .sub-title-film {
        font-size: 12px;
    }

    .card .informations-container {
        padding: 8px;
        border-radius: 0 0 10px 10px;
    }

    .content {
        padding: 20px;
    }

    .card .book-container .content .btn {
        margin: 0 5px;
        padding: 10px 10px;
        font-size: 12px;
    }

    .mobile-card {
        margin-bottom: 20px;
    }

    .btn-prev,
    .btn-next {
        border: 1px solid #9298B2;
    }

    .btn-prev-icon,
    .btn-next-icon {
        width: 18px;
        height: 18px;
    }

    .pagination button {
        padding: 4px 6px;
        margin: 0 4px;
        border-radius: 4px;
        font-size: 8px;
        border: none;
    }
}

@media only screen and (max-width: 432px) {
    .card-img-top {
        border-radius: 4px 4px 0 0;
        height: 236px;
        width: 156px;
    }

    .genre-title {
        font-size: 18px;
    }
    
    .genre-title:hover {
        font-size: 17px;
    }

    .title-film {
        margin: 4px;
        font-size: 12px;
    }

    .sub-title-film {
        font-size: 11px;
    }

    .card .informations-container {
        padding: 8px;
        border-radius: 0 0 10px 10px;
    }

    .content {
        padding: 20px;
    }

    .card .book-container .content .btn {
        margin: 0 5px;
        padding: 10px 10px;
        font-size: 12px;
    }

    .mobile-card, .mobile-card-list {
        margin-bottom: 18px;
    }

    .btn-prev,
    .btn-next {
        border: 1px solid #9298B2;
    }

    .btn-prev-icon,
    .btn-next-icon {
        width: 15px;
        height: 15px;
    }
    
    .pagination button {
        padding: 4px 6px;
        margin: 0 4px;
        border-radius: 4px;
        font-size: 8px;
        border: none;
    }
}