body,
html {
  margin: 0;
  letter-spacing: 0.5px;
}

:root {
  --form-height: 550px;
  --form-width: 900px;
  /*  Sea Green */
  --left-color: #7a52b3;
  /*  Light Blue  */
  --right-color: #7a52b3;
}

.login_container {
  width: var(--form-width);
  height: var(--form-height);
  position: relative;
  margin: auto;
  box-shadow: 2px 10px 40px rgba(22, 20, 19, 0.4);
  border-radius: 10px;
  margin-top: 50px;
}

/* 
----------------------
      Overlay
----------------------
*/
.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 100;
  background-image: linear-gradient(
    to right,
    var(--left-color),
    var(--right-color)
  );
  border-radius: 10px;
  color: white;
  clip: rect(0, 400px, var(--form-height), 0);
}

.overlay .sign-in {
  --padding: 8px;
  width: calc(400px - var(--padding) * 2);
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 0px var(--padding);
  text-align: center;
}

.overlay .sign-in {
  float: left;
}

.overlay h1 {
  margin: 0px 5px;
  font-size: 2.1rem;
}

.overlay p {
  margin: 16px;
  font-weight: 200;
}

.open-sign-in {
  animation: slideright 1s linear forwards;
}

/* 
------------------------
      Buttons
------------------------
*/

.control-button {
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 140px;
  height: 40px;
  font-size: 14px;
  text-transform: uppercase;
  background: none;
  border-radius: 20px;
  color: white;
}

.control-button {
  border: none;
  margin-top: 15px;
}

.control-button:focus {
  outline: none;
}

.control-button.up {
  background-color: var(--left-color);
}

.control-button.in {
  background-color: var(--right-color);
}

/* 
--------------------------
      Forms
--------------------------
*/
.form {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 10px;
}

.form .sign-in {
  --padding: 8px;
  position: absolute;
  /*  Width is 100% - 400px - padding  */
  width: calc(var(--form-width) - 400px - var(--padding) * 2);
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 0px var(--padding);
  text-align: center;
}

.form .sign-in {
  right: 0;
}

.form-right-slide-in {
  animation: form-slide-in-right 1s;
}

.form-right-slide-out {
  animation: form-slide-out-right 1s;
}

.form-left-slide-in {
  animation: form-slide-in-left 1s;
}

.form-left-slide-out {
  animation: form-slide-out-left 1s;
}

.form .sign-in h1 {
  color: var(--right-color);
  margin: 0;
}

.small {
  font-size: 13px;
  color: grey;
  font-weight: 200;
  margin: 5px;
}

#sign-in-form input {
  margin: auto;
  font-size: 14px;
  padding: 15px;
  width: 260px;
  font-weight: 300;
  border: none;
  background-color: #e4e4e494;
  letter-spacing: 1.5px;
  padding-left: 20px;
}

#sign-in-form input::placeholder {
  letter-spacing: 1px;
}

/* Login Form Logo */

.login_logo_div {
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 50%;
  background-position: center;
  width: 120px;
  height: 120px;
}

#username-addon,
#password-addon {
  color: white;
  background-color: #7a52b3;
}

@media screen and (max-width: 766px) {
  .login_container {
    width: auto;
  }
  .overlay {
    display: none;
  }
  .form .sign-in {
    width: 100%;
  }
}


.login_img_logo {
  width: 100px;
}