html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: .67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace,monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace,monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: '';
  clear: both;
  height: 0;
}

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

*, *:before, *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/*! Flickity v2.2.1
https://flickity.metafizzy.co
---------------------------------------------- */
.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus {
  outline: none;
}

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */
.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */
.flickity-button {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  border: none;
  color: #333;
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 5px #19F;
          box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */
.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button.previous {
  left: 10px;
}

.flickity-prev-next-button.next {
  right: 10px;
}

/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}

.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

/* ---- page dots ---- */
.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: 0px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots {
  direction: rtl;
}

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}

body {
  background-color: #F4F7FC;
  font-family: 'Zilla Slab', serif;
}

.wrapper {
  max-width: 1920px;
  width: 75%;
  margin: 0 auto;
}

.wrapper .carousel {
  margin: 6% 0 3.2% 0;
}

h1 {
  font-family: 'Lora', serif;
  font-size: 3.0rem;
  letter-spacing: 0.2rem;
  text-transform: lowercase;
  color: #4A455C;
}

h1 span {
  display: inline-block;
  height: 50px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, rgba(255, 255, 255, 0)), color-stop(40%, #b8b3e2));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, #b8b3e2 40%);
}

h2 {
  font-family: 'Zilla Slab', serif;
  font-size: 1.8rem;
  color: #4A455C;
  margin: 0;
}

h3 {
  font-size: 2.0rem;
  color: #4A455C;
  position: absolute;
  top: 0;
  margin: 0 auto;
}

p {
  color: #4A455C;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-family: 'Zilla Slab', serif;
  letter-spacing: 0.2rem;
}

p.active {
  display: none;
}

img {
  display: block;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.headerWrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 5%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.textContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 30%;
}

.textContainer p {
  font-size: 1.0rem;
  line-height: 1.5rem;
  margin-top: 20px;
  text-transform: none;
}

.imageContainer {
  width: 65%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

#randomize {
  background-color: transparent;
  color: #4A455C;
  font-size: 1.0rem;
  letter-spacing: 0.2rem;
  text-transform: lowercase;
  font-family: 'Zilla Slab', serif;
  width: 130px;
  padding: 5px 0;
  border: 1px solid #4A455C;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

#randomize:hover {
  background-color: #b8b3e2;
}

.timelineFlex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.timelineContainer {
  width: 90%;
  top: 150px;
  position: absolute;
  text-align: center;
  margin: 0 auto;
}

.timelineContainer .timelineLine {
  display: block;
  width: 93.9%;
  height: 20px;
  border-radius: 20px;
  background: -webkit-gradient(linear, left top, right top, from(#94bbe9), color-stop(50%, #eeaeca), to(#f3ccbd));
  background: linear-gradient(90deg, #94bbe9 0%, #eeaeca 50%, #f3ccbd 100%);
  position: absolute;
  top: 40px;
  left: 3%;
  margin-left: 2.5px;
}

.albumButton {
  width: 15%;
  display: inline-block;
  position: relative;
  height: 100%;
  margin-right: -5px;
  z-index: 1;
}

.albumButton p {
  font-size: 1.0rem;
}

.albumButton img {
  -webkit-filter: grayscale(50%);
          filter: grayscale(50%);
}

.albumButton > span {
  height: 2rem;
  display: block;
  font-weight: bold;
  position: absolute;
  top: 10px;
  width: 100%;
}

.albumButton > span:before {
  content: " ";
  display: block;
  width: 50px;
  height: 50px;
  background: #FFF;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  -webkit-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.75);
          box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.75);
}

.albumButtonHover {
  display: none;
  position: absolute;
  left: 0;
  top: 34px;
  margin-top: -50%;
  width: 100%;
}

.albumButtonHover a {
  display: block;
  width: 100%;
  height: 100%;
}

.albumButtonHover a img {
  border-radius: 50%;
  max-height: 100%;
  max-width: 100%;
  border: 3px solid white;
}

.albumButtonHover a span {
  color: #FFF;
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  position: absolute;
  top: 50%;
  right: 50%;
  -webkit-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
  text-decoration: none;
  text-shadow: 1px 1px 1px #000;
  text-transform: uppercase;
}

.albumButton.active {
  width: 15%;
}

.albumButton.active p {
  display: none;
}

.albumButton.active .albumButtonHover {
  display: block;
}

footer {
  position: relative;
  bottom: 0;
  text-align: center;
  padding: 2px 0;
}

footer p {
  text-transform: none;
  color: #4A455C;
  font-size: 1.0rem;
}

/* Flickity */
.carousel-cell {
  width: 100%;
  height: 400px;
  margin-right: 10px;
  border-radius: 5px;
}

@media (max-width: 1500px) {
  .albumButton.active {
    width: 20%;
  }
}

@media (max-width: 1000px) {
  .albumButton.active {
    width: 30%;
  }
}

@media (max-width: 700px) {
  .wrapper {
    width: 90%;
  }
  .headerWrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .textContainer {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
    width: 100%;
  }
  .imageContainer {
    width: 100%;
    margin: 10% 0;
  }
}

@media (max-width: 500px) {
  .timelineContainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
    height: 800px;
    top: 40px;
  }
  .timelineContainer .timelineLine {
    display: block;
    width: 20px;
    height: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(#94bbe9), color-stop(50%, #eeaeca), to(#f3ccbd));
    background: linear-gradient(180deg, #94bbe9 0%, #eeaeca 50%, #f3ccbd 100%);
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  .albumButton {
    width: 100%;
    display: block;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    height: auto;
  }
  .albumButton > span {
    left: 2px;
  }
  .albumButton.active {
    width: 50%;
  }
  span p {
    background-color: #FFF;
    display: inline;
    padding: 5px;
  }
  /* Flickity */
  .carousel-cell {
    height: 1000px;
  }
}
