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

body {
  width: 100%;
  height: 100vh;
  background: hsl(0, 100%, 74%) url("../images/bg-intro-desktop.png") no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  width: min(1080px, 95%);
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.intro-section {
  font-family: "Poppins", serif;
  width: 500px;
}
.intro-section h1 {
  font-size: 45px;
  line-height: 50px;
  letter-spacing: 1px;
  color: white;
}
.intro-section p {
  margin-top: 30px;
  color: rgb(245, 237, 237);
}

.offer-section {
  width: 530px;
  min-width: 350px;
}

.offer-details {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  width: 100%;
  height: 60px;
  border-radius: 10px;
  background-color: hsl(248, 32%, 49%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.offer-details p {
  font-family: "Poppins", serif;
  color: hsl(246, 25%, 77%);
}
.offer-details p span {
  color: white;
  font-weight: 500;
}

.form-container {
  width: 100%;
  height: 450px;
  overflow: auto;
  margin-top: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: height 1s;
}

form {
  margin-top: 20px;
  width: 85%;
}
form .form-section {
  position: relative;
  margin-top: 18px;
  transition: margin 1s;
  width: 100%;
  height: 57px;
}
form .form-section .input-group {
  width: 100%;
  height: 100%;
}
form .form-section .input-group input {
  width: 100%;
  height: 100%;
  font-family: "Poppins", serif;
  font-weight: 500;
  border: 1px solid hsl(246, 25%, 77%);
  border-radius: 5px;
  padding-left: 30px;
  padding-right: 100px;
}
form .form-section .input-group input::placeholder {
  font-weight: 700;
}
form .form-section .input-group input:focus {
  outline: none !important;
  border: 2px solid gray;
}
form .form-section .input-group .error-icon {
  width: 24px;
  height: 24px;
  display: none;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
form .form-section .error-message {
  display: flex;
  justify-content: end;
  font-family: "Poppins", serif;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  font-style: italic;
  color: hsl(0, 100%, 74%);
}
form .button--submit {
  margin-top: 15px;
  transition: margin 1s;
  width: 100%;
  height: 57px;
  border-radius: 5px;
  text-transform: uppercase;
  font-family: "Poppins", serif;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: hsl(154, 59%, 51%);
  color: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  cursor: pointer;
}
form .button--submit:active {
  transform: translateY(2px);
}

.agreement-text {
  margin-top: 10px;
  font-family: "Poppins", serif;
  font-size: 10px;
  font-weight: bold;
  color: hsl(246, 25%, 77%);
}
.agreement-text span {
  color: hsl(0, 100%, 74%);
}

@media (max-width: 595px) {
  body {
    height: 200vh;
    background: hsl(0, 100%, 74%) url("../images/bg-intro-mobile.png") no-repeat;
  }
  main {
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
  }
  .intro-section {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .intro-section h1 {
    width: 300px;
    font-size: 25px;
    line-height: 30px;
  }
  .intro-section p {
    width: 310px;
    margin-top: 20px;
  }
  .offer-section {
    width: 100%;
  }
  .offer-details {
    margin-top: 50px;
    width: 100%;
    height: 100px;
  }
  .offer-details p {
    width: 200px;
    text-align: center;
  }
  .agreement-text {
    width: 250px;
    text-align: center;
    line-height: 15px;
  }
}

/*# sourceMappingURL=style.css.map */
