/*reset.css*/

/* Utiliser border-box partout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Supprimer uniquement la marge extérieure de la page */
body {
  min-height: 100vh;
  margin: 0;
  line-height: 1.5;
  font-family: "Times New Roman", Times, serif;
}

/* Empêcher les médias de dépasser leur conteneur */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Utiliser la même police que le reste de la page */
button,
input,
textarea,
select {
  font: inherit;
}

/* Autoriser seulement le redimensionnement vertical */
textarea {
  resize: vertical;
}

/*end reset.css*/

#playing-cards {
  width: 80%;
  margin-top: 5%;
  margin-inline: auto;
  padding: 2rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 20px;
  background-color: thistle;
}


.card {
  height: 350px;
  border: 1px solid black;
  flex: 0 0 250px;
  padding: 0.3rem;
  border-radius: 8px;
  box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.5);
  background-color: white;
  transition: transform 0.3s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {

  transform: scale(1.1);
}

.card span {
  display: block;
  font-weight: bold;
}

.left {
  font-size: 1.2rem;
  align-self: flex-start;
}

.middle {
  font-size: 4rem;
  align-self: center;

  display: flex;
  flex-direction: column;
}

.right {
  font-size: 1.2rem;
  align-self: flex-end;
}

.rotate-180 {
  transform: rotate(180deg);
}

.red {
  color: red;
}

.text-3xl {
  font-size: 3rem;
}