/* 1. Fonts  */

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* 2. Body and Some General Stuff */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'League Spartan', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #13135c;
    font-family: 'League Spartan', sans-serif;
}

a {
    text-decoration: none;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 3. Header css */

.header {
    padding: 15px 0;
}

.header .navbar-toggler i {
    color: white;
}

.header .offcanvas {
    background: #0B0F19;
    padding-top: 50px;
}

.header .offcanvas .offcanvas-header button {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
}

.header .offcanvas .navbar-nav .nav-item .nav-link {
    font-size: 20px;
    font-weight: 400;
    color: white;
    padding: 10px 20px;
}

.header .form_area .search_icon button {
    border: none;
    outline: none;
    width: 50px;
    height: 50px;
    background: #0B0F19;
    border-radius: 100%;
}

.header .navbar .navbar-brand img {
    width: 250px;
}

.header .navbar .modal .modal-content .modal_input_box {
    position: relative;
}

.header .navbar .modal .modal-content {
    border-radius: 25px;
    border: none;
}

.header .navbar .modal .modal-content .modal_input_box input {
    width: 100%;
    background-color: #0B0F19;
    border: none;
    padding: 17px 20px 17px 45px;
    border-radius: 15px;
    border: none;
    outline: none;
    color: #818181;
}

.header .navbar .modal .modal-content .modal_input_box input::placeholder {
    color: #818181;
}

.header .navbar .modal .modal-content .modal_input_box input:focus-visible {
    outline: none;
}

.header .navbar .modal .modal-content .modal_input_box .search_input_icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(0, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .navbar .modal .modal-content .modal_input_box .search_input_icon i {
    font-size: 20px;
    color: #818181;
}

.header .navbar .modal {
    --bs-modal-margin: 6.75rem;
    --tw-backdrop-blur: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background-color: #0f172a40;
}

.header .navbar .modal-dialog {
    max-width: 600px
}

@media (max-width:480px) {
    .header .navbar .modal-dialog {
        min-width: 90%;
        text-align: center;
        margin: 50px auto;
    }

    .header .navbar .navbar-brand {
        width: 150px;
    }
}

/* 4. Hero section css */

.hero_section {
    padding: 25px 0 60px 0;
}

@media (max-width:991px) {
    .hero_section {
        padding: 5px 0 40px 0;
    }
}

@media (max-width:575px) {
    .hero_section {
        padding: 0px 0 30px 0;
    }
}

/* 5. Popular Games section css */

.popular_games_section {
    padding: 0 0 60px 0;
}

.popular_games_section .top_text_area {
    margin-bottom: 40px;
}

.popular_games_section .top_text_area h5 {
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    color: #FFF;
}

.popular_games_section .top_text_area .right_side_area a {
    font-size: 16px;
    font-weight: 400;
    color: #464F63;
    line-height: 18px;
    transition: all 0.5s ease;
}

.popular_games_section .top_text_area .right_side_area a:hover {
    color: #FFFFFF;
}

.popular_games_section .popular_games_area .popular_game_box {
    position: relative;
}

.popular_games_section .popular_games_area .popular_game_box .image .popular-img {
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

.popular_games_section .popular_games_area .popular_game_box .game-name {
    padding: 15px 0;
}

.popular_games_section .popular_games_area .popular_game_box .game-name p {
    font-size: 16px;
    font-weight: 600;
    color: #FFF;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

@media (max-width:1399px) {
    .popular_games_section {
        padding: 0px 0 15px 0;
    }
}

@media (max-width:991px) {
    .popular_games_section {
        padding: 0;
    }

    .popular_games_section .top_text_area h5 {
        font-size: 22px;
        line-height: 25px;
    }

    .popular_games_section .top_text_area {
        margin-bottom: 30px;
    }
}

@media (max-width:480px) {
    .popular_games_section .popular_games_area .popular_game_box .image .popular-img {
        height: 150px;
    }
}

/* 6. Game Thumbnail Section */

.game_thumbnail_section {
    padding: 25px 0 60px 0;
}

.game_thumbnail_section .top_text h1 {
    font-family: Road Rage;
    font-size: 50px;
    font-weight: 500;
    line-height: 67px;
    color: white;
    margin-bottom: 40px;
    text-transform: capitalize;
}

.game_thumbnail_section .thumbnail_img {
    height: 600px;
    position: relative;
}

.game_thumbnail_section .thumbnail_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.game_thumbnail_section .thumbnail_img .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.game_thumbnail_section .thumbnail_img .play-btn a {
    background: var(--Linear, linear-gradient(90deg, #FF247E 0%, #FF7033 100%));
    color: #fff;
    padding: 12px 40px;
    font-size: 25px;
    font-weight: 500;
    border-radius: 5px;
}

@media (max-width:1199px) {
    .game_thumbnail_section {
        padding: 30px 0 50px 0;
    }

    .game_thumbnail_section .top_text h1 {
        font-size: 40px;
        line-height: 55px;
    }

    .game_thumbnail_section .thumbnail_img {
        height: 500px;
    }
}

@media (max-width:991px) {
    .game_thumbnail_section {
        padding: 5px 0 40px 0;
    }

    .game_thumbnail_section .top_text h1 {
        font-size: 34px;
        line-height: 45px;
    }

    .game_thumbnail_section .thumbnail_img {
        height: 400px;
    }
}

@media (max-width:767px) {
    .game_thumbnail_section .top_text h1 {
        font-size: 26px;
        line-height: 40px;
        margin-bottom: 25px;
    }
}

@media (max-width:575px) {
    .game_thumbnail_section {
        padding: 0px 0 30px 0;
    }

    .game_thumbnail_section .thumbnail_img {
        height: 300px;
    }

    .game_thumbnail_section .thumbnail_img .play-btn a {
        padding: 10px 30px;
        font-size: 18px;
    }

    .game_thumbnail_section iframe {
        height: 400px;
    }
}

@media (max-width:480px) {
    .game_thumbnail_section .top_text h1 {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 20px;
    }

    .game_thumbnail_section .thumbnail_img {
        height: 250px;
    }
}

/* 7. Game Description Section */

.game_description {
    padding: 0 0 40px 0;
}

.game_description .left_side .image {
    border-radius: 30px;
}

.game_description .left_side .image img {
    border-radius: 30px;
}

.game_description .right_side_area .description_text {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.game_description .right_side_area .description_text h5 {
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    color: #FFF;
}

.game_description .right_side_area .text_area p {
    font-size: 18px;
    font-weight: 400;
    color: #FFF;
    line-height: 27px;
    opacity: 0.7;
    padding-left: 20px;
}

.game_description .right_side_area .categories_area {
    padding: 10px 0 10px 20px;
}

.game_description .right_side_area .categories_area .player_list {
    font-size: 16px;
    font-weight: 700;
    line-height: 38px;
    color: #FFF;
    text-align: center;
    display: inline-block;
    background-image: url("../img/game-detail/category_img-1.png");
    background-size: cover;
    width: 133px;
    height: 50px;
}

@media (max-width:480px) {
    .game_description .right_side_area .description_text h5 {
        font-size: 23px;
        line-height: 25px;
    }

    .game_description .right_side_area .description_text {
        margin-bottom: 5px;
    }

    .game_description {
        padding: 0 0 10px 0;
    }
}

/* 8. Search Section */

.search_section {
    padding: 70px 0;
}

.search_section .search_area {
    padding: 64px;
    background-color: rgb(31 33 42 / 20%);
    border-radius: 40px;
    text-align: center;
}

.search_section .search_area .top_text h4 {
    font-size: 36px;
    font-weight: 600;
    color: #FFFFFF;
    font-family: 'Rubik', sans-serif;
}

.search_section .search_area .top_text p {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 400;
}

.search_section .search_area .top_text p span {
    color: #FFFFFF;
    font-weight: 600;
}

.search_section .search_area .form_group {
    position: relative;
    margin: 0px;
    overflow: hidden;
    width: 900px;
    text-align: center;
    margin: 30px auto 0;
}

.search_section .search_area .form_group .search_input {
    position: relative;
    display: block;
    font-size: 17px;
    line-height: 50px;
    color: #FFFFFF;
    height: 70px;
    width: 100%;
    padding: 10px 65px 10px 60px;
    background-color: #181A20;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    outline: none;
    border-radius: 40px;
}

.search_section .search_area .form_group .search_input::placeholder {
    color: #FFFFFF;
    font-weight: 400;
}

.search_section .search_area .form_group .arrow_btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    padding: 0;
    cursor: pointer;
    border: none;
    background: rgba(226, 18, 33, 0.1);
    border: 1px solid rgba(226, 18, 33, 0.25);
}

.search_section .search_area .form_group .search_btn {
    position: absolute;
    left: 30px;
    top: 48%;
    transform: translateY(-50%);
    border-radius: 50%;
    cursor: auto;
    background: transparent;
    z-index: 9;
    border: none;
    outline: none;
}

/* === Media query === */

@media (max-width: 1199px) {
    .search_section .search_area .form_group {
        width: 800px;
    }
}

@media (max-width: 991px) {
    .search_section {
        padding: 50px 0;
    }

    .search_section .search_area .form_group {
        width: auto;
    }

    .search_section .search_area .form_group .search_input {
        height: 65px;
    }

    .search_section .search_area {
        padding: 50px;
    }
}

@media (max-width: 767px) {
    .search_section .search_area .form_group {
        width: 430px;
    }

    .search_section .search_area .top_text h4 {
        font-size: 30px;
    }

    .search_section .search_area {
        padding: 30px;
    }

    .search_section .search_area .form_group .search_input {
        height: 55px;
    }

    .search_section .search_area .form_group .arrow_btn {
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .search_section .search_area .form_group {
        width: auto;
    }

    .search_section {
        padding: 30px 0;
    }

    .search_section .search_area .form_group .arrow_btn img {
        width: 14px;
    }
}

@media (max-width: 480px) {
    .search_section .search_area .form_group .search_input {
        font-size: 15px;
        height: 55px;
    }

    .search_section .search_area .form_group .arrow_btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 425px) {
    .search_section .search_area .top_text h4 {
        font-size: 24px;
    }

    .search_section .search_area .top_text p {
        font-size: 15px;
    }

    .search_section .search_area {
        padding: 30px 20px;
    }

    .search_section .search_area .form_group .arrow_btn {
        width: 35px;
        height: 35px;
    }

    .search_section .search_area .form_group .arrow_btn img {
        width: 15px;
    }

    .search_section .search_area .form_group .search_input {
        font-size: 15px;
        height: 50px;
        padding: 8px 53px 8px 54px;
    }

    .search_section .search_area .form_group .search_btn img {
        width: 16px;
    }
}

/* 9. Search Games Section */

.search_games {
    padding: 0 0 30px 0;
}

.search_games .popular_games_area .popular_game_box {
    margin-bottom: 30px;
}

.search_games .popular_game_box .image .search_game_img {
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

/* 10. Game Play Section */

.game-play-section {
    position: relative;
}

.game-play-section iframe {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
}

.game-play-section .back-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 30px;
    top: 30px;
    z-index: 99;
    background: #0B0F19;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-play-section .back-btn a {
    color: white;
    font-size: 18px;
}

/* Media query */

@media (max-width:575px) {
    .game-play-section .back-btn {
        position: absolute;
        width: 40px;
        height: 40px;
        left: 15px;
        top: 15px;
    }
}

/* 11. Privacy Policy Section */

.privacy-policy-section,
.about-us-section,
.contact-us-section {
    padding: 25px 0;
}

.privacy-policy-section h1 {
    font-size: 40px;
    font-weight: 500;
    color: white;
    font-family: 'Rubik', sans-serif;
}

.privacy-policy-section h3,
.about-us-section h3,
.contact-us-section h3 {
    font-size: 32px;
    font-weight: 500;
    color: white;
    margin: 25px 0 10px 0;
}

.privacy-policy-section p,
.privacy-policy-section ul li,
.about-us-section p,
.contact-us-section p {
    font-size: 18px;
    font-weight: 500;
    color: #d7e3ed;
    font-family: 'Rubik', sans-serif;
}

.privacy-policy-section ul {
    padding-left: 30px;
}

.privacy-policy-section ul li {
    list-style: disc;
}

/* Media query */

@media (max-width:991px) {

    .privacy-policy-section,
    .about-us-section,
    .contact-us-section {
        padding: 12px 0;
    }

    .privacy-policy-section h1 {
        font-size: 30px;
    }

    .privacy-policy-section h3,
    .about-us-section h3,
    .contact-us-section h3 {
        font-size: 28px;
        margin: 15px 0 8px 0;
    }

    .privacy-policy-section p,
    .privacy-policy-section ul li,
    .about-us-section p,
    .contact-us-section p {
        font-size: 17px;
    }
}

@media (max-width:575px) {

    .privacy-policy-section,
    .about-us-section,
    .contact-us-section {
        padding: 6px 0;
    }

    .privacy-policy-section h1 {
        font-size: 22px;
    }

    .privacy-policy-section h3,
    .about-us-section h3,
    .contact-us-section h3 {
        font-size: 26px;
        margin: 10px 0 5px 0;
    }
}