/* fuentes */

@font-face {
    font-family: 'SyneMono';
    src: url('https://paranoia.alaluz.cl/assets/font/SyneMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

/***** grl **/
*{
    margin:0;
    padding:0;
}

body {
    min-width: 100vh;
    font-family: 'SyneMono';
}

/* barra de navegación */
/* menu de navegacion */    

    #menu {
        background: #000000;
        height: 45px;
        border-radius: 0px;
    }
    #menu ul, #menu li {
        margin: 0 auto;
        padding: 0;
        list-style: none
    }
    #menu ul {
        width: 100%;
        text-align: center;
    }
    #menu li {
        display: inline-block;
        position: relative;
    }
    #menu a {
        display: block;
        line-height: 45px;
        padding: 0 14px;
        text-decoration: none;
        color: #FFFFFF;
        font-size: 16px;
    }
    #menu a.dropdown-arrow:after {
        content: "\25BE";
        margin-left: 5px;
    }
    #menu li a:hover {
        color: #FFD308;
        background: #000000;
    }
    #menu input {
        display: none;
        margin: 0;
        padding: 0;
        height: 45px;
        width: 100%;
        opacity: 0;
        cursor: pointer
    }
    #menu label {
        display: none;
        line-height: 45px;
        text-align: center;
        position: absolute;
        left: 35px
    }
    #menu label:before {
        font-size: 1.6em;
        color: #FFFFFF;
        content: "\2261"; 
        margin-left: 20px;
    }
    #menu ul.sub-menus{
        height: auto;
        overflow: hidden;
        width: 170px;
        background: #444444;
        position: absolute;
        z-index: 99;
        display: none;
    }
    #menu ul.sub-menus li {
        display: block;
        text-align: left;
        width: 100%;
    }
    #menu ul.sub-menus a {
        color: #FFFFFF;
        font-size: 16px;
    }
    #menu li:hover ul.sub-menus {
        display: block
    }
    #menu ul.sub-menus a:hover{
        background: #F2F2F2;
        color: #444444;
    }
    @media screen and (max-width: 800px){
        #menu {position:relative}
        #menu ul {background:#444444;position:absolute;top:100%;right:0;left:0;z-index:3;height:auto;display:none;text-align:left;}
        #menu ul.sub-menus {width:100%;position:static;}
        #menu ul.sub-menus a {padding-left:30px;}
        #menu li {display:block;float:none;width:auto;}
        #menu input, #menu label {position:absolute;top:0;left:0;display:block}
        #menu input {z-index:4}
        #menu input:checked + label {color:#FFFFFF}
        #menu input:checked + label:before {content:"\00d7"}
        #menu input:checked ~ ul {display:block}
    }

footer {
	background-color: #000000;
	margin: 0;
	padding: 0;
}

footer div {
	color: white;
	;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-wrap: nowrap;
}

footer div img,
footer div p {
	margin: 1rem 0 0.2rem 0;
}

footer div a {
	color: white;
}

footer div a:hover {
	color: yellow;
}

/* hero */
.hero {
    position: relative;
    height: 95vh; /* Full screen height */
    background-image: url('http://localhost/paranoia/assets/img/maxresdefault.jpg'); /* Replace with your image URL */
    background-size: cover; /* Ensures the image covers the entire hero section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Avoid image repetition */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 95vw;
    height: 95vh;    
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Centers the content */
    color: white;
    text-align: center;
    padding: 0 1rem; /* Padding for responsiveness */
}

.hero-content h1 {
    font-size: 3rem; /* Adjust as needed */
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Optional text shadow */
}

.hero-content p {
    font-size: 1.2rem;
    margin: 1rem 0;
    max-width: 600px; /* Limits the width of the paragraph */
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    color: white;
    background-color: #ff5733; /* Button color */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.btn:hover {
    background-color: #e64e20; /* Darker shade on hover */
}

/* seccion infrarrojo */
#seccion-infrarrojo, #secion-ultravioleta {
   display: flex;
   column-gap: 4rem;   
   align-items: center;
   align-items: flex-start;
   width: 90vw;
   margin: 2rem auto 0 auto;
}

#seccion-infrarrojo {
    flex-direction: row;
}

#secion-ultravioleta{
    flex-direction: row-reverse;
}


.seccion-titulo {
    padding: 100px 60px;  
} 

.seccion-titulo h2, .seccion-titulo p {
    background-color: rgba(15, 15, 15, 0.425); 
    color: white;
    padding: 10px;   
} 

.seccion-contenidos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 2rem;
    width: 90vw;
    margin-inline: auto;    
}

.seccion-contenidos article {
    width: 25%;
}

#seccion-infrarrojo .seccion-titulo {
    position: relative;
    height: 40vh;
    width: 10vw;
    background-image: url('http://localhost/paranoia/assets/img/paranoia-happiness-is-mandatory-review-2.png');
    background-size: cover; 
    background-position: 50% 30%;
    background-repeat: no-repeat; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#secion-ultravioleta .seccion-titulo {
    position: relative;
    height: 40vh;
    width: 10vw;
    background-image: url('http://localhost/paranoia/assets/img/altoprogramador.jpeg');
    background-size: cover; 
    background-position: 50% 30%;
    background-repeat: no-repeat; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#seccion-infrarrojo article .seccion-contenidos-imagen {
    background-color: black;
    color: white;
    padding: 1rem;
    height: 2rem;
}   

#secion-ultravioleta article .seccion-contenidos-imagen {
    background-color: whitesmoke;
    color: black;
    padding: 1rem;
    height: 2rem;
}

#seccion-infrarrojo article:nth-child(10) .seccion-contenidos-imagen,
#seccion-infrarrojo article:nth-child(11) .seccion-contenidos-imagen,
#seccion-infrarrojo article:nth-child(12) .seccion-contenidos-imagen {
    background-color: red;
    color: white;    
}   
/******* wizard **********/
/*
.wizard-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    transform: translateY(-50%);
    z-index: 0;
}

.step.completed:not(:last-child)::after {
    background-color: #28a745;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
}

.step.completed .step-number {
    background-color: #28a745;
}

.step-label {
    display: block;
    font-size: 14px;
    color: #333;
}

.step.completed .step-label {
    font-weight: bold;
    color: #28a745;
}

.step.pending .step-label {
    color: #999;
}*/
.step-wizard {    
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 1rem;
}
.step-wizard-list {
    background: #fff;
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
    color: #333;
    list-style-type: none;
    border-radius: 10px;
    display: flex;
    padding: 20px 10px;
    position: relative;
    z-index: 10;
    /*width: 75vw;*/
    margin: 0 1rem;
}

.step-wizard-item{
    padding: 0 20px;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive:1;
    flex-grow: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    /*min-width: 170px;*/
    position: relative;
}
.step-wizard-item + .step-wizard-item:after{
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    background: #ff0000;
    width: 100%;
    height: 2px;
    transform: translateX(-50%);
    z-index: -10;
}
.progress-count{
    height: 40px;
    width:40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
    margin: 0 auto;
    position: relative;
    z-index:10;
    color: transparent;
}
.progress-count:after{
    content: "";
    height: 40px;
    width: 40px;
    background: #ff0000;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -10;
}
.progress-count:before{
    content: "";
    height: 10px;
    width: 20px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -60%) rotate(-45deg);
    transform-origin: center center;
}
.progress-label{
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}
.current-item .progress-count:before,
.current-item ~ .step-wizard-item .progress-count:before{
    display: none;
}
.current-item ~ .step-wizard-item .progress-count:after{
    height:10px;
    width:10px;
}
.current-item ~ .step-wizard-item .progress-label{
    opacity: 0.5;
}
.current-item .progress-count:after{
    background: #fff;
    border: 2px solid #ff0000;
}
.current-item .progress-count{
    color: #ff0000;
}

#generador-main {
    display: flex;
}

#info-generador {
    width: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 1rem;
}

#generador-contenido {
    background-color: #8b280a;            
    height: 90vh;
    width: 100%;
}

.generador-formularios, .generador-impresion {
    color: white;
    padding: 3rem;
}
.generador-formularios h3, .generador-impresion h3 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.generador-formularios p, .generador-impresion p {
    margin-bottom: 2rem;
}

.generador-impresion {
    background-color: white;
    color: #000000;
    width: 50vw;
    margin: 0 auto;
}

.datosPersonajeitem label {
    font-weight: 700;
}

#hoja-izq {
    display:flex;
    column-gap:2rem;
}



.hoja-cen-top {
    display: flex;    
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    width: 70vh;
    margin: 0 auto;
}

.hoja-cont-cent2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 1rem;
}

.tabla-impresion {
    overflow: auto;
    width: 50%;
}

.tabla-impresion table {
    border: 1px solid #dededf;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}

.tabla-impresion caption {
    caption-side: top;
    text-align: left;
}

.tabla-impresion th {
    border: 1px solid #dededf;
    background-color: #eceff1;
    color: #000000;
    padding: 5px;
}

.tabla-impresion td {
    border: 1px solid #dededf;
    background-color: #ffffff;
    color: #000000;
    padding: 5px;
}

.tabla-impresion tr td:nth-child(2){
    text-align: center;
    padding: 0 30px;
}

.tabla-impresion tr td:nth-child(3){
    text-align: center;
}

article#hoja-Capacidades {
    width: auto!important;
}

#hoja-Capacidades, #hoja-Capacidades .titulo {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;    
}

#hoja-Capacidades .titulo label {
    font-size: 1.5em;
}

#hoja-Capacidades .titulo span {
    font-size: 2em;
}

.hoja-cen-bottom .paso3-tabla .categories .category {
    width: 200px!important;    
}

.hoja-cen-bottom .paso3-tabla .categories .category .skill strong {
    font-weight: 200!important;
    font-size: 0.8em;
}

/*** generador paso 1 **/
.paso1-tabla {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    margin: 4rem 0;    
}

.div1 { grid-area: 1 / 1 / 2 / 2; text-align: -webkit-center; color: yellow;}
.div2 { grid-area: 1 / 2 / 2 / 3; text-align: -webkit-center; color: yellow;}
.div3 { grid-area: 1 / 3 / 2 / 4; text-align: -webkit-center; color: yellow;}
.div4 { grid-area: 1 / 4 / 2 / 5; text-align: -webkit-center; color: yellow;}
.div5 { grid-area: 2 / 1 / 3 / 2; text-align: -webkit-center; color: yellow;}
.div6 { grid-area: 2 / 2 / 3 / 3; text-align: -webkit-center; color: yellow;}
.div7 { grid-area: 2 / 3 / 3 / 4; text-align: -webkit-center; color: yellow;}
.div8 { grid-area: 2 / 4 / 3 / 5; text-align: -webkit-center; color: yellow;}

.div1 span, .div2 span, .div3 span, .div4 span, .div5 span, .div6 span, .div7 span, .div8 span {
    display: table;
    text-align: center;
    font-size: 3em;
    font-weight: 900;
    color: white;
}

.highlight-servicios {
    font-size: 1.7em!important;
}

.generador-formularios h4 {
    text-align: center; 
    font-size: 2em; 
    padding-top: 2rem;
}

.generador-botones {
    display: flex;
    justify-content: center;
    column-gap: 2rem;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    color: black;
}

.category {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    width: 300px;
    background-color: #f9f9f9;
}

.category h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.skill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.skill label {
    font-size: 1rem;
    flex: 1;
    text-align: left;
}

.skill input {
    flex: 0 0 50px;
    padding: 5px;
    text-align: center;
}

#generador-contenido-p3 {
    background-color: #8b280a;            
    height: auto;
    width: 100%;
}

.puntos-restantes {
    text-align: center;
    font-size: 3em;
    font-weight: 600;
}

#total-points {
    color: yellow;
}

    
/* ====================================== Modo móvil ========================================= */

@media (max-width: 480px) {
    /* Barra de navegación */
    .escritorio {
        width: 100vw;
    }
    .escondeMovil {
        display: none;
    }

    
}


/* =======================================  página a imprimir ================================== */
@media print {
    header,
    footer,
    nav,
    #info-generador, .step-wizard {
      display: none !important;
    }

    #generador-contenido, .generador-impresion {
        width: 100vw!important;
    }
    
    #hoja-izq {
        width: 90vw!important;
        display: flex;
        column-gap: 2rem;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    #hoja-cen {
        width: 70vw!important;
    }

    .hoja-cen-top {
        width: 60vw!important;
    }

    .hoja-cen-bottom .paso3-tabla .categories {
        padding:0!important;
        gap:1rem!important;
        flex-wrap: nowrap;
        width: 95vw!important;

    }
    .hoja-cen-bottom .paso3-tabla .categories .category {
        width: 20%!important;   
        padding: 1rem!important;
        margin: 0!important; 
    }

    .datosPersonajeitem {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .datosPersonajeitem label {
        font-weight: 700;
    }

    .datosPersonajeitem span {
        margin-bottom:2rem;
    }

    .hoja-cont-cent2 {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        margin: 0 0 0.5rem 0!important;
    }

    .tabla-impresion {
        overflow: auto;
        width: 50vw;
    }
  }