* {
  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: "Ebrima";
  src: url(../../fonts/ebrima.99ced7d.ttf) format("truetype");
  font-display: swap;
}

body {
  font-family: Ebrima;
}

.ad-container {
  width: 300px;
  height: 276px;
  overflow: hidden;
  margin: auto;
  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-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.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;
  min-height: 250px;
  max-width: 300px;
}

.ad-label {
  color: rgb(171, 171, 171);
  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%;
}

.header-box {
  width: 90%;
  margin: 0 auto;
  padding: 0 30px;
  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;
}

.fav {
  width: 160px;
  height: 60px;
  border-radius: 0 0 10px 10px;
  padding: 0 10px;
}

.main {
  width: 90%;
  max-width: 1500px;
  margin: 30px auto;
  padding: 10px;
  color: #fff;
}

.rootbg {
  display: inline-block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  cursor: pointer;
}

.header-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  height: 60px;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
     -moz-box-pack: start;
          justify-content: flex-start;
  padding-right: 30px;
  border-radius: 0 0 0 30px;
}

.header-left {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  height: 60px;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
     -moz-box-pack: start;
          justify-content: flex-start;
  border-radius: 0 0 30px 0;
}

.header-menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  margin: 0 20px;
  color: #333;
  font-weight: 600;
}

.header-menu-item {
  margin: 5px;
  background-color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 30px;
  line-height: 30px;
  padding: 2.5px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  border: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-wrap: nowrap;
}

.header-menu-item .item-icon {
  width: 20px;
  aspect-ratio: 1;
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

.header-menu-item:nth-child(1) .item-icon {
  background-image: url(../../images/popular.3556d64.png);
}

.header-menu-item:nth-child(2) .item-icon {
  background-image: url(../../images/New.ff6639d.png);
}

.header-menu-item:nth-child(3) .item-icon {
  background-image: url(../../images/Random.17bd28f.png);
}

.header-menu-item:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.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 0.3s;
  transition: all 0.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: 100%;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  height: 35px;
  background-color: #fff;
  border-radius: 8px;
}

.search-btn-box {
  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;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  padding: 5px 10px;
  height: 90%;
  margin-right: 2%;
}

.search-btn {
  width: 25px;
  aspect-ratio: 1;
  background-image: url(../../images/search.dfc685a.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  background-color: transparent;
}

.myInput {
  color: #fff;
  height: 30px;
  width: 100%;
  outline: 0;
  font-size: 1rem;
  border-radius: 6px;
  border: 0;
  display: inline-block;
  padding: 0 1em;
  text-decoration: none;
  border-radius: 4px;
}

#search-suggestions {
  position: absolute;
  width: 92%;
  top: 39px;
  left: 4%;
  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;
}

.header-nav {
  margin-top: 10px;
  border-bottom: 10px solid #898a8c;
}

.header-nav .nav-container {
  height: 30px;
  width: 90%;
  margin: 0 auto;
  padding: 0 30px;
  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;
  color: #fff;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.nav-container::-webkit-scrollbar {
  display: none;
}

.nav-container .nav-item {
  background-color: #3fc5e2;
  min-width: 100px;
  text-align: center;
  padding: 4px 12px;
  white-space: nowrap;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
  margin: 0 5px;
  font-weight: 600;
  text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.3);
  border-radius: 6px 6px 0 0;
}

.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;
  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;
  color: blue !important;
}

.bottom-text-box {
  width: 90%;
  margin: 0 auto;
  color: #000;
  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-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  background-color: #0000002b;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.bottom-text-box .bottom-title {
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 22px;
}

.bottom-desc {
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.bottomfav {
  width: 160px;
  height: 70px;
}

.bottom-footer {
  margin-top: 30px;
  padding: 0 20px;
  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;
  color: #fff;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
}

.bottom-game-list {
  width: 100%;
  margin: 10px auto;
  border-radius: 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  padding: 10px 0;
  -webkit-justify-content: space-around;
          justify-content: space-around;
}

.bottom-game-list .game-bottom-item {
  margin: 0 10px;
}

.bottom-game-list span {
  font-weight: 600;
}

.bottom-footer-left {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
}

.btxt {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 20px;
  margin-left: 20px;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.bt_iframe {
  width: 100%;
  min-height: 1900px;
  overflow-y: auto;
}

.self_B_00_title {
  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;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
     -moz-box-align: end;
          align-items: flex-end;
}

.self_B_00_title .text-box {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
  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-weight: bold;
  color: #000;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
}

.text-box p {
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
  font-size: 24px;
  margin: 0;
}

.game-list-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  padding-bottom: 20px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
}

.self-game-title {
  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-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
}

.self-game-title .title-icon {
  width: 40%;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.self-game-title p {
  text-align: center;
  text-wrap: wrap;
}

.game-child-item,
.self-game-title {
  width: 8%;
  margin: 5px 0.165%;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.1);
  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;
}

.game-child-item .game-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
}

.game-child-item .game-name {
  color: #fff;
  font-size: 12px;
  text-align: center;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-child-item .game-text-box {
  padding: 2px 4px;
  background: #353535;
  border-radius: 0 0 6px 6px;
  opacity: 1;
}

.game-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.game-child-item .game-tag {
  position: absolute;
  right: 5px;
  top: 5px;
  font-size: 12px;
  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;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  padding: 0 4px;
  border-radius: 5px;
}

@media screen and (max-width: 900px) {
  .game-child-item {
    width: 16%;
    margin: 5px 0.165%;
  }

  .bottom,
  .header-box {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .header-box .header-menu {
    display: none;
  }

  .header-right {
    margin: 0;
    padding: 0;
  }

  .header-left {
    width: 30%;
  }

  .header-left .fav {
    width: 100%;
    margin-left: 10px;
  }

  .bottomfav {
    margin: 10px auto;
    height: 70px;
  }

  .btxt {
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    gap: 5px 10px;
  }

  .aside-menu {
    display: block;
  }

  .aside-list .play-item {
    width: auto;
    padding: 5px 10px;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .ad-container[data-ad-index="0"] {
    max-width: 400px;
    height: 375px;
    -webkit-box-pack: start;
    -webkit-justify-content: start;
       -moz-box-pack: start;
            justify-content: start;
  }

  .game-child-item,
  .self-game-title {
    width: 30%;
    margin: 5px 1.65%;
  }

  .bottom-footer,
  .bottom-footer-left {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    gap: 10px;
  }
}
body {
    min-height: 100vh;
}

.new,
.new-box {
    background-color: #df4546;
}

.hot,
.hot-box {
    background-color: #f79717;
}

.featured,
.featured-box {
    background-color: #3488b4;
}

.crazy,
.crazy-box {
    background-color: #47b65b;
}

.exclusive,
.exclusive-box {
    background-color: #7847c3;
}

.fun,
.fun-box {
    background-color: #1b7bfd;
}

.new-box .title-icon {
    background-image: url(../../images/NewGames.e581803.png);
}

.hot-box .title-icon {
    background-image: url(../../images/HotGames.568f33a.png);
}

.featured-box .title-icon {
    background-image: url(../../images/FeaturedGames.c13bed8.png);
}

.crazy-box .title-icon {
    background-image: url(../../images/CrazyGames.95af59a.png);
}

.exclusive-box .title-icon {
    background-image: url(../../images/ExclusiveGames.d06e043.png);
}

.fun-box .title-icon {
    background-image: url(../../images/FunGames.d087139.png);
}

.more-games-btn {
    width: 100%;
    margin: 0 auto;
    background-color: #419bb5;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

.header-nav .nav-container #NavHome {
    background-color: #898a8c;
}

@media screen and (max-width:480px) {

    .game-list-wrapper .game-child-item {
        min-height: 143px;
    }
}
