html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
}

body {
  font-family: "Montserrat", "HelveticaNeueLTStd", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  line-height: 1.5;
  min-width: 320px;
  background: black;
  color: white;
  padding: 1rem;
}
@media (max-width: 480px) {
  body {
    padding: 1rem 0;
  }
}

article {
  padding: calc(1rem + 2vw) 1rem;
  text-align: center;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
}
article > * {
  width: 100%;
}

.background-image {
  position: relative;
  background: url("https://i.picsum.photos/id/83/1200/800") no-repeat center top;
  background-size: 0;
  border-radius: 0.25rem;
  overflow: hidden;
  min-height: calc(100vh - 2rem);
  box-sizing: border-box;
}
@media (min-width: 1000px) {
  .background-image {
    background-image: url("https://source.unsplash.com/vaPoJZB9Mzg/2400x1600");
  }
}
.background-image:before, .background-image:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: inherit;
  background-size: cover;
  border-radius: 10px;
  opacity: 0;
  transition: all 2s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
  will-change: transform, opacity;
}
@media (orientation: landscape) {
  .background-image:before, .background-image:after {
    background-size: 130% auto;
  }
}
.background-image:before {
  transform: scale(1.125);
}
.background-image:after {
  transform: scale(0.875);
}
.time-is-out.loaded-image .background-image:before, .time-is-out.loaded-image .background-image:after, html:not(.first-time) .loaded-image .background-image:before, html:not(.first-time) .loaded-image .background-image:after {
  transform: scale(1);
  opacity: 1;
}

.text-in, .page-title, .page-subtitle, .button {
  transition: opacity 0.6s, transform 0.6s;
  will-change: opacity, transform;
}
html:not(.first-time) .text-in, html:not(.first-time) .page-title, html:not(.first-time) .page-subtitle, html:not(.first-time) .button {
  transition-delay: 0s !important;
}

.text-in {
  opacity: 0;
}
.loaded-document .text-in {
  opacity: 1;
}

.page-title, .page-subtitle, .button {
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s, transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s;
}
.time-is-out.loaded-image .page-title, html:not(.first-time) .loaded-image .page-title, .time-is-out.loaded-image .page-subtitle, html:not(.first-time) .loaded-image .page-subtitle, .time-is-out.loaded-image .button, html:not(.first-time) .loaded-image .button {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-20 {
  transition-delay: 2s;
}

.delay-50 {
  transition-delay: 5s;
}

.delay-70 {
  transition-delay: 7s;
}

.delay-100 {
  transition-delay: 10s;
}

.page-title {
  text-align: center;
  margin-bottom: 0.25em;
  font-size: calc(1.5rem + 1.5vw);
  line-height: 1.125;
  opacity: 0;
  transform: translate(0, -25%);
}

.page-subtitle {
  display: block;
  font-size: 12px;
  opacity: 0;
  transform: translate(0, 25%);
}
@media (min-width: 640px) {
  .page-subtitle {
    font-size: 14px;
  }
}

p {
  font-size: 14px;
  margin: 1em auto;
  text-align: center;
}
@media (min-width: 640px) {
  p {
    font-size: 16px;
  }
}
@media (min-width: 1020px) {
  p {
    font-size: 18px;
  }
}

.page-subtitle + p {
  margin-top: calc(1rem + 4vw);
}

.actions {
  margin-top: calc(2rem + 6vw);
}

.button {
  position: relative;
  padding: 0.75em 2em;
  border: 1px solid white;
  border-radius: 0.25em;
  text-decoration: none;
  color: inherit;
  letter-spacing: 0.1em;
  box-shadow: 0 1px 1px 0px rgba(0, 0, 0, 0.25);
  display: inline-block;
  opacity: 0;
  transform: translate(-10%, 0);
}
.button:hover {
  background: white;
  color: black;
  text-shadow: none;
}
.button:active {
  position: relative;
  top: 1px;
  box-shadow: 0 0px 1px 0px rgba(0, 0, 0, 0.25);
}
.button + .button {
  transform: translate(10%, 0);
  margin-left: calc(1rem + 4vw);
}
.button + .button:before {
  content: "* Work in progress";
  position: absolute;
  top: 100%;
  left: 0;
  font-size: 11px;
  margin: 0.75em;
  color: white !important;
  pointer-events: none;
}