/* Document wide */
html {
  background: black;
  color: white;
  cursor: default;
}

body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  font-family: neue-haas-unica, sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 120%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Typography */
h1 {
  font-size: min(4.5vw, 7.5vh);
  max-width: 1100px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 85%;
  text-transform: uppercase;
  color: black;
}

h2 {
  font-size: 1.7em;
  letter-spacing: 0.0em;
  max-width: calc(100% - 30px);
  margin-bottom: 30px;
  font-family: new-spirit,serif;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
}

h3 {
  font-size: 2.3em;
  letter-spacing: 0.0em;
  margin-bottom: 30px;
  font-family: new-spirit,serif;
  text-transform: uppercase;
  font-weight: 200;
  font-style: normal;
  line-height: 100%;
}

p + p {
  margin-top: 10px;
}

b {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  position: fixed;
  width: 30%;
  min-width: 500px;
  text-align: center;
  color: black;
  z-index: 999;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: #10818a;
  border-radius: 10px 10px 0px 0px;
  padding: 12px 25px 0px 25px;
  font-size: 1.35em;
  line-height: 115%;
  cursor: pointer;
  box-shadow: 0px 0px 30px rgba(0,0,0,0.25);
}

header .button {
  width: 100%;
  margin-top: 20px;
}

header .key {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 10px;
  text-align: left;
  margin-bottom: 30px;
}

.key .label {
  display: flex;
  vertical-align: center;
}

.key .colour {
  height: 1em;
  width: 1em;
  border-radius: 2em;
  margin-right: 10px;
  margin-top: 2px;
  border: 1px solid black;
}

header .slide {
  display: none;
  padding-bottom: 15px;
}

/* Elements */
div.content {
  width: 440px;
  height: 340px;
  overflow-y: scroll;
  position: fixed;
  border-radius: 10px;
  padding: 25px;
  background-color: black;
  filter: blur(5px);
  transition: 0.4s;
  cursor: pointer;
}

div.story-card {
  background-color: #634741;
}

div.interview-quote {
  background-color: #505488;
}

div.metaphor {
  background-color: #ABB4BC;
}

div.practice-provocation {
  background-color: #DFA495;
}

div.unknown-worlds {
  background-color: #2E3D50;
}

.exit {
  position: absolute;
  top: 25px;
  right: 25px;
  height: 25px;
  width: 25px;
  font-size: 25px;
}

.content img {
  border-radius: 4px;
  margin: 20px auto 20px auto;
  max-width: 250px;
  height: auto;
}

.story-card blockquote, .interview-quote p {
  margin-top: 10px;
  font-style: italic;
  font-family: new-spirit,serif;
  background-color: white;
  color: #634741;
  padding: 10px 12px;
  border-radius: 8px;
}

.interview-quote p {
  color: #505488;
}



/* Loader */
.loader {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #10818a;
  color: black;
  transition: opacity 0.5s;
  display: grid;
  grid-template-columns: 50% 50%;
  text-align: center;
  z-index: 99999;
}

.loader .section {
  padding: 5vw;
  display: grid;
  place-content: center;
}

.loader p {
  text-align: left;
  font-size: 1.35em;
  line-height: 115%;
}

.button {
  background-color: black;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 45px;
  padding: 0px 20px;
  margin: 30px 0px;
  width: 50%;
  min-width: 200px;
  cursor: pointer;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 65px;
  height: 80px;
}

.lds-ellipsis div {
  position: absolute;
  top: 37px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10818a;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}


@media (max-width: 900px) {
  h1 {
    font-size: 3em;
  }

  h3 {
    font-size: 1.9em;
  }

  .loader {
    grid-template-columns: 100%;
  }

  .loader .button {
    display: none;
  }

  .content {
    display: none;
  }
}
