@use "src/styles";

.login {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-image: url(styles.$background);

  display: flex;
  align-items: center;
  justify-content: center;

  form {
    padding: 30px;
    display: flex;
    gap: 5px;
    flex-direction: column;

    button[type="submit"] {
      width: max-content;
      align-self: center;
    }

    mat-divider {
      margin-top: 10px;
    }
  }
}

.error {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);

  background-color: #F00;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;

  transition: 500ms;
}
