:root {
  --form-gap: clamp(1.2rem, 1.8rem, 6rem);

  /* font-families */
    --ff-apple-normal: -apple-system,
        BlinkMacSystemFont,
        Segoe UI,
        Roboto,
        Oxygen-Sans,
        Ubuntu,
        Cantarell,
        Helvetica Neue,
        sans-serif;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(90deg, #6190e8, #a7bfe8);
  font-size: clamp(1rem, 2vw + 0.925rem, 1.2rem);
}

form {
  min-height: 50vh;
  width: var(--form-width, 50vw);
  background-color: white;
  color: #777474;
  border-radius: 2rem;
  padding: var(--padding, 3rem 5rem);
}

.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.contact__title {
  color: #6190e8;
}

.contact__right {
  flex-direction: column;
  justify-content: space-between;
}

.input {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  border: none;
  outline: none;
  color: #777474;
}

.input__container {
  position: relative;
}

.placeholder {
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding: 0.3rem 0rem;
  font-size: 0.9rem;
  opacity: 0.6;
  transform-origin: left;
}

.line-svg {
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: visible;
  opacity: 0.8;
}

.checkbox__label {
  font-size: 0.7rem;
}

.promo__container {
  position: relative;

}

.checkbox {
  cursor: pointer;
  opacity: 0;
  z-index: 15;
}

.checkbox__label {
  padding-left: 0.5rem;
}

.checkbox__container { 
  position: relative;
  height: 1rem;
  width: 1rem;
  border-radius: 3px;
  overflow: hidden;
}
.checkmark, .checkbox {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 2px solid #777474;
}

.checkbox--fill {
  position: absolute;
  background-color: #6190e8;
  height: 100%;
  width: 100%;
  top: 100%;
}

.tick-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%) scale(0.6);
}

button {
  cursor: pointer;
  font-family: var(--ff-apple-normal);
  font-weight: 500;
  font-size: 0.6rem;
  background-color: #6190e8;
  color: white;
  border-radius: 0.2rem;
  border-style: none;
  padding: 0.5rem 2.5rem;
  margin-top: 1rem;
  align-self: flex-start;
}

.submitted {
  position: absolute;
  left: 50%;
  top: 50%;
  color: #777474;
  font-size: 1rem;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, -50%);
  opacity: 0;

}

@media screen and (max-width: 540px) {
  form {
    width: 90vw;
    min-height: 80vh;
    flex-direction: column;
    --padding: 8rem 3rem !important;
  }

  .line-svg {
    padding-right: 1.2rem;
  }
}

@media screen and (max-width: 1200px) {
  .contact__left {
    display: flex;
    flex-direction: column;
  }

  form {
    --padding: 8rem 2rem;
    --form-width: 80vw;
    gap: var(--form-gap);
  }
}
