* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.login_container{

  background-color: white;
}

.errors{
  padding-top: 15px;
  padding-left: 15px;
}

.errors p{
  color:red;
}
.errors li{
  color:red;
}


.login, .register {
  margin-left: auto;
  margin-right: auto;
  margin-top: 130px;
  margin-bottom: 40px;
  width: 400px;
  /* background-color: #ffffff; */
  background-color: #757575;
  
  /* box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto; */
  border-radius: 40px;
}

.login h1, .register h1 {
  text-align: center;
  color: #5b6574;
  color:white;
  font-size: 24px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}

.login .links, .register .links {
  display: flex;
  padding: 0 15px;
}

.login .links a, .register .links a {
  /* color: #adb2ba; */
  color:black;
  text-decoration: none;
  display: inline-flex;
  padding: 0 10px 10px 10px;
  font-weight: bold;
}

a.active{
  background-color: #757575;;
}

.login .links a:hover, .register .links a:hover {
  color: #9da3ac;
  color: white;
}

.login .links a.active, .register .links a.active {
  border-bottom: 3px solid rgb(37,44,91);
  color: rgb(37,44,91);
}

.login form, .register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}

.login form label  {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  height: 50px;
  background-color: rgb(37,44,91);
  color: #ffffff;
}
 .register form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%;
  height: 50px;
  background-color: rgb(37,44,91);
  color: #ffffff;
}


.login form input[type="password"], .login form input[type="text"], .login form input[type="email"] {
  width: 80%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
  background-color:white ;
}

.register form input[type="password"], .register form input[type="text"], .register form input[type="email"] {
  width: 72%;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
 
}

.login form input[type="submit"], .register form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: rgb(37,44,91);
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
  border-radius: 0;
  -webkit-border-radius: 0;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.login form input[type="submit"]:hover, .register form input[type="submit"]:hover {
  background-color: #2868c7;
  transition: background-color 0.2s;
}

.login form #rememberme, .register form #rememberme {
  width: 100%;
  height: auto;
  padding: 5px 20px;
  background-color: transparent;
  color: #000;
  justify-content: flex-start;
}

.login form #rememberme input, .register form #rememberme input {
  transform: scale(1.3);
  margin-right: 7px;
}

.login form .msg, .register form .msg {
  padding: 0 20px;
  width: 100%;
}

.login form > a, .register form > a {
  text-decoration: none;
  color: #5b6574;
  width: 100%;
  padding: 5px 20px;
}

.login form > a:hover, .register form > a:hover {
  color: #394049;
}

li {
  text-align: left;
}



@media screen and (max-width: 400px) {
  .login, .register {
    width: 95%;
  }
}

@media screen and (max-width: 1000px) {

}
