html, body {
  height: 100%;
}

:root {
  --main-color: #f6aa00;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  color: #666;
  display: table;
  font-weight: 200;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
}

a {
  color: var(--main-color);
  border-color: var(--main-color);
  transition: color .3s;
  -webkit-transition: color .3s;
  -moz-transition: color .3s;
  -o-transition: color .3s;
}

.container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.content {
  padding: 3em 0;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.content p {
  padding: 0;
  margin: 0;
  line-height: 2em;
}

.title {
  font-size: 3.8rem;
  font-weight: 200;
  margin-bottom: 40px;
  margin-top: 0;
  text-transform: uppercase;
  color: var(--main-color);
  letter-spacing: 0.1rem;
}

.icon svg {
  width: 130px;
}

.icon .icon-closed {
  stroke: var(--main-color);
  stroke-width: 3px;
}

.icon .icon-line {
  stroke: var(--main-color);
  stroke-width: 3px;
}

.icon .icon-eye {
  fill: var(--main-color);
}

.title span {
  display: block;
  font-size: 1.2rem;
  color: #2f2e2b;
}

.back-link {
  display: inline-block;
  line-height: 2em;
  padding: 0 1em;
  margin: 2em 0 0;
  text-decoration: none;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  transition: background-color .2s, color .2s;
  -webkit-transition: background-color .2s, color .2s;
}

.back-link:hover {
  background-color: #f6aa00;
  color: #fff;
}

.footer {
  padding: 2em 0;
  border-top: 1px solid #eee;
  font-size: .8em;
}

.footer a {
  line-height: 1.75em;
  text-decoration: none;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes shake {
  from, to {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
  -webkit-transform: translate3d(-10px, 0, 0);
  transform: translate3d(-10px, 0, 0);
  }

  20%, 40%, 60%, 80% {
  -webkit-transform: translate3d(10px, 0, 0);
  transform: translate3d(10px, 0, 0);
  }
}

@keyframes shake {
  from, to {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  }

  10%, 30%, 50%, 70%, 90% {
  -webkit-transform: translate3d(-10px, 0, 0);
  transform: translate3d(-10px, 0, 0);
  }

  20%, 40%, 60%, 80% {
  -webkit-transform: translate3d(10px, 0, 0);
  transform: translate3d(10px, 0, 0);
  }
}

.shake {
  -webkit-animation-name: shake;
  animation-name: shake;
}

@-webkit-keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
  -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
  opacity: 0;
  -webkit-transform: translate3d(-3000px, 0, 0);
  transform: translate3d(-3000px, 0, 0);
  }

  60% {
  opacity: 1;
  -webkit-transform: translate3d(25px, 0, 0);
  transform: translate3d(25px, 0, 0);
  }

  75% {
  -webkit-transform: translate3d(-10px, 0, 0);
  transform: translate3d(-10px, 0, 0);
  }

  90% {
  -webkit-transform: translate3d(5px, 0, 0);
  transform: translate3d(5px, 0, 0);
  }

  to {
  -webkit-transform: none;
  transform: none;
  }
}

@keyframes bounceInLeft {
  from, 60%, 75%, 90%, to {
  -webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
  opacity: 0;
  -webkit-transform: translate3d(-3000px, 0, 0);
  transform: translate3d(-3000px, 0, 0);
  }

  60% {
  opacity: 1;
  -webkit-transform: translate3d(25px, 0, 0);
  transform: translate3d(25px, 0, 0);
  }

  75% {
  -webkit-transform: translate3d(-10px, 0, 0);
  transform: translate3d(-10px, 0, 0);
  }

  90% {
  -webkit-transform: translate3d(5px, 0, 0);
  transform: translate3d(5px, 0, 0);
  }

  to {
  -webkit-transform: none;
  transform: none;
  }
}

.bounceInLeft {
  -webkit-animation-name: bounceInLeft;
  animation-name: bounceInLeft;
}

@keyframes swing {
  20% {
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    transform: rotate3d(0, 0, 1, -5deg);
  }

  to {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.swing {
  transform-origin: top center;
  animation-name: swing;
}

@media screen and (max-width: 600px) {
  .title {
  font-size: 2.2rem;
  }
  .title svg {
      display: block;
      margin: auto auto .5em;
  }
  .footer {
      font-size: .75rem;
  }
}
