body {
    font-family: Verdana, Arial, Helvetica;
    color: white;
    background-color: black;
    overflow: hidden;
    font-size: min(1.25vw, 2.25vh);
}
h1 {
    font-size: min(2.5vw, 4.49vh);
}
#encabezado-pp-sub2 {
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        #d02808,
        rgba(0, 0, 0, 0)
    );
    position: absolute;
    width: 100%;
    left: 0px;
    top: 20%;
    height: 60px;
    z-index: 2;
}
#contenedor-logo-borsaria {
    margin-top: 10px;
    text-align: center;
    font-size: 10px;
    color: #ffffff;
}
#canvas-candlestick-rot {
    position: absolute;
    top: 20%;
    padding-left: 0;
    padding-right: 0;
    left: calc(50% - min(27.34vw, 49.16vh));
    display: block;
    width: min(54.69vw, 98.31vh);
    height: min(31.25vw, 56.18vh);
    border: 1px solid black;
}
#fondo-banner {
    position: absolute;
    bottom: min(0.78vw, 1.4vh);
    height: min(7.81vw, 14.04vh);
    width: auto;
    left: 50%;
    background: black;
    transform: translate(-50%, 0);
}
#banner {
    position: relative;
    color: transparent;
    background: red;
    margin: auto;
    background-clip: text;
    border-width: 0;
    margin: 0;
    padding: min(1.17vw, 2.11vh);
    font-size: min(1.41vw, 2.53vh);
    text-align: center;
}
.clsvg {
    stroke-width: 2;
}
.g1 {
    stroke: #8a8a8a;
}
.g2 {
    stroke: #747474;
}
.g3 {
    stroke: #5f5f5f;
}
.divm1 {
    position: absolute;
    right: 0;
    top: calc(50% - 35pt);
}

.divm1:hover .g1 {
    stroke: cyan;
}
.divm1:hover .g2 {
    stroke: lime;
}
.divm1:hover .g3 {
    stroke: yellow;
}

.mnu {
    position: absolute;
    right: -100px;
    color: white;
    display: inline-block;
    padding: 20px;
    margin-top: -50%;
    translate: 0 calc(35pt - 50%);
    visibility: hidden;
    transition:
        right 1s,
        visibility 0.5s;
}

.divm1:hover .mnu {
    visibility: visible;
    right: 20px;
}
.ctrl {
    position: absolute;
    right: 5px;
    display: inline-block;
}
.mnu > div {
    font-size: min(1.72vw, 3.09vh);
    padding: 5px;
}
.divm1:hover > .mnu:hover {
    color: gray;
}
.divm1:hover > .mnu:hover > div:hover {
    color: white;
    cursor: pointer;
}
.prodserv {
    position: absolute;
    background-image: linear-gradient(to bottom right, #0b3e6b, #4f89bd);
    width: 100%;
    top: min(0.78vw, 1.4vh);
    bottom: min(0.78vw, 1.4vh);
    left: -100%;
    z-index: 10;
    opacity: 0.9;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    color: white;
}

.contacto {
    position: absolute;
    background-image: linear-gradient(to bottom right, #e2a981, #fbe1cf);
    width: 100%;
    top: min(0.78vw, 1.4vh);
    bottom: min(0.78vw, 1.4vh);
    left: -100%;
    z-index: 10;
    opacity: 0.9;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    color: #c0570f;
}

.ocultar {
    display: none;
}
.mostrar {
    display: block;
    left: 0;
}
@keyframes slideIn {
    0% {
        left: -100%;
    }
    100% {
        left: 0;
    }
}
@keyframes slideOut {
    0% {
        left: 0;
    }
    100% {
        left: -100%;
    }
}

.regresar {
    position: absolute;
    left: 20px;
    bottom: 20px;
    cursor: pointer;
    fill: ivory;
    stroke: red;
}
.prodserv > .regresar:hover {
    fill: cyan;
    stroke: blue;
}
.contacto > .regresar:hover {
    fill: #c9623a;
    stroke: red;
}
.prods {
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 10%;
    right: 55%;
    padding: min(0.78vw, 1.4vh);
}
.prodserv h1 {
    color: aquamarine;
}
.servs {
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 55%;
    right: 10%;
    padding: min(0.78vw, 1.4vh);
}
.listagen {
    font-size: min(1.8vw, 3.23vh);
    color: cyan;
}
.listagen > li {
    margin-bottom: min(0.63vw, 1.12vh);
    position: relative;
    animation: fadeIn 1s linear forwards;
    opacity: 0;
}
.listagen > li:nth-child(1) {
    animation-delay: 1s;
}
.listagen > li:nth-child(2) {
    animation-delay: 2s;
}
.listagen > li:nth-child(3) {
    animation-delay: 3s;
}
.listagen > li:nth-child(4) {
    animation-delay: 4s;
}
.listagen > li:nth-child(5) {
    animation-delay: 5s;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        top: min(15.63vw, 28.09vh);
    }
    75% {
        opacity: 0.5;
        top: 0px;
    }
    100% {
        opacity: 1;
    }
}
.titcontact {
    position: absolute;
    top: 10%;
    bottom: 80%;
    left: 10%;
    right: 10%;
}
.titcontact > h1 {
    text-align: center;
}
.infocontact {
    position: absolute;
    top: 22%;
    bottom: 10%;
    left: 10%;
    right: 55%;
    padding: min(0.78vw, 1.4vh);
}

.formcontact {
    border-radius: min(1.95vw, 3.51vh);
    position: absolute;
    border-color: gray;
    border-style: solid;
    top: 22%;
    bottom: 10%;
    left: 55%;
    right: 10%;
    padding: min(1.56vw, 2.81vh);
    background-image: linear-gradient(to bottom right, #a12e02, #f96126);
    display: grid;
    grid-template-columns: 49% 49%;
    color: #ffc4ad;
    font-size: min(1.56vw, 2.81vh);
    row-gap: min(1.17vw, 2.11vh);
    grid-auto-rows: min-content;
}
.infocontact * {
    font-size: min(1.8vw, 3.23vh);
}
.infocontact > div {
    padding: min(0.78vw, 1.4vh);
}
.infocontact > ul > li {
    padding: min(0.78vw, 1.4vh);
}
.spanneg {
    font-weight: bold;
}

.formcontact :is(input[type="text"], select, textarea) {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: min(1.33vw, 2.39vh);
}
.formcontact :is(input[type="text"], select) {
    height: min(2.34vw, 4.21vh);
}
.formcontact textarea {
    height: min(6.25vw, 11.24vh);
}

.captcompl {
    padding: 5px;
    grid-column: 1 / span 2;
    height: min(3.91vw, 7.02vh);
}

.captmed1 {
    padding: 5px;
    grid-column: 1;
    height: min(3.91vw, 7.02vh);
}
.captmed2 {
    padding: 5px;
    grid-column: 2;
    height: min(3.91vw, 7.02vh);
}
.captextra {
    padding: 5px;
    grid-column: 1 / span 2;
    height: min(7.81vw, 14.04vh);
}
.captpol {
    grid-column: 1;
    font-size: min(1.09vw, 1.97vh);
    color: #fbe3e3;
}
#consultarpol {
    color: #f91e01;
    margin-top: min(0.39vw, 0.7vh);
    padding: min(0.23vw, 0.42vh);
    background-color: #eccabd;
    border-radius: min(0.31vw, 0.56vh);
    text-align: center;
}
#consultarpol:hover {
    color: white;
    background-color: #f48477;
}
#enviarforma {
    width: 90%;
    background-color: #ad3801;
    height: min(3.91vw, 7.02vh);
    font-size: min(1.56vw, 2.81vh);
    margin-left: 10%;
    color: #da8e8e;
}
#enviarforma:enabled {
    color: white;
}
#enviarforma:hover:enabled {
    background-image: linear-gradient(to bottom right, #cc4e20, #fdaf93);
    animation: agrandarBtn 0.7s forwards;
}
@keyframes agrandarBtn {
    0% {
        transform: scale(1, 1);
    }
    100% {
        transform: scale(1.1, 1.1);
    }
}
.dialogoInfo[open] {
    scale: 1;
    transition: scale 0.3s ease-in-out;
    position: absolute;
    @starting-style {
        scale: 0;
    }
}
.dialogoInfo {
    transition:
        scale 0.3s ease,
        display 0.3s ease allow-discrete;
    scale: 0;
    width: 70%;
    height: 70%;
}
.dialogoInfo > div {
    position: absolute;
    overflow-y: auto;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 60px;
    border-color: gray;
    border-style: solid;
}
.dialogoInfo > div > p:nth-of-type(1) {
    text-align: center;
}
.dialogoInfo > div > p:nth-of-type(2) {
    padding: 10px;
    text-align: justify;
}
.dialogoInfo > button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    translate: -50% 0;
}
