@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');

/* Estilos generales */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
}

/* Fondo con imagen o gradiente */
body {
  /* Si tienes la foto de fondo del edificio, podrías usarla así: */
  background: 
    linear-gradient(
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 1)
    ), 
    url('/static/images/pucv_fondo.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Container for Centering Content */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 1rem;
  text-align: center; 
}

/* Header Section */


.logo {
  max-width: 20rem;
}

.header h1 {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

.header h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0;
}



.content p {
  font-family: 'Roboto', sans-serif;
  font-size: .8rem;
  font-weight: lighter; /* Roboto delgado */
  letter-spacing: 0.5px;
  margin-top: 2rem;

}

.login-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.login-button {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 200;

  margin: 5px;
  transition: 0.3s ease;
  border: 1px solid white;
  background-color: rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease; 
}

.login-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.03); 
}

.icon {
  width: 20px;
  margin-right: 10px;
}

/* Footer Section */
/* Footer Section */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra el contenido horizontalmente */
  justify-content: center; /* Centra el contenido verticalmente */
  margin: 5rem auto 2rem;
  position: absolute; /* Permite posicionarlo al final de la página */
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}


.accreditation {
  max-width: 20rem;
  margin-bottom: 10px;
}

.footer p {
  font-size: 0.9rem;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px), (max-height: 800px) {

  .logo {
    max-width: 8rem;
  }

  .header h1 {
    font-size: 1.3rem;
  }

  .header h3 {
    font-size: .7rem;
  }

  .content p {
    font-size: .6rem;
  }

  .login-button {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: .7rem;
    font-weight: 200;
  
    margin: 5px;
    transition: 0.3s ease;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease; 
  }

  .footer p {
    font-size: 0.5rem;
  }

  .accreditation {
    max-width: 15rem;
    margin-bottom: 10px;
  }
  
}

@media (max-height: 380px) {
  .container {   
    justify-content: flex-start;
  }

  .content p {
    margin-top: .5rem;
  }

  .footer {
    margin: 0 auto;
  }

  .accreditation {
    max-height: 4rem;
  }
}

@media (max-height: 500px) {
  .content p {
    margin-top: .5rem;
  }

  .footer {
    margin: 0 auto;
  }

  .accreditation {
    max-height: 4rem;
  }
}