@import url('https://fonts.googleapis.com/css2?family=Sedan:ital@0;1&display=swap');

*{
    font-family: "Sedan", serif;
    font-size: 15px;
    box-sizing: border-box;
}

/* body{
    overflow-x: hidden;
} */

nav{
    z-index: 1;
}

ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/* start nav */
input[type="search"]{
    width: 220px;
    border-radius: 50px;
}
/* end nav */

/* start popular movies */
.section-heading{
    font-size: 1.5rem;
}
.movie-box{
    width: 400px;
    height: 200px;
    margin-right: 10px;
}

.movie-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

/* end popular movies */

/* start latest movies */
.latest-movies .card{
    width: 15rem;
    height: 450px;
    margin-right: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.latest-movies .card .card-img-top{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px 10px 0 0;
}
/* end latest movies */

/* start movie list */
.movies-list .card{
    height: 510px;
    border-radius: 10px;
    transition: all 0.5s;
}
.movies-list .card-img-top{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px 10px 0 0;
}

.movies-list .card:hover{
    transform: translateY(-10px);
}

.quantity{
    position: absolute;
    top: 0;
    left: 40%;
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 0 0 10px 10px;
}
/* end movie list */

@media screen and (max-width:580px) {
    .movies-list .card{
        height: 800px;   
    }
}

