body, footer {
  font-family: "Abel", sans-serif;
  font-weight: 400;
  font-style: normal;
}

html {
  min-height: 100vh; /* When there is no content the shadow should still fill the whole screen */
}

body {
  background-image: url("img/bg.jpg");;
  background-size: cover;
  background-clip: content-box;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: 0 0 50px rgba(215,176,128,0.9) inset;
  color: #222222;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 100vh; /* Let the content increase the height as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 2rem;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}

header, .body, footer {
  max-height: 100%;
  width: 90%; /* Fluid width */
  max-width: 1200px; /* limit max width */
  margin: 0 auto; /* Center align */
  font-size: 1rem;
}

header {
  margin-top: 10vh;
  font-size: 2rem;
}

#map {
  min-height: 30vh;
}


.wrapper {
  display: flex;
  flex-direction: column;
}

.content {
  background: rgb(215,176,128);
  background: linear-gradient(231deg,
    rgba(215,176,128,0.8) 0%,
    rgba(215,176,128,0.6) 20%,
    rgba(215,176,128,0.4) 40%,
    rgba(215,176,128,0.0) 100%);
  border-radius: 5px;
  line-height: 0.9;
  color: #552200;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  grid-template-areas:
    ".       header  header"
    "address address .     "
    "rsvp    rsvp    .     "
    ".       .       bottom";
  row-gap: 1rem;
}
.header {
  font-size: 2.2rem;
  text-align: right;
  grid-area: header;
}
.small-text {
  font-size: 1rem;
}
.address {
  font-size: 1.8rem;
  grid-area: address;
}
.rsvp {
  font-size: 1.8rem;
  grid-area: rsvp;
}
.bottom {
  font-size: 2.2rem;
  grid-area: bottom;
}
.fancy {
  display: block;
  font-size: 4rem;
}
.upload-link {
  font-size: 4rem;
  text-align: center;
  color: #552200;
}
.upload-link img {
  display: inline-block;
}

footer {
  padding: 2%;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 1px #000;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  row-gap: 5pt;
}

@media screen and (max-width: 768px) {
  .content {
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    grid-template-areas:
    "header header"
    "address"
    "rsvp"
    "footer";
  }
  .wrapper {
    display: grid;
    grid-template-columns: 1fr;
  }
  .header, .footer {
    font-size: 1.9rem;
  }
  .small-text {
    font-size: 1rem;
  }
  .address, .rsvp {
    font-size: 1.5rem;
  }
  .footer {
    text-align: right;
  }
  #map {
    min-height: 30vh;
  }
}
