#form {
  max-width: 333px;
  width: 90%;
  position: relative;
  left: 50%;
  top: 10%;
  padding: 40px;
  border-radius: 4px;
  transform: translate(-50%, 10%);
  color: #ffffff;
  box-shadow: 3px 3px 4px rgba(0,0,0,0.2);
}

#head {
  text-align: center;
}

#image {
  margin: auto;
  width: 50%;
  padding: 10px;
  max-height: 175px;
  max-width: 175px;
  -webkit-animation:spin 8s linear infinite;
-moz-animation:spin 8s linear infinite;
animation:spin 8s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } 
}

#linkas {
  display: block;
  text-align: center;
  font-size: 12px;
  opacity: 0.9;
  text-decoration: none;
}

#butonas {
  background: #70b2d0;
  outline: none;
  text-shadow: initial;
}

#formum {
  background: none;
  border: none;
  border-bottom: 1px solid #fffdfd;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  color: #ffffff;
}

#formum2 {
  background: none;
  border: none;
  border-bottom: 1px solid #fffdfd;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  color: #ffffff;
}

body {
  background-image: url("/../applitic/assets/img/fond2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
  width: auto;
}

/* Styles pour la barre de navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Style du logo/brand */
.navbar-brand {
  font-weight: 600;
  color: #2c3e50 !important;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: #3498db !important;
}

/* Style des liens de navigation */
.nav-item .nav-link {
  color: #34495e !important;
  padding: 0.5rem 1rem;
  margin: 0 0.2rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-item .nav-link:hover {
  color: #3498db !important;
  background-color: rgba(52, 152, 219, 0.1);
  transform: translateY(-1px);
}

/* Style spécial pour le nom d'utilisateur */
.nav-item .nav-link.text-dark {
  font-weight: 500;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
}

/* Style pour l'icône utilisateur */
.fas.fa-user {
  color: #3498db;
}

/* Effet d'ombre au survol des éléments de navigation */
.nav-item:hover {
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Style pour le bouton déconnexion */
.nav-item .nav-link[href="deconnexion.php"] {
  color: #e74c3c !important;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav-item .nav-link[href="deconnexion.php"]:hover {
  color: #fff !important;
  background-color: #e74c3c;
  border-color: #e74c3c;
}

/* Animation douce pour tous les éléments de navigation */
.navbar-nav {
  transition: all 0.3s ease;
}

/* Style pour la navigation active/courante */
.nav-item .nav-link.active {
  color: #3498db !important;
  background-color: rgba(52, 152, 219, 0.15);
  font-weight: 500;
}

/* Style des placeholders pour tous les navigateurs */
#formum::placeholder,
#formum2::placeholder {
  color: #ffffff;
  opacity: 0.1;
}

/* Pour Firefox */
#formum::-moz-placeholder,
#formum2::-moz-placeholder {
  color: #ffffff;
  opacity: 0.7;
}

/* Pour Chrome, Safari, Edge */
#formum::-webkit-input-placeholder,
#formum2::-webkit-input-placeholder {
  color: #ffffff;
  opacity: 0.7;
}

/* Pour Internet Explorer */
#formum:-ms-input-placeholder,
#formum2:-ms-input-placeholder {
  color: #ffffff;
  opacity: 0.7;
}

