/*
games
*/
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-container {
  display: flex;
  width: 100%;
  min-width: 16rem;
  max-width: 26rem;
  gap: .5rem;
}
.search-bar-container {
  display: flex;
  height: 2.5rem;
  width: 100%;
  background-color: #274032;
  border-radius: 1.25rem;
  border: .1rem dashed #5bb48d;
}
.search-bar {
  height: 2.5rem;
  width: 100%;
  color: white;
  border: none;
  font-size: 1.75rem;
  font-family: 'Outfit', sans-serif;
  background-color: transparent;
}
.search-bar::placeholder{
  color: white;
  opacity: .5;
}
.search-bar-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  padding: .25rem;
  opacity: .5;
  transition: transform 0.2s ease;
}
.search-icon {
  border-radius: 1.25rem;
  background-color: #274032;
  border: .1rem dashed #5bb48d;
  display: inline-block;
  width: 2rem;
  height: 2rem;
  padding: .25rem;
  transition: transform 0.2s ease;
}
.game-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: .75rem;
  width: 100%;
}
.game-card {
  flex: 1 1 16rem;
  min-width: 16rem;
  border-radius: 1.5rem;
  border: .1rem dashed #5bb48d;
  padding: .75rem;
  display: flex;
  background-color: #2f513f;
  transition: transform 0.2s ease;
}
.game-icon {
  width: 5rem;
  height: 5rem;
  border-radius: .75rem;
  display: block;
  margin-right: .75rem;
}
.game-other {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.game-title {
  font-size: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: white;
  margin: 0;
}
.game-text-container {
  display: flex;
  flex-direction: column;
}
.game-text {
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: white;
  margin: 0;
  display: block;
}
.game-card:hover, .search-icon:hover, .search-bar-icon#close:hover {
  cursor: pointer;
  transform: scale(1.2) rotate(3deg);
}

/*
ads
*/
.ad-card {
  flex: 1 1 16rem;
  min-width: 16rem;
  min-height: 12rem;
  border-radius: 1.5rem;
  border: .1rem dashed #5bb48d;
  padding: .75rem;
  display: flex;
  background-color: #2f513f;
  transition: transform 0.2s ease;
}