:root{
    --custom-yellow : #FFC609;
    --custom-dark-yellow: #f9a719;
    --custom-soft-yellow: #EFC687;
    --custom-gray: #606060;
    --custom-brown: #2F272A;
    --custom-brown-ligth: #6e3c00;
    --custom-orange: #F7B000;
}
*{
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
}
@font-face{
    font-family : "Agenda" ;
    /*src: url(../fonts/AgendaBold.ttf);*/
    src: url(../fonts/Montserrat-Bold.ttf);
    font-display: swap;
}
@font-face{
    font-family : "Monserrat" ;
    src: url(../fonts/Montserrat-Bold.ttf);
    font-display: swap;
}
@font-face{
    font-family : "Apex" ;
    src: url(../fonts/apexnew-book.otf);
    font-display: swap;
}
.gracias-por-participar {
    position: absolute;
    right: 10%;
    bottom: 35%;
}

.container-reporte {
    padding: 30px 0px;
}
.gracias-title h1 {
    font-family: "Agenda";
    font-size: 105px;
    color: var(--custom-yellow);
    margin-bottom: -25px;
}
button#exportCsv {
    margin: 25px auto;
    padding: 5px 15px;
    border: 0;
}
.gracias-title h2 {
    font-family: "Agenda";
    font-size: 65px;
    color: var(--custom-yellow);
}
.gracias-title p {
    font-family: "Apex";
    font-size: 35px;
    color: #fff;
}
#container{
    max-width: 1200px;
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 100vh;
}
.container-gracias {
    width: 100%;
    height: 100%;
    background: url(../img/graciasbg.jpg);
    background-size: cover;
    background-position: top center;
    position: relative;
}
a, .formulario-de-contacto input[type="submit"]{
    font-family: "Agenda";
    font-size: 17px;
    font-weight: bold;
}
#s1{
    width: 100%;
    height: 100%;
    background-image: url(../img/pasta-generica-home-bg.jpg);
    background-size: cover;
    background-position: bottom center;
    position: relative;
}
.content-home {
    position: absolute;
    bottom: 28%;
    left: 10%;
}
.content-home h1 {
    color: #FFC609;
    font-size: 70px;
    font-family: "Agenda";
    line-height: 65px;
}
.content-home p {
    font-family: "Apex";
    color: #fff;
    font-size: 38px;
}
.content-home a, a.comenzar-btn, .formulario-de-contacto input[type="submit"] {
    background-color: var(--custom-yellow);
    padding: 15px 30px;
    line-height: 1;
    border-radius: 10px;
    box-shadow: -5px -3px var(--custom-dark-yellow);
    margin-top: 25px;
    display: inline-block;
    color: #21211E;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all .5s;
    cursor:pointer;
}
.cont-preguntas {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url(../img/preguntas-bg.jpg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none; 
}
.preguntas {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none; 
}
.cont-preguntas::-webkit-scrollbar, .preguntas::-webkit-scrollbar  {
    display: none;
}
.preguntas>div {
    height: 100vh;
    display: flex;
    padding-left: 9%;
}
.preguntas .custom-section-content>span {
    border: 3px solid var(--custom-brown);
    font-size: 25px;
    font-family: 'Agenda';
    border-radius: 10px;
    color: var(--custom-brown);
    padding: 1px 15px;
}
.preguntas .custom-section-content>h2{
    color: var(--custom-gray);
    font-family: 'Agenda';
    font-size: 35px;
    margin-top: 50px;
}
.preguntas .custom-section-content>p {
    color: var(--custom-gray);
    font-family: 'Apex';
    font-size: 22px;
    margin-bottom: 25px;
}


.container {
    display: flex;
    position: relative;
    padding-left: 55px;
    margin-bottom: 20px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    max-width: 400px;
    height: 50px;
    background: var(--custom-brown-ligth);
    border: 4px solid #fff;
    border-radius: 50px;
    font-family: 'Agenda';
    color: var(--custom-soft-yellow);
    align-items: center;
    transition: all .5s;
}

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

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 50%;
    left: 20px;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
    border: 3px solid var(--custom-soft-yellow);
    transform: translateY(-50%);
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: var(--custom-dark-yellow);
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: var(--custom-brown-ligth);
}

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

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

/* Style the indicator (dot/circle) */

textarea {
    resize: none;
    max-width: 600px;
    width: 100%;
    font-size: 15px;
    padding: 15px;
    color: var(--custom-gray);
    border-radius: 10px;
    border: 0;
}
.custom-section-content {
    width: 100%;
    height: fit-content;
    margin: auto;
    position: relative;
}
.custom-section-content>a.comenzar-btn, .formulario-de-contacto input[type="submit"] {
    position: initial;
    transform: unset;
    margin-top: 35px;
    outline: 0;
    border: 0;
    cursor: pointer;
    -webkit-appearance: none;
}
label.container[data-selected] {
    background: var(--custom-orange);
    color: var(--custom-brown-ligth);
}
.content-home a:hover, a.comenzar-btn:hover, .content-home a:hover, .formulario-de-contacto input[type="submit"]:hover{
    color: #fff;
    box-shadow: -5px -3px var(--custom-yellow);
    background-color: var(--custom-dark-yellow);
}
.nav-preguntas {
    width: 60px;
    display: flex;
    height: 30px;
    position: absolute;
    background-color: var(--custom-yellow);
    box-shadow: -5px -5px 0 var(--custom-dark-yellow);
    bottom: 50px;
    right: 50px;
    border-radius: 5px;
    padding: 5px 1px;
}
.nav-preguntas>div {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}
.nav-preguntas>div:first-child:after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
}
.nav-preguntas>div:first-child{
    border-right: 0.5px solid #333;
}
.nav-preguntas>div:last-child{
    border-left: 0.5px solid #333;
}
.nav-preguntas>div:last-child:after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
img.show-alert-info {
    position: absolute;
    left: 500px;
    top: 335px;
    width: 200px;
    transition: opacity .5s, top .5s ease .3s;
    opacity: 0;
	-webkit-animation: jello-horizontal 2s infinite;
    animation: jello-horizontal 2s infinite;
}
img.show-alert-info.show {
    opacity: 1;
    top: 300px;
}
@-webkit-keyframes jello-horizontal {
  /*0% {*/
  /*  -webkit-transform: scale3d(1, 1, 1);*/
  /*          transform: scale3d(1, 1, 1);*/
  /*}*/
  /*30% {*/
  /*  -webkit-transform: scale3d(1.25, 0.75, 1);*/
  /*          transform: scale3d(1.25, 0.75, 1);*/
  /*}*/
  /*40% {*/
  /*  -webkit-transform: scale3d(0.75, 1.25, 1);*/
  /*          transform: scale3d(0.75, 1.25, 1);*/
  /*}*/
  /*50% {*/
  /*  -webkit-transform: scale3d(1.15, 0.85, 1);*/
  /*          transform: scale3d(1.15, 0.85, 1);*/
  /*}*/
  /*65% {*/
  /*  -webkit-transform: scale3d(0.95, 1.05, 1);*/
  /*          transform: scale3d(0.95, 1.05, 1);*/
  /*}*/
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
            transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}
@keyframes jello-horizontal {
  /*0% {*/
  /*  -webkit-transform: scale3d(1, 1, 1);*/
  /*          transform: scale3d(1, 1, 1);*/
  /*}*/
  /*30% {*/
  /*  -webkit-transform: scale3d(1.25, 0.75, 1);*/
  /*          transform: scale3d(1.25, 0.75, 1);*/
  /*}*/
  /*40% {*/
  /*  -webkit-transform: scale3d(0.75, 1.25, 1);*/
  /*          transform: scale3d(0.75, 1.25, 1);*/
  /*}*/
  /*50% {*/
  /*  -webkit-transform: scale3d(1.15, 0.85, 1);*/
  /*          transform: scale3d(1.15, 0.85, 1);*/
  /*}*/
  /*65% {*/
  /*  -webkit-transform: scale3d(0.95, 1.05, 1);*/
  /*          transform: scale3d(0.95, 1.05, 1);*/
  /*}*/
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
            transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
            transform: scale3d(1, 1, 1);
  }
}
a.comenzar-btn.disabled{
    opacity: 0.6;
    cursor: no-drop;
}
.container-form {
    display: flex;
    height: 100%;
    background-image: url(../img/patron.jpg);
}
.formulario-de-contacto {
    width: 100%;
    height: fit-content;
    position: relative;
    margin: auto;
}
.formulario-de-contacto h2 {
    font-family: "Agenda";
    color: var(--custom-gray);
    font-size: 45px;
    max-width: 640px;
    text-align: center;
    display: block;
    margin: 0 auto;
    margin-bottom: 45px;
}
.formulario-de-contacto form {
    max-width: 555px;
    display: block;
    margin: 0 auto;
    text-align: center;
}
.formulario-de-contacto form input:not([type=submit]) {
    width: 100%;
    height: 75px;
    border: 10px solid #fff;
    background-color: var(--custom-yellow);
    margin-bottom: 20px;
    border-radius: 50px;
    font-family: 'Apex';
    text-align: center;
    font-size: 25px;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #fff;
}
.w-image{
        width: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 20px;
        align-items: center;
        background: #fff;
        border-radius: 20px;
        color: var(--custom-brown-ligth);
    }
.custom-form.c-image {
    display: flex;
    flex-wrap: wrap;
}
label.container.w-image {
    width: 31%;
    margin: 1%;
}
.container.w100{
    width: 100%;
}
    .w-image span{
        visibility: hidden;
    }
    .w-image img {
        width: 95%;
        margin-bottom: 10px;
    }
@media(max-width: 1440px){
	.content-home {
    	bottom: 37%;
		left: 13%;
	}
}
@media(max-width: 767px){
    .custom-form.c-image {
    display: block;
    }
    label.container.w-image {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 15px;
}
	#pregunta7 #save-data{
		margin-bottom: 100px;
	}
    #s1{
        background-image: url(../img/bg-mob1.png);
        background-size: cover;
        background-position: bottom center;
    }
    .content-home {
        left: 0%;
        margin-bottom: 10%;
        width: 100%;
        padding: 0px 20px;
		bottom: 30%;
    }
    .content-home h1{
        font-size: 35px;
        max-width: 280px;
        line-height: 32px;  
    }
    .content-home h1 br{
        display: none;
    }
    .content-home p {
        font-size: 25px;
        max-width: 275px;
        margin-top: 10px;
        margin-bottom: 25px;
    }
    .content-home a, a.comenzar-btn, .formulario-de-contacto input[type="submit"] {
        font-size: 20px;
        line-height: 1;
        padding-top: 10px;
        padding-bottom: 15px;
    }
    .cont-preguntas {
        padding: 0 20px;
        text-align: center;
    }
    .preguntas>div{
        padding: 0%;
    }
    .cont-preguntas{
        background-image: url(../img/2.2.png);
        background-size: cover;
        background-position: bottom center;
    }
    .preguntas {
        top: 0;
        left: 0;
        padding: 0 20px;
    }
    .preguntas .custom-section-content>span{
        font-size: 30px;
        padding: 5px 10px;
    }
    .preguntas .custom-section-content>h2 {
        font-size: 40px;
        margin-top: 20px;
    }
    .preguntas .custom-section-content>p {
        font-size: 15px;
        max-width: 170px;
        margin: 0 auto;
        margin-bottom: 25px;
    }
    .container {
        display: flex;
        position: relative;
        padding-left: 50px;
        font-size: 16px;
        max-width: 320px;
        height: 50px;
        margin: 0 auto;
        margin-bottom: 10px;
        border: 3px solid #fff;
    }
    .checkmark {
        height: 20px;
        width: 20px;
        border: 3px solid var(--custom-soft-yellow);
    }
    textarea{
        max-width: 300px;
        margin: 0 auto;
        height: 45px;
        overflow: hidden;
    }
    .nav-preguntas{
        display: none;
    }
    .formulario-de-contacto h2 {
        font-family: "Apex";
    max-width: 300px;
    font-size: 22px;
    line-height: 25px;
    width: 100%;
    margin-bottom: 50px;
}
    .formulario-de-contacto form {
        padding: 0 20px;
    }
    .formulario-de-contacto form input:not([type=submit]){
        border: 3px solid #fff;
        font-size: 20px;
        height: 55px;
        margin-bottom: 20px;
        width: 85%;
    }
    .container-gracias {
        background: url(../img/mob-bg-4.png);
        background-position: top center;
        background-size: cover;
    }
    .gracias-por-participar {
        right: 0;
        width: 100%;
        bottom: 25%;
    }
    .gracias-title {
    text-align: center;
}
    .gracias-title h1 {
        font-size: 48px;
        margin-bottom: -5px;
    }
    .gracias-title h2 {
        font-size: 28px;
        text-align: center;
    }
    .gracias-title p {
    font-family: "Apex";
    font-size: 20px;
    text-align: center;
    color: #fff;
}
    .w-image{
        width: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        padding: 20px;
        align-items: center;
        background: #fff;
        border-radius: 20px;
        color: var(--custom-brown-ligth);
    }
    .w-image span{
        visibility: hidden;
    }
    .w-image img {
        width: 95%;
        margin-bottom: 10px;
    }
}