* {
  margin: 0;
  padding: 0 auto;
}

/* LOGIN */

#login {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #a5b3c2;
  transition: 0.5s;
}

.login-container {
  position: relative;
  width: 800px;
  height: 500px;
  margin: 20px;
}

.blue-bg {
  position: absolute;
  top: 40px;
  height: 420px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 45px rgba(0, 0, 0, 0.15);
}

.blue-bg .box {
  position: relative;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.blue-bg .box h2 {
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 10px;
}

.blue-bg .box button {
  cursor: pointer;
  padding: 10px 20px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  border: none;
}

.form-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #fff;
  z-index: 998;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 45px rgba(0, 0, 0, 0.25);
  transition: 0.5s ease-in-out;
  overflow: hidden;
}

.form-box.active {
  left: 50%;
}

.form-box .form {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 50px;
  transition: 0.5s;
}

.form-box .signin-form {
  transition-delay: 0.25s;
}

.form-box.active .signin-form {
  left: -100%;
  transition-delay: 0s;
}

.form-box .signup-form {
  transition-delay: 0s;
  left: 100%;
}

.form-box.active .signup-form {
  left: 0;
  transition-delay: 0.25s;
}

.form-box .form form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-box .form form h3 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 20px;
  font-weight: 500;
}

.form-box .form form input {
  margin-bottom: 15px;
  padding: 10px;
  outline: none;
  font-size: 16px;
  border: 1px solid #333;
}

.form-box .form form input[type="submit"] {
  background: #4d3928;
  border: none;
  color: #fff;
  max-width: 150px;
  cursor: pointer;
  transition: all 0.3s;
}

input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 5px;
}

.form-box .form form input[type="submit"]:hover {
  background: #1a1406;
}

.form-box .form form .forgot {
  color: #333;
}

@media (max-width: 991px) {
  .login-container {
    max-width: 400px;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .login-container .blue-bg {
    top: 0;
    height: 100%;
  }

  .form-box {
    width: 100%;
    height: 500px;
    top: 0;
    box-shadow: none;
  }

  .blue-bg .box {
    position: absolute;
    width: 100%;
    height: 150px;
    bottom: 0;
  }

  .box.signin {
    top: 0;
  }

  .form-box.active {
    left: 0;
    top: 150px;
  }
}

/* DECONNEXION */

.btn-row a {
  background: #1a1406be;
  transition: all 0.3s;
}

.btn-row a:hover {
  color: #eee;
  background: #1a1406;
}
