/* Importando a fonte Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* Zerando os espaçamentos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body * {
  font-size: 1.6rem;
  font-family: "Roboto", sans-serif;
  color: var(--button-bg-color);
  /*border: 1px solid red;*/
}

:root {
  background-color: black;
  font-size: 62.5%;
  --nav-bg-color: #bfbfbf;
  --nav-text-color: #020873;
  --button-bg-color: #ffffff;
  --button-text-color: #020873;
}

main {
  width: 44rem;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  margin: auto;
}

a {
  font-size: 3rem;
  text-decoration: none;
  margin-left: 0.5rem;
}

.botao {
  display: inline-flex;
  width: 40rem;
  height: 5rem;
  background: var(--button-text-color);
  color: var(--button-bg-color);
  border-radius: 1.8rem;
}

.botao_login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19rem;
  height: 5rem;
  font-size: 2rem;
  background: #020873;
  color: white;
  border-radius: 1.8rem;
  border: #020873;
}

#cabecalho {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 31.25rem;
  padding-top: 1rem;
  height: 10rem;
}

#logo img {
  width: 7rem;
  height: 7rem;
}

#slogan img {
  width: 28rem;
  height: 8rem;
}

#sair img {
  width: 6rem;
  height: 6rem;
}

.login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

label {
  align-self: start;
  font-size: 1.5rem;
  font-weight: 800;
}

li {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

.login input {
  width: 40rem;
  height: 5rem;
  border-radius: 1.8rem;
  font-size: 2.5rem;
  text-align: center;
  color: #020873;
}

#check-box {
  display: flex;
  padding-top: 1rem;
}

#check-box input {
  width: 3rem;
  height: 3rem;
  text-align: center;
  color: #020873;
  margin-bottom: 1rem;
}

#check-box label {
  font-size: 2.5rem;
  margin-left: 1rem;
}

h3 a {
  font-size: 2rem;
}

#enviar {
  background-color: #020873;
  border: #020873;
  color: #ffffff;
  width: 19rem;
  height: 5rem;
}

::placeholder {
  color: #020873;
  font-weight: 800;
}

/* ---------- Estilos coipados da aula ---------- */

.helper-text {
  display: none;
  font-size: 1.3rem;
  color: red;
}

.required-popup::after {
  content: "*Campo obrigatório";
  position: absolute;
  top: auto;
  right: 29rem;
  color: red;
  font-size: 1.3rem;
  font-weight: 800;
  padding: 0.2rem 0.3rem;
  width: auto;
  display: block;
}

input.error {
  border: solid 2px #992020;
  background-color: #ccbbbb;
  color: #662020;
}

input.correct {
  background-color: #bbccbb;
  border: solid 2px #206620;
  color: #206620;
}

.visible {
  display: block;
}
