body {
  background-color: #690fb6;
  font-family: "Roboto", sans-serif;
  font-size: 4vw;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

.content {
  padding: 10px;
}

.game-box {
  border-radius: 10px;
  border: 2px solid white;
  overflow: hidden;
}

.game-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-container {
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto auto auto;
}

.container {
  padding: 10px;
  background-color: #7443f0;
  border-radius: 10px;
}

.container-title {
  border-bottom: 0.8px solid white;
  display: block;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.container-title p {
  display: inline;
  color: white;
  border-bottom: 2px solid #ffc91b;
  margin: 0;
  padding-bottom: 4.5px;
  font-weight: 500;
  font-style: normal;
}

.games a {
  border: 2px solid white;
  border-radius: 10px;
  overflow: hidden;
}

.games img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container1 {
  margin-top: 20px;
}

.container1-games {
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto auto;
}

.container2 {
  margin-top: 20px;
}

.container2-games {
  display: grid;
  gap: 5px;
  grid-template-columns: auto auto auto auto;
}

.more {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0 5px 0;
}

.more button {
  width: 100%;
  padding-top: 15px;
  color: white;
  padding-bottom: 15px;
  border: 2px solid #ffffff;
  border-radius: 100px;
  background-color: #ff891b;
  font-size: 4vw;
  font-weight: 600;
  font-style: normal;
}

.advertisement-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.advertisement-container p {
  text-align: center;
  color: white;
  font-weight: 300;
  font-size: 3.5vw;
  font-style: normal;
  margin-bottom: 5px;
}

.game-header {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.icon-container {
  flex: 25%;
  max-width: 25%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 10px;
}

.icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.name-rating {
  flex: 55%;
  max-width: 55%;
  padding: 10px;
}

.name-rating p {
  margin: 0;
  font-size: 5vw;
  font-weight: 500;
  font-style: normal;
  text-overflow: ellipsis;
  color: white;
  white-space: nowrap;
  overflow: hidden;
}

.stars {
  margin-top: 2vw;
  font-size: 5vw;
  line-height: 5vw;
}

.checked {
  color: #ffc91b;
}

.go-down {
  flex: 20%;
  max-width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.go-down button {
  flex: 80%;
  max-width: 80%;
  aspect-ratio: 1/1;
  border: 2px solid white;
  border-radius: 10px;
  color: white;
  background-color: #ff891b;
  font-size: 5vw;
}

.no-download-1 {
  margin-top: 20px;
}

.screens {
  margin-top: 20px;
}

.screenshots {
  overflow: scroll;
  display: flex;
  scrollbar-width: none;
  margin-top: 10px;
}

.screenshots::-webkit-scrollbar {
  display: none;
}

.screenshots img {
  height: 40vw;
  object-fit: fill;
  border-radius: 7px;
  margin-right: 10px;
}

.screens p {
  margin: 0;
  text-align: center;
  font-weight: 500;
  font-style: normal;
  color: white;
}

.game-play {
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  margin: 0;
  margin-top: 20px;
}

.game-play h4 {
  text-align: center;
  font-size: 5vw;
  margin: 0;
}

.description {
  padding: 10px;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.play-icon {
  margin-top: 10px;
  margin-bottom: 15px;
  width: 35vw;
  height: 35vw;
  border-radius: 10px;
  border: 2px solid white;
  overflow: hidden;
}

.play-icon img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.play-now {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 5px 0;
}

.play-now button {
  width: 80%;
  padding-top: 10px;
  color: white;
  padding-bottom: 10px;
  border: 2px solid #ffffff;
  border-radius: 100px;
  background-color: #ff891b;
  font-weight: 600;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-now button i {
  margin-right: 20px;
  font-size: 6vw;
  animation: slideRight 0.3s infinite;
}

@keyframes slideRight {
  0% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(5px);
  }
}

.about-game {
  margin-top: 20px;
  color: white;
}

.about-game h4 {
  text-align: center;
  font-size: 5vw;
  margin: 0;
  padding: 5px;
}

.about-us {
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  margin: 20px 10px 20px 10px;
}

.about-us h4 {
  text-align: center;
  font-size: 6vw;
}

.h5-game-info {
  background-color: #7443f0;
  color: white;
  margin: 0;
}

.h5-game-info h4 {
  font-size: 4vw;
}

.h5-play-now button {
  width: 80%;
  padding-top: 8px;
  color: white;
  padding-bottom: 8px;
}

.h5-play-icon {
  display: inline-block;
  position: relative;
  margin-top: 5px;
  margin-bottom: 10px;
  width: 27vw;
  height: 27vw;
}

.h5-play-now {
  margin: 10px 0 5px 0;
}

.h5-play-icon .icon-h5 {
  z-index: 999;
  position: absolute;
  height: 50px;
  width: 50px;
  bottom: 0;
  left: 0;
}

.h5-game-icon {
  display: inline-block;
  position: relative;
  width: 95%;
  height: 95%;
  border: 2px solid white;
  border-radius: 10px;
  overflow: hidden;
}

.h5-icon {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.h5-lebel {
  z-index: 999;
  position: absolute;
  height: auto;
  width: 50%;
  bottom: 0;
  left: 0;
}

#home-btn {
  z-index: 999;
  width: 60px;
  height: 62px;
  background: url(./images/home-icon.webp) no-repeat;
  position: fixed;
  top: 5px;
  left: 5px;
}

.game-container {
  max-width: 100%;
  height: 90vh;
  height: 90dvh;
}

.bottom-games {
  /* max-width: 100%; */
  max-height: 10vh;
  max-height: 10dvh;
  height: 10vh;
  height: 10dvh;
  background-color: #690fb6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-games a {
  border: 2px solid white;
  border-radius: 10px;
  overflow: hidden;
  margin: 5px;
  max-width: 8vh;
  max-width: 8dvh;
  height: 8vh;
  height: 8dvh;
}

.bottom-games img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#dialog-container {
  z-index: 1000;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #000000c7;
  display: none;
  justify-content: space-around;
  align-items: center;
}

.dialog {
  position: relative;
  background-color: #7443f0;
  width: 80dvw;
  width: 80vw;
  height: 80dvw;
  height: 80vw;
  border-radius: 15px;
  padding: 10px;
}

#close-btn {
  position: absolute;
  right: 5px;
  top: 5px;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: 100%;
}

.dialog h3 {
  text-align: center;
  font-style: normal;
  color: white;
}

#inter-ad-container {
  display: none;
  position: fixed;
  width: 100dvw;
  width: 100vw;
  height: 100dvh;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 99999;
  /* display: flex;
  flex-flow: row wrap;
  justify-content: center; */
  /* align-items: center; */
  background: #000000f0;
  color: #fff;
}

#inter-ad-content {
  width: 100%;
  height: 95%;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  overflow: hidden;
}

.skip {
  position: fixed;
  bottom: 5%;
  right: 0;
}

#skip-btn {
  height: 40px;
  min-width: 100px;
  background-color: black;
  color: white;
  border-color: rgb(184, 184, 184);
  border-width: 1.5px 0 1.5px 1.5px;
  border-style: solid;
  font-size: 16px;
  border-radius: 5px 0 0 5px;
}

#skip-btn:hover {
  background-color: #690fb6;
}

.close-ad-button {
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (orientation: landscape) {
  .body {
    font-size: 1vh;
  }

  .game-container {
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
  }

  .bottom-games {
    /* max-height: 10vh; */
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 10vw;
    width: 10vw;
    background-color: #690fb6;
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 0;
  }

  .bottom-games a {
    border: 2px solid white;
    border-radius: 10px;
    overflow: hidden;
    margin: 5px;
    min-width: 8vw;
    min-height: 8vw;
  }
}


/**** detail loading box ***/
.overlay,.loading-box {
  position: relative;
}

.overlay:before,.loading-box:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
}

.overlay:before,.loading-box:before {
  border: 1rem solid hsla(0, 0%, 100%, 0.123);
  border-top-color: #ff891b;
  border-radius: 50%;
  animation: turnAround .6s linear infinite;
  width: 5.25rem;
  height: 5.25rem;
}

@keyframes turnAround {
  0% {
      transform: translate(-50%,-50%) rotate(0)
  }

  to {
      transform: translate(-50%,-50%) rotate(359deg)
  }
}

.desc-play .loading {
  background: #b9bcb9;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,.4);
  z-index: 10000;
}

