body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #fefdfb;
  box-sizing: border-box;
  color: #646464;
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

a {
  text-decoration: none;
  color: #aaa;
}

.background-image {
  background: url('../img/login_background.jpg') no-repeat center center fixed;
  background-position: center center;
  height: 100vh;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  opacity: 0;
  -webkit-animation-name: fade-in;
  -webkit-animation-duration: 1.5s;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-delay: 0.8s;
}

.background-image.visible {
  opacity: 1;
}

@-webkit-keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.login-box {
  background-color: #f9f7f5;
  text-align: center;
  padding: 0;
  width: 340px;
  height: 560px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  transition: .3s;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.2);
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.2);
}

.logo {
  display: block;
  background-color: #333;
  width: 100%;
  padding: 20px 0;
  margin: 0 auto 4px;
  position: relative;
}

h2 {
  color: #424242;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin: 12px 0 0;
  padding: 8px;
}

.errorlist {
  margin-top: 0;
  padding: 0;
  list-style: none;
}

.inform {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  transition: .3s;
}

label {
  font: 15px;
  color: #0a172b;
  display: block;
  float: left;
}

input {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  width: 100%;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin: 8px 0 20px;
  display: inline-block;
  padding: 12px 20px;
  transition: .2s;
  border: 1px solid #ccc;
  box-sizing: border-box;
  -webkit-appearance: none;
}

input:focus {
  outline: 0;
  border-color: #66afe9;
  box-shadow: 0 0 0 0.2rem rgba(00, 120, 255, 0.25);
}

.botao {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  background-color: #b5bb25;
  color: white;
  width: 90%;
  height: 44px;
  min-width: 150px;
  cursor: pointer;
}

.botao:hover {
  background-color: #c8ce28;
}

.botao:focus {
  outline: none;
}

@media screen and (max-width: 420px), screen and (max-height: 620px) {
  .inform {width: 90%}
  .full-img {min-height: 568px}
  .login-box {width: 300px; height: 480px}
  input {margin: 8px 0 4px}
  h2 {margin: 0}
  .logo {padding: 12px 0}
}
