/* Añadimos fuentes */

@font-face {
    font-family: "Quicksand";
    src: url("/src/Tipografias/Quicksand-Bold.ttf");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Quicksand";
    src: url("/src/Tipografias/Quicksand-BoldItalic.otf");
    font-style: italic;
    font-weight: 700;
}

@font-face {
    font-family: "Quicksand";
    src: url("/src/Tipografias/Quicksand-Italic.otf");
    font-style: italic;
    font-weight: 400;
}

@font-face {
    font-family: "Quicksand";
    src: url("/src/Tipografias/Quicksand-Light.ttf");
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: "Quicksand";
    src: url("/src/Tipografias/Quicksand-LightItalic.otf");
    font-style: italic;
    font-weight: lighter;
}

@font-face {
    font-family: "Quicksand";
    src: url("/src/Tipografias/Quicksand-Medium.ttf");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Quicksand";
    src: url("/src/Tipografias/Quicksand-Regular.ttf");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Quicksand";
    src: url("/src/Tipografias/Quicksand-SemiBold.ttf");
    font-style: normal;
    font-weight: 600;
}


/* div {
    outline: solid 1px #d4d4d4;
} */


/* Estilo del cuerpo */

body,
.body {
    font-family: "Quicksand";
    background-image: url("/src/img/Fondo-Infografia-Parallax-12.jpg");
    background-size: cover;
    background-repeat: repeat-x;
    background-position: 20%;
    margin: 0px!important;
    font-size: 16px;
    image-rendering: -webkit-optimize-contrast;
    cursor: default;
    overflow-x: hidden;
}


/* Configuramos el cursor */

.btn-cursor,
.option {
    cursor: pointer;
}


/* Home */

#home-title {
    text-align: center;
    margin: 1em 0;
    font-size: 1em;
    color: white;
}

#home {
    color: #424242;
    background-color: #f5f6f5;
    border-radius: 20px;
    padding: 26px;
    font-weight: bold;
    text-align: center;
}

#home div.option {
    background-color: #f92155;
    margin: 10px;
    padding: 10px;
    border-radius: 20px;
    color: white;
    font-style: normal;
    font-weight: 100;
}


/* Formato del pie de página*/

.footer {
    /* position: absolute;
    bottom: 0; */
    width: calc(100% - 2em);
    z-index: -1;
    border-radius: 2em;
    margin: 1em;
    padding: 1em 0em;
    min-height: 100px;
    max-height: 200px;
    height: auto;
}

.footer>div:first-child {
    text-align: center;
    margin-bottom: 1rem;
}

.footer img {
    margin: 0em 1em;
}

.logo-path {
    padding: 0.5em;
}

.legal-info {
    background-color: #c9c9c9;
    text-align: center;
    width: 100%;
    height: 50px;
    font-size: 0.8em;
    cursor: pointer;
    position: relative;
    bottom: 0;
}

.legal-info p {
    padding: 1em 1em 0em 1em;
    margin: 0;
}


/* @media (min-height: 750px) and (max-width: 990px) {
    .legal-info {
        position: fixed;
    }
}

@media (min-width: 990px) {
    .legal-info {
        position: fixed;
    }
} */


/* biografía */

.bibliografia {
    width: auto;
    font-size: 0.7em;
    text-align: justify;
    padding: 1em;
}

.bibliografia>div {
    border-radius: 20px;
    background-color: #ffffffc0;
    padding: 1em;
}


/* Div Padre para centrar un div en el centro */
@media (min-width: 990px) {
    .parent {
        width: 100%;
        height: 100vh;
        position: relative;
        min-height: 800px;
    }
}
@media (max-width: 475px) {
    .parent {
        min-height: calc(100vh - 475px);
    }
}
@media (max-width: 990px) {
    .parent {
        width: 100%;
        min-height: calc(100vh - 350px);
        position: relative;
    }
}
.bg-white {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #ffffff69;
    z-index: 99;
}


/* Div hijo centrado */


/* .parent > .child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
} */

.parent>.child {
    padding: 1em;
}


/* Fuentes al 50% */


/* Titulo principal */

.titulo {
    font-size: 1.6rem;
    color: white;
    font-weight: lighter;
    padding: 1em;
}


/* Borde inferior de la caja de titulo  */

.titulo div:first-child {
    border-bottom: solid 1px white;
    width: auto;
    max-width: 12em;
}


/* Descripcion principal */

.descripcion {
    font-size: 1em;
    /*21px*/
    color: white;
    text-align: center;
    width: 80%;
    margin: auto;
    z-index: -1;
}


/* resultado principal */

.resultado {
    font-size: 2em;
    /*21px*/
    color: white;
    text-align: center;
}


/* Contenedor de pregunta */

.container-pregunta {
    background-color: #ffffff7e;
    border-radius: 20px;
}


/* Parte superior del contenedor centrado */

.container-pregunta .part-1 {
    background-color: #f5f6f5;
    border-radius: 20px 20px 0px 0px;
    padding: 20px;
    font-weight: bold;
    text-align: center;
}


/* Parte inferior del contenedor centrado */

.container-pregunta .part-2 {
    text-align: center;
    padding: 12px;
}

.container-pregunta .part-3 {
    background-color: #f5f6f5;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.part-3 .div-img-b {
    width: 10%;
    text-align: right;
    vertical-align: middle;
}


/* Classe para alinear en contenido en linea y alinearlo verticalmente en el medio */

.div-inline {
    display: inline-block;
    vertical-align: middle;
}


/* Tamaño de la imagen de la parte superior del contenedor centrado */

.div-img {
    width: 15%;
    text-align: center;
    vertical-align: middle;
}

.div-img img {
    vertical-align: middle;
}


/* Tamaño de la pregunta de la parte superior del contenedor centrado */

.div-pregunta {
    width: 75%;
    font-size: 1.2em;
    /*19px*/
    color: #2d2d2d;
    padding-left: 0.5em;
    font-weight: normal;
}


/* Botones de la parte inferior del contenedor centrado */

.part-2>div {
    background-color: #f92155;
    margin: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 20px;
    color: white;
    font-style: normal;
    font-weight: bold;
}

.container-puntaje p {
    display: inline-block;
    padding: 0px 10px;
    margin-top: 0px;
}

.txt-select {
    font-size: 1em;
    /*32px*/
    color: white;
}

.txt-info {
    font-size: 1em;
    /*34px*/
    color: white;
}


/* Contenedor de botones */

.container-informacion {
    text-align: center;
}

.container-informacion>.option,
.select-values .option {
    background-color: #ff7300;
    margin: 20px auto;
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    font-style: normal;
    font-weight: 100;
    width: fit-content;
    text-align: center;
}

.container-informacion>.option>img,
.select-values .option>img {
    height: 1em;
    padding-top: 4px;
}


/* Contenedor de puntaje */

.container-respuestas {
    width: 100%;
    height: 14em;
    position: relative;
}

.box {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
}

.overlay {
    z-index: 9;
    margin: 2em 0em;
    height: 12em;
    background: #f5f6f5;
    border-radius: 4em;
}

.content {
    z-index: 9;
    margin: 1em 0em;
    height: 14em;
}

.box.content>div:first-child {
    width: 60%;
}

.box.content>div:last-child {
    width: 40%;
}

.container-values {
    display: flex;
    flex-direction: initial;
    justify-content: center;
}

.select-values {
    flex-direction: column;
    justify-content: center;
    display: flex;
    align-items: center;
}

.respuestas_usuario-title {
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
}

#respuestas_usuario p {
    display: inline-block;
    padding: 0px 4px;
    margin-top: 0px;
    margin-bottom: 0px;
    text-decoration: none;
    text-decoration-color: #9c9c9ccc;
    color: #727171;
}

#respuestas_usuario p::before {
    content: " ✓"
}


/* Modal información */

.modal-informacion {
    height: auto;
    background-color: #f5f6f5;
    color: #343434;
    border-radius: 2em;
    position: fixed;
    bottom: 0;
    margin: 1em;
    z-index: 999;
}

.modal-respuestas {
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: calc(100% - 4em);
    margin: 0;
}

.modal-respuestas>.modal-content {
    overflow-y: auto!important;
}

.modal-informacion>.modal-content {
    margin: 2px;
    margin-bottom: 1em;
    height: calc(100% - 8em);
    max-height: calc(100vh - 8em );
    overflow-y: scroll;
    text-align: justify;
    padding: 0.5em;
}

.modal-informacion>.modal-close {
    margin: 1em;
    width: auto;
    text-align: right;
    cursor: pointer;
}

.modal-informacion>.modal-close>img {
    width: 1em;
}

.modal-detalle-respuestas ol span {
    font-weight: bold;
}

.hide {
    display: none;
}

.soft-hide {
    animation: showslow 1s reverse forwards;
}

.show {
    animation: showslow 1s forwards;
    display: block;
}


/* Fin modal */


/* Animaciónes simples */

@keyframes showslow {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Estilo del criculo de progreso */

.movil-style .circle-progress,
.desktop-style .circle-progress {
    width: 100%;
    height: 100%;
    height: fit-content;
}

.circle-progress-img {
    max-width: 100%;
    max-height: 100%;
}

.progress,
.progress_d {
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    display: flex;
}

.circle-progress-value {
    stroke-width: 20px;
    stroke: #860131;
}

.circle-progress-circle {
    stroke-width: 20px;
    stroke: #ffffff00;
}


/* Animación de celulas */

.container-svg {
    position: relative;
    height: 1px;
    width: 1px;
}

.cell-1 {
    position: absolute;
    top: 40%;
    left: 30%;
    opacity: 0.5;
}

.desktop-style {
    display: none;
}

@media (max-width: 766px) {
    .desktop-style {
        display: none;
    }
}


/* Estilo para tableta */

@media (min-width: 1400px) {
    /* Contenido principal */
    .child {
        width: 36%;
    }
    .desktop-style {
        display: block;
    }
}

@media (min-width: 990px) and (max-width: 1400px) {
    /* Contenido principal */
    .child {
        width: 52%;
    }
    .desktop-style {
        display: block;
    }
}


/* Estilo para el escritorio */

@media (min-width: 990px) {
    
    /* Ocultamos los estilos de movil*/
    .movil-style, .movil {
        display: none;
    }
    /* Aplicamos el centrado absoluto al contenido del escritorio */
    .desktop-style {
        display: block;
        position: absolute;
        top: 2rem;
        right: 3rem;
        width: 800px;
    }
    /* Titulo principal */
    .titulo div:first-child {
        max-width: 24em;
        border-bottom: solid 0px white;
        text-decoration: underline;
    }
    /* Contenido principal */
    .child {
        margin: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    /* Contenido de la pregunta y de las opciones de respuesta */
    #container-pregunta-lupa .part-1 {
        width: 49%;
        padding: 30px 0px;
        display: inline-block;
    }
    #container-pregunta-lupa .part-2 {
        width: 49%;
        padding: 20px 0px;
        display: inline-block;
    }
    /* Contenedor del menu principal */
    .container-pregunta .part-1 {
        border-radius: 20px 0px 0px 20px;
    }
    .container-pregunta .part-2>div {
        margin: 0px;
        padding-top: 4px;
        padding-bottom: 4px;
        margin-left: 0.5em;
        margin-right: 0.5em;
    }
    /* Contenedor de las respuestas del usuario y de la imagen de la prostata */
    #respuestas_usuario_d p {
        display: inline-block;
        padding: 0px 4px;
        margin-top: 0px;
        margin-bottom: 0px;
        text-decoration: none;
        text-decoration-color: #9c9c9ccc;
        color: #727171;
    }
    #respuestas_usuario_d p::before {
        content: " ✓"
    }
    /* Pie de página */
    .footer {
        position: absolute;
        bottom: 3em;
        left: 0em;
        width: auto;
        padding-bottom: 0em;
    }
    .legal-info {
        position: absolute;
        bottom: 0em;
        left: 0em;
        width: 100%;
        padding-bottom: 0em;
        margin: 0;
    }
    /* Pie de página */
    .bibliografia {
        position: absolute;
        bottom: 5em;
        right: 2%;
        width: 25%;
        font-size: 0.8em;
        padding: 0em;
        text-align: right;
    }
    .footer>div:first-child {
        text-align: left;
    }
    /* Estilo del modal del escritorio */
    .modal-informacion {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0em;
        height: auto;
        max-height: 70vh;
        z-index: 999;
        bottom: auto;
    }
    .modal-informacion>.modal-content {
        height: auto;
        max-height: calc(70vh - 5em);
    }
}

@media (min-width: 990px) and (max-height: 820px) {
    .desktop-style {
        position: absolute;
        top: 3rem;
        right: 1rem;
        width: 45%;
        font-size: 12px;
    }
    .child:not(.modal-informacion) {
        margin: 0;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
    .parent {
        min-height: 600px;
    }
}

@media (max-height: 820px) and (min-width: 990px) {
    .child {
        width: 52%;
    }
}

@media (max-width: 990px) {
    .desktop {
        display: none;
    }
}