@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #fff;
}

.bg-image {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.bg-image .image-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.bg-image .image-container img {
  height: 100%;
  width: calc(100% / 3);
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .bg-image .image-container img {
    display: none;
  }

  .bg-image .image-container img:nth-child(3) {
    display: block;
    height: 100%;
    width: 100%;
  }
}

.bg-image .bg-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.bg-image .bg-overlay div {
  width: 100%;
  max-width: 38rem;
  padding: 0 1.8rem;
}

.bg-image .bg-overlay img {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.6rem;
}

.bg-image .bg-overlay h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  line-height: 160%;
}

.bg-image .bg-overlay p {
  font-size: 1.1rem;
  opacity: 0.5;
  line-height: 180%;
  margin-bottom: 1.7rem;
}

.bg-image .bg-overlay a {
  display: block;
  width: 100%;
  max-width: 30rem;
  margin: 0% auto;
  background-color: dodgerblue;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  border: 3px solid dodgerblue;
}

.bg-image .bg-overlay a:hover {
  background-color: inherit;
  color: dodgerblue;
}

.form {
  display: flex;
  align-items: center;
  width: 100vw;
  height: 100vh;
  gap: 1.2rem;
  overflow: hidden;
}

.icon {
  width: 3.7rem;
  height: 3.7rem;
  margin-bottom: 1rem;
}

.form-image {
  height: 100%;
  position: relative;
}

@media screen and (max-width: 767px) {
  .form {
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  .form-image {
    display: none;
  }

  .form-form {
    min-height: 100%;
    margin: 0% auto;
  }

  .form-form > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

.form-image img {
  height: 100%;
  width: 22rem;
  object-fit: cover;
}

.form-image .bg-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 143, 255, 0.329);
  text-align: center;
}

.form-form {
  width: 100%;
  max-width: 30rem;
}

.form-form > div {
  padding: 0rem 1.5rem;
}

.form-form h1 {
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.form-form .instruction {
  opacity: 0.45;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 195%;
}

.form-form .instruction span {
  color: crimson;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  font-weight: 500;
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  cursor: pointer;
}

.form-group label span {
  color: crimson;
}

.form-group input {
  width: 100%;
  border: 1px solid #bbb;
  padding: 1.1rem 1.8rem;
  outline: none;
  outline: none;
  background-color: inherit;
  font-size: 0.9rem;
  border-radius: 5px;
}

.form-group input:focus {
  border: 1px solid dodgerblue;
}

.form-group input.invalid {
  border: 1px solid crimson;
}

.form-group button {
  display: block;
  width: 100%;
  background-color: dodgerblue;
  color: #fff;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid dodgerblue;
  outline: none;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 5px;
}

.form-group button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.form-group button img {
  width: 1.2rem;
}

.form-form p.link {
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 0.8rem;
}

.form-form p.link a {
  text-decoration: none;
  color: blue;
}
