body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100vh;
  font-family: 'Montserrat', sans-serif;
  background: #28282B;
}

h1 {
  margin: 50px 0px;
  color: #eeeeee;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.card-pile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  width: 250px;
  cursor: pointer;
}

.card-front,
.card-back {
  width: 100%;
  height: 100%;
}

.card .card-front,
.card .card-back {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card .card-front img,
.card .card-back img {
  width: 100%;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-10px);
}

@media screen and (max-width: 1080px) {

  body {
    height: unset;
  }

  .container {
    flex-direction: column;
    gap: 20px;
  }

  h1 {
    margin: 30px 0px;
  }

  .card {
    width: 210px;
  }

  .card:hover {
    transform: translateY(0px);
  }

 }