

/* Fond de page */
body {
  background-color: #002147;
  background-image: linear-gradient(to bottom right, #002147, #2171b5);
  font-family: sans-serif;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/honeycomb.svg");
  background-repeat: repeat;
  filter: grayscale(100%); /* Rend l'image en niveaux de gris */
  opacity: 0.5; /* Opacité de l'image */
}

.container img {
  position: relative;
  z-index: 2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}
  /* Boîte de connexion */
  .login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    animation-name: fade-in;
  animation-duration: 1s;
  
  }
  
  /* Titre de la boîte de connexion */
  .login-box h2 {
    margin: 0 0 20px;
    padding: 0;
    text-align: center;
    color: #fff;
  }
  
  .login-box label {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  /* Champ de texte et bouton de connexion */
.login-box input[type="text"],
.login-box input[type="password"],
.login-box input[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  font-family: sans-serif;
  color: #fff !important;
  background-color:rgba(0, 0, 0, 0);
  border: none;
  border-bottom: 2px solid #fff;

}

/* Bouton de connexion */
.login-box input[type="submit"] {
  background: #2679ff;
  color: #2b3d4f;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}
.login-box input:focus {
  outline: none;
}

/* Hover du bouton de connexion */
.login-box input[type="submit"]:hover {
  background: #478eff;
  color: #fff;
}

  

  /* Message d'erreur */
  .login-box .error {
    margin: 0 0 10px;
    padding: 5px;
    background: #f00;
    color: #fff;
    text-align: center;
    font-size: 14px;
  }
  
  /* Message de succès */
  .login-box .success {
    margin: 0 0 10px;
    padding: 5px;
    background: #0f0;
    color: #fff;
    text-align: center;
    font-size: 14px;
  }

  .error {
    color: red;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
  }
  
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-webkit-autofill:hover { 
    -webkit-background-clip: text;
     background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  -webkit-text-fill-color: white !important;
  caret-color: white;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.logo {
width: 100%;
}
span.monday{
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  font-weight:lighter;
  text-align: -webkit-center;
}
@media screen and (max-width: 768px) {
  /* Styles pour les petits écrans */
  .login-box {

    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    backdrop-filter: blur(5px);
    width: 70% !important; /* Ajout de cette ligne */

  }
 



}