@import url("https://fonts.cdnfonts.com/css/proxima-nova-2");
* {
  margin: 0;
  padding: 0;
}
/* // */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.main {
  display: none;
}
/* // */
body {
  background-image: url("../image/background.jpg");
  background-size: cover;
  opacity: 1;
}
.logo {
  text-align: center;
}
.signin-container {
  width: 370px;
  margin: 140px auto;
  margin-bottom: 50px;
  padding: 40px;
  background-color: #ffffffbe;
  border-radius: 25px;
  box-shadow: 1px 2px 3px 1px #00000029;
  font-family: "Proxima Nova", sans-serif;
}
a {
  display: flex;
  justify-content: center;
  text-decoration: none;
  color: black;
  font-size: 15px;
  font-weight: bold;
  padding-top: 35px;
}

h1 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #004d9d;
  text-align: center;
}

form label {
  display: block;
  margin-bottom: 10px;
  text-align: left;
  font-size: 15px;
  font-weight: 550;
  margin-top: 10px;
}
#etoile {
  color: red;
}
form input[type="text"],
form input[type="password"] {
  width: 100%;
  height: 50px;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 18px;
  outline: none;
}
.password-container {
  position: relative;
}
#show-password {
  position: absolute;
  right: 20px;
  top: 50%;
  font-size: 20px;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}
.fa-eye {
  color: #333;
}
.fa-eye-slash {
  color: #ccc;
}
form button[type="submit"] {
  width: 100%;
  height: 50px;
  padding: 10px;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  font-weight: bolder;
  margin-top: 30px;
  background-color: #e46a53;
  transition: background-color 0.3s ease-in-out;
}

form button[type="submit"]:hover {
  background-color: #cf4a2f;
}
#matricule-erreur {
  color: red;
  font-size: 10px;
  padding-left: 5px;
}
::-webkit-scrollbar {
  display: none;
}
@media (width<=500px) {
  .signin-container {
    width: 300px;
  }
}
