/* Base styles */
body {
  margin: 0;
  min-height: 100vh;
  width: 100%;
  background-color: rgb(179, 207, 171);
  font-family: "Single Day", cursive;
  text-align: center;
  line-height: 1.2;
}

/* Title outside box */
.title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 2rem auto 1rem;
  color: rgb(0, 59, 153);
}

/* Green main container */
.main-container {
  width: 90%;
  max-width: 50rem;     /* keep it a reasonable width */
  height: 40rem;        /* fixed height so it can scroll */
  margin: 2rem auto;
  padding: 1rem;
  border: 0.6rem solid rgb(185, 174, 60);
  background-color: rgb(111, 155, 95);

  display: flex;
  flex-direction: column;
  gap: 1rem;

  overflow-y: auto;      /* ✅ adds vertical scrolling */
  scrollbar-width: thin; /* (optional, Firefox) slim scrollbar */
}

/* Yellow cards */
.card {
  background-color: rgb(254, 246, 205);
  border: 2px solid black;
  padding: 1rem;

  display: flex;
  flex-direction: row;   /* ⬅️ image left, text right */
  align-items: center;   /* vertically center image & text */
  justify-content: flex-start; /* keep them aligned left */
  gap: 1rem;             /* space between image and text */
}

.card img {
  max-width: 25%;
  height: auto;
  margin-bottom: 0rem;
  margin: 1rem;
}

.card p {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin: 3rem;
}
