body {
  min-height: 100vh;
  padding: 24px 20px 18px;
  background:
    linear-gradient(rgba(82, 45, 204, 0.62), rgba(210, 0, 60, 0.55)),
    url("../assets/Login/img1.avif") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login {
  width: min(556px, calc(100vw - 40px));
  padding: 36px 91px 19px;
  background-color: var(--branco);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.login > img {
  display: block;
  width: auto;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.titulo {
  text-align: center;
}

.titulo h1 {
  font-size: 25px;
  line-height: 1.18;
  font-weight: 700;
}

.titulo p {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.15;
}

.form {
  width: 100%;
  margin-top: 12px;
}

form {
  display: flex;
  flex-direction: column;
}

.perfil-login {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin: 4px 0 16px;
}

.perfil-login label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.perfil-login input {
  width: 18px;
  height: 18px;
  accent-color: var(--vermelho);
}

form > label {
  margin: 0 0 4px 7px;
  font-size: 14px;
}

form > label.l1 {
  margin-top: 11px;
}

form > input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #777;
  border-radius: 8px;
  background-color: var(--branco);
  color: #111;
  font-size: 14px;
}

form > input::placeholder {
  color: #808080;
}

form > input:focus {
  border: 2px solid var(--amarelo);
  outline: none;
}

form > input:-webkit-autofill,
form > input:-webkit-autofill:hover,
form > input:-webkit-autofill:focus {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0 1000px var(--branco) inset;
  transition: background-color 9999s ease-out;
}

#erro {
  min-height: 17px;
  margin-top: 6px !important;
  font-size: 13px;
  text-align: center;
}

button {
  width: 153px;
  height: 42px;
  margin-top: 14px;
  border: none;
  border-radius: 8px;
  background-color: var(--vermelho);
  align-self: center;
  color: var(--branco);
  font-size: 20px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}

button:hover {
  background-color: var(--amarelo);
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 700px) {
  body {
    padding: 54px 16px 20px;
  }

  .login {
    width: 100%;
    padding: 28px 28px 28px;
  }

  .login > img {
    height: 80px;
  }

  .titulo h1 {
    font-size: 24px;
  }

  .titulo p {
    font-size: 13px;
  }
}
