body {
  margin: 0;
  background: url("../img/bg.png") no-repeat;
  background-size: 100% 100%;
  box-sizing: border-box;
}
.ad{
  display: flex;
  align-items: center;
  justify-self: center;
}

#content {
  width: 100%;
  padding: 20px;
  position: relative;
  box-sizing: border-box;
  margin-bottom: 80px;
  min-height: calc(100vh - 200px);
}
.content_wrapper,
#related-games {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 20px;
  grid-auto-flow: dense;
  box-sizing: border-box;
}
#content .content_item {
  aspect-ratio: 1 / 1;
  position: relative;
  box-sizing: border-box;
}

#content .content_item .game_icon {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  border-radius: 0.5rem;
  border: 1px solid #efefef;
  box-shadow: 3px 4px 5px #9e9e9e, 0 0 #012f47;
  box-sizing: border-box;
  background: #fff;
  cursor: pointer;
}

.intro{
  width: 90%;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
  margin: 0 auto;
  margin-bottom: 120px;
  border-radius: 10px;
}
.intro a{
  
}

.item_2 {
  grid-column: span 2;
  grid-row: span 2;
}
.item_3 {
  grid-column: span 3;
  grid-row: span 3;
}
#content .content_sticky {
  position: sticky;
  top: 0;
  z-index: 9;
}
#nav {
  width: calc(200% + 20px);
  height: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px #333;
  position: relative;
}

#nav .logo {
  width: 100%;
  padding: 10px 30px;
  box-sizing: border-box;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #ffefef;
}

#nav .logo img {
  width: 100%;
}

#nav .nav_btn {
  display: flex;
  align-items: center;
  height: 50%;
}

.home_btn,
.search_btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.home_btn {
  border-right: 2px solid #ffefef;
}
.home_btn img,
.search_btn img {
  width: 30px;
}

.nav_btn {
  display: flex;
  align-items: center;
}

.show {
  display: block !important;
}

.hide {
  display: none !important;
}
.content_category {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  font-weight: 700;
  color: #999;
  background: linear-gradient(135deg, #ada996, #f2f2f2, #dbdbdb, #eaeaea);
  border-radius: 10px;
  font-size: 18px;
}
.search {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 10px;
  z-index: 1;
  box-shadow: 0 0 10px #333;
  background: #fff;
  overflow: hidden;
}

.search .search_input {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #ffefef;
  width: 100%;
  padding: 5px 10px;
  box-sizing: border-box;
}

.search .search_input .input {
  flex: 1;
}

.search .search_input .input input {
  border: none;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.search .search_input img {
  width: 30px;
}

.search_category {
  padding: 10px 30px;
  box-sizing: border-box;
}

.search_category .search_category_item {
  margin-bottom: 15px;
  color: #261836;
  font-size: 13px;
}

.search_category .search_category_item:last-child {
  margin-bottom: 0;
}

.no-result{
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  position: absolute;
  color: #333;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

footer {
  width: 100%;
  background: #fff;
  flex-direction: column;
  position: relative;
  display: flex;
  align-items: center;
}
footer::after {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  background: #fff;
  border-radius: 50% 50% 0 0;
  position: absolute;
  top: -80px;
  left: 0;
}
footer .link {
  color: #474747;
  font-size: 14px;
  display: flex;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
footer a {
  text-decoration: none;
  color: #474747;
}
footer a:hover {
  cursor: pointer;
  color: #ffb900;
  text-decoration: underline;
}
footer p {
  color: #474747;
  font-size: 14px;
}
.about{
  display: flex;
  flex-direction: column;
}
.about .contact_us, .about .about_us {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 10px;
}
.about img{
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

@media (max-width: 768px) {
  #content {
    padding: 10px 15px;
  }
  .content_wrapper {
    gap: 10px;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
  }
  #nav {
    width: calc(200% + 10px);
  }

  footer::after {
    height: 40px;
    background: #fff;
    border-radius: 50% 50% 0 0;
    position: absolute;
    top: -40px;
    left: 0;
  }
  footer .link {
    margin-bottom: 10px;
  }
}
.ads{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#div-gpt-ad-1741731034688{
  margin: 0 auto;
}