@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");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

body {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.pexels.com/photos/1903702/pexels-photo-1903702.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  backdrop-filter: blur(2px);
}

body::-webkit-scrollbar {
  width: 1px;
  background-color: #090a0f;
}

form {
  display: grid;
  place-items: center;
  min-height: 100dvh;
}

h1 {
  padding-top: 2rem;
  text-align: center;
  letter-spacing: 1px;
}

div {
  position: relative;
  margin: 0.5rem auto;
  width: 90dvw;
}

li {
  list-style: none;
  margin: 0.1rem 0.5rem;
  font-weight: 600;
}

li::before {
  content: "\f192";
  font-family: fontAwesome;
  margin-right: 0.25rem;
  font-weight: normal;
}

#password-error,
#phone-error {
  display: none;
}

input,
textarea,
button {
  outline: none;
  border: transparent;
  letter-spacing: 1px;
  background: transparent;
  font-size: 1rem;
  border-bottom: 1px solid #fff;
  padding: 0.5rem;
  width: 100%;
}

div > i {
  position: absolute;
  right: 0;
  padding: 0.75rem;
  cursor: pointer;
}

button {
  display: block;
  margin: 0.25em auto 0.75rem auto;
  text-transform: uppercase;
  cursor: pointer;
  width: min(60%, 6.5rem);
  color: #fff;
  border: 1px solid transparent;
}

button:hover {
  border: 1px solid #fff;
  border-radius: 8px;
}

/* 
MEDIAQUERIES
*/

@media (min-width: 567px) {
  form {
    width: min(95%, 25rem);
    border-radius: 10px;
    box-shadow: 0 0 1px 1px #ccc;
    min-height: auto;
  }
  div {
    width: 90%;
  }
}
