@font-face {
  font-family: EB-Garamond;
  src: url(https://kbs.com/wp-content/uploads/2019/09/EBGaramond-Regular.woff);
}

@font-face {
  font-family: Graphik;
  src: url(https://kbs.com/wp-content/uploads/2019/09/Graphik.woff);
}

*,
*:after,
*:before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  overflow: hidden;
  font-size: 16px;
}

body {
  display: grid;
  min-height: 100vh;
  align-content: center;
  justify-content: flex-start;
  font-size: 16px;
}

.tagline {
  font-size: 0.75rem;
  font-family: "Graphik", sans-serif;
  color: #87939b;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.title {
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: 3.125rem;
  color: #244560;
  letter-spacing: -0.69px;
  line-height: 60px;
  margin: 40px 0;
}

.date-title {
  font-family: "Graphik", sans-serif;
  font-size: 1.625rem;
  font-weight: 400;
  color: #303640;
  letter-spacing: -1.5px;
  /* margin-top: 40px; */
  margin-bottom: 10px;
}

.date-text {
  color: #303640;
  font-family: "Graphik", sans-serif;
  font-size: 1.125rem;
  font-weight: 100;
  height: auto;
  letter-spacing: -0.4px;
  line-height: 28px;
}

.controls {
  color: #303640;
  font-family: "Graphik", sans-serif;
  font-weight: 100;
  font-size: 0.875rem;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  bottom: 0;
  grid-gap: 20px;
  grid-template-columns: 70px 70px;
  /*position: relative;*/
  z-index: 15;
  position: absolute;
}

.slide:not(.slide-0) .controls {
  top: 280px;
}

.slide-0 .controls {
  top: 380px;
}

.slide-13 .controls {
  top: 310px !important;
}

.controls>*>*,
.reverse {
  cursor: pointer;
}

.back,
.next,
.reverse {
  display: flex;
  align-items: center;
}

.back p::selection,
.next p::selection,
.back img::selection,
.next img::selection,
.restart img::selection,
.restart p::selection {
  background: transparent;
}

.controls img {
  vertical-align: middle;
}

.controls .back img {
  margin-right: 10px;
}

.controls .next img {
  margin-left: 15px;
}

.controls .reverse img {
  margin-left: 10px;
}

.wrapper {
  height: 100vh;
  width: 100vw;
  position: relative;
  visibility: hidden;
}

#draggable>svg {
  width: 100vw;
  height: 100%;
}

.panel-wrap {
  width: 60vw;
  height: 35vh;
  position: absolute;
  left: 7vw;
  top: 10vh;
}

.slides-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
}

#draggable-wrapper {
  width: 100vw;
  height: 100vh;
}

#draggable {
  width: 100%;
  height: 100%;
}

#dates>g {
  cursor: pointer;
}

.all-starts-here {
  border: none;
  background: #244560;
  padding: 1rem 2rem;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  outline: 0;
}

#lines-narrow {
  opacity: 1;
}

#lines-narrow>* {
  opacity: 0.2;
  /* transition: 0.3s all ease-in; */
}

#dot-hover {
  display: none;
}

#lines-narrow-dummy>*,
#dates>g {
  pointer-events: none;
  cursor: pointer;
}

#dates-dots-group-hover>*,
#dot-hover-group>g {
  opacity: 0;
  visibility: hidden;
}

@media only screen and (min-width: 1405px) {

  /* svg {
    height: 560px !important;
  } */

  html,
  body {
    font-size: 18px;
  }

  .slide:not(.slide-0) .controls {
    top: 280px;
  }

  .slide-0 .controls {
    top: 380px;
  }

  .slide-13 .controls {
    top: 310px !important;
  }

  .panel-wrap {
    width: 50vw;
  }

}