body {
  font-family: Tahoma, sans-serif;
  background-color: #d9cbbf;
  color: #2a3340;
  margin: 0;
  padding: 20px;
  overflow-x: clip;
}

h1 {
  text-align: center;
  color: #2a3340;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

h2 {
  margin: 0;
  text-align: center;
  color: #2a3340;
}

#playing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 20px;
  width: 80%;
  margin: 0 auto;
  min-height: calc(100vh - 40px);
}

.card {
  display: flex;
  justify-content: center;
  flex: 0 1 calc((100% - 40px) / 3);
  height: calc((100vh - 100px) / 2);
  box-sizing: border-box;
}

.card img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.3s ease;
  position: relative;
}

#card1 img:hover,
#card2 img:hover,
#card3 img:hover {
  transform: translateY(25%) scale(1.5);
  z-index: 10;
}

#card4 img:hover,
#card5 img:hover {
  transform: translateY(-25%) scale(1.5);
  z-index: 10;
}

#reflection {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: #b4b4aa;
  color: #2a3340;
  border: 3px solid #5f6d73;
  border-radius: 20px;
}

#reflection h2 {
  color: #2a3340;
  border-bottom: 3px solid #bf8c6f;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

#reflection article {
  background-color: #f2eae3;
  border-left: 5px solid #bf8c6f;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

#reflection article h3 {
  color: #5f6d73;
  margin-top: 0;
}

#reflection article p {
  line-height: 1.6;
}
