﻿body,
h1,
h2,
p {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

header {
    color: #fff;
    text-align: center;
    padding: 1rem;
    background: rgb(255, 179, 0);
    background: linear-gradient(90deg, rgba(255, 179, 0, 1) 35%, rgba(255, 244, 0, 1) 100%);
}

main {
    padding: 2rem;
}

.movie-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

footer {
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: black;
    text-align: center;
    padding: 1rem;
    background: rgb(255, 179, 0);
    float: left;
}

#nav ul {
    list-style: none;
    justify-content: center;
    padding: 0;
}

#nav li {
    color: #000;
    display: inline-block;
    line-height: 25px;
    border-radius: 20%;
    background: black;
    margin-bottom: 10px;
    font-weight: 500;
    padding: 4px 10px;
}

#nav a {
    text-decoration: none;
    color: #fff;
}

    #nav a:hover {
        text-decoration: none;
        color: #fff;
    }

.card-text {
    font-size: 16px;
    color: black;
}

.mcard img {
    transition: transform 0.3s;
    height: 100%;
    width: 100%;
}

.card:hover img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s, height 0.3s;
}

.mcard:hover .card-overlay {
    height: 30%;
    opacity: 1;
}

.fa-circle-play {
    font-size: 55px;
}

.section-title {
    color: #DDD;
    font-size: 23px;
    background: rgb(48, 47, 45);
    padding: 12px 15px;
    width: 100%;
    border-radius: 6px;
    text-align: center;
}

.section-title3 {
    color: #000000;
    font-size: 23px;
    background: rgb(193,158,16);
    background: linear-gradient(90deg, rgba(193,158,16,1) 0%, rgba(185,207,8,1) 35%, rgb(187, 255, 0) 100%);
    padding: 5px 11px;
    width: 100%;
    border-radius: 6px;
    text-align: center;
}

.section-title2 {
    color: #000000;
    font-size: 15px;
    background: rgb(193,158,16);
    background: linear-gradient(90deg, rgba(193,158,16,1) 0%, rgba(185,207,8,1) 35%, rgb(187, 255, 0) 100%);
    padding: 12px 15px;
    width: 100%;
    border-radius: 6px;
    text-align: center;
}

.video-label {
    position: absolute;
    right: 0;
    z-index: 1;
    background: linear-gradient(to right, #eeaeca 0, #94bbe9 100%);
    color: black;
    padding: 3px 10px;
    top: 14px;
    font-size: 14px;
}

.banner {
    text-align: center;
    background: #000;
    width: 95%;
    margin: 15px auto;
    max-width: 800px;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

    .banner h2 span {
        background: linear-gradient(to right, #eeaeca 0, #94bbe9 100%);
        padding: 5px 18px;
        color: #000;
        border-radius: 30px;
        display: inline-block;
        font-size: .9em;
    }

.image-container {
    position: relative;
    display: inline-block;
}

    .image-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 3px solid transparent;
        border-radius: 5px;
        animation: borderAnimation 2s linear infinite;
    }

@keyframes borderAnimation {
    0% {
        border-color: #ff0000;
    }

    25% {
        border-color: #00ff00;
    }

    50% {
        border-color: #0000ff;
    }

    75% {
        border-color: #ffff00;
    }

    100% {
        border-color: #ff00ff;
    }
}

nav li i {
    font-size: 15px;
    color: white;
    margin: 5px;
}

.molist {
    height: auto;
    width: 100%;
}

.mcard {
    height: 300px;
    width: 18%;
    border-radius: 5%;
    float: left;
    margin: 1%;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.hid {
    display: none;
}

@media only screen and (max-width: 800px) and (min-width: 559px) {
    .molist {
        height: 320px;
        width: 100%;
        vertical-align: top;
    }

    .mcard {
        height: 320px;
        width: 30%;
    }

    .moredt {
        display: none;
    }

    .hid {
        display: block;
    }
}

@media only screen and (max-width: 600px) and (min-width: 449px) {
    .mcard {
        height: 320px;
        width: 48%;
    }

    .details {
        padding: 10px;
    }

        .details h6 {
            font-size: 1.0em;
        }

        .details p {
            font-size: 0.9em;
        }

    .moredt {
        display: none;
    }

    .hid {
        display: block;
    }
}

@media only screen and (max-width: 450px)and(min-width: 374px) {
    .mcard {
        height: 250px;
        width: 48%;
    }

    .details {
        padding: 10px;
    }

        .details h6 {
            font-size: 1.0em;
        }

        .details p {
            font-size: 0.9em;
        }

    .moredt {
        display: none;
    }

    .hid {
        display: block;
    }
}

@media only screen and (max-width: 375px)and (min-width: 339px) {
    .mcard {
        height: 240px;
        width: 48%;
    }

    .details {
        padding: 10px;
    }

        .details h6 {
            font-size: 0.9em;
        }

        .details p {
            font-size: 0.7em;
        }

    .moredt {
        display: none;
    }

    .hid {
        display: block;
    }
}

@media only screen and (max-width: 340px) {
    .mcard {
        height: 260px;
        width: 48%;
    }

    .moredt {
        display: none;
    }

    .hid {
        display: block;
    }
}

@media only screen and (max-width: 449px) {
    .mcard {
        height: 260px;
        width: 48%;
    }

    .details {
        padding: 10px;
    }

        .details h6 {
            font-size: 0.8em;
        }

    .hid {
        display: block;
    }

    .details p {
        font-size: 0.6em;
    }

    .details i {
        font-size: 13px;
    }

    .moredt {
        display: none;
    }
}

.details p {
    margin-top: -8px;
    margin-bottom: 1px;
}

.details i {
    color: yellow;
}

#page {
    width: 100%;
    float: left;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
}

.pagination {
    list-style: none;
    display: flex;
    padding: 0;
}

    .pagination li {
        margin: 0 5px;
    }

    .pagination a {
        text-decoration: none;
        padding: 8px 16px;
        border: 2px solid #ddd;
        color: #ddd;
        border-radius: 30%;
        font-weight: bold;
        transition: background-color 0.3s;
    }

        .pagination a:hover {
            background-color: #ddd;
        }

.backtop {
    position: fixed;
    display: none;
    background: black;
    color: #fff;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 17.5px;
    font-size: 20px;
    border-radius: 30%;
    right: 8px;
    bottom: 40px;
    text-decoration: none;
    padding: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.mdt strong {
    color: rgb(94, 224, 181);
}

.mdt {
    color: rgb(200, 238, 185);
}

.hr {
    color: #DDD;
}
.img-fluid{
    aspect-ratio:16/7;
}
