@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --amarillo: #e67f00;
  --amarilloOscuro: #e98503;
  --azul: #075ae6;
}

* {
  margin: 0;
  padding: 0;
}

body {
  /*font-family: "Montserrat";*/
  font-family: "Archivo", "Arial", serif;
  margin: 0;
  height: 100vh;
  background-image: url(img/image.png);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

.container {
  display: flex;
  justify-content: center;
  padding: 32px;
}

form {
  max-width: 768px;
  display: flex;
  flex-direction: column;
  background-color: rgb(255, 255, 255, 0.95);
  padding: 32px;
  border-radius: 6px;
  box-sizing: border-box;
}

.logo-top {
  width: 175px;
  height: auto;
  margin: 0 auto;
}

.titulo {
  font-size: 32px;
  margin-bottom: 8px;
  text-wrap: balance;
  text-align: center;
}

.info {
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 21px;
  text-align: center;
}
  body#tyc ul.info, body#tyc ol.info{
    font-weight: normal;
    text-align: left;
    padding-left: 35px;
  }
    body#tyc ul.info li, body#tyc ol.info li{
      margin-bottom: 8px;
    }

form .form {
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
}

form .form .form-group {
  display: flex;
  flex-direction: row;
  margin-bottom: 25px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
form .form .form-group.opciones {
  flex-direction: column;
}

form .form .form-group .radio-group,
form .form .form-group .checkbox-group {
  display: flex;
  flex-direction: row;
  width: 65%;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px 25px;
}
form .form .form-group.opciones .radio-group,
form .form .form-group.opciones .checkbox-group {
  width: 100%;
}

form .form .form-group .radio-group label,
form .form .form-group .checkbox-group label {
  width: auto;
  font-size: 16px;
  font-weight: 400;
}

/*form .form .form-group .radio-group label:last-child, form .form .form-group .checkbox-group label:last-child {
  margin: 0;
}*/

form .form .form-group label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  width: 35%;
}
form .form .form-group.opciones label {
  width: 100%;
}
form .form .form-group.opciones .radio-group label,
form .form .form-group.opciones .checkbox-group label {
  width: calc(33% - 50px);
}

form .form .form-group input[type="text"],
form .form .form-group input[type="email"],
form .form .form-group input[type="number"],
form .form .form-group input[type="tel"] {
  height: 40px;
  margin: 0;
  box-sizing: border-box;
  padding: 5px 8px;
  /*border: 2px solid #f49831;*/
  border: 2px solid var(--azul);
  border-radius: 10px;
  width: 65%;
  font-size: 18px;
}
form .form .form-group input[type="text"]:focus,
form .form .form-group input[type="email"]:focus,
form .form .form-group input[type="number"]:focus,
form .form .form-group input[type="tel"]:focus {
  box-shadow: 0 0 4px 0px rgb(0 0 0 / 50%);
  border: 2px solid #f49831;
  outline: 0;
}

.form-group a {
  color: #000;
}

form .form .form-group input[type="radio"]:checked {
  background-color: yellow;
  border-color: gold;
}

form .form .buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

form .form .nextBtn,
form .form .backBtn {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 4px;
  border: 0;
  color: white;
  font-size: 21px;
  font-weight: 600;
  background-color: var(--azul);
  /*font-family: "Montserrat";*/
  font-family: "Archivo", serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 500ms;
}
form .form .nextBtn:hover {
  transform: scale(1.025);
}

form .form .backBtn {
  border: 1px solid black;
  background-color: white;
  color: black;
}
form .form .backBtn:hover {
  transform: scale(0.95);
  background-color: #e9e9e9;
}

form .form.first,
form .form.second,
form .form.third {
  opacity: 0;
  height: 0;
  pointer-events: none;
  transform: translateX(100%);
}

form.firstActive .form.first {
  opacity: 1;
  height: auto;
  pointer-events: auto;
  transform: translateX(0);
}


form.secActive .form.second {
  opacity: 1;
  height: auto;
  pointer-events: auto;
  transform: translateX(0);
}

form.thirdActive .form.third {
  opacity: 1;
  height: auto;
  pointer-events: auto;
  transform: translateX(0);
}

form.firstActive .form.zero,
form.secActive .form.zero,
form.thirdActive .form.zero,
form.secActive .form.first,
form.thirdActive .form.first,
form.thirdActive .form.second {
  opacity: 0;
  height: 0;
  pointer-events: none;
  transform: translateX(-100%);
}

form .form.zero .title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: left;
  line-height: 40px;
}

form .form.zero .intro {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 23px;
}

form .form.zero .section-title {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 20px;
}

form .form.zero .step-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

form .form.zero .step-description {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 23px;
}

form .form.zero .subsection-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

form .form.zero .product-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}

form .form.zero .product-list strong {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

form .form.zero .product-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 50px;
  list-style: disc;
  color: #000;
}

form .form.zero .validation-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

form .form.zero .validation-list .validation-item {
  font-size: 15px;
  font-weight: bold;
}

@media (max-width: 768px) {
  body {
    background-position: right center;
    background-size: auto 100%;
  }
  .container {
    padding: 16px;
  }

  form {
    padding: 16px;
    background-color: rgb(255, 255, 255, 0.85);
  }

  .logo-top {
    width: 192px;
  }

  .titulo {
    font-size: 20px;
  }

  form .form .form-group {
    flex-direction: column;
  }
  form .form .form-group label {
    width: 100%;
  }
  form .form .form-group input[type="text"],
  form .form .form-group input[type="email"],
  form .form .form-group input[type="number"],
  form .form .form-group input[type="tel"] {
    width: 100%;
  }

  form .form.zero .title  {
    font-size: 18px;
  }

  form .form.zero .section-title {
    margin-bottom: 8px;
  }

  form .form.zero .section-title, form .form.zero .step-title {
    font-size: 16px;
  }
}

.volverBtn {
  text-align: center;
  color: #f49831;
}

.container.gracias {
  align-items: center;
  height: 100%;
}

body#tyc {
  height: auto;
}
.container.gracias.tyc h3 {
  margin-bottom: 10px;
}
.container.gracias.tyc p {
  text-align: left;
  font-size: 15px;
  line-height: 23px;
  margin-bottom: 20px;
  font-weight: normal;
}

/* The container */
.checkbox-group label {
  display: flex;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 16px !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 28px;
  align-items: center;
}

/* Hide the browser's default checkbox */
.checkbox-group label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  border: 2px solid var(--azul);
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #e9e9e9;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: var(--azul);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* RADIO BUTTON */
/* The container */
.radio-group label {
  display: flex;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 15px !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 30px;
  align-items: center;
}

/* Hide the browser's default radio button */
.radio-group label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.radio-group label .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  border: 2px solid var(--azul);
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-group label:hover input ~ .checkmark {
  background-color: #fff;
}

/* When the radio button is checked, add a blue background */
.radio-group label input:checked ~ .checkmark {
  background-color: var(--azul);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radio-group label .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-group label input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-group label .checkmark:after {
  top: 8px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

@media (max-width: 768px) {
  form .form .form-group.opciones .radio-group label,
  form .form .form-group.opciones .checkbox-group label {
    width: 100%;
  }
}

#finalBtn.disabled {
  opacity: 0.8;
  pointer-events: none;
}

form .form .captcha.form-group {
  justify-content: flex-start;
}
.captcha .radio-group label {
  width: 100%;
  padding: 0;
}
form .form .form-group.opciones .radio-group.declaro label {
  width: 100%;
  height: auto;
}

.popUp {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgb(0 0 0 / 70%);
}
.popUp.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.popUp-content {
  position: relative;
  width: 600px;
  padding: 50px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 4px 0 #000;
  transition: all 500ms;
  opacity: 0;
  transform: scale(0.5);
}
.popUp.show .popUp-content {
  opacity: 1;
  transform: scale(1);
}
.popUp-content p {
  line-height: 23px;
}
.closePopUp {
  position: absolute;
  font-size: 40px;
  top: 0px;
  right: 10px;
  cursor: pointer;
}

@media (max-width: 768px) {
  html{
    overflow-x: hidden;
  }
  .popUp-content {
    padding: 40px 25px;
    width: 80%;
    max-height: 80vh;
  }
  .popUp-content p {
    line-height: 23px;
    font-size: 16px;
  }
}
