* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100vh;
}

body {
  /* background: #e2e0fe; */
  background: #5984bd;
  font-family: Roboto, Arial, sans-serif;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

form {
  margin: 20px 0;
  background-color: white;
  padding: 20px 50px;
  border-radius: 35px;
  -webkit-box-shadow: 0px 0px 57px -37px rgba(104,94,253,1);
  -moz-box-shadow: 0px 0px 57px -37px rgba(104,94,253,1);
  box-shadow: 0px 0px 57px -37px rgba(104,94,253,1);
}

/* Centalizar ao meio */
.form-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form .row{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

form .col{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

.judul h3 {
  display: block;
  font-size: 23px;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
  font-weight: 300;
  color: #616161;
}

form {
  background: url(img/01-bg-form.png);
  background-repeat: no-repeat;
  background-size: cover;
}

form .col .input-block {
  margin-bottom: 10px;
}

.input-block input {
  padding-left: 30px;
}

.input-block select {
  padding-left: 30px;
}

.input-block.fasyankes input {
    background-image: url(img/house-flood.png);
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 0px;
    background-origin: content-box;
    background-size: 20px;
    text-indent: 35px;
}

.input-block.provinsi select{
  background-image: url(img/bank.png);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 0px;
  background-origin: content-box;
  background-size: 20px;
  text-indent: 35px;
}

.input-block.kota select {
    background-image: url(img/bank.png);
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 0px;
    background-origin: content-box;
    background-size: 20px;
    text-indent: 35px;
}

.input-block.kecamatan select {
    background-image: url(img/garage.png);
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 0px;
    background-origin: content-box;
    background-size: 20px;
    text-indent: 35px;
}

.input-block.kelurahan select {
    background-image: url(img/home-location-alt.png);
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 0px;
    background-origin: content-box;
    background-size: 20px;
    text-indent: 35px;
}

.input-block.username input {
    background-image: url(img/user.png);
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 0px;
    background-origin: content-box;
    background-size: 20px;
    text-indent: 35px;
  }

.input-block.alamat input {
    background-image: url(img/map-marker.png);
    background-repeat: no-repeat;
    background-position: left;
    background-position-x: 0px;
    background-origin: content-box;
    background-size: 20px;
    text-indent: 35px;
}

.input-block.penanggung input {
  background-image: url(img/portrait.png);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 0px;
  background-origin: content-box;
  background-size: 20px;
  text-indent: 35px;
}

.input-block.email input {
  background-image: url(img/circle-envelope.png);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 0px;
  background-origin: content-box;
  background-size: 20px;
  text-indent: 35px;
}

.input-block.telepon input {
  background-image: url(img/call-history.png);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 0px;
  background-origin: content-box;
  background-size: 20px;
  text-indent: 35px;
}

.input-block.jenis select {
  background-image: url(img/bars-progress.png);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 0px;
  background-origin: content-box;
  background-size: 20px;
  text-indent: 35px;
}

.input-block.password input {
  background-image: url(img/key.png);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 0px;
  background-origin: content-box;
  background-size: 20px;
  text-indent: 35px;
}

.input-block.ulangipassword input {
  background-image: url(img/key.png);
  background-repeat: no-repeat;
  background-position: left;
  background-position-x: 0px;
  background-origin: content-box;
  background-size: 20px;
  text-indent: 35px;
}

form .col .input-block input {
  width: 350PX;
  height: 40PX;
  display: block;
  margin-top: 2px;
  padding: 10px;
  font-size: 14px;
  /* color: #000000; */
  border-radius: 5px;
  border: 1px solid #dddddd;
  outline: #685efd;
  transition: 250ms;
}

form .col .input-block select {
  width: 350PX;
  height: 40PX;
  display: block;
  margin-top: 2px;
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #dddddd;
  outline: #685efd;
  transition: 250ms;
  box-shadow: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

form .col .input-block input:hover {
  border: 1px solid #685efd;
}

form .col .input-block select:hover {
  border: 1px solid #685efd;
}

form .danger{
  border: 1px solid #f84747;
  padding: 5px;
  border-radius: 5px;
  background-color: #fd5e5ea8;
  color: #ba0101;
  text-align: center;
  display: none;
  margin-bottom: 5px;
}

::placeholder {
  color: #c8c6c6;
}

form .btn-regis {
  display: block;
  min-width: 120px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  background-color: #685efd;
  color: white;
  border-radius: 35px;
  margin: auto;
  width: 200px;
  height: 35px;
  margin-top: 10px;
  box-shadow: 3px 6px 15px -6px #685efd;
  transition: 250ms;
}

form .row .btn-regis:hover {
  filter: brightness(80%);
}

form p .span {
  color: #685efd;
  text-decoration: none;
}

form p .span:hover {
  transition: 200ms;
  filter: brightness(70%);
}
form p {
  font-size: 16px;
  text-align: center;
  padding-top: 15px;
}
 
/*=== APARIÇÃO DO FORM ===*/
form {
  overflow: hidden;
  animation: fade 0.2s;
}

form .col .input-block:nth-child(2) {
  animation: move 500ms;
}

form .col .input-block:nth-child(3) {
  animation: move 400ms;
  animation-delay: 150ms;
  animation-fill-mode: backwards;
}

form .row .btn-regis {
  animation: move 400ms;
  animation-delay: 250ms;
  animation-fill-mode: backwards;
  cursor: pointer;
}

@keyframes move {
  from {
    opacity: 0;
    transform: translate(-35%);
  }to {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Quando clicar no botão, sumir com o form */
.form-hide {
  animation: down 500ms;
  animation-fill-mode: 1.2s forwards;
  animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

@keyframes down {
  from {
    transform: translateY(0);
  }to {
    transform: translateY(100vh);
  }
}

/*=== FORM NO-NO ===*/
form.validate-error {
  animation: nono 200ms linear, fade paused;
  animation-iteration-count: 2;
}
@keyframes nono {
  0%, 
  100% {
    transform: translateX(0);
  }
  35% {
    transform: translateX(-15%);
  }
  70% {
    transform: translateX(15%);
  }
}

/*=== SQUARES ===*/
body {
  overflow: hidden;
}
.squares li {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  display: block;
  position: absolute;
  bottom: -40px;
  animation: up 2s infinite, alternate;
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 1;

  }
  to {
    opacity: 0;
    transform: translateY(-800px) rotate(960deg);
  }
}