* {
    padding: 0;
    margin: 0;
}
body {
    overflow-x: hidden;
    width: 100%;
}
.bg {
    background-image: url(media/banner-bg.jpg );
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 120vh;
    border-radius: 0 0 170px 170px;
    margin: 7px;
}
.header {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 99vw;
}
.header ul li {
    display: inline-block;
    list-style: none;
    margin-top: 40px;
    margin-right: 25px;
    color: white;
    font-size: 15px;
    font-family: "poppins", sans-serif;
    padding: 8px 20px;
    border-radius: 30px;
}
.header ul li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
#active {
    background-color: rgba(253, 251, 251, 0.2);
}

.header ul li button {
    color: white;
    background-color: #ee626b;
    height: 40px;
    font-size: medium;
    font-family: "poppins", sans-serif;
    font-weight: 500;
    width: 90px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    margin-right: 55px;
}
.header img {
    margin-top: 35px;
    margin-left: 70px;
    width: 158px;
    height: 60px;
}
.main {
    display: flex;
    flex-direction: row;
    width: 99vw;
    margin-top: 90px;
}
.main .txt-div {
    display: flex;
    width: 50%;
    flex-direction: column;
    justify-content: center;
}
.main .txt-div p {
    font-size: 20px;
    font-weight: 500;
    font-family: "poppins", sans-serif;
    color: white;
    margin-left: 100px;
}
.main .txt-div h1 {
    font-size: 48px;
    font-family: "poppins", sans-serif;
    color: white;
    margin-left: 100px;

}
.main .txt-div .longtxt {
    font-size: 14px;
    margin-top: 40px;
    font-weight: 400;
}




.searchcontainer {
    display: flex;
    margin-top: 50px;
}
.searchcontainer input{
    width: 400px;
    height: 50px;
    border-radius: 30px;
    padding-left: 20px;
    font-size: 15px;
    font-family: "poppins", sans-serif;
    border: none;
    margin-left: 80px;
}

.searchcontainer button {
    background-color: #ee626b;
    color: white;
    width: 150px;
    height: 50px;
    border-radius: 30px;
    font-size: 15px;
    font-family: "poppins", sans-serif;
    border: none;
    margin-left: -80px;
    transition: 0.3s ease;
}
.searchcontainer button:hover {
    background-color: #0171f9;
}

.main .imgdiv {
    display: flex;
    width: 50%;
}
.main .imgdiv img {
    margin-top: 50px;
    margin-left: 150px;
    border-radius: 20px;
}



.boxes {
    display: flex;
    flex-direction: row;
    width: 80vw;
    margin: 0 auto;
    margin-top: 50px;
    justify-content: space-between;
}
.boxes .box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 265px;
    height: 205px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);

}
.boxes .box img {
    padding: 25px;
    background-color: #0171f9;
    border-radius: 50%;
    width: 35px;
    height: auto;
    transition: 0.3s ease;
}
.boxes .box img:hover {
    background-color: #ee626b;
}
.boxes .box h4 {
    font-family: "poppins", sans-serif;
    font-size: large;
    margin-top: 20px;
    font-weight: 550;
    text-transform: uppercase;
}

.trend {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.trend .trendtxt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80vw;
    margin: 0 auto;
    margin-top: 180px;
}
.trend .trendtxt div p {
    font-family: "poppins", sans-serif;
    color: #ee626b;
    font-weight: 600;
    text-transform: uppercase;
}
.trend .trendtxt div h1 {
    font-family: "poppins", sans-serif;
    font-size: 35px;
}

.trend .trendtxt button {
    text-transform: uppercase;
    width: 120px;
    height: 50px;
    border: none;
    background-color: #ee626b;
    color: white;
    border-radius: 25px;
    font-family: "poppins", sans-serif;
    font-weight: 550;
}
.trend .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 85vw;
    margin: 0 auto;
    margin-top: 80px;
}
.trend .row .pro {
    display: flex;
    background-color: #eeeeee;
    border-radius: 25px;
    flex-direction: column;
}
.row .pro .downtxt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.row .pro img {
    border-radius: 25px;
    cursor: pointer;
}

.row .pro .downtxt div p {
    font-family: "poppins", sans-serif;
    color: gray;
    font-size: small;
    margin-left: 15px;
    margin-top: 20px;
}
.row .pro .downtxt div h5 {
    font-family: "poppins", sans-serif;
    color: black;
    font-size: medium;
    margin-left: 20px;
    margin-bottom: 20px;
}

.row .pro .downtxt i {
    padding: 10px 10px;
    background-color: #ee626b;
    color: white;
    border-radius: 20px;
    margin-top: 25px;
    margin-bottom: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.row .downtxt i:hover {
    background-color: #0171f9;
} 





.top {
    display: flex;
    flex-direction: column;
    height: 90vh;
    margin-top: 150px;
    width: 99vw;
    border-radius: 150px;
    background-color: #f7f7f7;
}
.top .trendtxt {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 88vw;
    margin: 0 auto;
    margin-top: 80px;
}
.top .trendtxt div p {
    font-family: "poppins", sans-serif;
    color: #ee626b;
    font-weight: 600;
    text-transform: uppercase;
}
.top .trendtxt div h1 {
    font-family: "poppins", sans-serif;
    font-size: 35px;
    margin-top: 10px;
}

.trendtxt button {
    text-transform: uppercase;
    width: 120px;
    height: 50px;
    border: none;
    background-color: #ee626b;
    color: white;
    border-radius: 25px;
    font-family: "poppins", sans-serif;
    font-weight: 550;
    margin-top: 15px;
}



.topbox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90vw;
    margin: 0 auto;
    margin-top: 75px;
}
.topbox .tbox {
    width: 200px;
    height: 295px;
    background-color: white;
    border-radius: 25px;
}

.topbox .tbox .tdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.tdown p {
    font-family: "poppins", sans-serif;
    color: rgb(122, 122, 122);
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 15px;

}
.tdown h5 {
    font-size: 17px;
    font-weight: 600;
    font-family: "poppins", sans-serif;
    margin-bottom: 10px;
}
.topbox .tbox img {
    width: 200px;
    height: 200px;
    border-radius: 25px;
    cursor: pointer;
}

.tdown button {
    height: 40px;
    padding: 0 25px;
    border: none;
    background-color: #ee626b;
    color: white;
    border-radius: 20px;
    font-family: "poppins", sans-serif;
    font-weight: 600;
    transition: 0.3s ease;

}
.tdown button:hover {
    background-color: #0171f9;
}



.categorey {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
    height: 80vh;
}
.categorey p {
    text-transform: uppercase;
    font-family: "poppins", sans-serif; 
    font-weight: 650; 
    color: #ee626b;
}
.categorey h1 {
    font-family: "poppins", sans-serif;
    font-size: 36px;
    margin-top: 10px;
}
.categorey .catboxes {
    display: flex;
    flex-direction: row;
    width: 90vw;
    justify-content: space-between;
    margin-top: 50px;
}
.catboxes .cbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0171f9;
    border-radius: 25px;

}
.catboxes .cbox h4 {
    font-size: 17px;
    font-weight: 600;
    color: white;
    padding: 22px;
    font-family: "poppins", sans-serif;
}
.catboxes .cbox img {
    border-radius: 25px;
    width: 250px;
    height: 165;
}



.lastbg {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-image: url(media/banner-image.jpg);
    width: 70vw;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0  auto;
}
.lastleft {
    display: flex;
    flex-direction: column;
    background-color: rebeccapurple;
    background-color: #f7f7f7;
    width: 400px;
    height: 560px;
    border-radius: 25px;
    margin-top: 150px;
}
.lastleft p {
    font-family: "poppins", sans-serif;
    color: #ee626b;
    font-weight: 600;
    margin-left: 50px;
    margin-top: 50px;
    font-size: large;
}
.lastleft h2 {
    font-family: "poppins", sans-serif;
    color: black;
    margin-left: 50px;
    margin-top: 10px;
    font-size: xx-large;
    text-transform: capitalize;
}
.lastleft h6 {
    font-family: "poppins", sans-serif;
    color: black;
    font-size: large;
    font-weight: 500;
    margin-left: 50px;
    margin-top: 40px;
}
.lastleft button {
    height: 50px;
    width: 150px;
    margin-left: 50px;margin-top: 60px;
    border: none;
    background-color: #ee626b;
    color: white;
    font-weight: 600;
    border-radius: 25px;
}
.lastright {
    display: flex;
    flex-direction: column;
    background-color: rebeccapurple;
    background-color: #f7f7f7;
    width: 400px;
    height: 400px;
    border-radius: 25px;
    margin-top: 300px;
}
.lastright p {
    font-family: "poppins", sans-serif;
    color: #ee626b;
    font-weight: 600;
    margin-left: 50px;
    margin-top: 50px;
    font-size: large;
}
.lastright h2 {
    font-family: "poppins", sans-serif;
    color: black;
    margin-left: 50px;
    margin-top: 10px;
    font-size: x-large;
    text-transform: capitalize;
}
.lastsearch {
    display: flex;
    margin-top: 50px;
}
.lastsearch input{
    width: 200px;
    height: 50px;
    border-radius: 30px;
    padding-left: 20px;
    font-size: 15px;
    font-family: "poppins", sans-serif;
    border: none;
    margin-left: 50px;
}
input:focus {
    outline: none;
    border: none;
}
.lastsearch button {
    background-color: #ee626b;
    color: white;
    width: 130px;
    height: 50px;
    border-radius: 30px;
    font-size: 15px;
    font-family: "poppins", sans-serif;
    border: none;
    margin-left: -40px;
    transition: 0.3s ease;
}

.footer {
    width: 98vw;
    height: 120px;
    background-image: url(media/banner-bg.jpg);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background-position: center;
    border-top-right-radius: 150px;
    border-top-left-radius: 150px;

}
.footer p {
    color: white;
    font-family: "poppins", sans-serif;
    margin-top: 30px;
}


@media (max-width: 768px) {

    /* Hero Background */
    .bg {
        height: auto;
        border-radius: 0 0 60px 60px;
        margin: 0;
        padding-bottom: 30px;
    }

    /* Header */
    .header {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }
    .header img {
        margin: 20px 0 0 0;
    }
    .header ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
        gap: 5px;
    }
    .header ul li {
        margin-top: 10px;
        margin-right: 0;
        font-size: 13px;
        padding: 6px 12px;
    }
    .header ul li button {
        margin-right: 0;
    }

    /* Main Hero */
    .main {
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        width: 100%;
    }
    .main .txt-div {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .main .txt-div p {
        margin-left: 0;
    }
    .main .txt-div h1 {
        margin-left: 0;
        font-size: 32px;
    }
    .main .txt-div .longtxt br {
        display: none;
    }
    .searchcontainer {
        margin-top: 30px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .searchcontainer input {
        width: 280px;
        margin-left: 0;
    }
    .searchcontainer button {
        margin-left: 0;
        width: 280px;
    }
    .main .imgdiv {
        width: 100%;
        justify-content: center;
        margin-top: 30px;
    }
    .main .imgdiv img {
        width: 90%;
        height: auto;
        margin: 0;
    }

    /* Feature Boxes */
    .boxes {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
        margin-top: 30px;
    }
    .boxes .box {
        width: 85%;
    }

    /* Trending */
    .trend {
        height: auto;
    }
    .trend .trendtxt {
        width: 90%;
        margin-top: 60px;
    }
    .trend .row {
        flex-direction: column;
        align-items: center;
        width: 90%;
        gap: 20px;
        margin-top: 40px;
    }
    .trend .row .pro {
        width: 100%;
    }
    .row .pro img {
        width: 100%;
        height: auto;
    }

    /* Top Games */
    .top {
        height: auto;
        border-radius: 60px;
        margin-top: 60px;
        padding-bottom: 40px;
        width: 100%;
    }
    .top .trendtxt {
        width: 90%;
        margin-top: 40px;
    }
    .topbox {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        width: 90%;
        margin-top: 40px;
    }
    .topbox .tbox {
        width: 45%;
        height: auto;
    }
    .topbox .tbox img {
        width: 100%;
        height: auto;
    }

    /* Categories */
    .categorey {
        height: auto;
        margin-top: 60px;
        padding: 0 10px 40px;
    }
    .categorey .catboxes {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
        margin-top: 30px;
    }
    .catboxes .cbox {
        width: 45%;
    }
    .catboxes .cbox img {
        width: 100%;
        height: auto;
    }

    /* Last Section */
    .lastbg {
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        padding: 40px 20px;
        gap: 30px;
    }
    .lastleft, .lastright {
        width: 100%;
        height: auto;
        margin-top: 0;
        padding-bottom: 30px;
        border-radius: 25px;
    }
    .lastleft p, .lastleft h2,
    .lastleft h6, .lastleft button,
    .lastright p, .lastright h2 {
        margin-left: 20px;
    }
    .lastleft button {
        margin-top: 30px;
    }
    .lastsearch {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 20px;
    }
    .lastsearch input {
        margin-left: 20px;
        width: 80%;
    }
    .lastsearch button {
        margin-left: 20px;
        width: 80%;
    }

    /* Footer */
    .footer {
        border-top-right-radius: 60px;
        border-top-left-radius: 60px;
        width: 100%;
        text-align: center;
    }
}