/* TITULO */
#titulo {
    background-image: radial-gradient(circle, rgb(114, 114, 114) 0%, rgba(128, 128, 128, 0) 60%);
            
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 80% 90%;
    background-size: 50vw 50vw;

    width: 100%;
}

#titulo .mitad {  
    position: relative;

    padding: 5vw 15vw;
    width: 45%;
}

#mitad_titulo {
    width: 55% !important;

    display: flex;
    flex-direction: column;

    justify-content: center;
}

#titulo h1 {
    z-index: 99;
    position: relative;
    font-weight: 999;
    font-size: 3vw;
    color: var(--color_corporativo);
    line-height: 1.2; 
}

#titulo button {
    position: relative;
    z-index: 999;
    margin-top: 2vw;
    padding: 10px 20px;

    background: var(--color_corporativo);
    border: none;
    border-radius: 1vw;
    font-size: 2vw;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
}

#titulo button:hover {
    background: #1e0f4c;
}

/* WEB */
#web {
    box-shadow: rgba(50, 50, 50, 0.4) 0px 5px 15px;

    top: 0vw;  
    right: 15vw;

    width: 50vw;
    z-index: 999;
    position: relative;
    border-radius: 1vw;
    background-color: #EDEFF3;
    color: grey;
}

#imagen_ticket {
    width: 15vw;
    margin-top: 0.5vw;
    border-radius: 1vw;
}

#barra_app {
    height: 3.5vw;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    padding: 0.7vw;

    background-color: #505050;
}

#barra_app span {

    border-radius: 99vw;

    width: 1.2vw;
    height: 1.2vw;

    margin-left: 0.5vw;
}

#barra_app #amarillo {
    background: #f5ff5e;
}

#barra_app #verde {
    background: #59e766;
}

#barra_app #rojo {
    background: #ff5e5e;
}

#barra {
    display: flex;
    flex-direction: column;
}

#ticket_izquierda {
    width: 100%;

    padding: 2.5vw;
}

#factura {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
    font-weight: 1;
    padding: 1vw;
    width: 100%;
    height: 100%;
    border-radius: 1vw;
    background-color: rgba(255, 255, 255);
}

#factura hr {
    border: solid rgb(228, 228, 228) 0.1vw;

    border-radius: 1vw;

    margin: 1vw 0;
}

#factura h3 {
    font-size: 2vw;
}

#factura p {
    font-size: 1.7vw;
}

#texto_factura {
    display: grid;
    gap: 0.2vw;
    grid-column: 3;
}

#texto_factura span {
    
    margin: 0.5vw 0;
    background-color: rgb(228, 228, 228);
    border-radius: 1vw;
    width: 100%;
    height: 0.8vw;
}

#texto_factura #imagen_qr {
    margin-top: 0.5vw;
    width: 4vw;
}

#ticket_derecha {
    position: relative;

    padding: 2.5vw;
    display: flex;
    flex-direction: column;

    width: 50%;

    background-color: rgb(255, 255, 255);
}

#ticket_derecha span {
    margin: 0.5vw 0;
    background-color: rgb(198, 198, 198);
    border-radius: 1vw;
    width: 100%;
    height: 0.8vw;
}

#ticket_derecha .row {
    gap: 0.5vw;
}

#difuminado_uno {
    position: absolute;
    top: 0;
    right: 0;

    z-index: 99999;

    width: 30%;
    height: 100%; 
    background: linear-gradient(to left, var(--background_uno) 10%, rgba(128, 128, 128, 0) 80% );
}

/* Áreas Clave */
#empresa {
    padding: 40px 10vw;
    background-color: #f4f4f9;
    text-align: center;

    display: flex;
    gap: 2vw;
}

#empresa h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
}

/* AREAS */
#areas {
    background-color: var(--background_uno);
    padding: 2vw 5vw;
    background-image: none;
}

#mitad_areas {
    display: flex;
    justify-content: center;

    width: 100%;

    gap: 1vw;
    padding: 0 10vw;
}

.area {
    width: 33%;
    box-shadow: rgba(50, 50, 50, 0.2) 0px 5px 15px;
    background: white;
    padding: 1.5vw;

    border-radius: 1vw;
    border: solid rgb(193, 193, 193) 0.1vw;
}

.area h2 {
    font-size: 2vw;
    color: var(--color_corporativo);
}

.area i {
    font-size: 3vw;
    color: var(--color_corporativo);
}

.area p {
    font-size: 1.5vw;
}

/* SOBRE AZAROA */
.sobre_azaroa {
    background-color: red;

    font-size: 2vw;

    display: flex;
    flex-direction: column;

    padding: 2vw 15vw !important;
}

.sobre_azaroa ul {
    margin-left: 2vw;
    margin-top: 2vw;
}

/* GRAFICA */
.board {
    width: 100%;
    height: 200px;
    background-color: #919191;
}

.sub_board {
    width: 100%;
    height: 100%;
    background-color:#ffffff;
}

.cont_board {
    width: 100%;
    height: 80%;
}

.graf_board {
    width: 93%;
    height: 115%;
    float: right;

    background-color: rgb(255, 255, 255);
        border-left: 2px solid #999999;
        border-bottom: 2px solid #999999;
    display: flex;  
}

.barra {
    width:100%;
    height: 100%;
    margin: 0 1vw;
    background-color: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.sub_barra {
    width: 100%;
    height: 80%;
    background: rgb(184, 184, 184);

    border-radius: 3px 3px 0 0;
}

.tag_g {
    padding-top: 0.5vw;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 2;

    color: black;
}

.tag_leyenda {
    width: 100%;
    text-align: center;
    margin-top: 5px;
}

.tag_board {
    height: 100%;
    width: 3vw;
    box-sizing: border-box;
}

.sub_tag_board {
    width: 3vw;
    height: 115%;
    display: flex;
    flex-wrap: wrap;
}

.sub_tag_board > div {
    width: 100%;
    height: 10%;
    text-align: right;
    padding-right: 10px;
    box-sizing: border-box;
}

.b1{ height: 35%}
.b2{ height: 55%}
.b3{ height: 40%}
.b4{ height: 75%}
.b5{ height: 55%}

/* GRAFICO CIRCULAR */
#div_grafica {
    text-shadow: 0 0px 112px rgba(0, 0, 0, 1);

    z-index: 999;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.3);

    padding: 1vw 3vw;
    border-radius: 1vw;
    background-color: white;

    position: absolute;
    top: 35vw;
    left: -10vw;
}

.grafico {
    height: 200px;
    margin: 1rem auto;
    position: relative;
    width: 200px;

    border-radius: 99vw;

    box-shadow: rgba(50, 50, 50, 0.4) 0px 5px 15px;  
} 

.recorte {
    border-radius: 50%;
    clip: rect(0px, 200px, 200px, 100px);
    height: 100%;
    position: absolute;
    width: 100%;
}

.quesito {
    border-radius: 50%;
    clip: rect(0px, 100px, 200px, 0px);
    height: 100%;
    position: absolute;
    width: 100%;
    font-family: monospace;
    font-size: 1.5rem;
}

#porcion1 {
    transform: rotate(0deg);
}

#porcion1 .quesito {
    background-color: rgba(209, 209, 209, 0.7);
    transform: rotate(70deg);
}

#porcion2 {
    transform: rotate(70deg);
}

#porcion2 .quesito {
    background-color: rgba(141, 141, 141, 0.7);
    transform: rotate(120deg);
}

#porcion3 {
    transform: rotate(-170deg);
}

#porcion3 .quesito {
    background-color: rgba(255, 255, 255, 0.7);
    transform: rotate(25deg);
}

#porcionFin {
    transform:rotate(-145deg);
}

#porcionFin .quesito {
    background-color: rgba(19, 19, 19, 0.7);
    transform: rotate(145deg);
}

#porcion1 .quesito:after {
    content: attr(data-rel);
    left: 25%;
    line-height: 5;
    position: absolute;
    top: 0;
    transform: rotate(-70deg);
}

#porcion2 .quesito:after {
    content: attr(data-rel);
    left: 15%;
    position: absolute;
    top: 30%;
    transform: rotate(-190deg);
}

#porcion3 .quesito:after {
    content: attr(data-rel);
    left: 35%;
    position: absolute;
    top: 4%;
    transform: rotate(70deg);
}

#porcionFin .quesito:after {
   content: attr(data-rel);
   left: 10%;
   position: absolute;
   top: 30%;
}