*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit; }

html {
  font-size: 62.5%; }
  @media (max-width: 75em) {
    html {
      font-size: 56.25%; } }
  @media (max-width: 56.25em) {
    html {
      font-size: 50%; } }

body {
  box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: cornflowerblue; }

.form__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50rem;
  margin: 5rem auto;
  padding: 3.5rem;
  background: whitesmoke;
  border-radius: 5px; }

.form {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 2rem; }
  .form > :not(:last-child) {
    margin-bottom: 2rem; }
  .form label {
    cursor: pointer; }
  .form input {
    position: relative;
    padding: 1rem;
    font-family: inherit;
    border: 2.5px solid transparent;
    outline: none;
    border-radius: 5px;
    font-size: 1.5rem; }
    .form input:focus {
      border: 2.5px solid cornflowerblue; }
    .form input::placeholder {
      opacity: .5; }
  .form button {
    width: 50%;
    align-self: center;
    padding: .5rem 1rem;
    border: none;
    background: grey;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    font-size: 2.2rem;
    transition: all .1s; }
    .form button:hover {
      background: #949292; }
    .form button:active {
      transform: translateY(3px); }
  .form .error {
    border: 2.5px solid red; }
  .form .success {
    border: 2.5px solid #3be03b; }
