.form-container {
  margin: 50px auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  align-items: center;
}

.form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  padding: 20px;
  flex-direction: column;
  display: flex;
  justify-content: center;
  vertical-align: middle;
  align-items: center;
  max-width: calc(90vw - 40px);
}

input {
  width: 300px;
  max-width: calc(90vw - 50px);
  height: 40px;
  font-family: inherit;
  font-size: 20px;
  padding-left: 10px;
  margin: 10px;
  border: solid transparent;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  transition: 150ms ease;
}
input:hover {
  border-color: rgba(134, 47, 139, 0.5);
}
input:focus {
  background: white;
  border-color: rgb(134, 47, 139);
  outline: none;
}
input:focus::-moz-placeholder {
  color: black;
  -moz-transition: inherit;
  transition: inherit;
}
input:focus::placeholder {
  color: black;
  transition: inherit;
}
input::-moz-placeholder {
  color: rgba(0, 0, 0, 0.5);
}
input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}
input[type=submit] {
  min-width: 100px;
  height: 50px;
  font: inherit;
  color: white;
  padding: 0 10px;
  background: rgb(134, 47, 139);
  border-radius: 20px;
  border-color: transparent;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 20px;
}
input[type=submit]:hover {
  background: rgba(134, 47, 139, 0.8);
  cursor: pointer;
}

.error {
  margin: 10px 0;
}