.login-form {
  position: relative;
  width: 400px;
  margin: auto;
}

.paper {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0.5px 1px 2px #999;
  border: 0.5px solid #cacaca;
}

.paper:before,
.paper:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0.5px 1px 1px #999;
  border: 0.5px solid #cacaca;
  z-index: -1;
  -webkit-transform: rotateZ(2deg);
  -moz-transform: rotateZ(2deg);
  -ms-transform: rotateZ(2deg);
}

.paper:after {
  top: 3px;
  box-shadow: 0.5px 0.5px 0.5px #999;
  border: 0.5px solid #cacaca;
  z-index: -2;
  -webkit-transform: rotateZ(-1deg);
  -moz-transform: rotateZ(-1deg);
  -ms-transform: rotateZ(-1deg);
}

.form-box {
  width: 90%;
  height: 80%;
  margin: 15% 5% 10% 5%;
}

.form-box input [type=text] {
  border-radius: 5px 5px 0 0;
  text-transform: lowercase;
}

.form-box input [type=password] {
  border-radius: 0 0 5px 5px;
  border-top: 0;
}

.avatar {
  display: block;
  position: relative;
  width: 100px;
  height: 100px;
  background: #fff;
  margin: auto;
}

.avatar__img {
  width: 130%;
  height: auto;
  padding: 10px 8px 8px 10px;
}

.form-container {
  width: 90%;
  height: 100%;
  margin: 10% auto 5% auto;
}

.form-container__control {
  display: block;
  width: 100%;
  height: calc(2em + 0.75rem + 2px);
  padding: 0.275rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #495057;
  text-align: center;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-container__control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #ced4da;
  outline: 0;
  box-shadow: 0 0 0 0;
}

.remember-container {
  width: 80%;
  margin: 7% auto 3% auto;
}

