*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@font-face {
  font-family: 'CircularStd';
  src: url('./fonts/CircularStd-Book.eot');
  src: url('./fonts/CircularStd-Book.eot?#iefix') format('embedded-opentype'), url('../fonts/CircularStd-Book.woff') format('woff'), url('../fonts/CircularStd-Book.ttf') format('truetype'), url('../fonts/CircularStd-Book.svg#bcc26993292869431e54c666aafa8fcd') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
  text-align: center;
  color: #000118;
  background: #F94141;
  font-size: 18px;
  line-height: 24px;
  font-family: "CircularStd", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

::selection {
  background: #ffd242;
}
::-moz-selection {
  background: #ffd242;
}

a {
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #333;
}

a:hover {
  background: #ffd242;
}

.content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  background: #FDFDFD;
  align-items: center;
  perspective: 600px;
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 100%;
}
  .center__text {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    line-height: 60px;
    position: relative;
  }

  .center__image {
    position: absolute;
    width: 180px;
    height: 144px;
    bottom: -60px;
    right: -30px;
    opacity: 0;
    transform: translate(0, 20px) rotateX(-20deg);
    transition: all 500ms cubic-bezier(0.65, 0.05, 0.13, 1.35) 600ms;
  }

  .loaded .center__image {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotateX(0deg);
  }

  .center__replace {
    visibility: hidden;
  }

  @media only screen and (min-width: 350px) and (min-height: 500px) {
    .center__text {
      font-size: 70px;
      line-height: 70px;
    }
  }

  @media only screen and (min-width: 500px) and (min-height: 600px){
    .center__image {
      width: 236px;
      height: 189px;
      bottom: -70px;
      right: -20px;
    }

    .center__text {
      font-size: 90px;
      line-height: 90px;
    }
  }

  @media only screen and (min-width: 700px) and (min-height: 700px){
    .center__text {
      font-size: 100px;
      line-height: 100px;
    }
  }

  @media only screen and (min-width: 900px) and (min-height: 800px){
    .center__text {
      font-size: 120px;
      line-height: 120px;
    }
  }

  @media only screen and (min-width: 900px) and (min-height: 900px){
    .center__image {
      width: 282px;
      height: 225px;
      bottom: -70px;
      right: 0px;
    }

    .center__text {
      font-size: 140px;
      line-height: 140px;
    }
  }


.line-1,
.line-2,
.line-3,
.line-4 {
  opacity: 0;
  transform: translate(0, 20px) rotateX(-40deg);
  transition: all 500ms ease-in-out;
}

.line-1 { transition-delay: 100ms; }
.line-2 { transition-delay: 200ms; }
.line-3 { transition-delay: 300ms; }
.line-4 { transition-delay: 400ms; }

.loaded .line-1,
.loaded .line-2,
.loaded .line-3,
.loaded .line-4
{
  opacity: 1;
  transform: translate(0, 0) rotateX(0);
}


.top {
  margin-bottom: 2em;
  margin-top: 2em;
  transition: all 500ms ease-in-out;
  transform: translate(0, 20px);
  opacity: 0;
}

  .loaded .top {
    opacity: 1;
    transform: translate(0,0);
  }

  .top__logo {
    width: 150px;
  }

.bottom {
  margin-top: 2em;
  transition: all 400ms ease-in-out 700ms;
  transform: translate(0, 20px) rotateX(-10deg);
  opacity: 0;
}
  .loaded .bottom {
    opacity: 1;
    transform: translate(0, 0) rotateX(0);
  }

  .bottom__text {
    margin-bottom: 1em;
  }

.line {
  display: block;
  margin: auto;
  height: 25px;
  width: 1px;
  background: rgba(0,0,0,0.8);
}
