.centerBox {
  max-width: 300px;
  margin: auto;
}

.cardDimensions {
  width: 300px;
  height: 450px;
}

.color-background-grey {
  background-color: rgb(244, 240, 228) !important;
  opacity: 1;
}

.color-background-card {
  background-color: rgb(236, 143, 141) !important;
  opacity: 1;
}

.font-color-white {
  color: rgb(244, 240, 228) !important;
}

.photo-card {
  width: 100px;
  height: 100px;
  position: relative;
  overflow: hidden;
}
button {
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

button:hover {
  filter: brightness(0.9);
}

button:active {
  background-color: rgb(68, 161, 148) !important;
  color: rgb(244, 240, 228) !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.18);
  transform: scale(0.98);
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.photo-img:hover {
  transform: scale(1.05) !important;
}

.result-icon {
  position: absolute;
  inset: 0;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.border-wrong {
  border: 4px solid rgb(255, 0, 0) !important;
}

.border-true {
  border: 4px solid rgb(68, 161, 148) !important;
}

#title {
  transition:
    color 0.25s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
}

#title.animate {
  transform: scale(1.05);
}
