* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.feature__title {
    color: #fff;
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.feature__text {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 25px;
    font-family: "Open Sans", sans-serif;
    margin: 0;
    letter-spacing: 0.2px;
}

.feature {
    display: block;
    position: relative;
    margin: 15px 0;
    padding-left: 65px;
}

.feature__icon {
    display: block;
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 46px;
}

    .feature__icon:before {
        background-image: -webkit-linear-gradient( 0deg, #dc3545 0, #dc3545 100% );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        color: #dc3545;
    }

body {
    background: linear-gradient( to right, rgba(0, 0, 0, 0.781), rgba(0, 0, 0, 0.781) ), url("../Netflix-Background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

:root {
    --primary-color: #303030;
    --secondary-color: #212529;
}
header {
    padding: 1rem;
    display: flex;
    justify-content: space-around;
}

.search {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    color: #fff;
    font-family: inherit;
}

    .search:focus {
        outline: 0;
        background-color: var(--primary-color);
        color: #fff;
    }

    .search::placeholder {
        color: #fff
    }

@media (max-width:320px){
    main{
        width:100vw;
    }
    a{
        text-align:center;
    }
}

.movie {
    width: 200px;
    margin: 1rem;
    border-radius: 3px;
    box-shadow: 0.2px 4px 5px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
    margin-bottom: 3px;
    height: 350px;
}

    .movie img {
        width: 100%;
    }

.movie-info {
    color: #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem 1rem;
    letter-spacing: 0.5px;
}

    .movie-info h3 {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* number of lines to show */
        line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: medium;
        font-weight: bold;
    }

    .movie-info span {
        background-color: var(--primary-color);
        padding: 0.25rem 0.5rem;
        border-radius: 3px;
        font-weight: bold;
    }

        .movie-info span.green {
            color: lightgreen;
        }

        .movie-info span.orange {
            color: orange;
        }

        .movie-info span.red {
            color: red;
        }

.overview {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #373b69;
    padding: 1rem;
    max-height: 100%;
    transform: translateY(101%);
    transition: transform 0.2s ease-in;
}

.movie:hover .overview {
    transform: translateY(0);
}

.minfo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.playnow {
    width: 87%;
}

.pagination {
    display: flex;
    flex-basis: 100%;
    margin: 10px 30px;
    align-items: center;
    justify-content: center;
    color: white;
}

.page {
    padding: 20px;
    cursor: pointer;
}


    .page.disabled {
        cursor: not-allowed;
        color: grey;
    }

.current {
    padding: 10px 20px;
    border-radius: 50%;
    border: 5px solid #bb2d3b;
    font-size: 20px;
    font-weight: 600;
}
@media (max-width:575px) {
    #form {
        flex-wrap: wrap;
    }
}
@media(max-width:463px) {

    .minfo {
        width: auto;
    }

    .movie {
        width: 150px;
        height: 300px;
    }
}