/* Add your styling here */
body {
  margin: auto;
  font-family: "Roboto";
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.5;
  color: rgba(28, 13, 10, 0.7);
  background: linear-gradient(rgba(28, 13, 10, 0.4), rgba(28, 13, 10, 0.6)),url("/image/welcome.jpg") center center no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
}

html {
  scroll-behavior: smooth;
}

button {
  padding: 11px 48px;
  border-radius: 4px;
  font-size: 16px;
  font-family: "Roboto";
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  background-color: orangered;
  border: 2px solid orangered;
  color: white;
}

button:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

input {
  -webkit-text-security:disc;
  -text-security:disc;
  padding: 12px 48px;
  border-radius: 4px;
  font-family: "Roboto";
  text-align: center;
}

#title h1 {
  color: antiquewhite;
  text-transform: uppercase;
  font-size: 400%;
  padding-top: 20%;
}

#title h2 {
  color: antiquewhite;
  font-size: 20px;
}

#title p {
  padding: 30;
  font-size: 20px;
  color: antiquewhite;
}

#button {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  background-color: orangered;
  border: 2px solid orangered;
  color: white;
}

#RSVP {
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(rgba(28, 13, 10, 0.4), rgba(28, 13, 10, 0.6)),url("/image/rsvp.jpg") center center no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  padding: 120pt;
}
#RSVP h1 {
  font-size: 60px;
}

/* Countdown timer styling */
#countdown {
  margin-top: 20px;
  font-size: 24px; /* Increase the font size */
  color: #ff4500; /* Change the text color to a more noticeable color */
  font-weight: bold; /* Make the text bold */
  background-color: rgba(0, 0, 0, 0.7); /* Add a semi-transparent background */
  padding: 10px; /* Add padding for better spacing */
  border-radius: 5px; /* Rounded corners */
  display: inline-block; /* Adjust display to fit content */
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  body {
    background: linear-gradient(rgba(28, 13, 10, 0.4), rgba(28, 13, 10, 0.6)),url("/image/phone.jpg") center center no-repeat;
    background-size: cover;
  }

  .title input[type="text"],
  .title button {
    display: block;
    width: 80%; /* Or your desired width */
    margin: 10px auto; /* Centers the block elements */
  }

  .input {
    width: 80%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  body {
    background: linear-gradient(rgba(28, 13, 10, 0.4), rgba(28, 13, 10, 0.6)),url("/image/tablet.jpg") center center no-repeat;
    background-size: cover;
  }

  #title h1 {
    padding-top: 0%;
  }
}
