@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i");
* {
  -moz-box-sizing: border-box;
  -webkit-kit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif !important;
  font-size: 1.3rem;
  background: #222;
  background: coral;
  color: #fff; }

#app {
  width: 90%;
  margin: 100px auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center; }
  #app h1 {
    font-size: 3em;
    font-weight: 900;
    color: #fff;
    text-align: center;
    padding-bottom: 0px; }
  #app h1.end {
    position: relative;
    color: #fff;
    font-size: 2em;
    background: #222;
    padding: 20px;
    opacity: 0;
    transform: 0.8s ease-in-out; }
  #app h2 {
    font-size: 2em; }
  #app #form-box {
    margin: 20px 0px;
    background: #fff;
    position: relative;
    width: 60%;
    padding: 10px;
    color: #222;
    border-top-right-radius: 30px;
    -webkit-box-shadow: 0px 16px 24px 2px rgba(0, 10, 0, 0.1);
    -moz-box-shadow: 0px 16px 24px 2px rgba(0, 10, 0, 0.1);
    box-shadow: 0px 16px 24px 2px rgba(0, 10, 0, 0.1);
    transition: transform 0.1s ease-in-out; }
  #app #form-box.close {
    width: 0;
    padding: 0;
    overflow: hidden;
    transition: 0.8 ease-in-out;
    box-shadow: 0 16px 24px transparent; }
  #app #next-btn {
    position: absolute;
    right: 35px;
    bottom: 20px;
    font-size: 1.4em;
    color: #222; }
    #app #next-btn:hover {
      color: #555555;
      cursor: pointer; }
  #app #prev-btn {
    position: absolute;
    font-size: 0.7em;
    left: 40px;
    top: 20px;
    float: right;
    z-index: 2; }
    #app #prev-btn:hover {
      color: #555555;
      cursor: pointer; }
  #app #input-group {
    position: relative;
    padding: 20px;
    margin: 20px 60px 20px 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out; }
    #app #input-group input {
      width: 100%;
      position: relative;
      border: none;
      font-size: 1.3em;
      outline: 0;
      font-weight: 700;
      background: transparent;
      box-shadow: none;
      letter-spacing: 2.4px; }
    #app #input-group #input-label {
      pointer-events: none;
      position: absolute;
      font-weight: 700;
      font-size: 1.2em;
      top: 24px;
      left: 20px;
      transition: 0.2s ease-in-out; }
    #app #input-group input:valid + #input-label {
      top: -9px;
      left: 40px;
      margin-left: 0 !important;
      font-size: 0.6em;
      font-weight: 300;
      color: #555555; }
  #app #progress-input {
    border-bottom: 3px solid #222;
    width: 0;
    transition: width 0.6s ease-in-out; }
  #app #progress-bar {
    position: absolute;
    background: coral;
    height: 10px;
    width: 0;
    left: 0;
    bottom: -10;
    transition: width 0.5s ease-in-out; }
  #app .error #progress-input {
    border-color: #c90a0a; }
  #app .error #next-btn {
    color: #c90a0a; }
  @media only screen and (max-width: 768px) {
    #app #form-box {
      width: 90%; }
    #app #input-group {
      margin: 0px; }
      #app #input-group input:valid + #input-label {
        left: 40px;
        top: 10px; }
    #app #prev-btn {
      left: 30px;
      top: 20px; }
    #app #next-btn {
      right: 25px;
      bottom: 0px; } }
