/* ------------ home game cards ------------ */
.container.cards { flex-direction: row; flex-wrap: wrap; }

.card {
  text-decoration: none;
  display: flex;
  position: relative;
  flex-direction: column;
  z-index: 2;
  width: min(80vh, 80vw);
  aspect-ratio: 16 / 9;
  margin: 3%;
  overflow: hidden;
  /*
  border: .3vw solid;
  border-image: linear-gradient(to right, rgba(255,255,255,0) 80%, var(--third-color) 80%, var(--third-color) 100%) 1;
  */
  border: solid;
  border-width: 2px;
  border-color: var(--fourth-color);
}

.card img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  position: absolute;
}

.card p {
  text-align: left;
  width: 100%;
  margin: 3%;
  margin-bottom: 0%;
  z-index: 1;
  pointer-events: none;
  font-size: 2vw;
}

.card .big {
  font-size: 3vw;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  margin-bottom: 2%;
}

.card.horizontal { width: min(160vh, 80vw); aspect-ratio: 21 / 8; }

@media (max-width: 600px) {
  .card, .card.horizontal {
    width: 98vw;
    aspect-ratio: 1 / 1;
    margin: 5vh 0;
  }
}

/* ------------ home video ------------ */
#hometitle { position: absolute; z-index: 3; }
#homevideo { width: 100%; }
#homevideodecoration, #homegradient { position: absolute; height: 100%; }
#homegradient {
  background: linear-gradient(to bottom, rgba(var(--primary-color), 0) 0%, rgba(var(--primary-color), 1) 90%);
}

#homevideodecoration {
  opacity: .5;
  background: url(R-AXP/Separator.png);
  background-repeat: repeat-x;
  background-size: 100% auto;
  background-position: bottom;
}