h1,
h2,
h3 {
  font-weight: 200;
  margin: 0 0 .5em;
}
html {
  height: 100%;
  overflow: hidden;
}
body {
  margin: 0;
  background: linear-gradient(#ccd, #eef);
  height: 100%;
  overflow: auto;
  font-size: 48px;
  font-family: "Helvetica", sans-serif;
  font-weight: 200;
  display: flex;
  perspective: 500px;
  overflow: hidden;
}
body, input, button {
  font-size: 48px;
  font-weight: 200;
  line-height: 1.5em;
  color: #fff;
}
input, button {
  letter-spacing: 1px;
  padding: 5px 10px;
  background: #ffffff44;
  box-shadow: inset 0 5px 20px #ff5d5dbb;
  border-radius: 5px;
  border: none;
  outline: none;
  transition: box-shadow .5s, background .5s;
  color: #a0a;
}
input:focus {
  background: #ffffffcc;
  /*box-shadow: inset 0 5px 20px #ff5d5d99, 0 0 0px 3px #ffee99;*/
}
a {
  color: #fe9;
  text-decoration: none;
  transition: text-shadow .5s;
}
a:hover {
  text-shadow: 0 0px 20px;
}
.welcome {
  text-align: center;
  transition: box-shadow .5s; /* should be same as opacity transition on .main__content */
}
.js-contentHidden.welcome {
  box-shadow: 0 8px 20px #ff5d5d99;
}
.main {
  margin: auto;
  max-width: 400px;
  background: linear-gradient(#ff3a3a, #ff5d5d);
  border-radius: 5px;
  padding: 40px;
  box-shadow: 0 20px 50px #ff5d5d99;
}
.main__content {
  transition: opacity .5s ease-in-out;
}
.auth .main__content {
  transition-delay: .5s;
}
.auth .main__content--1 {
  transition-delay: .5s; /* duh */
}
.auth .main__content--2 {
  transition-delay: .55s;
}
.auth .main__content--3 {
  transition-delay: .60s;
}
.auth .main__content--4 {
  transition-delay: .65s;
}
.auth .main__content--5 {
  transition-delay: .70s;
}
.auth .main__content--6 {
  transition-delay: .75s;
}
.js-contentHidden .main__content {
  opacity: 0;
}
.auth {
  display: none;
  transition: transform .5s ease-out;
}
.auth, 
.auth input,
.auth button {
  font-size: 32px;
}
.auth input,
.auth button {
  min-width: 400px;
  box-sizing: border-box;
}
.auth ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}
.auth label {
  float: left;
}
.auth input {
  clear: both;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  opacity: .6;
  color: #fcf;
  transition: opacity .25s;
}
input:focus::-webkit-input-placeholder {
  opacity: 0;
}
button[type="submit"] {
  background: #fff;
  box-shadow: 0 5px 20px #ffee9999, 0 0 0 5px #ff5d5d;
  color: #ff5d5d;
  min-width: auto;
  float: right;
  margin-top: 40px;
}
.mover {
  position: relative;
  transform: none;
  transition: transform .1s;
  cursor: pointer;
}
.mover::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
}
.auth .auth__input--username.js-fallen {
  transform-origin: bottom left;
}
.auth .auth__input--password.js-fallen {
  transform-origin: bottom right;
}
.js-bent {
  transform: rotateX(-10deg) rotateY(-10deg) rotateZ(-10deg) skew(-10deg, 10deg) scale(0.95);
  transition: transform .1s ease-out;
  transform-origin: bottom center;
}
