@font-face {
  font-family: 'Mozart';
  src: url('../fonts/mozart.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background-color: #061B01;
  font-size: 1.1rem;

  background-image: url("../images/bg-full.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* fills whole site, distortion allowed */
}

header {
  font-family: 'WindSong', cursive;
  font-size: 1.5rem;
  font-weight: 400;
  background-color: #061B01;
  text-align: center;
  color: #F3D968;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.0em;

  background-image: url("../images/bg-full.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover; /* fills whole site, distortion allowed */
}

nav {
  font-size: 1.3rem;
  background-color: #F3D968;
  padding: 0.7rem;
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

nav a {
  color: #061B01;
  margin: 0 5rem;
  text-decoration: none;
}

h1 {
  font-family: 'WindSong', cursive;
  display: inline-block;
  transform: scaleX(1.2)
}

nav a:hover {
  text-decoration: underline;
}

main {
  padding: 1rem;
  text-align: center;
  color: #F3D968;
}

.title {
  padding: 3rem;
}

.title h2 {
  margin-bottom: 0.01rem;
  margin-top: 0.01rem;
}

.title p {
  margin-top: 0.01rem;
  font-size: 1.2rem;
}

main h2 {
  font-family: 'WindSong', cursive;
  font-weight: 400;
  font-size: 4rem;
  display: inline-block;
  transform: scaleY(1.2);
}

.countdown-section h2 {
  margin-bottom: 0.1rem;
}

main p {
  font-size: 1.2rem;
}

.bridal-party {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 2rem; /* space between columns and rows */
  justify-items: center; /* centers each member horizontally */
  margin: 2rem 0; /* vertical spacing around the section */
}

.member h1 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-family: 'WindSong', cursive;
  font-size: 3.7rem;
  color: #F3D968;
}
.member h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: 'WindSong', cursive;
  font-size: 3rem;
  color: #F3D968;
}

.member p {
  margin-top: 0.1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #F3D968;
}

.page-wrapper {
  position: relative;
}

.honor h2 {
  margin-top: 2rem;
  font-family: 'WindSong', cursive;
  font-size: 3rem;
  color: #F3D968;
}

.honor p {
  margin-top: 0.1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #F3D968;
}

.travel {
  position: relative;
}

.travel p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.travel h2 {
  font-family: 'WindSong', cursive;
  font-size: 3.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.corner {
  position: absolute;
  opacity: 1;
  pointer-events: none;
  /* max-width: 300px; */
  width: 46rem;
  z-index: -1;
}

.corner.left {
  bottom: 0;
  left: 2.1875rem;
}

.corner.right {
  bottom: 0;
  right: 2.1875rem;
}

.corner.left-side {
  bottom: 0;
  left: 0;
  width: 50rem;
}

.corner.right-side {
  bottom: 0;
  right: 0;
  width: 50rem;
}

.site-header {
  position: relative; /* needed for absolute positioning inside */
  text-align: center;
}

.corner.top-right {
  top: 0;             /* position at the top instead of bottom */
  right: 0;          /* center horizontally */
  width: 43rem;       /* bigger than the bottom corners */
  z-index: 0;
}

.corner.top-left {
  top: 0;
  left: 0;
  width: 43rem;
  z-index: 0;
}

.center-image {
  position: relative;
}

.middle-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -55%);
  height: auto;
  z-index: -1;
  width: 65%;
}

.reg-top,
.reg-bottom {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60rem;     /* adjust size here */
  height: auto;
}

.corner.side-right {
  top: 0;
  right: 0;
  width: 20rem;
  z-index: -1;
}

.corner.side-left {
  top: 0;
  left: 0;
  width: 20rem;
  z-index: -1;
}

.corner.trav-left {
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: auto;
  z-index: -1;
}

.corner.trav-right {
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: auto;
  z-index: -1;
}

.corner.faq-left {
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: auto;
  z-index: -1;
}

.corner.faq-right {
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  width: auto;
  z-index: -1;
}

.registry {
  text-align: center;
  padding: 4rem 2rem;
}

.registry-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  background-color: #F3D968; /* match your palette */
  color: #061B01;
  text-decoration: none;
  border-radius: 10px;
}

.registry-button:hover {
  opacity: 0.9;
}

.rsvp {
  text-align: center;
  padding: 4rem 2rem;
}

.rsvp-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  background-color: #F3D968; /* match your palette */
  color: #061B01;
  text-decoration: none;
  border-radius: 10px;
}

.rsvp-button:hover {
  opacity: 0.9;
}

.map-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background-color: #F3D968;
  color: #061B01;
  text-decoration: none;
  border-radius: 10px;
}

.map-button:hover {
  opacity: 0.9;
}

footer {
  text-align: center;
  padding: 1rem;
  color: #F3D968;
}
