/* .card{
    max-width: 360px;
} */

/* Corrección del valor de min-height en body */
body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh; /* Corregido de 100dvh a 100vh */
}

/* Asegurarse de que el contenido principal ocupe el espacio disponible */

.landing-logo-container {
  max-width: 300px;
}

.carousel-item > img {
  filter: brightness(30%);
}

:root {
  --w: calc(70vw / 6);
  --h: calc(70vh / 4);
}

main > * {
  transition: all 0.5s;
}

main {
  padding: 0;
  margin: 0;
  -webkit-perspective: 1000;
  background: powderblue;
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: calibri;
}

div {
  display: inline-block;
}

.area-tarjeta,
.tarjeta,
.cara {
  cursor: pointer;
  width: var(--w);
  min-width: 100px;
  height: var(--h);
}

.tarjeta {
  position: relative;
  transform-style: preserve-3d;
  animation: iniciar 2.5s;
}

.cara {
  position: absolute;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 5px white;
  font-size: 500%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trasera {
  background-color: lightcyan;
  transform: rotateY(180deg);
}

.superior {
  background: linear-gradient(#bada5f, #a7cd2c);
}

.nuevo-juego {
  cursor: pointer;
  background: linear-gradient(#bada5f, #a7cd2c);
  padding: 20px;
  border-radius: 50px;
  border: white 5px solid;
  font-size: 130%;
}



@keyframes iniciar {

  20%,
  90% {
      transform: rotateY(180deg);
  }

  0%,
  100% {
      transform: rotateY(0deg);
  }
}
