body {
  text-align: center;
  font-family: 'Cabin', sans-serif;
  color: #3a3a3a;
  padding-bottom: 400px;
  background-color: #dac999;
}

@keyframes reveal {
  0% {
    background: #3a3a3a;
  }
  30% {
    background: #3a3a3a;
  }
  100% {
    background: #f4f0e6;
  }
}

a, a:hover, a:visited {
  color: inherit;
}

p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

header {
  margin-top: 40px;
  margin-bottom: 40px;
}

header h1 {
  height: 200px;
  line-height: 200px;
  font-family: 'Parisienne', cursive;
  font-size: 50pt;
  margin-top: 30px;
  margin-bottom: 30px;
  border-top: 5px solid #3a3a3a;
  border-bottom: 5px solid #3a3a3a;
}

header h1 span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

header h1 .background {
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  display: block;
  height: 200px;
  background-color: #f5eaca;
  text-align: right;
  overflow: hidden;
}

header h1 .background img {
  filter: opacity(40%);
  transition: 1s;
}

header h1:hover .background img {
  filter: unset;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  display: inline-block;
  padding: 10px;
}

nav ul {
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
}

nav a:hover, nav a.selected {
  border-bottom: solid 3px #3a3a3a;
}

#sections {
  overflow: hidden;
  position: relative;
}

section {
  max-width: 875px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}

section:not(:first-child) {
  display: none;
}

h3:first-child {
  margin-top: 0;
  padding-top: 0;
}

.venue img {
  width: 400px;
  padding: 0 5px;
}

@media (max-width: 450px) {
  .venue img {
    width: 90%;
  }
}

.clear {
  clear: both;
}

#story > p > img {
  width: 250px;
  height: 250px;
}

#story hr {
  border: none;
  background: #99a488;
  height: 3px;
  margin: 30px 10px;
}

#slideshow {
  position: relative;
  width: 750px;
  overflow: hidden;
  padding: 62% 0 0 0;
  margin: 0 auto;
}

#slideshow > img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 3s;
}

@media (max-width: 800px) {
  #slideshow {
    width: 90%;
  }

  #slideshow > img {
    width: 100%;
  }
}

#slideshow > img:nth-child(1) {
   animation: xfade 36s 30s infinite;
}

#slideshow > img:nth-child(2) {
   animation: xfade 36s 24s infinite;
}

#slideshow > img:nth-child(3) {
   animation: xfade 36s 18s infinite;
}

#slideshow > img:nth-child(4) {
   animation: xfade 36s 12s infinite;
}

#slideshow > img:nth-child(5) {
   animation: xfade 36s 6s infinite;
}

#slideshow > img:nth-child(6) {
   animation: xfade 36s 0s infinite;
}

@keyframes xfade{
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#registries ul {
  margin: 0 auto;
  max-width: 550px;
  text-align: center;
}

#registries li {
  display: inline-block;
  margin: 10px;
  vertical-align: middle;
}

#registries img:hover {
  filter: opacity(0.5);
}

@media (min-width: 600px) {
  #story .left {
    text-align: left;
  }

  #story .left img {
    float: left;
    margin-right: 10px;
  }

  #story .right {
    text-align: right;
  }

  #story .right img {
    float: right;
    margin-left: 10px;
  }
}

@media (max-width: 600px) {
  #story > p {
    text-align: center;
  }

  #story > p img {
    float: none;
    display: block;
    margin: 10px auto;
  }
}

#map {
  height: 250px;
  width: 400px;
  margin: 20px auto;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 35pt;
  }

  #map {
    width: 80%;
  }

  #story > p {
    text-align: center;
  }

  #story > p img {
    float: none;
  }
}
