main {
  background: var(--primary-blue);
  justify-content: center;
  padding: 1rem;
}

h1 {
  margin: 2rem 0 1rem;
  text-align: center;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
}

.content > * {
  flex: 1 1 40%;
}

.form {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto 0;
}

form {
  width: 85%;
  background-color: var(--white);
  color: var(--primary-blue);
  padding: 2rem;
  border-radius: .9rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

form > * {
  margin: .5rem 0;
}

form span {
  font-size: 1.18rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

form .buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap-reverse;
  gap: 1rem;
}

form .buttons > * {
  flex: 1 1 45%;
}

form .input-group {
  width: 100%;
}

form .input-group > * {
  margin: .25rem 0;
}

.error-message {
  color: #cc0033;
  display: inline-block;
  font-size: .75rem;
}

.input-group .error-message {
  display: none;
}

.error input {
  background-color: #fce4e4;
  border: 1px solid #cc0033;
  outline: none;
}

.error .error-message {
  display: inline-block;
}

form input {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid var(--orange);
  border-radius: .4rem;
  outline: none;
  font-size: 1rem;
}

.btn {
  padding: .8rem 3rem;
}

.btn.login.primary {
  background-color: var(--orange);
  color: var(--dark-blue);
  border: 2px solid var(--orange);
}

.btn.login.secondary {
  background-color: var(--white);
  color: var(--dark-blue);
  border: 2px solid var(--orange);
}

.image .square {
  width: 100%;
  max-width: 45rem;
  height: 45rem;
  display: flex;
  background: url('/public/images/login/square.svg');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
}

.image img {
  width: 65%;
}

@media only screen and (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
    margin: 1rem 0 5rem 0;
  }

  .image {
    display: none;
  }

  form {
    width: 100%;
  }
}

@media only screen and (max-width: 425px) {
  .content {
    margin-bottom: 5rem;
  }
}