:root {
    /* Variables */
    --primario: #131348;
    --secundario: #3a7bcc;
    --terciario: #009189;
    --oscuro: #242a2e;
    --gris: #757575;
}

html {
    box-sizing: border-box;
    font-size: 62.5%; /* Reset para REMS - 62.5% = 10px de 16px **/
}
body {
    font-family: 'Baloo Da 2', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
    margin: 0;
    max-width: 100%;
}

/** Globales **/
img {
    max-width: 100%;
}
a {
    text-decoration: none;
    color: #000;
}
h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 3rem;
    margin-top: 0;
    padding-top: 2rem;
}
h2 {
    font-size: 3.4rem;
    line-height: 1.4;
}
h3 {
    font-size: 2.4rem;
    line-height: 1.4;
}
h4{
    font-size: 2rem;
}
@media (min-width: 768px) {
    h2, h3 {
        line-height: 2;
    }
}
input:focus::placeholder {
    color: transparent;
}

/** Utilidades **/
.seccion {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.contenedor {
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
}
.contenedor2 {
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
}
.centrado {
    text-align: center;
}
.parte-central {
    border: 2px solid #e1e1e1;
    margin: 3rem auto;
    padding: 2rem .4rem;
}
.parte-centralpdf {
    border: 2px solid #e1e1e1;
    margin: 3rem auto;
    padding: 2rem .4rem;
}
@media (min-width: 768px){
    .parte-central {
        width: 80rem;
        padding: 2rem 3rem;
    }
    .formulario-alineado {
        display: flex;
        justify-content: space-between;
        flex-direction: row!important;
    }
}

/** Botones **/
.boton {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    text-decoration: none;
    text-align: center;
    padding: 1.2rem 2rem;
    margin-top: 2rem;
    border: none;
    border-radius: 6px;
    display: inline-block;
}
@media (min-width: 768px) {
    .boton {
        flex: 0 0 auto;
    }
}
.boton:hover {
    cursor: pointer;
}
.boton-secundario {
    background-color: var(--secundario);
    border: 2px solid var(--secundario);
    transition: all .2s ease;
}
.boton-secundario:hover {
    background-color: #fff;
    color: var(--secundario);
    border: 2px solid var(--secundario);
}
.boton-terciario {
    background-color: var(--terciario);
    border: 2px solid var(--terciario);
    transition: all .2s ease;
}
.boton-terciario:hover {
    background-color: #fff;
    color: var(--terciario);
    border: 2px solid var(--terciario);
}

/* header */
header {
    background-color: var(--primario);
    margin: 0;
    width: 100%;
}

@media only screen and (min-width: 768px){
    .contenido-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-height: 12rem;
    }
}
.contenido-header .separacion-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contenido-header h1.titulo {
    font-weight: 400;
    color: #fff;
}
.contenido-header h1.titulo span {
    font-weight: 700;
}
nav.navegacion {
    display: none;
    font-size: 2rem;
    padding-bottom: .2rem;
    transition: all .3s ease;
}
nav.navegacion a {
    margin: 0 3rem;
    padding: 6px 12px;
    border: 2px solid #fff;
    transition: all .3s ease;
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}
nav.navegacion a:hover {
    background-color: #fff;
    color: var(--primario);
}
@media only screen and (min-width: 768px){
    nav.navegacion {
        display: block;
        font-size: 2rem;
    }
    nav.navegacion a {
        display: inline-block;
        margin: 0 .4rem;
        padding: 6px 12px;
    }
}

/* Logo Ujap */
.ujaplogo{
    /*width: 80px;*/
    height: 80px;
    padding-right: 10px;
    animation-name: logobounce;
    animation-duration: 2s;
    animation-timing-function: ease;
}

/* Animacion Logo */
@keyframes  logoin{
    0%   {left:-100; top:-100px;}
    100% {left:0px; top:0px;}
}

@keyframes  logobounce{
    0%   {transform: translateX(-100%);}
    33%   {transform: translateX(0%);}
    66%   {transform: translateX(-50%);}
    100% {transform: translateX(0%);}
}

/** Menu Movil **/
div.menu-movil {
    width: 50px;
    display: block;
    margin-top: 12px;
}
div.menu-movil:hover {
    cursor: pointer;
}
@media only screen and (min-width:768px) {
    div.menu-movil {
        display: none;
    }
}
div.menu-movil span {
    height: 6px;
    margin-bottom: 6px;
    background-color: white;
    display: block;
}

/* pagina-principal */
main {
    min-height: 80vh;
}
.pagina-principal {
    padding-top: 2rem;
    text-align: center;
    background-color: #fff4d6;
}
.pagina-principal-pdf {
    padding-top: 2rem;
    text-align: center;
 
}
.pagina-principal h2 {
    font-size: 3rem;
}
.pagina-principal .subtitulo {
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--oscuro);
}

@media (min-width: 768px){
    .pagina-principal {
        padding-top: 10rem;
    }
    .pagina-principal h2 {
        font-size: 3.4rem;
    }
    .pagina-principal .subtitulo {
        font-size: 1.5rem;
    }
    .pagina-principal .cajas {
        font-size: 1.0rem;
    }
}
.boton-principal {
    display: inline-block;
    /*font-size: 3rem;*/
    font-family: 'Open Sans';
    text-transform: uppercase;
    /*background-color: #13547a;*/
    background-color: var(--primario);

    
    border-bottom: 5px solid #09203f;
    margin-bottom: 4rem;
    transition: all .5s;
}
.boton-principal:hover {
    background-color: #cf330f;
}
.boton-principal:active {
	box-shadow: 2px 2px 2px #777, 0px 0px 24px 0px #00b7f8;
	border-bottom:1px solid #09203f;
	transform: translateY(4px);
    transition: all 0.1s ease 0s;
}

/* footer */
footer {
    background-color: var(--primario);
    color: #fff;
}
.contenido-footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 768px){
    .contenido-footer {
        flex-direction: row;
    }
    .contenido-footer > div {
        padding: 0;
    }
}
.contenido-footer > div {
    flex: 0 0 30%;
    padding: 0 1rem;
}
.contenido-footer h3,
.contenido-footer p,
.contenido-footer ul {
    margin: 1rem 0;
}
.contenido-footer p {
    line-height: 1.5;
}
.contenido-footer ul.redes-sociales {
    list-style: none;
    padding: 0;
    font-size: 3rem;
}
.contenido-footer ul.redes-sociales li {
    display: inline-block;
    line-height: 1;
    width: 5rem;
    height: 5rem;
    margin: 0 .3rem;
    background-color: rgba(255, 255, 255, .5);
    border-radius: 20px;
}
.contenido-footer ul.redes-sociales li a {
    padding: 6px;
    margin-top: .3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
i {
    color: #fff;
    transition: all .1s ease;
}
i.fa-facebook-f:hover {
    color: #0044d8;
}
i.fa-twitter:hover {
    color: #009bd8;
}
i.fa-pinterest-p:hover {
    color: #e7270e;
}
i.fa-youtube:hover {
    color: #d61a1a;
}
i.fa-instagram:hover {
    color: #c81eeb;
}
footer p.copyright {
    margin: 0;
    margin-top: 2rem;
    text-align: center;
    background-color: var(--oscuro);
}

/* NUEVA ENCUESTA */
/* Datos iniciales */
.crea-encuesta input:not([type="submit"]) {
    font-weight: bold;
    height: 4rem;
    color: var(--oscuro);
    background-color: transparent;
    border: none;
    outline: none;
}
.crea-encuesta input[type="number"]{
    font-family: 'Baloo Da 2', sans-serif;
    margin-left: 2rem;
    padding-left: 1rem;
    width: 3.6rem;
    height: 3rem;
    border: 1px solid #9d9ea0;
    border-radius: 8px;
}
.inicio-encuesta {
    font-size: 1.8rem;
    margin: auto;
}
@media only screen and (min-width: 768px){
    .inicio-encuesta {
        width: 80%;
    }
}
.inicio-encuesta > div,
.formulario-alineado > div,
.contenedor-respuestas > div {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    background-color: #eeeded;
    border: 1px solid #d3d3d3;
    border-radius: 8px;
    padding: 1rem 2rem;
}
.inicio-encuesta input:not([type="submit"]) {
    font-size: 1.8rem;
}

@media (min-width: 768px){
    .inicio-encuesta .nro-preguntas {
        flex-direction: row;
    }
    .inicio-encuesta input:not([type="submit"]) {
        font-size: 2.2rem;
    }
}


/* datos preguntas */
.crea-encuesta h3{
    text-align: center;
    margin-bottom: 0;
    margin-top: 12rem;
}
@media (min-width: 768px){
    .crea-encuesta h3 {
        margin-top: 4rem;
    }
}
.datos-preguntas:not(:first-child) {
    margin-top: 4rem;
}
.datos-preguntas .pregunta-encuesta {
    flex: 0 0 58%;
}
.datos-preguntas .cant-respuestas {
    flex: 0 0 30%;
}
.datos-preguntas .cant-respuestas input {
    font-size: 1.8rem;
}
@media only screen and (min-width: 768px){
    .datos-preguntas div.respuesta-encuesta {
        flex-direction: row;
        align-items: center;
    }
}
.datos-preguntas div.respuesta-encuesta input {
    background-color: #fff;
    padding-left: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
}
@media only screen and (min-width: 768px){
    .datos-preguntas div.respuesta-encuesta input {
        width: 80%;
        margin-left: 2rem;
    }
}
.crea-encuesta input.boton-terciario {
    min-width: 20rem;
}

/* ENCUESTA */
.encuesta {
    padding: 0 1rem;
    line-height: 1.5;
}
@media (min-width: 768px){
    .encuesta {
        padding: 0 3rem;
        line-height: 2;
    }
}
.encuesta h2 {
    text-align: center;
}
.encuesta .form-encuesta p.pregunta {
    font-size: 2.2rem;
    margin-bottom: 0;
}
.encuesta .form-encuesta .respuesta {
    font-size: 1.8rem;
}
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 10px;
    height: 10px;
    background: #3cb180;
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

/* MIS ENCUESTAS */
.contenedor-encuesta {
    display: block;
    border: 2px solid #505963;
    padding-left: 2rem;
    background-color: #e2e2e2;
    margin-bottom: 1rem;
    transition: all .3s;
}
.contenedor-encuesta:hover {
    background-color: var(--primario);
    color: #fff;
}
.contenedor-encuesta h3 {
    margin: 0;
    font-weight: normal;
}
.contenedor-encuesta p {
    margin: 0 0 1rem 1rem;
    color: #5f5f5f;
}

/* Notificaciones */
.notificacion {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 3rem;
    opacity: 0;
    transition: opacity .5s ease;
}
.visible {
    opacity: 1;
}
.sombra {
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.5);
    border-radius: 10px;
}
/* Colores de la notificacion */
.correcto {
    background-color: rgb(179,241,117);
    color: green;
}
.error {
    background-color: rgb(238,148,166);
    color: rgb(163,0,33);
}

.pdf-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Relación de aspecto cuadrada */
}

.pdf-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

