*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --main-color: #272b30;
  --second-color: #32383e;
}

body {
  font-family: "Comfortaa", cursive;
  min-height: 100%;
  min-width: 100%;
  background-color: var(--main-color);
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
.view-btn {
  font-family: cursive;
  color: #fff !important;
}

a,
p,
span {
  color: inherit !important;
}
.nav-item .nav-link{
  color: #fff;
}
.nav-item .nav-link.active,
.nav-item .nav-link:hover {
  color: #09c !important;
  transition: color 0.5s;
}

.badge-color {
  background-color: var(--second-color);
}

.hero-img {
  height: 30vh;
  max-height: 30vh;
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.7),
      rgba(15, 23, 42, 0.7)
    ),
    url("../images/hero.webp");
}
.mynav {
  background-color: rgb(58, 73, 123);
  margin-top: -30px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgb(0 0 0 / 0.7);
}
.mynav .navbar-brand {
  letter-spacing: 2px;
}

.games-section .card {
  filter: grayscale(0.7);
  transition: transform 0.5s, filter 0.5s 0.1s;
}

.games-section .card:hover {
  transform: scale(1.05);
  filter: grayscale(0);
}

/***** Loader *****/
.loading {
  inset: 0;
  background-color: rgba(39, 43, 48, 0.7);
}
.loader {
  width: 96px;
  box-sizing: content-box;
  height: 48px;
  background: #fff;
  border-color: #000;
  border-style: solid;
  border-width: 2px 2px 50px 2px;
  border-radius: 100%;
  position: relative;
  animation: 1s yinYang linear infinite;
}
.loader:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  background: #fff;
  border: 18px solid #000;
  border-radius: 100%;
  width: 12px;
  height: 12px;
  box-sizing: content-box;
}
.loader:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #000;
  border: 18px solid #fff;
  border-radius: 100%;
  width: 12px;
  height: 12px;
  box-sizing: content-box;
}
@keyframes yinYang {
  100% {
    transform: rotate(360deg);
  }
}
