* {
    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: "Lsans";
    src: url(../../fonts/MinionPro.8fd850e.otf) format("truetype");
    font-display: swap;
}

body {
    font-family: Lsans;
    background-color: #dbe4c9;
}

.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(108, 108, 108);
    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;
}

.header-box {
    margin: 0 auto;
    padding: 0 10px;
    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 {
    width: 95%;
    margin: 30px auto;
    color: #fff;
    border-radius: 15px;
    padding: 10px;
}

.rootbg {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    cursor: pointer;
}

.header-menu {
    display: none;
    min-width: 20%;
    margin: 0 20px;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
       -moz-box-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    color: #fff;
}

.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;
    line-height: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    font-size: 24px;
    font-weight: bold;
}

.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;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.self_B_00_title .more-btn {
    padding: 0 10px;
    -webkit-flex-shrink: 0;
            flex-shrink: 0;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
}

.play-item,
.aside-about-list a {
    height: 60px;
    font-weight: normal;
    font-size: 1rem;
    padding: 5px;
    cursor: pointer;
    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;
}

.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%;
    height: 40px;
    padding: 5px;
    background-color: #fff;
    border-radius: 25px;
    -webkit-justify-content: space-around;
            justify-content: space-around;
}

.search-btn {
    background-color: rgba(255, 255, 255, 0);
    margin-right: 10px;
    width: 20px;
    aspect-ratio: 1;
    background-image: url(../../images/search.a43d7ae.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    vertical-align: middle;
    border: none;
    cursor: pointer;
}

.myInput {
    color: #333;
    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;
}

.myInput::-webkit-input-placeholder {
    color: #333;
    opacity: 0.5;
}

.myInput::-moz-placeholder {
    color: #333;
    opacity: 0.5;
}

.myInput::placeholder {
    color: #333;
    opacity: 0.5;
}

#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 {
    width: 40px;
    height: 40px;
    background-image: url(../../images/menu.c14a661.png);
    background-position: center;
    background-size: 100%;
}

aside {
    width: 80%;
    position: fixed;
    left: 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 {
    width: 95%;
    margin: 0 auto;
    border-radius: 20px;
    padding: 0 40px 40px 40px;
}

.bottom a:hover {
    cursor: pointer;
}

.bottom-top {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    padding: 10px 0;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.bottom-top .awebsite {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    text-align: center;
    color: #000;
    font-size: 20px;
    font-weight: 600;
}

.bottom .btxt-box {
    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 {
    width: 180px;
    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;
}

.bottomfav {
    width: 160px;
    margin: 0;
    height: 70px;
}

.bottom-game-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
}

.bottom-game-list .bottom-game-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    padding: 10px;
    color: #000;
    font-weight: 600;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
}

.bottom-game-list .item-icon {
    width: 30px;
    aspect-ratio: 1;
    margin: 0 5px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bottom-game-item:nth-child(1) .item-icon {
    background-image: url(../../images/GenuinelyFree.9f3b23b.png);
}

.bottom-game-item:nth-child(2) .item-icon {
    background-image: url(../../images/Online.538a76c.png);
}

.bottom-game-item:nth-child(3) .item-icon {
    background-image: url(../../images/scale-by-screen-size.879e85a.png);
}

.bottom-game-item:nth-child(4) .item-icon {
    background-image: url(../../images/dn-any-device.4ba60d3.png);
}

.bottom-game-item:nth-child(5) .item-icon {
    background-image: url(../../images/FastLoading.37ff824.png);
}

.bottom-game-item:nth-child(6) .item-icon {
    background-image: url(../../images/Userfeedback.2034b11.png);
}

.bottom-game-item:nth-child(7) .item-icon {
    background-image: url(../../images/NoDownloads.d01ee6f.png);
}

.bottom-game-item:nth-child(8) .item-icon {
    background-image: url(../../images/Wholesome.abcd067.png);
}

.bottom-game-item:nth-child(9) .item-icon {
    background-image: url(../../images/TheBestGames.1a506e6.png);
}

.btxt-list {
    margin: 10px 20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    font-size: 12px;
    color: #1f1f1f;
}

.btxt-list a {
    margin: 10px;
}

.bt_iframe {
    width: 100%;
    min-height: 1900px;
    overflow-y: auto;
}

.game-list,
.game-container {
    display: grid;
    gap: 10px;
    padding: 0 15px;
    grid-template-columns: repeat(10, 1fr);
    grid-auto-flow: row dense;
    padding-bottom: 20px;
}

.game-container {
    grid-template-columns: repeat(4, 1fr);
}

.game-child-item,
.game-card-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    cursor: pointer;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    -webkit-transition: box-shadow 0.2s ease;
    transition: box-shadow 0.2s ease;
    max-width: 100%;
    min-width: 0;
}

.game-img {
    position: relative;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.game-child-item .game-img {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    aspect-ratio: 1.3;
}

.game-child-item .game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    background: #fff;
    border-radius: 0 0 8px 8px;
    color: #000;
    font-size: 12px;
    padding: 2px 8px;
    text-align: center;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-text-box {
    padding: 8px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -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-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
       -moz-box-flex: 1;
            flex: 1;
    min-width: 0;
}

.game-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.game-desc {
    font-size: 12px;
    color: #666;
    line-height: 1;
    overflow: hidden;
    text-overflow: hidden;
    height: -webkit-calc(12px * 1 * 4);
    height: calc(12px * 1 * 4);
}

.game-child-item .game-text-box,
.game-card-item .game-name {
    display: none;
}

@media screen and (max-width:900px) {
    .game-name {
        font-size: .9rem;
    }

    .game-list {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .search-box {
        width: 60%;
    }

    .fav {
        width: 20%;
    }

    .bottomfav {
        margin: 10px auto;
        height: 70px;
    }

}

@media screen and (max-width:480px) {

    .game-name {
        font-size: .8rem;
    }

    .play-item {
        width: 50%;
        font-size: 14px;
    }

    .bottom-tags-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
.most-game-list {
    grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width:900px) {
    .game-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width:480px) {
    .game-container {
        grid-template-columns: repeat(1, 1fr);
    }
}
