/* Body Styles */
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: black;
  overflow: hidden;
  text-align: center;
}

/* Heading Style */
h2 {
  color: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 2em;
  margin-bottom: 15px;
}

/* Year Style */
.year {
  font-size: 5em;
  color: white;
  font-weight: bold;
  background-color: orangered;
  border-radius: 9px 0px 9px 0px;
  padding: 20px 40px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Countdown Box */
.countdown {
  margin: 30px;
  background-color: orangered;
  width: 30%;
  color: white;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0px 9px 0px 9px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Countdown Divs */
.countdown div {
  margin: 0 15px;
  font-size: 2.5em;
  font-weight: 500;
  margin-top: -25px;
  position: relative;
  width: 100px;
  z-index: 2;
}

/* Countdown Labels */
.countdown div::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  font-size: 0.35em;
  line-height: 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  width: 100%;
  height: 35px;
}

.countdown #day::before {
  content: "Days";
}
.countdown #hour::before {
  content: "Hours";
}
.countdown #minute::before {
  content: "Minutes";
}
.countdown #second::before {
  content: "Seconds";
}

/* Watermark Style */
.watermark {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 10px;
  font-size: 110px;
  color: rgba(251, 245, 245, 0.5);
  pointer-events: none;
  transform: rotate(-20deg);
  margin-bottom: 120px;
  margin-right: 260px;
  font-family: 'Times New Roman', Times, serif;
  z-index: 1;
}

/* Footer Style */
.footer {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  font-weight: bold;
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 10px;
  color: orangered;
  text-align: right;
  z-index: 1;
  background-color: black;
  width: 100%;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .year {
    font-size: 4em;
    padding: 15px 30px;
  }

  .countdown {
    width: 40%;
    height: 100px;
  }

  .countdown div {
    font-size: 2em;
  }

  .footer {
    font-size: 14px;
    padding: 8px;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.8em;
  }

  .year {
    font-size: 3.5em;
    padding: 10px 20px;
  }

  .countdown {
    width: 50%;
    height: 90px;
  }

  .countdown div {
    font-size: 1.8em;
  }

  .footer {
    font-size: 13px;
    padding: 7px;
  }

  .watermark {
    font-size: 90px;
    margin-right: 180px;
    margin-bottom: 90px;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 1.6em;
  }

  .year {
    font-size: 3em;
    padding: 8px 15px;
  }

  .countdown {
    width: 60%;
    height: 80px;
  }

  .countdown div {
    font-size: 1.5em;
  }

  .footer {
    font-size: 12px;
    padding: 6px;
  }

  .watermark {
    font-size: 60px;
    margin-right: 120px;
    margin-bottom: 60px;
  }
}
