* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Nexa";
  src: url("../fonts/nexalight.otf") format("opentype");
  font-weight: normal;
}

@font-face {
  font-family: "Nexa";
  src: url("../fonts/nexabold.otf") format("opentype");
  font-weight: bold;
}

body {
  font-family: "Nexa", Arial, sans-serif;
}

.wrapper {
  background: black;
  width: 100vw;
  height: 100vh;
  position: relative;
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.6;
}

.main-body {
  width: 80%;
  margin: 0 auto;
  top: 100px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 5;
  padding: 40px 20px;
  color: white;
  text-align: center;
  max-height: 80vh;
  overflow: auto;
}

.main-body .games-cont {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.main-body .game {
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 6, 6, 0.8);
}

.main-body .game:hover {
  background: rgba(20, 20, 20, 0.8);
}

.main-body .game img {
  width: 100%;
}

.main-body h1, .main-body h2 {
  text-align: center;
}

.power-by {
  margin: 0 auto;
  width: 500px;
  max-width: 100%;
  font-size: 15px;
  text-transform: uppercase;
  text-align: left;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.power-by img {
  height: 120px;
}

.success {
  top: 0;
  position: absolute;
  width: 100vw;
  left: 0;
  height: 100vh;
  background: rgba(2, 99, 7, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 27px;
  padding: 20px;
  text-align: center;
  color: white;
  font-weight: bold;
  z-index: 999;
}