/* Estilos base */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #101216;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: white;
}

/* Estilos para el encabezado */
.header-section {
  background: linear-gradient(to right, #2f5ae7, #007aff);
  color: white;
  padding: 6px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.left-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.titulo {
  display: flex;
  flex-direction: column;
}

.texto-invisible {
  display: none;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  margin-left: 6vw;
}
.titulo{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left:15px ;
}
.titulo h1 {
  font-size: 16px;
  margin: 0;
  line-height: 1.2;
}

.titulo h2 {
  font-size: 12px;
  font-weight: 400;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  transition: transform 0.4s ease;
  padding: 0 10px;
  text-decoration: none;
  color: white;
}

.social-icons a svg {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.social-icons a:hover {
  transform: scale(1.1);
}

/* Estilos para la sección principal */
.main-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-grow: 1;
}

.login-section {
  width: 600px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  background-color: #23355c;
  border-radius: 10%;
  margin: 40px 0;
  min-width: 400px;
}

.login-container {
  background-color: transparent;
  padding: 20px;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 40px;
  font-weight: 200;
  color: white;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 100%;
}

.logo-container img {
  width: auto;
  height: auto;
  max-height: 100px;
  max-width: 100%;
}

/* Estilos del formulario */
#loginForm {
  width: 100%;
}

.form-group {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  width: 63%;
  text-align: left;
}

.form-group input {
  width: 70%;
  padding: 7px;
  background-color: #111827c2;
  border: 1px solid #374151;
  border-radius: 5px;
  color: white;
  font-size:  16px;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
}

button {
  width: 62%;
  padding: 8px;
  background-color: #007aff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.3s;
}

button:hover {
  opacity: 0.9;
}

.container-mensaje {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.adentro-notificacion {
  background-color: #097912; 
}

.error-notificacion {
  background-color: #e74c3c;
}

/* saca la notificaione */
.notificacion-hidden {
  transform: translateY(100%); 
}

/* muestra la notificaions */
.mostrar-notificacion {
  transform: translateY(0); 
}

/* la clase esta  saca la notificación moviéndola otra vez  afuera de la pantalla */
.ocultar-notificacion {
  transform: translateY(100%); 
}

#mensaje {
  margin: 0;           
  padding: 10px;        
  color: white;         
  font-size: 18px;      
  font-weight: 500;     
  text-align: center;   
  width: 100%;         
}

/* son em esto onda animaciones hechas o preguntale a chatgpt vos sabes*/
.mostrar-notificacion {
  animation: slideUp 0.5s forwards; 
}

.ocultar-notificacion {
  animation: slideDown 0.5s forwards; 
}

@keyframes slideUp {
  from {
    transform: translateY(100%); 
  }
  to {
    transform: translateY(0); 
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0); 
  }
  to {
    transform: translateY(100%); 
  }
}

/* Media queries para responsive */
@media (max-width: 768px) {
  .header-section {
    padding: 5px;
  }

  .login-section {
    width: 69%;
  }
  input{
    width: 80%;
    height: 4vh;
    padding: 10px;
  }
  .texto-invisible {
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    display: block;
  }

  .titulo h1 {
    display: none;
  }

  .titulo h2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-section {
    width: 90%;
    min-width: 0;
    border-radius: 5%;
    height: auto;
  }
  .login-container {
      padding: 0;
    }

  .login-container h2 {
    font-size: 32px;
  }
  .texto-invisible {
    margin-left: 10%;
  }
  input{
    height: 3vh;

  }
  .form-group input {
    width: 80%;
  }

  button {
    width: 80%;
    margin-bottom: 20px;
  }

  .form-group label {
    width: 80%;
  }
}
