@font-face {
    font-family: 'Nexa';
    src: url('./src/font/Nexa-XBold.woff2') format('woff2'),
        url('./src/font/Nexa-XBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nexa', Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(90deg, #03535A, #22B4AF);
  display: flex;
  justify-content: center;
  align-items: center;
}

body, html {
      margin: 0;
  padding: 0;
    background-color: #03535A;
    font-weight: 300;
    font-size: 16px;
    position: relative;
    background-image: url("/src/img/fond.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
}

.login-container {
  width: 100%;
  max-width: 350px;
  padding: 50px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 80vh;
  min-height:650px;
}

.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  margin-bottom: 40px;
}

.avatar-icon {
  width: 120px;
  height: 120px; 
  border-radius: 50%;
  position: relative;
  opacity: 0.8;
}





form {
  width: 100%;
}

.field {
  position: relative;
  margin-bottom: 30px;
}

.field input {
  width: 100%;
  background: transparent !important;
  border-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.7);
  padding: 10px;
  color: #fff;
  font-size: 15px;
}

.field input::placeholder {
color: #fff;
}

.field input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.7);
}


.forgot {
  position: absolute;
  right: 0;
  bottom: -22px;
  font-size: 12px;
  color: #fff;
  text-decoration: none;
}

.remember {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: #fff;
  font-size: 14px;
}

.remember input {
  margin-right: 8px;
}

#loginForm {
  width: 100%;
  padding: 12px;
  background: #fff;
  border: none;
  color: #18b2ad;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
}

#loginForm:hover {
  opacity: 0.9;
}

.logo {
  padding-top:10px;
  text-align: center;
}
