:root {
  --swiper-navigation-size: 20px;
}
body {
  font-family: "Boogaloo", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: #1e1e1e;
  height: 100vh;
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
}
.btn-light {
  background: #eff0f3;
  border: 2px double #343849;
}
.btn-primary {
  background: #1e1e1e;
  border: 2px solid #ffffff;
}
.btn-primary:hover {
  background-color: #00b87e;
  border: 2px solid #ffffff;
}
.nav-link-primary {
  text-decoration: none;
  color: #000;
}
.nav-links {
  text-decoration: none;
  color: #ede2e2;
}
.nav-links:hover {
  color: #000;
}
.swiper-button-prev:after {
  margin-left: 32px;
}

.swiper-button-next:after {
  margin-right: 32px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-weight: bolder;
  color: #1e1e1e;
  background-color: #fff;
  border-radius: 100px;
  padding: 14px 18px;
}

.tm-header {
  width: 100%;
  padding: 10px 0;
  background-color: #00b87e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.d-flex {
  width: 100%;
}
.mb-4 {
  margin: 0 !important;
}
.gap-2 {
  overflow-y: scroll;
  scrollbar-width: none;
  width: -webkit-fill-available;
}
.tm-logo {
  width: 150px;
  height: auto;
  margin-right: 10px;
}
.tm-games-small img {
  width: 203.5px;
  height: 125px;
  border: 2px solid #ffffffc4;
}

.tm-card {
  color: unset;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}
.game-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgb(0 0 0 / 23%), rgb(0 0 0 / 84%));
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  padding-bottom: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid #00b87e;
}
.tm-card:hover .game-image-overlay {
  opacity: 1;
}
.tm-games-small {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
}
.tm-card h5 {
  color: #ffffff;
  margin-top: 10px;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  padding: 0 10px;
}
.game-image-cta {
  width: 120px;
  height: 30px;
  background-color: #00b87e;
  color: #fff;
  border-radius: 10px;
  border: 2px solid #fff;
  font-size: 1rem;
}
.tm-game-card-lg {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  text-align: left;
  border-radius: 20px;
}

.tm-content {
  padding: 17px 12px;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
}

.tm-game-card-lg.shadow {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px !important;
}

.tm-game-card-lg h5 {
  font-size: 18px;
  color: #000251;
  margin-bottom: 0;
}

.tm-game-card-lg img {
  border-radius: 20px 20px 0 0;
}

.tm-game-card-lg button {
  width: 100px;
}
.tm-heading {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #e3e3e3;
  text-transform: uppercase;
  background-color: #00b87e;
  padding: 10px;
  border: 2px solid #ffffff;
  border-radius: 20px;
}
.img-responsive-rounded {
  border-radius: 20px;
  background-color: #000000e4;
}
.img-responsive-rounded:hover {
  transform: scale(1.1);
}
footer {
  width: 100%;
  bottom: 0;
  padding: 10px;
  background: #00b87e;
  color: #fff;
}
@media (max-width: 1200px) and (min-width: 1024px) {
  .tm-games-small {
    gap: 15px;
  }
  .tm-games-small img {
    width: 300px;
    height: 170px;
  }
}
@media (max-width: 1024px) and (min-width: 992px) {
  .tm-games-small {
    gap: 30px;
  }
  .tm-games-small img {
    width: 290px;
    height: 160px;
  }
}
@media (max-width: 992px) and (min-width: 768px) {
  .tm-games-small {
    gap: 18px;
  }
  .tm-games-small img {
    width: 220px;
    height: 130px;
  }
}
@media (max-width: 768px) and (min-width: 600px) {
  .tm-games-small {
    gap: 12px;
  }
  .tm-games-small img {
    width: 220px;
    height: 130px;
  }
}
@media (max-width: 600px) and (min-width: 460px) {
  .tm-games-small {
    gap: 10px;
  }
  .tm-games-small img {
    width: 160px;
    height: 100px;
    border-radius: 16px !important;
  }
}
@media (max-width: 460px) and (min-width: 390px) {
  .tm-games-small {
    justify-content: space-between !important;
  }
  .tm-games-small img {
    width: 170px;
    height: 98px;
  }
}
@media (max-width: 390px) and (min-width: 320px) {
  .tm-games-small {
    justify-content: space-between !important;
  }
  .tm-games-small img {
    width: 140px;
    height: 89px;
  }
}
@media screen and (max-width: 320px) {
  .tm-games-small {
    justify-content: space-between !important;
  }
  .tm-games-small img {
    width: 130px;
    height: 80px;
  }
}
@media screen and (max-width: 1200px) {
  .tm-header .gap-2 {
    overflow-y: scroll;
    width: -webkit-fill-available;
  }
}
@media only screen and (max-width: 600px) {
  .tm-header {
    padding-left: 0;
    padding-right: 0;
  }
  .tm-header .align-items-center {
    align-items: center !important;
  }
  .tm-header {
    width: 100%;
  }
  .tm-header .gap-2 {
    overflow-y: scroll;
    width: -webkit-fill-available;
  }
  .tm-card h5 {
    font-size: 13px;
  }
  .tm-game-card-lg h5 {
    font-size: 16px;
  }
  .tm-game-card-lg button {
    font-size: 13px;
  }
  .tm-game-card-lg button {
    width: 80px;
  }
  h3.tm-heading {
    font-size: 16px;
  }
  .gap-2 button {
    font-size: 12px;
  }
}
