body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background-color: rgb(246, 247, 248);
  box-sizing: border-box;
}

.main-container {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(246, 247, 248);
}

.logo-small {
  width: 80px;
  position: absolute;
  top: 20px;
  left: 20px;
}

h1 {
  font-size: 48px;
  margin: unset;
  text-align: center;
  margin-block-end: 24px;
}

#login-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0px 2px 8px 0px rgba(128, 128, 128, 0.103);
  width: 40%;
  max-height: 75vh;
  padding: 32px 24px;
}

h1::after {
  content: "";
  display: block;
  width: 75%;
  height: 3px;
  background-color: #0d99ff;
  margin-top: 12px;
  margin-inline: auto;
}

h2 {
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  width: 80%;
}

form > div {
  width: 100%;
}

form p {
  margin: 4px 0;
  font-size: 14px;
  text-align: left;
}

form a {
  color: #0d99ff;
  text-decoration: none;
}

.visibility-hidden {
  visibility: hidden;
}

.name-input,
.mail-input,
.password-input,
#password-login {
  border: solid 2px rgba(128, 128, 128, 0.122);
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  padding: 8px 12px;
  width: 100%;
}

.mail-input {
  background-image: url("../img/letter.png");
  background-position: 95% 50%;
  padding-left: 10px;
  background-repeat: no-repeat;
}

.name-input {
  background-image: url("../img/person.png");
  background-position: 95% 50%;
  padding-left: 10px;
  background-repeat: no-repeat;
  margin-top: 40px;
}

#password-login,
#password {
  padding-left: 10px;
  background-image: url("../img/lock.png");
  background-position: 95% 50%;
  background-repeat: no-repeat;
}

#eyelock {
  position: absolute;
  right: 22px;
  width: 20px;
  top: 5px;
  cursor: pointer;
  background-repeat: no-repeat;
}

.d-none {
  display: none !important;
}

.login-btn,
#guest-btn {
  background-color: rgb(43, 54, 71);
  border-radius: 8px;
  cursor: pointer;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: transparent;
  min-width: 145px;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  #login-container {
    width: 50%;
  }
  h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 872px) {
  #login-container {
    width: 55%;
  }
}

@media screen and (max-width: 700px) {
  #login-container {
    width: 60%;
  }
  .logo-small {
    width: 60px;
  }
  h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 572px) {
  #login-container {
    width: 70%;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1rem;
  }
  form {
    width: 100%;
  }
}
