body {
  background-color: #fff8b0; /* light yellow */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  transition: background-color 0.4s ease;
}

/* Background when showing image */
body.image-mode {
  background-color: #add8e6; /* light blue */
}

.container {
  display: flex;
  flex-direction: column; /* stack text over thumb */
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

/* Fade animations */
.fade {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

.text {
  font-size: 3rem;
  color: #0055cc; /* blue */
  font-weight: bold;
  text-align: center;
}

.thumb {
  font-size: 12rem;  /* doubled again */
  color: #8B4513; /* brown */
}

.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.title {
  font-size: 2rem;
  color: orange;
  font-weight: bold;
}

img {
  max-width: 250px;   /* smaller so text above is always visible */
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
}
