:root {
  --light-grey: #EEECE9;
  --dark-grey: #555;
  --almost-black: #000105;
}

:root {
  --light-grey: #EEECE9;
  --dark-grey: #555;
  --almost-black: #000105;
}

.gallery-title {
  align-items: center;
  bottom: 0;
  color: inherit;
  display: flex;
  font-weight: 600;
  height: 50px;
  justify-content: center;
  letter-spacing: 0.02em;
  position: fixed;
  width: 50%;
  z-index: 1000;
  cursor: pointer;
  font-weight: bold;
  background-color: #fff;
}
@media screen and (min-width: 640px) {
  .gallery-title {
    height: 100vh;
    width: 50px;
  }
}
.gallery-title:hover {
  cursor: pointer;
}
.gallery-title a,
.gallery-title span {
  text-decoration: none;
}
@media screen and (min-width: 640px) {
  .gallery-title a,
.gallery-title span {
    white-space: nowrap;
    -webkit-transform: translatex(0) translatey(0) rotate(-90deg);
            transform: translatex(0) translatey(0) rotate(-90deg);
    position: absolute;
  }
}
.gallery-title.is-active {
  z-index: 100;
}
.gallery-title.is-active:after {
  background-color: #111;
  border-radius: 50%;
  content: " ";
  height: 8px;
  left: 15px;
  position: absolute;
  width: 8px;
}
@media screen and (min-width: 640px) {
  .gallery-title.is-active:after {
    left: unset;
    bottom: 18px;
  }
}

.bio-title {
  border-top: 1px solid #111;
  left: 0;
}
@media screen and (min-width: 640px) {
  .bio-title {
    border-top: none;
    border-right: 1px solid #111;
  }
}

.timeline-title {
  border-top: 1px solid #111;
  border-left: 1px solid #111;
  right: 0;
}
@media screen and (min-width: 640px) {
  .timeline-title {
    border-top: none;
  }
}

main {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 100px;
}
@media screen and (min-width: 640px) {
  main {
    width: calc(100% - 100px);
  }
}

.bio-text,
.timeline-text {
  color: #C7A36E;
  font-family: "Playfair", Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin: 100px auto 0 auto;
  text-align: center;
  width: calc(100% - 60px);
}
@media screen and (min-width: 640px) {
  .bio-text,
.timeline-text {
    width: 75%;
    max-width: 600px;
    margin-top: 180px;
  }
}

.bio-text {
  font-size: 1.2em;
}

.bio-text p {
  text-align: left !important;
  display: block;
  margin-bottom: 1.2em;
}

.timeline-text ul {
  list-style: none;
  color: black;
  font-weight: initial;
  word-wrap: break-word;
  width: 100%;
  margin: 0 auto;
}
.timeline-text li.section {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 2em;
}
.timeline-text li.section:not(:first-child) {
  margin-top: 3em;
}
@media screen and (min-width: 640px) {
  .timeline-text li.section {
    margin-left: 25%;
  }
}
.timeline-text li {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5em;
  text-align: left;
}
@media screen and (min-width: 640px) {
  .timeline-text li {
    flex-direction: row;
  }
}

.year {
  margin-top: 2px;
  color: #C7A36E;
  font-weight: bold;
  width: 100%;
}
@media screen and (min-width: 640px) {
  .year {
    flex: 1;
    margin-bottom: 0;
  }
}

.description {
  width: 100%;
  flex: 3;
}

.hide {
  display: none;
}

.title-container {
  display: flex;
  text-align: left;
  margin-bottom: 30px;
  font-weight: bold;
  color: #111;
}
.title-container .empty {
  width: 20%;
}