body, html {
  height: 100%;
  margin: 0;
  font: 400 15px/1.8 "Lato", sans-serif;
  color: #777;
}

 a:link {
  color: #505050;
}

a:visited {
  color: #505050;
}

a:hover {
  color: #808080;
}

a:active {
  color: #505050;
} 

button {
  background-color: #C0C0C0;
  border: 1px solid;
  color: #000;
  /* transition: 200ms cubic-bezier(.08,.52,.52,1) background-color, 200ms cubic-bezier(.08,.52,.52,1) box-shadow, 200ms cubic-bezier(.08,.52,.52,1) transform; */
  border-radius: 2px;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  font-size: 12px;
  -moz-osx-font-smoothing: grayscale;
  font-weight: bold;
  -ms-flex-pack: center;
      justify-content: center;
  line-height: 22px;
  padding: 0 8px;
  position: relative;
  text-align: center;
  text-shadow: none;
  vertical-align: middle;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  margin: 0;
}

.bg-opening, .bg-proposal, .bg-creek, .bg-art-hill, .bg-rsvp {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-opening {
  background-image: url(/img/kristin-kyle-28.jpg);
  min-height: 100vh;
}

div.bg-opening * {
  top: 40%;
}

.bg-proposal {
  background-image: url(/img/jackson-square-proposal.jpg);
  min-height: 600px;
}

.bg-creek {
  background-image: url(/img/kristin-kyle-34.jpg);
  min-height: 600px;
}

.bg-art-hill {
  background-image: url(/img/kristin-kyle-78.jpg);
  min-height: 100vh;
}

.bg-rsvp {
  background-image: url(/img/kristin-kyle-28.jpg);
  min-height: 100vh;
}

.caption, .opening-caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
  opacity: 0.65;
}

.caption span.border {
  background-color: #111;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}

h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 25px "Lato", sans-serif;
  color: #111;
  text-align:center;
}

.topic-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
}

.topic {
  width: 100%;
}

.about-us, .topic{
  color: #777;
  background-color:white;
  padding:50px 80px;
  text-align: justify;
  max-width: 1000px;
}

.rsvp-window {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  min-width: 100%;
  min-height: 100vh;
  top: 0;
  left: 0;
}

.rsvp {
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 10px;
  background-color: white;
  opacity: 0.85;
  width: 80%;
  max-width: 600px;
  font-size: .9rem;
}

.rsvp-header {
  text-transform: uppercase;
  font: 25px "Lato", sans-serif;
  color: #111;
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 5px;
  border-bottom: 1px solid #aaa;
}

.rsvp-description {
  margin-top: 5px;
  margin-bottom: 20px;
}

.rsvp-content {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  margin-bottom: 15px;
}

.rsvp-bottom-box-text {
  padding-top: 5px;
}

.rsvp-bottom-box-text-right {
  float: right;
}

.rsvp-bottom-box {
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  line-height: 20px;
  padding: 8px 10px;
  border-bottom: none;
  border-left: none;
  border-right: none;
}

.rsvp-input {
  font-size: 26px;
  max-width: 100px;
  border: 1px solid #bdc7d8;
  margin: 0;
  padding: 3px;
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 25px "Lato", sans-serif;
  color: #111;
  text-align:center;
}

.rsvp-item-top {
  -ms-flex-item-align: start;
      align-self: flex-start;
}

.rsvp-error{
  color: red;
  padding-top: 5px;
  min-height: 24px;
}

.registry-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
}

.registry-item {
  margin: auto;
  padding: 40px;
}

@media only screen and (max-width: 600px) {
  .about-us, .topic{
    padding:12px 25px;
  }

  .registry-item {
    margin: auto;
    padding: 10px 0px 10px 0px
  }

  img {
    max-width:200px;
    width: auto;
    height: auto;
  }
}

@media only screen and (max-width: 1024px) {
  .bg-opening, .bg-proposal, .bg-creek, .bg-art-hill {
      background-attachment: scroll;
  }

  .caption span.border {
    font-size: 14px;
  }

  h3{
    font: 14px "Lato", sans-serif;
  }
}