/* =============
      BASE
  =============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1c1c1c;
  height: 100vh;
}

/* =============
    TYPOGRAPH
  =============*/
h1,
h2 {
  font-size: 2rem;
}

h1 {
  font-weight: bolder;
  color: #ffffff;
  margin-top: 5%;
}

h4 {
  font-size: 1.2rem;
  font-weight: normal;
  color: gray;
}

/* =============
    LAYOUT
  =============*/

main {
  display: flex;
  flex-direction: column;
  width: 90%;
  background-color: #1f2937;
  padding: 0 1em;
}

.btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  margin: 2em auto;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1em auto;
}

.divider {
  width: 100%;
  background-color: #2f3e53;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #10b981;
  border: 1px solid #10b981;
  color: #ffffff;
  padding: 0.7em 1em;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  margin: 1.57em 0.4em;
}

label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #10b981;
  padding-left: 0.5em;
  margin: 0;
  border-radius: 6px;
}

.btn-left,
.btn-rigth {
  text-align: center;
}

.tamanho-pass {
  background-color: #273549;
  color: #ffffff;
  width: 100px;
  margin: 0.5em;
}

input {
  background-color: #273549;
  border: 1px solid #273549;
  color: #10b981;
  padding: 1em 0;
  width: 100%;
  margin: 10px 0;
  border-radius: 6px;
  text-align: center;
}

input:hover,
input:focus {
  outline: 1px solid #10b981;
}

::placeholder {
  color: #202b3c;
  font-size: 3rem;
}

.green {
  color: #4adf86;
}

label {
  color: #ffffff;
  font-size: 20px;
}

/* =============
    MEDIA QUERY
  =============*/
@media (min-width: 480px) and (max-width: 767px) {
  html {
    font-size: 18px;
  }
  main {
    justify-content: space-evenly;
    background-color: #10b981;
    width: 90%;
    background-color: #1f2937;
    padding: 3em;
  }

  .btn-wrapper {
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }

  label {
    width: 50%;
  }

  button {
    width: 223px;
    padding: 0.7em 1em;
  }

  input {
    background-color: #273549;
    border: 1px solid #273549;
    color: #10b981;
    width: 211px;
    height: 40px;
    margin: 10px 5px;
    border-radius: 6px;
    text-align: center;
  }

  .tamanho-pass {
    width: 50px;
  }
}

.tooltip {
  color: #10b981;
}

@media Screen and (min-width: 768px) {
  html {
    font-size: 19px;
  }

  main {
    width: 95%;
    max-width: 800px;
    padding: 3em;
    justify-content: space-evenly;
  }

  .btn-wrapper {
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }

  label {
    width: 40%;
  }

  .input-wrapper {
    flex-direction: row;
  }

  input {
    width: 95%;
    font-size: 1.25rem;
    overflow: hidden;
  }

  .tamanho-pass {
    width: 50%;
    padding: 0.1em 0;
  }
}
