div.radius {
  border-radius: 8px;
  background: #e7d5c0;
}

#result {
  color: #4586a2;
}

.card-image {
  width: 100px;
  height: 150px;
}

.card-inner.flipping {
  transform: rotateY(180deg);
  transition: transform 1s ease-in-out;
}

.card-inner.flipping .card-face.front {
  transition: transform 1s ease-in-out;
}

.card-inner.flipping .card-image {
  transform: rotateY(180deg);
}

.card-inner.flipping.animate__flash {
  animation: flash 0.5s infinite;
}

.buttons {
  align-items: center;
  margin: 40px;
}

@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  justify-items: center;
  align-items: center;
}

.card {
  width: 100px;
  height: 150px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination-link {
  margin: 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

.pagination-link.active {
  background-color: #007bff;
  color: #fff;
}

.alphabet-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.alphabet-button {
  margin: 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: azure;
  background-color: #C0DBD0;
}

img.sonnic-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
}
