/* Body with animated rose background */
body {
  font-family: 'Georgia', serif;
  background: url('https://img1.picmix.com/output/stamp/normal/0/4/2/7/2187240_d6b94.gif') repeat;
  background-size: contain;
  color: #ffffff;
  text-align: center;
  padding-top: 50px;
  margin: 0;
  overflow-x: hidden;
  position: relative;
  z-index: 0; /* background stays behind */
}

/* Main container */
.container {
  max-width: 700px;
  margin: auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.save-date {
  background-color: rgba(255, 255, 255, 0.75); /* slightly more visible */
  padding: 15px;
  margin-bottom: 30px;
  border-radius: 12px;

  border: 1px solid rgba(128, 0, 64, 0.2); /* faint romantic outline */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* subtle glow */
  backdrop-filter: blur(2px); /* optional soft-focus effect */
}


.save-date h2,
.save-date p {
  color: #5d3a3a;
}

/* Heading */
h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #5d3a3a;
}

/* Countdown section */
#countdown {
  display: flex;
  justify-content: space-around;
  font-size: 2em;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Countdown boxes with translucent backgrounds */
#countdown div {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  min-width: 100px;
  padding: 20px;
  margin: 10px;
  color: #5d3a3a;
}

/* Time labels */
#countdown p {
  font-size: 0.8em;
  margin-top: 10px;
  color: #5d3a3a;
}

/* Footer note */
.footer {
  margin-top: 40px;
  font-style: italic;
  font-size: 1.2em;
  color: #5d3a3a;
}

/* TBC message styling */
.tbc-message {
  color: #5d3a3a;
  font-size: 1.8em;
  margin: 30px 0;
}

/* Responsive typography using fluid units */
body {
  font-size: 1rem;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.save-date h2 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
}

.save-date p,
#countdown p,
.footer,
.tbc-message {
  font-size: clamp(0.9rem, 3vw, 1.2rem);
}

#countdown div span {
  font-size: clamp(1.5rem, 6vw, 2.5rem);
}

/* Responsive layout for smaller screens */
@media screen and (max-width: 600px) {
  #countdown {
    flex-direction: column;
    align-items: center;
  }

  #countdown div {
    width: 80%;
    margin: 10px auto;
  }

  .container {
    padding: 10px;
  }
}

