@font-face {
  font-weight: 400;
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf")
}

@font-face {
  font-weight: 700;
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf")
}

@font-face {
  font-weight: 400;
  font-family: "Barlow";
  src: url("../fonts/Barlow-Regular.ttf")
}

@font-face {
  font-weight: 700;
  font-family: "Barlow";
  src: url("../fonts/Barlow-Bold.ttf")
}

/* COLOR */

:root {
  --white: #ffffff;
  --black: #333030;
  --font1: 'Roboto', sans-serif;
  --font2: 'Barlow', sans-serif;
}

b {
  font-weight: bold;
}

.violeta {
  color: #6F5CED;
}

.content__main-title {
  color: #2D2D2D;
  text-align: center;
  font-family: var(--font2);
  font-size: 50px;
  line-height: 62px;
  filter: drop-shadow(3px 0 0 white) 
  drop-shadow(0 3px 0 white)
  drop-shadow(-3px 0 0 white) 
  drop-shadow(0 -3px 0 white);
}

.form-top__logo {
  display: block;
  margin: 0 auto;
}

.content__main-subtitle {
  color: #FFF;
  text-align: center;
  font-family: var(--font2);
  font-size: 24px;
  line-height: 30px;
}

#time {
  font-size: 160px;
  font-weight: 700;
  color: #F714FF;
  width: 200px;
  text-align: center;
}

.content__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 150px;
}

.form__top {
  padding: 20px;
  border-radius: 20px 20px 0px 0px;
  background: linear-gradient(95deg, #705CED 15.69%, #9089F7 98.5%);
}

.form__top-title {
  color: #FFF;
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  line-height: 35px;
  font-family: var(--font2);
}

.content__main-title b,
.content__main-title span {
  font-family: var(--font2);
}

.form__bottom {
  padding: 25px;
  border-radius: 0px 0px 20px 20px;
  background-color: #fff;
}



.form__input {
  border-radius: 100px;
  border: 1px solid #0E8CFF;
  background: #FFF;
  color: #2D2D2D;
  font-family: var(--font1);
  font-size: 18px;
  font-weight: 700;
  padding: 20px 30px;
  display: block;
  margin: 0 auto 20px auto;
  width: 335px;
  height: 60px;
}

.form__input::placeholder {
  color: #666;
}

.form__input:active,
.form__input:focus,
.form__select:active,
.form__select:focus {
  border: 1px solid #F18834;
}

.form__confirm {
  padding: 14px 0px;
  text-align: center;
  border: transparent;
  border-radius: 60px;
  background: #30BF39;
  box-shadow: 0px 4px 0px 0px #21A429;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  width: 335px;
  display: flex;
  margin: 0 auto 20px auto;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.advantages {
  padding: 50px 110px;
  background: #705CED;
  display: flex;
  justify-content: space-between;
}

.advantage__card {
  display: flex;
  align-items: center;
  gap: 40px;
}

.advantage__card-title {
  color: #FFF;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage__card-text {
  font-size: 18px;
  line-height: 22px;
  color: #FFF;
}

footer {
  background-color: var(--white);
}

.link-footer {
  color: #2D2D2D;
  text-decoration: none;
}

.bg-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 40px 120px;
}

.footer-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #2D2D2D;
  line-height: 16px;
}

.footer-text a,
.footer-text p {
  color: #2D2D2D;
  line-height: 18px;
}

.footer-text a:hover {
  color: var(--orange);
}

.socials__wrap {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.form__btn {
  border-radius: 100px;
  border: 2px solid #47BAFB;
  background: #FFF;
  padding: 12px;
  height: 64px;
  color: #666;
  font-size: 18px;
  font-weight: 700;
  width: 335px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form__btn:hover {
  border: 2px solid #F3517C;
  color: #2D2D2D;

}

.palabra {
  display: flex;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 2px solid #47BAFB;
  background: #FFF;
  justify-content: center;
  align-items: center;
  color: #47BAFB;
  font-size: 24px;
  font-weight: 700;
}

.palabra__hover {
  border: 2px solid #F3517C;
  background-color: #F3517C;
  color: #fff;
}

.numbers {
  display: flex;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  border: 2px solid #6F5CED;
  background: #6F5CED;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.btns__wrap {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.compania {
  width: 160px;
  padding: 12px 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 63px;
}

#carga {
  width: 100%;
  height: 400%;
  background: rgba(42, 0, 103, 0.70);
  backdrop-filter: blur(5px);
  z-index: 999999;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.loading__text {
  color: #FFF;
  text-align: center;
  font-family: var(--font2);
  font-size: 38px;
  margin-top: 15%;
  margin-bottom: 30px;
  line-height: 48px;

}

.carga__gif {
  display: block;
  margin: 0 auto;
  width: 100px;
}

.form__thanks-text {
  color: #2D2D2D;
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  line-height: 35px;
  margin-bottom: 10px;
}

.puntos_thanks__wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  margin-left: 33%;
}

.punto__text {
  color: #02255C;
  font-size: 16px;
  font-weight: 500;
}

/* CAPA BASICA */

.capa_basica-pic {
  width: 20px;
  cursor: pointer
}

.capa_basica {
  display: none;
  position: fixed;
  z-index: 2;
  padding: 2% 30px 0 30px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, .4)
}

.close2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  position: absolute;
  right: 45px;
  cursor: pointer
}

.cb__title-wrap {
  background-color: #3b69b0;
  padding: 10px 20px
}

.cb-title {
  font-size: 13px;
  text-align: center;
  color: #fff;
  font-weight: 600
}

.cb__wrap {
  display: grid;
  grid-template-columns: repeat(12, 1fr)
}

.cb__left-side {
  background-color: #d9e2f3;
  grid-column: span 2;
  padding: 10px 15px;
  border-bottom: 1px solid #000
}

.left-side__text {
  font-weight: 700
}

.left-side__text,
.right-side__text {
  font-size: 13px;
  line-height: 18px
}

.cb__right-side {
  background-color: #fff;
  grid-column: span 10;
  padding: 10px 10px 10px 15px;
  border-bottom: 1px solid #000
}

.capa_basica2 {
  height: 67px;
  overflow-y: scroll;
  margin: 10px auto 0 auto;
  max-width: 335px;
  width: 100%
}

.capa_basica2>.cb__wrap {
  display: block
}

.capa_basica2>.cb__title-wrap {
  padding: 5px 20px
}

.capa_basica2 .cb-title {
  font-size: 10px
}

.capa_basica2 .cb__left-side,
.capa_basica2 .cb__right-side {
  padding: 5px 15px
}

.capa_basica2 .left-side__text,
.capa_basica2 .right-side__text {
  font-size: 10px;
  line-height: normal;
  margin: 0;
  text-align: left;
  float: none
}

.form__legal-text {
  font-size: 10px;
  line-height: 14px;
  text-align: left;
  width: 335px;
  display: block;
  margin: 0 auto 10px auto;
}

/* section: Excedentes */

.excedentes {
  padding: 60px 120px 40px 120px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.excedente__wrap {
  width: 60%;
}

.excedente__pic {
  width: 100%;
}

.excedente__title {
  font-size: 35px;
  line-height: 41px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 20px;
}

.excedente__subtitle {
  font-size: 20px;
  line-height: 28px;
  color: var(--dark-blue);
  margin-bottom: 25px;
}

.tarif_excedente__main-wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 35px;
}

.tarif_excedente__wrap {
  display: flex;
  gap: 15px;
  align-items: center;
}

.tarif_ex__title {
  font-size: 20px;
  margin-bottom: 0px;
  line-height: 26px;
  color: var(--dark-blue);
  font-weight: 700;
}

.excedentes__btn {
  width: 230px;
  padding: 20px 30px;
  text-align: center;
  background: #6F5CED;
  border: 0px;
  border-radius: 5px;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
}

/* section: STEPS */

.steps {
  background-color: #faf8f8;
  padding: 60px 120px 35px 0;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.steps__title {
  font-size: 20px !important;
  line-height: 26px;
  color: var(--dark-blue) !important;
  font-weight: 700;
}

#step_number1:after,
#step_number2:after,
#step_number3:after,
#step_number4:after,
#step_number5:after {
  content: "";
  position: absolute;
  left: -16px;
  width: 32px;
  height: 32px;
  top: 10px;
}

#step_number1:after {
  background-image: url(../img/svg/circle1.svg);
}

#step_number2:after {
  background-image: url(../img/svg/circle2.svg);
}

#step_number3:after {
  background-image: url(../img/svg/circle3.svg);
}

#step_number4:after {
  background-image: url(../img/svg/circle4.svg);
}

#step_number5:after {
  background-image: url(../img/svg/circle5.svg);
}

.excedente__wrap2 {
  width: 40%;
}

.preguntas {
  padding: 50px 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 30px;
}

.preguntas__content {
  display: grid;
  grid-column: span 3;
  grid-row-gap: 15px;
}

.questions__wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0px 8px 8px rgba(2, 37, 92, 0.15);
  border-radius: 5px;
  padding: 15px 30px;
  position: relative;
}

.slider__title {
  font-size: 18px;
  line-height: 22px;
  margin-bottom: 0px;
  color: var(--dark-blue);
}

.slider__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--dark-blue);
  padding-top: 15px;
}

.question {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.questions-box {
  overflow: hidden;
  transition: all 0.4s ease-in-out;
}

.hide {
  height: 0;
}

/* homepage */

.home__card-wrap {
  padding: 20px;
  border-radius: 15px;
  background: #FFF;
  position: relative;
}

.home_card_pic {
  margin-bottom: 20px;
}

.home__card-title {
  color: #000001;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.home_card-btn {
  width: 100%;
  border-radius: 5px;
  background: #705ced;
  box-shadow: none;
}

.home__header {
  height: auto !important;
  padding: 20px 0 40px 0;
}

.banner {
  background: #0E8CFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 15px 20px;
  color: #FFF;
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  top: 55px;
  right: 0;
}


@media (min-width:768px) {
  .header {
    background: url(../img/gif/fondo.gif) no-repeat;
    background-size: cover;
    background-position: center center;
    padding-top: 20px;
  }

  .logo__header {
    display: block;
    margin: 0 auto 40px auto;
  }

  .responsive {
    display: none;
  }

  .form__wrap {
    width: 450px;
  }

  .form__wrap-thanks {
    width: 650px;
  }

  .thanks__main-title {
    padding: 100px 0;
  }

}

@media (min-width: 768px) and (max-width: 1600px) {
  .home__content-wrap {
    flex-wrap: wrap;
    max-width: 1060px;
    margin: 20px auto 0 auto;
  }
}

@media (max-width:767px) {

  .header {
    background: url(../img/gif/fondo-r.gif) no-repeat;
    background-size: cover;
    background-position: center center;
    height: 1190px;
    padding-top: 20px;
  }

  .content_pic {
    display: block;
    width: 100%;
  }

  .logo__header {
    display: block;
    margin: 0 auto;
  }

  .content__main-title span {
    font-size: 22px;
  }

  .content__main-title {
    font-size: 35px;
    line-height: 44px;
  }

  .content__wrap {
    flex-direction: column;
    position: relative;
    gap: 0px;
  }

  .content {
    padding: 0 20px;
  }

  .timer__wrap {
    position: absolute;
    top: 142px;
    right: -30px;
  }

  #time {
    font-size: 100px;
  }

  .form__wrap {
    width: 100%;
  }

  .form__top {
    padding: 20px 15px;
  }

  .form__top-title {
    font-size: 22px;
  }

  .form__bottom {
    padding: 20px;
  }

  .form__input,
  .form__confirm,
  .form__btn {
    width: 100%;
  }

  .form__confirm {
    padding: 10px 0;
    font-size: 19px;
  }

  .advantages {
    padding: 50px 20px;
    flex-direction: column;
    gap: 30px;
  }

  .advantage__card-img {
    width: 65px;
  }

  .footer {
    padding-bottom: 20px;
  }

  .bg-footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    padding: 40px;
  }

  .bg-footer img {
    margin-bottom: 10px;
  }

  .footer-text p {
    margin-bottom: 10px;
  }

  .footer-text {
    text-align: center;
    line-height: 20px;
  }

  .socials__wrap {
    margin-bottom: 20px;
  }

  .loading__text {
    margin-top: 64%;
  }

  .content__main-subtitle {
    font-size: 16px;
  }

  .desktop {
    display: none;
  }

  .form__thanks-text {
    font-size: 20px;
  }

  .puntos_thanks__wrap {
    margin-left: 15%;
  }

  .capa_basica {
    padding: 2% 15px 0 15px
  }

  .cb__title-wrap {
    padding: 10px 45px
  }

  .cb-title {
    line-height: 18px
  }

  .close2 {
    right: 30px
  }

  .cb__wrap {
    grid-template-columns: repeat(6, 1fr)
  }

  .cb__right-side {
    grid-column: span 4
  }

  .form__legal-text {
    width: 100%;
  }

  /* SECTION Excedentes */

  .excedentes {
    padding: 15px;
    flex-direction: column-reverse;
  }

  .excedente__wrap {
    width: 100%;
  }

  .excedente__title {
    font-size: 24px;
    line-height: 28px;
  }

  .excedente__subtitle {
    font-size: 18px;
    line-height: 24px;
  }

  .tarif_ex__title {
    font-size: 16px;
    line-height: 19px;
  }

  /* Section: STEPS */

  .steps {
    padding: 15px;
    flex-direction: column;
    background-color: var(--white);
  }

  .excedente__wrap2 {
    width: 100%;
  }

  .steps__title {
    font-size: 16px !important;
    line-height: 19px;
  }

  .slider__desc {
    font-size: 14px;
    line-height: 20px;
  }

  .fotovoltaica {
    display: none;
  }

  /* Section: Preguntas*/

  .preguntas {
    padding: 30px 15px;
    display: block;
  }

  .newsWidget {
    padding: 20px 15px 70px 15px;
  }

  .newsWidget__title {
    font-size: 24px;
  }

  .owl-dots {
    width: 60%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    left: 50%;
    margin-left: -30%;
  }

  .home__main-title {
    font-size: 32px;
  }

  .home__main-title span {
    font-size: 18px;
  }

  .banner {
    top: 25px
  }

  .home__card-wrap {
    width: 100%;
  }

  .compania {
    width: 130px;
  }

  .thanks__main-title {
    margin-top: 60%;
  }
}