*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lora', serif;
  background-color:#fff4f2;
  color: #333;
  line-height: 1.6;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url('banner2.png') center top no-repeat;
  background-size: 960px auto;
  z-index: -1;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-top: 13rem;
  color: #4c6b58;
  /*text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);*/
  font-weight: 200;
  margin-bottom: 3rem;
}

.desktop-text {
  display: inline;
}
.mobile-text {
  display: none;
}

header h1 {
  font-family: 'Alex Brush', cursive;
  font-size: 6rem;
  font-weight: normal;
  margin: 0;
  color:  #4c6b58;
  /*text-shadow: 0 1px 3px rgb(255, 255, 255);*/
}

header p {
  font-size: 1.2rem;
  /*text-shadow: 0 1px 3px rgba(0, 0, 0, 1);*/
}

.half-break {
  display: block;
  margin-top: 0.5em; /* tweak as needed */
}

.card {
  max-width: 800px;
  padding: 0rem 1.5rem 2.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.card h2 {
  font-family: 'Alex Brush', cursive;
  font-size: 3rem;
  font-weight: 400;
  color: #4c6b58;
  text-align: center;
  margin-bottom: 0.5rem;
}

ul {
  padding-left: 1.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #fceeee;
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.5rem;
}

form button:hover {
  background-color: #3a5644;
}

.rsvp-button, .hotel-button {
  display: flex;
  justify-content: center;
  font-weight: bold;
  font-size: 1.6rem;
  display: inline-block;
  margin: 0;
  cursor: pointer;
}

.rsvp-button a, .hotel-button a {
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(99, 99, 99, 0.2);
  text-align: center;
}

.rsvp-button a {
  background:#e79ca8;
}

.hotel-button a {
  background:#7ca8e7 !important;
}

.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem;
}

.travel-accomodation-entry {
  margin: 0.8rem 0;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 auto; 
  align-items: center;
  padding: 0 0.5rem;
}


@media (max-width: 768px) {
  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }
  header {
    margin-top: 8rem;
    margin-bottom: 2.5rem;
  }
  header h1 {
    font-size: 3.6rem; /* smaller screens */
  }
  .bg {
    background-size: 130vw auto;
  }

  .card h2 {
    font-size: 2rem;
  }
  
  .button-container {
    flex-direction: column;
    margin: 1.5rem;
  }

  .hotel-button, .rsvp-button {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }

}