* {
  box-sizing: border-box;
}

.field {
  width: 100%;
}

.field label {
  text-align: left;
}

form {
  display: flex !important;
}

form input[type="submit"] {
  width: 100% !important;
}

form input {
  background-color: var(--highlight);
}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

p.error {
  margin: 0;
  font-weight: bold;
  color: var(--error);
}

.login-container {
  width: 100%;
  height: auto;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.sign-in-container {
  left: 50%;
  width: 50%;
  z-index: 2;
}

.overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.logo {
  width: 100%;
  height: 100%;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.overlay-panel-item .logo {
  background-color: var(--black);
}

.overlay {
  background: var(--red-dark);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #ffffff;
  position: relative;
  height: 100%;
  width: 100%;
}

.overlay-panel {
  position: absolute;
  align-items: center;
  flex-direction: column;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.overlay-panel-row {
  height: 100%;
  width: 100%;
}

.overlay-panel-item {
  height: 100%;
  text-align: center;
}

.overlay-panel-text {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.overlay-center {
  width: 100%;
  text-align: center;
}

@media (max-width: 879px) {
  .overlay-container {
    display: none;
  }

  .form-container {
    left: 0;
    width: 100%;
  }
}

@media (max-width: 440px) {
  .login-container {
    width: 100%;
  }

  .overlay-container {
    display: none;
  }

  .form-container {
    left: 0;
    width: 100%;
  }
}
