* {
    margin: 0;
    padding: 0;
    cursor: pointer;
}

body {
    background-image: url("https://images.unsplash.com/photo-1569982175971-d92b01cf8694?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=435&q=80");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header {
    display: flex;
    /* background-image: linear-gradient(rgb(0, 183, 255), hotpink); */
    /* background-color: rgb(29, 22, 22); */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-image: linear-gradient(rgb(241, 21, 105), rgb(157, 11, 214)); */
    background-image: url("https://images.unsplash.com/photo-1569982175971-d92b01cf8694?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=435&q=80");
}

.search {
    display: flex;
    width: 99%;
    height: 8%;
    justify-content: center;
    margin-top: 10px;
}

.search_btn {
    border-radius: 8px;
    margin-right: 5px;
    letter-spacing: 2px;
    padding: 10px;
    align-items: center;
    background-color: rgb(205, 243, 240);
    background-image: linear-gradient(to left, rgb(102, 29, 238), rgb(178, 34, 235));
}

.search_box {
    display: flex;
    background-color: rgb(83, 75, 75);
    border-radius: 8px;
    margin-right: 25px;
    align-items: center;
    padding-left: 10px;
    width: 52%;
    letter-spacing: 2px;
    color: rgb(214, 197, 197);
    outline: none;
    text-transform: uppercase;
    border: none;
}

.movicelist {
    display: grid;
    margin-top: 30px;
    /* border: 2px solid aquamarine; */
    grid-template: repeat(3, 1fr)/repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    /* background-color: darkcyan; */
    justify-items: center;
    align-self: center;
    padding-bottom: 16px;
    max-width: 64VW;
    font-size: 1.2rem;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
}

.foot {
    background-color: rgb(122, 114, 114);
    background-image: linear-gradient(to left, rgb(0, 183, 255), hotpink);
    margin-bottom: 20px;
    color: rgb(226, 213, 209);
    width: 62%;
    height: 30px;
    display: flex;
    justify-content: center;
    border-radius: 12px;
    margin-left: 20px;
    margin-right: 15px;
}

.p {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* mobile ky lia media query ( for mobile )*/

@media (max-width: 450px) {
    .movicelist {
        display: flex;
        flex-direction: column;
        max-width: 100vw;
        margin: 0;
        margin-top: 5%;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    .search {
        width: 80vw;
        margin-left: 0%;
        justify-content: space-between;
        height: 6vh;
    }
    .search_box {
        width: 82%;
        margin-right: 3%;
    }
    .search_btn {
        font-size: none;
        width: 23%;
        letter-spacing: normal;
        padding: 0;
        margin-right: 0%;
        overflow: hidden;
    }
    .foot {
        margin-left: 9%;
        margin-right: 9%;
        width: 82%;
    }
    ul>div {
        width: 80vw !important;
        font-size: 0.9rem !important;
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
        font-size: 1.1rem !important;
    }
}


/* tablet ky lia media query ( for tablet )*/

@media screen and (min-width: 451px) and (max-width:1000px) {
    .movicelist {
        display: grid;
        grid-template: repeat(2, 1fr)/repeat(2, 1fr);
        max-width: 100vw;
        margin: 0;
        margin-top: 6%;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }
    .search {
        width: 84vw;
        margin-left: 0%;
        justify-content: space-between;
        height: 6vh;
    }
    .search_box {
        width: 92%;
        margin-right: 3%;
    }
    .search_btn {
        font-size: none;
        width: 23%;
        letter-spacing: normal;
        padding: 0;
        margin-right: 0%;
    }
    .foot {
        margin-left: 9%;
        margin-right: 9%;
        width: 86%;
    }
    ul>div {
        width: 40vw !important;
        font-size: 0.9rem !important;
        border-top-left-radius: 12px !important;
        border-top-right-radius: 12px !important;
    }
    .header {
        background-image: none;
        background-image: linear-gradient( rgb(157, 11, 214), rgb(241, 21, 105));
    }
    .body {
        background-image: none;
        background-image: linear-gradient( rgb(157, 11, 214), rgb(241, 21, 105));
    }
}