body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  padding: 10px;
  box-sizing: border-box;
  background-image: linear-gradient(45deg, rgb(255, 0, 255), rgb(75, 0, 130));
  animation: fadeInBody 1s ease-in-out;
}

/* Animação do body */
@keyframes fadeInBody {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.login-container {
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.4s ease;
  animation: fadeInLogin 0.8s ease-in-out;
}

/* Animação da caixa de login */
@keyframes fadeInLogin {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-container h2 {
  margin: 0 0 20px;
  font-size: 24px;
  text-align: center;
  color: #333;
  transition: color 0.3s ease;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.login-container input:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
  outline: none;
}

.login-container button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.login-container button:hover {
  background-color: #0056b3;
  transform: scale(1.02);
}

.error-message {
  color: red;
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Responsivo para celular */
@media (max-width: 600px) {
  .login-container {
    padding: 15px;
  }

  .login-container h2 {
    font-size: 20px;
  }

  .login-container input,
  .login-container button {
    padding: 10px;
    font-size: 15px;
  }

  .error-message {
    font-size: 13px;
  }
}





hr {
  border: none;
  height: 2px;
  background-color: #e0e0e0;
  margin: 20px 0;
  opacity: 0.6;
}






 .botao-cadastrar {
      display: inline-block;
      padding: 10px 20px;
      background-color: #28a745; /* verde */
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .botao-cadastrar:hover {
      background-color: #218838;
    }
    
    
    
    

    /*Caixa no login mostra as foto*/
    
    
    
/* some em 5 segundos*/
    
    @keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

.div-flutuante {
  animation: fadeOut 10s forwards;
}

    /* some em 5 segundos  END */
    
    
       .div-flutuante {
    position: fixed; /* Fixa a posição da div */
    top: 20px; /* Distância do topo da página */
    left: 20px; /* Distância da esquerda */
    width: auto; /* Largura automática para caber o conteúdo */
    max-width: 90%; /* Não passar da tela no mobile */
    height: auto; /* Altura automática */
    background-color: rgba(0, 0, 0, 0.7); /* Fundo preto translúcido */
    border: none; /* Sem borda */
    padding: 10px 20px; /* Espaçamento interno confortável */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5); /* Sombra */
    font-size: 16px;
    color: #ffffff;
    border-radius: 8px; /* Cantos arredondados, opcional */
    z-index: 9999; /* Sempre por cima */
}





@media (max-width: 600px) {
  .div-flutuante {
      width: 100px; /* Não passar da tela no mobile */
    height: 100px; /* Altura automática */
    font-size: 14px; /* Texto um pouco menor no celular */
    padding: 10px; 
    left: 5px;
    top: 5px;
  }
  
  
  
  
  
  
  
  .imagem-perfil {
      
      width: 70px; /* Não passar da tela no mobile */
    height: 70px; /* Altura automática */
    }
  
  
  
  
  
  
}
 
        /*Caixa no login mostra as foto END*/
        

  
