#tarot-output {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  position: relative; /* Voor positionering van printknop */
}

.tarot-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 180px;
  text-align: center;
}

.tarot-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.tarot-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.tarot-card p {
  font-size: 0.9rem;
  color: #555;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.print-button {
  position: absolute;
  top: 0;
  right: 0;
  margin: 10px;
  padding: 6px 10px;
  font-size: 14px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.print-button:hover {
  background-color: #005b8c;
}