body {
  background: var(--color-primary-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#app {
  background: var(--color-neutral-9);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2rem;
}
#app .alerts {
  position: fixed;
  top: 0;
}
#app .title {
  color: var(--color-primary-1);
  align-self: center;
}
#app form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#app form .input-field {
  display: grid;
  border-color: var(--color-primary-1);
  border-style: solid;
  border-radius: 5px;
  overflow: hidden;
}
#app form .input-field .icon {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-primary-1);
  color: var(--color-neutral-9);
}
#app form .input-field .input {
  width: 100%;
  height: 100%;
}
#app form .input-field .input input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}
#app form .input-field .input input::placeholder {
  color: var(--color-neutral-4);
}
#app form .input-field .password-input {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
}
#app form .input-field .password-input:focus {
  border: none;
}
#app form .reminder {
  align-self: center;
  text-decoration: underline;
  cursor: pointer;
}
#app form button[type=submit] {
  align-self: center;
}

@media (max-width: 767px) {
  #app {
    width: 90%;
    height: 80%;
  }
  #app .title {
    font-size: 1.5rem;
  }
  #app form {
    padding: 2rem;
    row-gap: 2rem;
  }
  #app form .inputs {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
  }
  #app form .inputs .input-field {
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-rows: 3rem;
    border-width: 3px;
  }
  #app form .inputs .input-field .icon img {
    width: 1.5rem;
    height: 1.5rem;
  }
  #app form button[type=submit] {
    width: 60%;
  }
  .logo {
    width: 50%;
    margin-top: 2rem;
  }
}
@media (min-width: 768px) {
  #app {
    width: 90%;
    max-width: 40rem;
    height: 80%;
  }
  #app .title {
    font-size: 1.5rem;
  }
  #app form {
    padding: 2rem;
    row-gap: 2rem;
  }
  #app form .inputs {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
  }
  #app form .inputs .input-field {
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-rows: 3rem;
    border-width: 3px;
  }
  #app form .inputs .input-field .icon img {
    width: 1.5rem;
    height: 1.5rem;
  }
  #app form button[type=submit] {
    width: 60%;
  }
  .logo {
    width: 50%;
    max-width: 20rem;
    margin-top: 2rem;
  }
}
