* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}
body {
  width: 100%;
  height: 100vh;
  background-color: #231f20;
}
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #232323;
}

header .logo {
  margin-left: 10vh;
  color: white;
  font-weight: 700;
  text-decoration: none;
  font-size: 2rem;
  text-transform: uppercase;
}

header .logo span {
  color: #e63946;
}

header ul {
  margin-right: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li {
  list-style: none;
  margin-left: 20px;
}

header ul li a {
  text-decoration: none;
  padding: 6px 25px;
  color: white;
  border-radius: 20px;
  transition: 200ms;
  font-weight: 400;
}

header ul li a:hover,
header ul li a.active {
  background: white;
  color: #2b1055;
  transform: scale(2);
  transition: 500ms;
  font-weight: 500;
}

.games {
  width: 90%;
  margin-left: 5%;
  height: 100vh;
  margin-top: 15vh;
  display: flex;
  flex-direction: row;
}

.game {
  width: 20vh;
  height: 27.5vh;
  margin: 1vh;
  background-color: #232323;
  border-radius: 2vh;
  justify-content: center;
  transition: 0.1s;
  box-shadow: 0 0.28px 0.22px rgba(0, 0, 0, 0.034),
    0 0.67px 0.53px rgba(0, 0, 0, 0.048), 0 1.25px 1px rgba(0, 0, 0, 0.06),
    0 2.23px 1.79px rgba(0, 0, 0, 0.072), 0 4.18px 3.34px rgba(0, 0, 0, 0.086),
    0 10px 8px rgba(0, 0, 0, 0.12);
}

.game:hover {
  background-color: #353535;
  transform: scale(105%);
  transition: 0.3s;
  box-shadow: 0 0.54px 0.44px rgba(0, 0, 0, 0.034),
    0 1.2px 1px rgba(0, 0, 0, 0.048), 0 2.5px 2px rgba(0, 0, 0, 0.06),
    0 4px 3px rgba(0, 0, 0, 0.072), 0 8.8px 6px rgba(0, 0, 0, 0.086),
    0 20px 16px rgba(0, 0, 0, 0.12);
}

.game img {
  width: 18vh;
  border-radius: 2vh;
  margin: 1vh;
}

.game h1 {
  width: 20vh;
  font-size: 25px;
  font-weight: 800;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.load-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  background-color: #231f20;
}

.load {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /*change these sizes to fit into your project*/
  width: 50px;
  height: 50px;
}
.load hr {
  border: 0;
  margin: 0;
  width: 40%;
  height: 40%;
  position: absolute;
  border-radius: 50%;
  animation: spin 2s ease infinite;
}

.load :first-child {
  background: #fff;
  animation-delay: -1.5s;
}
.load :nth-child(2) {
  background: #e63946;
  animation-delay: -1s;
}
.load :nth-child(3) {
  background: #fff;
  animation-delay: -0.5s;
}
.load :last-child {
  background: #e63946;
}

@keyframes spin {
  0%,
  100% {
    transform: translate(0);
  }
  25% {
    transform: translate(160%);
  }
  50% {
    transform: translate(160%, 160%);
  }
  75% {
    transform: translate(0, 160%);
  }
}
