/* !=========> Start Global Rules */

:root {
  --main-color: #272b30;
  --seconde-color: #32383e;
  --color-text: #ffffff;
}

body {
  font-family: "Comfortaa", cursive;
  background-color: var(--main-color);
  color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nerko One", cursive;
  color: var(--color-text) !important;
}

a,
span,
p {
  font-family: "Nerko One", cursive;
  color: var(--color-text) !important;
}
/* !=========> End Global Rules */

/* ?=========== Theme */

::-webkit-scrollbar {
  width: 0.625rem;
}

::-webkit-scrollbar-track {
  background-color: var(--main-color);
  border-radius: 50px;
  box-shadow: 0 0 5px rgb(0, 0, 0.5) inset;
}

::-webkit-scrollbar-thumb {
  background-color: var(--seconde-color);
}

/* ?=========== Theme */

/*** Header *****/
.games img {
  max-height: 170px;
  object-fit: cover;
}
/*** Header *****/

/*** nav *****/
.games .game-nav {
  background-color: rgb(58, 73, 123);
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.games ul li a {
  font-size: 12px;
}

.nav-link.active {
  color: #09c !important;
}

.nav-link:hover {
  color: #09c !important;
  transition: color 0.5s;
}
/*** nav *****/

/*** card *****/
.badge-color {
  background-color: var(--seconde-color);
}
/*** card *****/

/*** Home *****/
.home .card {
  filter: grayscale(0.7);
  transition: all 0.5s;
}
.home .card:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}
/*** Home *****/

/*** loading *****/
.loading {
  position: fixed;
  z-index: 9999;
  background-color: #272b30e3;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader {
  width: 48px;
  height: 48px;
  border: 10px solid #fff;
  border-radius: 50%;
  position: relative;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.loader::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  inset: -10px;
  border-radius: 50%;
  border: 10px solid #ff3d00;
  animation: prixClipFix 2s infinite linear;
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}
/*** loading *****/
