.games {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.game {
  display: block;
  position: relative;
  width: 75vw;
  height: 75vw;
  min-width: 250px;
  min-height: 250px;
  max-width: 300px;
  max-height: 300px;
  margin: 25px;
  border-radius: 50%;
  border: 15px solid var(--color-primary);
  background: #00000088;
  box-shadow: 0px 0px 10px 3px black;
  animation: moveGameY 4s ease-in-out infinite alternate;
}

.game img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 0.5s ease-out;
}
.game img:hover {
  transform: scale(1.05);
  transition: transform 2s cubic-bezier(0, 0.6, 0.9, 1);
  cursor: pointer;
}

.game .info {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  font-family: var(--font-brand);
  font-size: var(--font-large);
  color: white;
  border-radius: 50%;
  text-align: center;
  box-sizing: border-box;
  padding-top: 75%;
  text-shadow:
    2px 0px 3px black,
    -2px 0px 3px black,
    0px 2px 3px black,
    0px -2px 3px black;
  pointer-events: none;
}

.game .info .contribution {
  margin-top: 5px;
  font-size: var(--font-small);
}

.game:nth-child(4n+0) {
  animation-delay: 0.0s;
}
.game:nth-child(4n+1) {
  animation-delay: 1.8s;
}
.game:nth-child(4n+2) {
  animation-delay: 0.6s;
}
.game:nth-child(4n+3) {
  animation-delay: 2.4s;
}

@keyframes moveGameY {
  0% {
    transform: translate(0px, 0px);
  }
  30% {
    transform: translate(0px, -5px);
  }
  70% {
    transform: translate(0px, 5px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}
