/*RESPONSIVE QUERIES*/
/*MIXINS*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
/*Colors*/
/*FONT FAMILIY*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 87.5%;
}
@media (min-width: 74.9375em) {
  html {
    font-size: 100%;
  }
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
}

/*NAVBAR*/
.navbar {
  background: #49b0de;
  padding: 0 2%;
}
.navbar-brand {
  background: #fff;
  padding: 1rem;
  box-shadow: none;
  max-width: 50%;
}
.navbar-logo {
  max-width: 100%;
}
.navbar-toggler:focus {
  outline: none;
}
.navbar-nav {
  justify-content: space-evenly;
  width: 100%;
}
.navbar-link {
  color: #fff;
  text-align: center;
  font-weight: 500;
}
.navbar-link:hover {
  color: #424582;
}
@media (min-width: 61.9375em) {
  .navbar {
    padding: 0 2%;
  }
  .navbar-brand {
    max-width: 100%;
  }
}
@media (min-width: 74.9375em) {
  .navbar {
    padding: 0 9%;
  }
}

/*RATING*/
.rating {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  position: relative;
}
.rating__figure {
  z-index: 10;
  display: flex;
}
.rating__img {
  max-width: 70%;
  margin: auto;
}
.rating__line {
  display: block;
  position: absolute;
  width: 100%;
  height: 1rem;
  background: #49b0de;
  top: 45%;
}
@media (min-width: 47.9375em) {
  .rating__img {
    max-width: 100%;
  }
}

/*STEP*/
.step {
  background: #49b0de;
  display: flex;
  justify-content: space-around;
  padding: 1rem 1rem;
  flex-wrap: wrap;
}
.step__item {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  padding: 0.5rem;
  justify-content: space-between;
}
.step__item:not(:last-child) {
  border-bottom: 1px solid #fff;
  margin-bottom: 0.5rem;
}
.step__icon {
  margin-right: 0.5rem;
}
.step__text {
  color: #fff;
  font-weight: 400;
  font-size: 0.7rem;
}
@media (min-width: 47.9375em) {
  .step {
    flex-wrap: nowrap;
    margin-top: 2rem;
  }
  .step__item {
    justify-content: flex-start;
    flex: 1;
    padding: 0;
  }
  .step__item:not(:last-child) {
    border-bottom: 0;
    margin-bottom: 0;
  }
}
@media (min-width: 61.9375em) {
  .step {
    padding: 1rem;
  }
  .step__item {
    flex: auto;
  }
  .step__text {
    font-size: 1.0rem;
    font-weight: 700;
  }
}
@media (min-width: 99.9375em) {
  .step {
    margin-top: 1rem;
  }
}

/*BUTTON*/
.button {
  display: flex;
  justify-content: space-around;
}
.button__btn {
  font-weight: 800;
  color: #fff;
  background: #424582;
  padding: 0 1rem;
  letter-spacing: 1px;
  box-shadow: 3px 2px 10px 0px rgba(0, 0, 0, 0.23);
  margin-bottom: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 70px;
}
.button__btn:hover {
  color: #fff;
  text-decoration: none;
  background: #49b0de;
}
.button__btn:first-child {
  margin-right: 0.5rem;
}
.button__btn--green {
  background: #61d16a;
}
.button__number {
  color: #424582;
}
@media (min-width: 47.9375em) {
  .button {
    position: absolute;
    top: -5rem;
    right: 0;
    flex-direction: column;
    align-self: flex-end;
  }
  .button__btn {
    border-radius: 50px 0 0 50px;
    flex: auto;
  }
  .button__btn:first-child {
    margin-right: 0;
  }
}
@media (min-width: 61.9375em) {
  .button {
    position: absolute;
  }
}

/*FORM*/
.form-container {
  position: relative;
}
.form-container__img {
  position: absolute;
  top: 10%;
  right: -5%;
  z-index: -1;
  max-width: 50%;
  display: none;
}
@media (min-width: 47.9375em) {
  .form-container__img {
    display: block;
  }
}
@media (min-width: 74.9375em) {
  .form-container__img {
    top: 20%;
    max-width: 50%;
    right: -8%;
  }
}
@media (min-width: 89.9375em) {
  .form-container__img {
    top: 10%;
    right: -20%;
    max-width: 100%;
  }
}

.form {
  max-width: 100%;
  margin: 2rem auto 0 auto;
  box-shadow: 3px 2px 10px 6px rgba(0, 0, 0, 0.23);
  padding: 1rem 1.5rem;
  margin-bottom: 4rem;
  z-index: 10;
  position: relative;
  background: #fff;
}
.form__title {
  color: #49b0de;
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 2rem;
}
.form__sub-title {
  margin: 1rem 0;
  font-size: 1.4rem;
  font-weight: 500;
}
.form-label {
  font-weight: 500;
}
.form-group {
  position: relative;
}
.form-control {
  border: none;
  border-bottom: 2px solid #000;
  border-radius: 0;
  padding: 0;
}
.form-control:focus {
  box-shadow: none;
  border-color: #49b0de;
}
.form__number {
    width:auto;
  position: absolute;
  font-size: 0.9rem;
  font-weight: 700;
  top: 1.5rem;
  left: 0;
}
.form__btn {
  background: #49b0de;
  border: none;
  padding: 1rem 1.5rem;
  font-family: inherit;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 30px;
  letter-spacing: 1px;
  cursor: pointer;
}
.form__btn:hover {
  background-color: #424582;
}
@media (min-width: 47.9375em) {
  .form {
    max-width: 80%;
    padding: 4rem;
  }
  .form__number {
    display: block;
    left: -1rem;
    top: 0.35rem;
    font-size: 1.2rem;
  }
  .form__btn {
    padding: 1rem 3.5rem;
    font-size: 1.3rem;
  }
}

/*FOOTER*/
.footer {
  background: #49b0de;
  padding-top: 1rem;
}
.footer__title {
  color: #424582;
  font-weight: 800;
  text-align: center;
}
.footer .nav-item--foot:not(:last-child) {
  border-right: 1px solid #fff;
}
.footer .nav-link {
  color: #fff;
  padding: 0;
  font-size: 1.1rem;
  text-align: center;
  font-weight: 400;
}
.footer .nav-link--foot {
  padding: 0 0.5rem;
  font-size: 0.8rem;
}
.footer .nav-link:hover {
  color: #424582;
}
.footer__foot {
  margin-top: 1rem;
  border-top: 1px solid #0f8ac1;
  padding: 2rem 1rem 1rem 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer__link {
  color: #fff;
}
.footer__link:hover {
  color: #424582;
  text-decoration: none;
}
.footer__text {
  margin-bottom: 0;
  color: #fff;
  flex: 0 0 100%;
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}
.footer__lastnav {
  flex: 0 0 100%;
  justify-content: center;
}
@media (min-width: 47.9375em) {
  .footer .nav--left {
    border-right: 1px solid #0f8ac1;
  }
  .footer .nav-link {
    text-align: left;
  }
  .footer .nav-link--foot {
    font-size: 0.9rem;
  }
  .footer__lastnav {
    justify-content: center;
  }
  .footer__title {
    text-align: left;
  }
}
@media (min-width: 61.9375em) {
  .footer__text {
    flex: auto;
    margin-bottom: 0;
    text-align: left;
    font-size: 1rem;
  }
  .footer__lastnav {
    flex: auto;
    justify-content: flex-end;
  }
}