:root {
  --white-color: #ffffff;
  --white2-color: hsl(300, 9%, 91%);
  --light-bg-color: #f2f3f5;
  --light-text-color: #7c899a;
  --border-color: #e5e8ec;
  --dark-color: #0a021c;

  --font-small: 13px;
  --font-smaller: 11px;

  --percent100: 100%;
  --percent50: 50%;

  --fw3: 300;
  --fw5: 500;
  --fw6: 600;
  --fw7: 700;
  --fw8: 800;

  --trans-background-color: background-color 0.3s, color 0.3s;
  --trans-background: background-color 0.3s;
  --trans-color: color 0.3s;
}
main {
  width: 100%;
  margin-top: 45px;
  height: auto;
}
/*General Settings*/
.container-form {
  display: grid;
  margin: 50px 0px;
}
label {
  display: block;
  margin-bottom: 0.25rem;
}
input {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}
select {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  background: #fafafa;
}

select:active,
select:hover {
  outline: none;
}

select:active,
select:hover {
  background: var(--white-color);
}
.width-50 {
  width: 50%;
}
.ml-auto {
  margin-left: auto;
}
.text-center {
  text-align: center;
  /* color: #2c3e50; */
}
.secondary {
  color: var(--secondary-color);
  font-weight: 500;
}
.tyc {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 20px;
  margin: 20px 10px;
}
.tyc label {
  display: block;
  text-align: left;
}
.tyc input {
  flex: 1;
  height: 20px;
  width: 20px;
  text-align: right;
}
.tyc span {
  flex: 3;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: block;
  text-align: left;
}
.tyc .r20 {
  flex: 1;
  display: block;
  width: 20%;
}
.tyc .r80 {
  flex: 7;
  display: block;
  text-align: left;
  width: 80%;
}

label.checkmark {
  position: relative;
}
/*ProgressBar*/
.progressbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 2rem 0 4rem 0;
  counter-reset: step;
}
.progressbar::before,
.progress {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #dcdcdc;
  height: 4px;
  width: 100%;
}
.progress {
  background-color: var(--primary-color);
  width: 0%;
  transition: 0.3s ease-in-out;
}
.progress-step {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 35px;
  height: 35px;
  background-color: #dcdcdc;
  border-radius: 50%;
}
.progress-step::before {
  counter-increment: step;
  content: counter(step);
}

.progress-step::after {
  content: attr(data-title);
  position: absolute;
  top: calc(100% + 0.5rem);
  font-size: 0.8rem;
  color: #666;
}
.progress-step.active {
  background-color: var(--primary-color);
  color: #f3f3f3;
}

/*form*/
.form {
  width: clamp(350px, 30%, 430px);
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 0.35rem;
  padding: 1.5rem;
  background-color: #ecf0f1;
  box-shadow: 2px 4px 11px -1px #000;
}

.form-step {
  display: none;
  transform-origin: top;
  animation: animate 0.5s;
}
.oculto {
  display: none;
}
.mostrar {
  display: flex;
}
.extra {
  padding: 0px 15px;
  font-weight: 500;
}
.extra > label {
  font-weight: 300;
  font-size: 14px;
}
.extra_x {
  padding: 0px 40px;
  font-weight: 300;
  font-size: 14px;
}
@keyframes animate {
  from {
    transform: scale(1, 0);
    opacity: 0;
  }
  to {
    transform: scale(1, 1);
    opacity: 1;
  }
}
.form-step.active {
  display: block;
}
.input-group {
  margin: 2rem 0;
}
.dflex {
  display: flex;
  justify-content: space-evenly;
  gap: 10px;
}
.btns-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.btn {
  padding: 0.75rem;
  display: block;
  text-align: center;
  text-decoration: none;
  background-color: var(--primary-color);
  color: #f3f3f3;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  font-size: 18px;
}
.btn:active {
  transform: scale(0.98);
}
.btn:hover {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary-color);
}
/* SLIDER */
.slider {
  margin: 0;
  padding: 0;
}
.slidecontainer {
  width: 100%;
  margin: 0 auto;
}

.slider:hover {
  opacity: 1;
}
@media (max-width: 540px) {
  main {
    margin-top: 85px;
  }
  .contact .action form input[type="email"] {
    width: 310px;
  }
  .faq-content {
    display: flex;
    flex-direction: column;
  }
  .item-faq {
    margin: 15px 10px;
    padding: 10px;
  }
}
@media (max-width: 365px) {
  .logo img {
    max-width: 100%;
    width: 110px;
    height: auto;
  }
  .contact .action form input[type="email"] {
    width: 310px;
  }
  .faq-content {
    display: flex;
    flex-direction: column;
  }
  .item-faq {
    margin: 15px 10px;
    padding: 10px;
  }

  section {
    padding: 10px;
    transition: 0.3s;
  }
  .top-btnn {
    display: none;
  }
  header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: transparent;
    padding: 10px 3%;
    transition: 0.3s;
  }
  .navlist {
    width: 90%;
  }
  .home {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
  }
}
