@import url('./root.css');

.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  height: 95vh;
  margin: 0 auto;
}

.container-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 30px 30px 50px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 80%;
}

.logotipo-login {
  width: 250px;
  /* height: 150px; */
  border-radius: 50%;

}

#loginForm {
  width: 60%;
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: bold;
  font-family: var(--primary-font);
  font-size: 1.3rem;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #959595;
  border-radius: 5px;
  font-size: 1.3rem;
  box-sizing: border-box;
}

input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: red;
}

button {
  width: 100%;
  padding: 12px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.3rem;
  cursor: pointer;
  margin-top: 10px;
  transition: .8s;
  font-family: var(--primary-font);
}

button:hover {
  background-color: rgb(187, 0, 0);
  transition: .8s;
}

.register-link {
  text-align: center;
  margin-top: 20px;
  font-family: var(--primary-font);
  font-size: 1.3rem;
}

.register-link a {
  color: red;
  text-decoration: none;
  font-family: var(--primary-font);
  font-size: 1.3rem;
}

.register-link a:hover {
  text-decoration: underline;
}

.message {
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  display: none;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 980px) {
  .login-section {
    width: 80%;
  }

}

@media (max-width: 480px) {
  .login-section {
    width: 90%;
  }

  .logotipo-login {
    width: 200px;
  }

  #loginForm{
    width: 80%;
  }

}