/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* FUNDO DA PÁGINA */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO GEF */

#logo-gef {
  display: block;
  max-width: 10vw;
  margin: auto auto 10vh auto;
}

#logo-gef img {
  max-width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

#logo-gef:hover img {
  transform: scale(1.05); 
}

/* CARD DE LOGIN */
.login-container {
  background: #ffffff;
  width: 100%;
  max-width: 380px;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: fadeIn 0.5s ease;
}

/* TÍTULO */
.login-container h2 {
  margin-bottom: 25px;
  color: #1e3c72;
  font-size: 24px;
  font-weight: 600;
}

/* INPUTS */
.login-container input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: 0.3s;
}

.login-container input:focus {
  border-color: #2a5298;
  outline: none;
  box-shadow: 0 0 0 2px rgba(42, 82, 152, 0.2);
}

/* BOTÃO */
.login-container button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #2a5298;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.login-container button:hover {
  background: #1e3c72;
}

.login-container button:active {
  transform: scale(0.98);
}

/* TEXTO AUXILIAR */
.login-container p {
  margin-top: 20px;
  font-size: 13px;
  color: #666;
}

/* ANIMAÇÃO */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */
@media (max-width: 900px) {
  body{
    overflow: hidden;
  }

  #logo-gef {
  display: block;
  max-width: 40vw;
  margin-top: -10vh;
}

  .login-container {
    padding: 30px 20px;
  }

}
