.main-content-header {
  height: 85vh;
  min-height: 500px;
  max-height: 1000px;
  margin-top: var(--main-nav-height);
  display: flex;
  justify-content: flex-end;
  background-image: url('/images/garden-buddha.jpg');
  background-size: cover;
  background-position: center center;
}

@keyframes wait {
  from { opacity: 0; }
  to { opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.main-content-header {
  padding-top: 0px;
}

.main-content-header-overlay {
  max-width: 70%;
  margin-bottom: 20px;
  padding: 80px 10px 20px 10px;
  font-family: Roman;
  font-size: large;
  color: white;
  text-align: right;
  text-shadow: 2px 2px 5px black;
}

.main-content-header-overlay h1 {
  font-size: 1.5em;
}

@media (min-width: 576px) {
  .main-content-header-overlay {
    margin-bottom: 80px;
    padding: 80px 20px 20px 20px;
    font-size: x-large;
  }
  .main-content-header-overlay h1 {
    font-size: 2em;
  }
}

.about {
  padding: 30px;
  font-size: large;
  text-align: justify;
  background-color: var(--color-paper);
}

.about-box {
  padding: 10px 30px;
}

.photo-meditation-hall {
  height: 85vh;
  background-image: url('/images/meditation-hall.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.teachers {
  background: var(--color-dark-paper);
}

.teachers .section-header {
  color: darkgoldenrod;
}

.teacher {
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  background-color: var(--color-dark-paper);
}

@media(min-width: 768px) {
  .teacher {
    flex-direction: row-reverse;
  }

  .teacher:nth-child(even) {
    flex-direction: row;
  }
}

@media(min-width: 1400px) {
  .teacher {
    flex-direction: column-reverse;
    justify-content: flex-end;
  }

  .teacher:nth-child(even) {
    flex-direction: column-reverse;
    justify-content: flex-end;
  }
}

.teacher-name, .teacher-title {
  font-weight: bold;
  text-align: center;
}

.teacher-name {
  font-size: x-large;
  text-transform: uppercase;
}

.teacher-title {
  font-size: large;
}

@media(min-width: 768px) {
  .teacher-name, .teacher-title {
    text-align: left;
  }

  .teacher:nth-child(even) .teacher-name,
  .teacher:nth-child(even) .teacher-title
   {
    text-align: right;
  }
}

@media(min-width: 1400px) {
  .teacher-name, .teacher-title {
    text-align: center;
  }

  .teacher:nth-child(even) .teacher-name,
  .teacher:nth-child(even) .teacher-title
   {
    text-align: center;
  }
}

.teacher-biography {
  text-align: justify;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media(min-width: 1400px) {
  .teacher-biography {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.teacher-photo {
  min-width: 250px;
  max-width: 250px;
  height: 250px;
  margin-bottom: 10px;
}

@media(min-width: 768px) {
  .teacher-photo {
    margin-bottom: 0px;
    margin-right: 50px;
  }

  .teacher:nth-child(even) .teacher-photo {
    margin-right: 0px;
    margin-left: 50px;
  }
}

@media(min-width: 1400px) {
  .teacher-photo {
    margin-bottom: 10px;
    margin-right: 0px;
  }

  .teacher:nth-child(even) .teacher-photo {
    margin-left: 0px;
  }
}
