@font-face {
  font-family: 'flabbergast';
  font-weight: normal;
  src: url('../fonts/flabbergast.eot');
  src: url('../fonts/flabbergast-iefix.eot') format('embedded-opentype'),
    url('../fonts/flabbergast.woff2') format('woff2'),
    url('../fonts/flabbergast.woff') format('woff'),
    url('../fonts/flabbergast.ttf') format('truetype');
}

@font-face {
  font-family: 'masterblush';
  font-weight: normal;
  src: url('../fonts/masterblush.woff2') format('woff2'),
    url('../fonts/masterblush.woff') format('woff');
}

@font-face {
  font-family: montserrat;
  src: url("../fonts/montserratlight.eot");
  src: url("../fonts/montserratlight-iefix.eot") format("embedded-opentype"),
    url("../fonts//montserratlight.woff2") format("woff2"),
    url("../fonts//montserratlight.woff") format("woff"),
    url("../fonts//montserratlight.ttf") format("truetype");
  font-weight:400
}

@font-face {
  font-family: 'prosto';
  font-weight: normal;
  src: url('../fonts/prosto.eot');
  src: url('../fonts/prosto-iefix.eot') format('embedded-opentype'),
    url('../fonts/prosto.woff2') format('woff2'),
    url('../fonts/prosto.woff') format('woff'),
    url('../fonts/prosto.ttf') format('truetype');
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

#root,
body,
html {
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
  height: 100vh;
  min-height: 100vh;
  padding: 0
}

body {
  color: #444;
  font-family: montserrat,sans-serif;

  /* To fix that pesky scrollbar */
  overflow-x: hidden;
}

a {
  color: #fa8e91;
}

a: hover{
  text-decoration: none;
}

.header {
  background-image: url(../images/821d094d-015d-8a2b-c92c-86f9534c191a_bg.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.header-nav {
  display: flex;
  flex-direction: row;
  -moz-box-pack: justify;
  justify-content: space-between;
  font-size: 1em;
  max-width: 1024px;
  margin: 0px auto;
  padding: 2em 1em;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.header-nav a {
  color: rgb(68, 68, 68);
  font-family: flabbergast;
  font-size: 1.5em;
  text-decoration: none;
  display: block;
  padding: 0.25em 0.5em;
  text-align: center;
}

.header-nav a:hover {
  text-decoration: underline;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  -moz-box-pack: center;
  justify-content: center;
  height: 95vh;
  min-height: 450px;
  max-width: 1024px;
  margin: 0px auto;
}

.hero img {
  max-width: 90%;
  width: 450px;
}

.section {
  font-size: 19px;
  padding: 70px 0;
  text-align: center;
  margin: 0 auto;
  max-width: 1024px;
  width: 95%;
}

.section-photo-divider {
  max-width: 100%;
  width: 100%;
}

.section-heading {
  font-family: masterblush;
  font-size: 5em;
  margin-bottom: 20px;
  text-align: center;
}

.section-body {
  font-size: 0.9em;
  white-space: pre-wrap;
}

.section-row {
  display: flex;
  flex-flow: row wrap;
  font-size: 40px;
  -moz-box-pack: center;
  justify-content: center;
}

.section-col {
  display: inline-block;
  margin: 0px 0.5em 0.75em;
  text-align: center;
  max-width: 3.5em;
}

.section-col img {
  border-radius: 50%;
  display: inline-block;
  height: 3em;
  margin-bottom: 0.2em;
  width: 3em;
}

.person-name {
  margin-bottom: 0.01em;
  font-size: 16px;
  text-transform: uppercase;
}

.person-title {
  font-size: 14px;
}

.photo {
  display: block;
  flex-direction: column;
  width: 100%;
  min-height: auto;
  position: relative;
}

.photo-divider {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 90vh;
  position: relative;
}

.photo-divider > div {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 3px 5px inset;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  width: 100vw;
  height: 90vh;
}

.photo-divider-1 {
  background-image: url(../images/DSC_8285.jpg);
}

.photo-divider-2 {
  background-image: url(../images/6de65e65-af92-e87b-b87c-6b908f06a5ed_DSC_4195.jpg);
}

.photo-divider-3 {
  background-image: url(../images/6403643e-fd85-d89e-04bc-6c07e8f1165e_DSC_4181-Edit.jpg);
}

.photo-divider-4 {
  background-image: url(../images/73797934-5d0d-c30f-1ad9-9a2f0942f739_DSC_4217_web.jpg);
}

.buttons {
  text-align: center;
  padding-top: 2em;
}

.button {
  background: rgb(255, 255, 255) none repeat scroll 0% 0%;
  border: 2px solid rgb(51, 51, 51);
  border-radius: 3px;
  color: rgb(51, 51, 51);
  display: inline-block;
  font-size: 0.9em;
  margin: 0px 10px 15px;
  padding: 0.7em 1.25em;
  text-decoration: none;
}

.button:hover {
  background: rgb(51, 51, 51) none repeat scroll 0% 0%;
  border: 2px solid rgb(51, 51, 51);
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.schedule-day {
  font-family: prosto;
  font-size: 0.9em;
  max-width: 650px;
  margin: 0px auto;
}

.schedule-date {
  text-align: left;
  padding: 3em 0px 1em;
}

.schedule-event {
  padding: 0px 0px 20px 20px;
  position: relative;
  text-align: left;
}

.schedule-event::before {
  border-radius: 10px;
  width: 9px;
  height: 9px;
  left: 0px;
}

.schedule-event::after {
  width: 1px;
  left: 4px;
  height: 100%;
}

.schedule-event::before,
.schedule-event::after {
  background: currentcolor none repeat scroll 0% 0%;
  content: " ";
  position: absolute;
  top: 12px;
}

.event {
  display: flex;
  flex-direction: row;
  text-align: left;
}

.event > div {
  -moz-box-flex: 2;
  flex-grow: 2;
  text-align: left;
  padding-left: 20px;
  width: 100%;
}

.event-heading,
.event-description {
  margin: 0px 0px 10px;
}

.event-description {
  font-size: 0.9em;
  word-break: break-word;
}

.event-address {
  color: rgb(92, 92, 92);
  font-size: 0.8em;
}

.event-directions {
  color: rgba(51, 51, 51);
  font-style: normal;
  font-size: 0.9em;
  opacity: 0.9;
}

.event-directions:hover {
  text-decoration: none;
}

@media (max-width: 450px) {
  .hero {
    -webkit-box-align: center;
    align-items: center;
    height: 75vh;
  }
}

@media (max-width: 500px) {
  .header-nav {
    display: none;
  }

  .section-row {
    font-size: 25px;
  }

  .button {
    display: block;
    width: auto;
    margin: 8px 0;
  }
}

@media (max-width: 600px) {
  .section-row {
    font-size: 30px;
  }

  .person-name {
    font-size: 13px;
  }

  .person-title {
    font-size: 12px;
  }

  .section {
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  .header-nav {
    font-size: 0.7em;
  }
}

@media (max-width: 767px) {
  .photo-divider {
    flex-direction: row;
    min-height: auto
  }

  .photo-divider > div {
    width: 100vw;
    height: 66vw;
    background-attachment: scroll;
  }

  .event > div {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .header-nav {
    font-size: 0.8em;
  }
}
