.header {
  /* margin-bottom: 1.5rem;
    padding: 1.5rem; */

  background-color: #ff4400dc;
  width: 100%;
}

.header-content {
  display: flex;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.header-img {
  height: 2rem;
  max-width: 100%;
}

a {
  text-decoration: none;
}
.searchbtn {
  width: 32px;
  height: 32px;
}
.content {
  background-color: #2f003d;
  width: 100%;
  height: auto;
}

.loading .dong {
  color: #ff6f00;
  margin-top: 60px;
  padding: 10px 8px 40px;
  animation: bounce 1s ease-in-out infinite;
  font-family: sans-serif;
  /* font-weight: bold; */
}
.loading .dong:nth-child(1) {
  animation-delay: 0s;
}
.loading .dong:nth-child(2) {
  animation-delay: 0.1s;
}
.loading .dong:nth-child(3) {
  animation-delay: 0.2s;
}
.loading .dong:nth-child(4) {
  animation-delay: 0.3s;
}
.loading .dong:nth-child(5) {
  animation-delay: 0.4s;
}
.loading .dong:nth-child(6) {
  animation-delay: 0.5s;
}
.loading .dong:nth-child(7) {
  animation-delay: 0.6s;
}
.loading .dong:nth-child(8) {
  animation-delay: 0.7s;
}
.loading .dong:nth-child(9) {
  animation-delay: 0.8s;
}
.loading .dong:nth-child(10) {
  animation-delay: 0.9s;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.footer {
  width: 100%;
  background-color: #ff4400dc;
}
.footer .bottom-navbar {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
  background-color: #ff4400dc;
  margin-top: 20px;
}
.footer .bottom-navbar a {
  font-family: sans-serif;
  font-size: 18px;
  color: white;
  display: inline-block;
}

@media (max-width: 782px) {
  .loading .dong {
    font-size: 28px;
    float: left;
  }
  .loading {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    overflow: hidden;
  }
  .ads {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }

  .game-text {
    float: left;
    margin-left: 20px;
    font-family: sans-serif;
    font-size: 24px;
  }
  .return {
    float: right;
    margin-top: 25px;
    margin-right: 20px;
  }

  .category-list {
    position: absolute;
    left: 0;
    top: 60px;
    width: 250px;
    height: 528px;
    background-color: #0099ff;
    z-index: 999;
    border-top: 1px solid #000;
  }

  .search-content {
    margin-right: 6%;
    position: relative;
    margin-top: 20px;
    height: 60px;
    width: 190px;
  }

  .more-game {
    width: 100%;
    height: auto;
  }

  .game-title {
    width: 100%;
    height: auto;
  }

  .game-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    overflow: hidden;
    justify-items: center;
  }
  .everdaygame {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 40%);
    margin-bottom: 5px;
  }
  .search-game {
    width: 120px;
    height: 120px;
  }

  .footer .bottom-navbar a {
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 10px;
    text-decoration: underline;
    font-size: 14px;
  }
}

@media (min-width: 782px) {
  .loading .dong {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    float: left;
  }
  .loading {
    display: flex;
    align-content: center;
    justify-content: center;
    margin: auto;
    height: 200px;
  }
  .ads {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }

  .game-text {
    float: left;
    margin-left: 20px;
    font-family: sans-serif;
    font-size: 24px;
  }
  .return {
    float: right;
    margin-top: 25px;
    margin-right: 20px;
  }

  .category-list {
    position: absolute;
    left: 0;
    top: 60px;
    border: 1px solid #ff4400dc;
    width: 250px;
    height: 520px;
    background-color: #ff4400dc;
    z-index: 999;
    border-top: 1px solid #000;
  }
  .search-content {
    position: relative;
    margin-top: 20px;
    height: 60px;
    margin-left: 15px;
  }

  .more-game {
    width: 100%;
    height: auto;
  }

  .game-title {
    width: 100%;
    height: auto;
  }

  .game-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    gap: 5px;
    overflow: hidden;
  }
  .everdaygame {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 40%);
    margin-bottom: 5px;
  }
  .search-game {
    width: 180px;
    height: 180px;
  }

  .footer .bottom-navbar a {
    margin-top: 20px;
    margin-right: 10%;
    margin-left: 10%;
    text-decoration: underline;
    font-size: 18px;
  }
}
