@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500);/* components */

.notifications {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.notifications > section {
  position: absolute;
  bottom: 35px;
  width: 100%;
  background: white;
  text-align: center;
  font-style: italic;
  color: #aaa;
  pointer-events: none;
  animation: fade-in-up 1.5s ease both;
}

.notifications > section.out {
  animation-name: fade-out;
}

.notifications > .incorrect {
  color: #d00e4d;
  font-size: 16px;
}

.notifications > .correct div {
  color: #00a651;
  margin-bottom: 7px;
  font-size: 18px;
  font-weight: 500;
}

@keyframes fade-in-up {
  0% {
    transform: translate3d(0, 100%, 0);
    opacity: 0;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

form {
  transition: 0.35s ease all;
}

form input {
  display: block;
  width: 100%;
  margin: 35px 0;
  border: 1px solid #bfbfbf;
  padding: 15px;
  box-sizing: border-box;
  -webkit-appearance: none;
  border-radius: 5px;
  outline: none;
  transition: 0.35s ease all
}

form input:focus{
  margin: 45px 0;
  transform: scale(1.05);
}

form input:focus ~ .arrow{
  left: 100%;
  opacity: .35;
}

form input:disabled{
  background: white;
}

form button {
  background: #ed145b;
  padding: 10px 50px 8px;
  font-style: italic;
  font-weight: 400;
  color: white;
  border-radius: 5px;
  border: 0;
  border-bottom: #d00e4d 5px solid;
  box-sizing: border-box;
  outline: none
}

form button:active{
  margin-top: 2px;
  border-bottom-width: 3px;
}

form.disabled{
  opacity: 0.35;
  pointer-events: none;
}

@media screen and (max-width: 480px) {
  button {
    display: block;
    width: 100%;
  }
}

::-webkit-input-placeholder {
  font-style: italic;
  opacity: .35;
}

::-moz-placeholder {
  font-style: italic;
  opacity: .35;
}

:-ms-input-placeholder {
  font-style: italic;
  opacity: .35;
}

:-moz-placeholder {
  font-style: italic;
  opacity: .35;
}

/* effects */

body.black {
  background: black;
}

body.black form {
  opacity: 0;
}

body.black .notifications > section {
  background: black;
}

form.blurry {
  filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="3" /></filter></svg>#filter');
  filter: blur(3px);
}

body.breathing form {
  animation: breathing 5s linear infinite both;
}

body.breathing .notifications span.showLater {
  opacity: 1;
}

@keyframes breathing {
  0% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.1);
  }

  30% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.1);
  }

  60% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.1);
  }

  90% {
    transform: scale(1);
  }

  95% {
    transform: scale(1.035);
  }

  100% {
    transform: scale(1);
  }
}

form.flat button {
  padding: 10px 50px;
  border-bottom: transparent;
}

body.high {
  transform: translate3d(0, -50%, 0);
}

form.inversed {
  filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="table" tableValues="1 0" /><feFuncG type="table" tableValues="1 0" /><feFuncB type="table" tableValues="1 0" /></feComponentTransfer></filter></svg>#filter');
  filter: invert(100%);
}

.notifications > .melting {
  background: white;
}

.notifications > .melting > span {
  font-size: 26px;
  background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.reversed {
  transform: rotate3d(0, -1, 0, 180deg);
}

body.rotated {
  transform: rotate3d(0, 0, 1, 180deg);
}

html, body {
  padding: 0;
  margin: 0;
  position: relative;
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #4c4c4c;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-pack: center;
      justify-content: center;
  font-weight: 400;
  overflow: hidden;
  transition: 0.35s ease all;
}

main {
  text-align: center;
  max-width: 700px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

.arrow {
  position: absolute;
  left: calc(100% - 50px);
  top: 0;
  color: #a8a8a8;
  text-align: center;
  white-space: nowrap;
  font-style: italic;
  font-size: 14px;
  transition: 0.35s ease all;
}

.arrow img {
  display: block;
  margin: 10px auto;
}

h1 {
  font-weight: 400;
  font-size: 18px;
}

@media screen and (max-width: 920px) {
  .arrow {
    display: none;
  }
}