@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: white;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

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

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

.logo {
  display: none;
}

/*Formulario*/

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #424242;
  padding: 3rem;
  width: 45rem;
  border-radius: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.form input[type="text"],
.form input[type="email"] {
  color: white;
}

::placeholder {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: white;
}

.form button {
  align-self: flex-end;
}

.flex-column > label {
  font-weight: 600;
  font-size: 1.6rem;
}

.inputForm {
  background-color: #4f4f4f;
  border-radius: 1rem;
  height: 5rem;
  display: flex;
  align-items: center;
  padding-left: 1rem;
  transition: 0.2s ease-in-out;
}

.input {
  margin-left: 1rem;
  border-radius: 1rem;
  border: none;
  width: 85%;
  height: 100%;
  background-color: #4f4f4f;
}

.input:focus {
  outline: none;
}

.inputForm:focus-within {
  border: 0.15rem solid #2d79f3;
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.span {
  font-size: 1.4rem;
  margin-left: 0.5rem;
  color: rgb(170, 106, 230);
  font-weight: 500;
  cursor: pointer;
}

.p {
  text-align: center;
  font-size: 1.4rem;
  margin: 0.5rem 0;
}

#mostrarSenhas {
  border: none;
  background-color: transparent;
  height: 100%;
  width: 4rem;
}

#mostrarSenhas:hover {
  cursor: pointer;
}

#mostrarSenhas i {
  color: white;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-clear-button,
input[type="password"]::-webkit-inner-spin-button,
input[type="password"]::-webkit-outer-spin-button {
  display: none;
}

/*Botao Formulario*/
#button-submit {
  --color: white;
  background-color: blueviolet;
  font-family: inherit;
  display: inline-block;
  width: 100%;
  height: 4.5rem;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: none;
  transition: color 0.5s;
  z-index: 1;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--color);
  border-radius: 1rem;
  margin-top: 2rem;
}

#button-submit:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color);
  height: 40rem;
  width: 80rem;
  border-radius: 50%;
}

#button-submit:hover {
  color: black;
}

#button-submit:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

#button-submit:hover:before {
  top: -8rem;
  left: -10rem;
}

/* Resposivel */

@media screen and (max-width: 450px) {
  body {
    background-color: #424242;
    height: 100vh;
  }

  main {
    height: 100vh;
    width: 100vw;
  }

  .logo {
    display: flex;
    padding: 2rem 4%;
    align-items: center;
    font-size: 1.6rem;
    height: 7.6rem;
  }

  .logo h1 span {
    color: blueviolet;
  }

  .logo img {
    width: 6rem;
  }

  .form {
    display: flex;
    height: 100%;
    width: 100%;
    padding: 2rem 4%;
  }

  .form label {
    font-size: 2.5rem;
  }

  .form input[type="text"],
  .form input[type="email"] {
    font-size: 2rem;
  }

  .input {
    font-size: 2rem;
  }

  .inputForm {
    height: 6rem;
  }

  .flex-row span {
    font-size: 1.6rem;
  }

  .form .p {
    font-size: 1.6rem;
  }

  .form a {
    font-size: 1.6rem;
  }

  #button-submit {
    height: 5rem;
    font-size: 2rem;
  }
}
