html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  margin: 0;
  padding: 0;
  background-image: url("../images/background.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

img {
  align-self: left;
  object-fit: contain;
}

#topLeft {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

#topRight {
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

#saveTheDateBlock {
  display: flex;
  flex-direction: row;
  margin-top: 224px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 100px;
  width: 680px;
}

#announcement {
  display: flex;
  flex-direction: column;
  margin-left: 48px;
  margin-top: 16px;
  font-size: 28px;
  line-height: 40px;
  text-align: center;
}

#gettingMarried {
  margin-top: 8px;
  font-size: 18px;
}

#upperLine {
  margin-left: 160px;
  margin-right: 128px;
  margin-top: 48px;
  height: 3px;
  background-image: linear-gradient(rgba(128, 0, 128, 1.0), rgba(128, 0, 128, 0.0));
}

#menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 24px;
  margin-left: 160px;
  font-size: 28px;
  color: rgba(128, 0, 128, 1.0);
  width: 400px;
  z-index: 1;
}

.menuItem {
  padding: 4px;
  flex-grow: 1;
  text-align: center;
}

.menuItem.selectedItem {
  background-image: linear-gradient(to top, rgba(128, 0, 128, 0.2), rgba(128, 0, 128, 0.0));
  border-bottom: 1px solid rgba(128, 0, 128, 1.0);
}

.menuItem:hover {
  color: rgba(192, 0, 192, 1.0);
  cursor: pointer;
}

#rsvpBox {
  display: block;
}

#rsvpForm {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  margin-left: 160px;
  margin-right: 128px;
  font-size: 22px;
}

#rsvpThanks {
  display: none;
  margin-top: 40px;
  margin-left: 160px;
  margin-right: 128px;
  font-size: 28px;
}

#nameBox {
  margin-top: 32px;
  margin-bottom: 10px;
}

#name {
  width: 388px;
  font-size: 22px;
}

#emailBox {
  margin-top: 10px;
  margin-bottom: 32px;
}

#email {
  width: 388px;
  font-size: 22px;
}

#countBox {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 28px;
}

#count {
  width: 32px;
  font-size: 22px;
}

#commentsBox {
  margin-top: 32px;
}

#commentLabel {
  vertical-align: top;
}

#comments {
  width: 388px;
  height: 64px;
  font-size: 22px;
}

#submitButton {
  margin-top: 32px;
  height: 48px;
  width: 128px;
  font-size: 22px;
}

#registryBox {
  display: none;
  flex-direction: column;
  max-height: 999999px; /* Handle Android Chrome bug. */
  margin-top: 40px;
  margin-left: 160px;
  margin-right: 128px;
  font-size: 22px;
}

.registryLink {
  color: inherit;
  text-decoration: none;
}

.registryLinkText {
  color: blue;
  font-size: 16px;
  text-decoration: underline;
}

#venueBlock {
  display: flex;
  flex-direction: row;
  align-items: left;
  margin-top: 40px;
  margin-left: 160px;
}

#infoBox {
  display: none;
}

#venueInfo {
  display: flex;
  flex-direction: column;
  padding-top: 32px;
  padding-left: 56px;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
}

#venueAddress {
  font-size: 16px;
}

#photosBox {
  display: none;
}

