* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

@font-face {
    font-family: "Candara";
    src: url(../../fonts/Candara.5c13608.ttf) format("truetype");
    font-display: swap;
}

body {
    font-family: Candara;
}

.gptslot {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 16px auto;
    margin-top: 0px;
    min-height: 250px;
    max-width: 300px;
}

.ad-label {
    color: rgb(255, 255, 255);
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    position: relative;
    padding: 5px 0px 2px 0px;
    font-size: 14px;
}

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: inherit;
    text-decoration: none;
}

.ad p {
    width: 100%;
    line-height: 50px;
    text-align: center;
    height: 50px;
}

header {
    width: 100%;
    height: 60px;
    box-shadow: 0 2px 15px rgba(11, 17, 31, 0.479);
}

.header-box {
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.fav {
    width: 160px;
    height: 60px;
    margin-left: 10px;
    line-height: 60px;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main {
    max-width: 1200px;
    margin: 30px auto;
    color: #fff;
}

.rootbg {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.header-menu {
    min-width: 20%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    margin: 0 20px;
    /* justify-content: space-around; */
    color: #333;
    font-weight: 600;
}

.self_B_00_title {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin: 0 1%;
    height: 60px;
}

.self_B_00_title .text-box {
    width: 100%;
    height: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
}

.text-box .title-icon {
    height: 30px;
    margin: 0 10px;
    aspect-ratio: 1;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.text-box p {
    height: 30px;
    line-height: 30px;
}

.self_B_00_title .more-btn {
    height: 60px;
    line-height: 60px;
    padding: 0 10px;
    -webkit-flex-shrink: 0;
            flex-shrink: 0
}

.play-online,
.about {
    position: relative;
}

.about-list {
    position: absolute;
    top: 60px;
    left: 0;
    height: auto;
    width: 200%;
    background-color: #f0f0f0;
    z-index: 100;
    display: none;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    padding: 5px;
    border-radius: 10px;
    padding: 20px 40px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

.about-list {
    width: auto;
}

.about-list a {
    color: #000000;
}

.about-list .play-item a:hover {
    color: #ff6699;
}

.play-item,
.header-home,
.header-online-game,
.aside-about-list a {
    height: 60px;
    font-weight: normal;
    font-size: 1rem;
    padding: 5px;
    color: #fff;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    word-break: keep-all;
    white-space: nowrap;
}

.about-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
}

.play-item p,
.header-home p {
    margin: 0 20px;
}

.play-item .icon {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: auto 0;
    margin-right: 5px;
    background-size: cover;
    background-position: center;

}

.search-box {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    width: 20%;
    /* width: 100%; */
    height: 40px;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.1); 
    border-radius: 15px;
}

.search-btn {
    background-color: rgba(255, 255, 255, 0);
    margin-right: 10px;
    width: 20px;
    aspect-ratio: 1;
    background-image: url(../../images/search-black.305f356.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    cursor: pointer;
}

.myInput {
    color: #000;
    height: 30px;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    max-width: 85%;
    outline: 0;
    font-size: 1rem;
    border-radius: 6px;
    border: 0;
    background-color: rgba(0, 0, 0, 0); 
    display: inline-block;
    padding: 0 1em;
    text-decoration: none;
}

#search-suggestions {
    position: absolute;
    width: 92%;
    top: 39px;
    left: 4%;
    /* transform: translateX(-50%); */
    max-height: 250px;
    overflow-y: auto;
    background-color: rgb(252, 252, 252);
    border: 0 1px 1px 1px solid #e6e6e69e;
    z-index: 1;
    border-radius: 0 0 10px 10px;
}

#search-suggestions div {
    padding: 6px 12px;
    cursor: pointer;
}

#search-suggestions div:hover {
    background-color: #555555b5;
}

.aside-menu {
    display: none;
    width: 40px;
    height: 40px;
    background-image: url(../../images/menu.7889495.png);
    background-position: center;
    background-size: 100%;
}

aside {
    width: 80%;
    position: fixed;
    right: 0;
    height: 100vh;
    background-color: #000000ed;
    z-index: 200;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    padding: 20px;
    overflow-y: scroll;
    box-shadow: 0 0 15px #ffffff55;

}

.close {
    width: 100%;
    position: relative;
    height: 40px;
    margin-bottom: 10px;
}

.close-icon {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    background-image: url(../../images/close-white.27d0d87.png);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.aside-home,
.aside-play-online,
.aside-played-games,
.aside-about {
    margin: 15px 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
}

.aside-list,
.aside-about-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    width: 100%;
}

.awebsite {
    cursor: pointer;
}

.bottom {
    width: 100%;
    color: #fff;
    text-wrap: wrap;
}

.bottom .bottom-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bottom a:hover {
    cursor: pointer;
}

.bottom-desc {
    font-size: 16px;
    padding: 20px 5px;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #fff;
}

.bottom .btxt-box {
    color: #6b6969;
    font-size: 12px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
}

.bottom .btxt {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    text-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.bottom .btxt a {
    margin: 0 10px;
}

.bottom .text-box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    margin: 20px auto;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.bottom .feature-list {
    list-style: disc;
    margin-left: 30px;
    padding-left: 20px;
    max-width: 500px;
}

.bottomfav {
    width: 160px;
    margin: 0;
    height: 70px;
}

.bottom-category-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-around;
            justify-content: space-around;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    color: #000000;
    font-weight: 600;
}

.bottom-category-list .category-item {
    margin: 5px;
    line-height: 70px;
}

.bt_iframe {
    width: 100%;
    min-height: 1900px;
    overflow-y: auto;
}

.game-container,
.game-list {
    display: grid;
    gap: 10px;
    padding: 0 15px;
    grid-template-columns: repeat(10, 1fr);
    grid-auto-flow: row dense;
    padding-bottom: 20px;
}

.game-child-item {
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: #1a1a1a;
}

.game-container .game-child-item:nth-child(14n + 1),
.game-container .game-child-item:nth-child(14n + 5) {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 3/2;
}

.game-child-item .game-img,
.game-card-item .game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-child-item .game-name,
.game-card-item .game-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.game-child-item:hover .game-name,
.game-card-item:hover .game-name {
    opacity: 1;
}

@media screen and (max-width:900px) {

    .main {
        width: 100%;
    }

    .game-name {
        font-size: .9rem;
    }

    .bottom {
        width: 100%;
    }

    .bottom .text-box {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }


    .bottom .btxt-box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
           -moz-box-align: center;
                align-items: center;
    }

    .bottom .pre {
        margin: 0 auto 10px;
    }

    header,
    .header-box,
    .main {
        width: 100%;
    }

    .header-box .header-menu {
        display: none;
    }

    .search-box {
        width: 60%;
    }

    .fav {
        width: 20%;
    }

    .bottomfav {
        margin: 10px auto;
        height: 70px;
    }

    .aside-menu {
        display: block;
    }

    .game-container,
    .game-list {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media screen and (max-width:480px) {
    .main-menu {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: flex;
    }

    .game-name {
        font-size: .8rem;
    }

    .play-item {
        width: 50%;
        font-size: 14px;
    }

    .bottom .btxt {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
           -moz-box-pack: center;
                justify-content: center;
    }
}
body {
    min-height: 100vh;
}

.text-box .editor-game-icon {
    background-image: url(../../images/EditorsPicks.cee9c55.png);
}

.text-box .best-game-icon {
    background-image: url(../../images/best-games.eabb9a4.png);
}

.text-box .hot-game-icon {
    background-image: url(../../images/hot-games.db45ba9.png);
}

.text-box .crazy-game-icon {
    background-image: url(../../images/CrazyGames.351c744.png);
}

.text-box .featured-game-icon {
    background-image: url(../../images/FeaturedGames.e1ef7f9.png);
}

.text-box .adventure-game-icon {
    background-image: url(../../images/AdventureGames.fca6f5f.png);
}

.text-box .new-game-icon {
    background-image: url(../../images/NewGames.c7a7ad2.png);
}

.crazy-game-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    gap: 0;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    margin: 0;
    padding: 0 10px;
}

.game-card-item {
    position: relative;
    width: 18%;
    margin: 1%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.game-card-item .game-icon {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../../images/Games.09f4709.png);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.game-card-item .game-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    aspect-ratio: 0.8;
}

.button-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.random-game-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 25px;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.random-game-btn:hover {
    background-color: #fff;
    color: #0b0b22;
}

.back-to-top-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background-color: #3b82f6;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

.back-to-top-btn:hover {
    background-color: #1d4ed8;
}

.button-container .button-icon {
    height: 15px;
    aspect-ratio: 1;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.button-container .dice {
    background-image: url(../../images/RandomGame.53dcfb8.png);
}

.button-container .arrow-up {
    background-image: url(../../images/back-to-top.f90d8cc.png);
}

@media screen and (max-width:900px) {}

@media screen and (max-width:480px) {
    .game-card-item .game-icon {
        position: absolute;
        top: -8px;
        left: -8px;
        width: 20px;
        height: 20px;
    }
}
