* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    color: white;
    background-image: linear-gradient(to bottom, rgb(47, 47, 47), black);
    font-family: 'Poppins', Verdana, sans-serif;
    position: relative;
}

.nav-link {
    text-shadow: 2px 0 5px black, -2px 2px 5px black;
}

.modal {
    position: absolute;
    top: 0;
    z-index: 999;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.461);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: center;
}

.iframeCon {
    margin-top: 100px;
    height: 700px;
    width: 95vw;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent);
    mask-image: linear-gradient(to bottom, black 90%, transparent);
}

#modalClose {
    width: 100%;
    height: 40px;
    font-weight: bold;
    background-color: rgb(250, 77, 77);
    color: white;
    border: none;
}

.iframeCon iframe {
    margin-top: 50px;
    height: 200px;
    width: 98%;
    background-color: black;
    overflow: auto;
}

.videoSources {
    margin-top: 10px;
    height: 50px;
    width: 85%;
    padding: 10px 0px;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    border: 2px solid green;
    border-radius: 50px;
    background-color: black;
}

/* videoSource */
.videoSources details {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    width: 150px;
    display: flex;
    flex-direction: column;
    z-index: 1;
    color: white;
    background-color: grey;
    border-radius: 50px;
}

.videoSources summary {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.videoSources summary span {
    line-height: 2;
}

.videoSources details p {
    text-align: center;
    width: 150px;
    margin: 0;
    font-weight: bold;
    color: white;
    background-color: black;
}

.videoSources details button {
    height: 40px;
    width: 150px;
    border: none;
    color: white;
    background-color: black;
}

/* .sources {
    display: flex;
    justify-content: center;
    width: 90%;
}

.sources button {
    height: 40px;
    width: 150px;
    border: none;
    color: white;
    background-color: black;
    margin: 10px 15px;
} */
/* ung luma na design */
.modal-movieInfo {
    padding: 20px 10px;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.331);
}

.modal-img img {
    height: 150px;
    width: 100px;
    border-radius: 5px;
}

.modal-info {
    display: flex;
    flex-direction: column;
    padding: 0 5px;
}

.modal-info h2 {
    font-size: 25px;
    font-weight: bold;
}

#modalOverview {
    font-size: 15px;
    line-height: 1;
    height: 50px;
    overflow: auto;
    margin-bottom: 10px;
}

#modalRating,
#modalYear {
    font-size: 15px;
    margin: 0;
}

#dynamicBg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 300px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, rgb(47, 47, 47) 80%, transparent);
    mask-image: linear-gradient(to bottom, rgb(47, 47, 47) 80%, transparent);
}

/* .dynamicbg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(2px);
} */

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.stream {
    font-weight: bold;
    font-size: 20px;
    margin: 0;
    padding-left: 2px;
    color: black;
    background-color: rgb(190, 190, 2);
    border-radius: 5px;
}

.ph {
    font-weight: bold;
    font-size: 20px;
    margin: 0;
    color: white;
    background-color: black;
    border-radius: 5px;
}

.swiper {
    width: 100vw;
    height: 200px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 15px;
    font-weight: bold;
    color: red;
}

.featured-movies {
    height: 200px;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.38);
    padding: 5px 10px;
    border-radius: 20px;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-movies h1 {
    font-size: clamp(15px, 5vw, 25px);
    font-weight: bold;
}

.featured-overview {
    font-size: 18px;
    overflow: auto;
    height: 60px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.262);
}

.featured-date {
    font-size: 15px;
}

.row {
    margin: 0 5px;
}

.container h1 {
    text-align: center;
    margin-top: 10px;
}

.col {
    max-width: 100px;
    padding: 5px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.col:hover {
    transform: translateY(-10px);
}


.col img {
    height: 150px;
    width: 80px;
    border-radius: 10px;
    cursor: pointer;
}

.col p {
    font-size: 15px;
    width: 90%;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin: 0;
    cursor: pointer;
}

.pahina {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    width: 100vw;

}

.page-link {
    background-color: rgb(47, 47, 47);
    color: white;
    padding: 2px 5px;
}

footer {
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(39, 38, 38);
    padding: 15px 10px;
}

footer p {
    text-align: center;
    font-size: 15px;
    margin: 0;
}

@media(min-width: 500px) {
    #dynamicBg {
        height: 400px;
    }

    .swiper {
        height: 300px;
    }
}

@media(min-width: 800px) {
    #dynamicBg {
        height: 450px;
    }

    .swiper {
        height: 350px;
    }

    .col img {
        margin: 0 5px;
    }

    .featured-movies {
        height: 350px;
        width: 80%;
        border-radius: 20px;
    }
}

@media(min-width: 1200px) {

    /*bootstrap genre*/
    .dropdown-menu {
        height: 300px;
    }

    /*background*/
    #dynamicBg {
        height: 450px;
    }

    /* .dynamicbg {
        backdrop-filter: blur(5px);
    } */

    /*button swiper*/
    .swiper {
        height: auto;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 30px;
    }

    .featured-movies {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 300px;
        width: 600px;
    }

    .featured-overview {
        height: 150px;
        overflow: auto;
    }


    .col img {
        margin: 0 15px;
    }

    /*iframe*/
    .iframeCon {
        margin-top: 20px;
        height: 150%;
    }

    #myIframe {
        height: 500px;
    }

    .videoSources {
        width: 30%;
    }

    /* .iframeCon button {
        width: 200px;
    } */

    #modalClose {
        height: 50px;
        width: 100%;
    }

    .modal-movieInfo {
        width: 800px;
        margin-bottom: 100px;
    }
}