/* GETTING STARTED - CTA */
.cta {
  background-color: #fefaf5;
  padding: 12rem 3.2rem;
  margin: 0 auto;
  min-height: 100vh;
}

.cta-container {
  width: 100%;
  background-color: #fefaf5;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 1fr;
  border: 2px solid #335576;
  margin: 0 auto;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  min-height: fit-content;
}

.cta__text-container {
  padding: 6.4rem;
}

.cta__heading {
  font-size: 3.2rem;
  color: #335576;
  margin-bottom: 3.2rem;
}

.cta__text {
  width: 100%;
  font-size: 1.8rem;
  line-height: 1.2;
  color: #335576;
  margin-bottom: 4.8rem;
}

.cta__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.cta__input-box:nth-child(5) {
  grid-column: 1 / -1;
  margin: 2rem 0;
}

.cta__input-box {
  position: relative;
}

.cta__input-box span {
  position: absolute;
  left: 2rem;
  top: 1rem;
  padding: 1rem;
  pointer-events: none;
  font-size: 1.8rem;
  font-family: inherit;
  color: rgba(51, 85, 118, 0.25);
  transition: 0.33s;
}

.cta__input-box input,
.cta__input-box select,
.cta__input-box textarea {
  width: 100%;
  padding: 1.8rem;
  border: 1px solid #335576;
  background-color: #fefaf5;
  border-radius: 15px;
  outline: none;
  color: #335576;
  font-size: 1.8rem;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: 0.33s;
}

.cta__input-box *:valid ~ span,
.cta__input-box *:focus ~ span {
  color: #db7a4e;
  text-transform: uppercase;
  transform: translate(-0.25rem, -1.5rem);
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  padding: 0 1rem;
  background-color: #fefaf5;
}

.cta__input-box *:valid,
.cta__input-box *:focus {
  border: 1px solid #db7a4e;
}

.cta__form button {
  grid-column: 1 / -1;
  cursor: pointer;
  border: none;
  font-size: 1.8rem;
  color: #fff;
  border-radius: 15px;
  padding: 2rem 6rem;
  margin: 0 auto;
  background-color: #db7a4e;
  font-family: inherit;
  font-weight: 600;
  transition: 0.33s;
}

.cta__form button:hover {
  background-color: #fefaf5;
  color: #335576;
  box-shadow: inset 0 0 0 3px #db7a4e;
}

.cta__img-container {
  background-image: linear-gradient(
      to right bottom,
      rgba(254, 250, 245, 0.2),
      rgba(254, 250, 245, 0.4)
    ),
    url(../assets/images/get-started.jpg);
  background-position: center;
  background-size: cover;
}
