body {
  background: #FFFAF3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20vw;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

img {
  width: 50vw;
  border-radius: 10px;
  margin: 15px 0;
  box-shadow: 3px 3px 15px rgba(0,0,0,0.1);
}

/* img {
  margin-right: 15px;
} */

a {
  text-decoration: none;
}

#custom-content {
  background: #FFFEFC;
  width: 50vw;
  border-radius: 10px;
  margin: 15px;
  padding: 8vh 0;
  box-shadow: 3px 3px 15px rgba(0,0,0,0.1);
  font-family: 'Zen Maru Gothic';
  font-size: 16px;
}

#custom-content p {
  padding: 0 20px;
  margin: 0 0 16px 0;
  text-align: center;
}

#custom-content > *:not(h1) {
  margin-bottom: 16px;
}

#custom-content h1 {
  font-family: 'Tangerine';
  font-weight: 300;
  font-size: 42px;
  text-shadow: 0px 1px 1px rgba(0,0,0,0.25);
}

#guest-list p {
  margin: 6px 0;
}

#guest-list:last-child {
  padding-bottom: 20px;
}

#guest-list th#first-name {
  text-align: right;
  padding-right: 20px;
}

#guest-list td#first-name {
  text-align: right;
  padding-right: 20px;
}

/* gradient styles from https://gradientbuttons.colorion.co/ */
#rsvp-button {
  background-image: linear-gradient(to right, #ff9d9d 0%, #ffc3c3  51%, #ff9d9d  100%);
  margin: 10px;
  padding: 20px 45px;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border: 0;
  border-radius: 12px;
  display: block;
  cursor: pointer;
  font-size: large;
  font-weight: bold;
}

#rsvp-button:hover {
  background-position: right center;
  font-size: larger;
}

@media screen and (max-width: 980px) {
  body {
    /* padding: 0; */
    padding: 5vw;
  }

  .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  img {
    margin: 10px;
    height: 100%;
    width: 60vw;
  }

  /* img:first-child {
    margin-right: 0;
  } */

  #rsvp-button {
    padding: 30px;
  }

  #custom-content {
    width: 60vw;
  }
  
  #custom-content h1 {
    font-size: 30px;
  }
}

@media screen and (max-width: 500px) {
  img {
    margin: 10px;
    height: 100%;
    width: calc(100% - 20px);
  }

  #custom-content {
    width: calc(100% - 20px);
  }
}
