*{
    padding: 0;
    margin: 0;
    font-family: monospace;
    box-sizing: border-box;
    color: var(--blanco);
    transition: 0.2s;
    cursor: default;
}

h1 {
    text-align: center;
    text-transform: uppercase;
}

:root{
    --azulneon:rgb(3, 80, 180);
    --negro:rgb(0, 0, 0);
    --blanco:white;
    --gris:#5e5e5e;
}

body {
    background-color: var(--negro);
}

header{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--azulneon);
}

header a img {
    height: 50px;
    margin: 15px 30px;
    transition: 0.5s;
}

header ul {
    display: flex;
    margin: auto 10px;
}

header ul a{
    list-style: none;
    margin: auto;
    text-decoration: none;
}

header ul a li {
    margin: auto 20px;
    text-decoration: none;
    color: var(--negro);
    width: 200px;
    height: 30px;
    background:linear-gradient(to bottom, rgba(3, 80, 180, 0.164), rgba(3, 80, 180, 0.082));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    border-radius: 5px;
    transition: 0.3s;
}

header ul a li:hover {
    scale: 1.1;
    background:linear-gradient(to bottom, rgba(3, 80, 180, 0.332), rgba(3, 80, 180, 0.164));
}

/* header */

.portada {
    width: 100%;
    height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    background:linear-gradient(to bottom, rgb(0 0 0 / .75), rgb(0 0 0 / .75)), url(../../multimedia/img/oficina.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.portada h1 {
    color: var(--blanco );
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
    cursor: default;
}



.agenda{
    text-decoration: none;
    color: var(--negro);
    width: 120px;
    height: 30px;
    background-color: rgba(173, 173, 173, 0.322);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    border-radius: 5px;
    transition: 0.3s;
    margin: 10px auto;
}

.agenda:hover{
    background: linear-gradient(to left, rgb(0 0 0 / .75), rgb(0 0 0 / .5));
    transform: scale(1.05);
}

.nosotros {
    height: 100vh;
    width: 80%;
    margin: auto 10%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    padding: 40px;
}
.nosotros .nosotrosdiv {
    width: 50%;
    height: 100%;
    margin: auto;
    text-align: center;
}

.nosotros .nosotrosdiv img {
    width: 10vw;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.nosotros .nosotrosdiv h2 {
    font-size: 20px;
    margin: 50px 0px;
}

.valores {
    grid-column: 1/3;
}

.valores ul {
    display: flex;
    justify-content: space-between;
}

.valores ul li {
    list-style: none;
}


.estadisticas {
    background:linear-gradient(to left, rgba(0, 0, 0, 0.733), rgba(0, 0, 0, 0.733)), url(../../multimedia/img/estadisticas.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: left;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    
}

.estadisticas h1 {
    width: 25%;
    margin: 15%;
    font-size: 5vw;
    color: white;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.estadisticas a {
    width: 200px;
    height: 60px;
    border-radius: 20px;
    font-size: 20px;
}

.comparacionredes {
    display: grid;
    height: 100%;
    place-items: center;
}

.comparacionredes h1 {
    margin: 20px;
}

.redes {
    position: relative;
    height: 500px;
    width: 40%;
    overflow: hidden;
    border:0px solid white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    margin: 50px;
}

.redes .comparacion1 {
    height: 100%;
    width: 100%;
    display: flex;
}

.redes .comparacion1 .img1 {
    height: 100%;
    width: 100%;
    background: url(../../multimedia/img/empresa.png) no-repeat;
    background-size: cover;
}

.redes .comparacion1 .img2 {
    position: absolute;
    height: 100%;
    width: 50%;
    background: url(../../multimedia/img/oficina.png ) no-repeat;
    background-size: cover;
}

.redes .slider {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 99;
}

.redes .slider input {
    width: 100%;
    outline: none;
    background: none;
    appearance: none;
}

.slider input::-webkit-slider-thumb{
    height: 486px;
    width: 3px;
    background: none;
    -webkit-appearance: none;
    cursor: col-resize;
}

.slider .line {
    width: 3px;
    height: 500px;
    position: absolute;
    left: 49.85%;
    pointer-events: none;
}

.slider .line::before,
.slider .line::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 232px;
    background: white;
}

.slider .line::before{
    top: 0;
}

.slider .line::after{
    bottom: 0;
}

.slider .line span{
    height: 45px;
    width: 45px;
    border: 2px solid white;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    cursor: e-resize;
}



.paginas {
    height: 120vh;
    width: 100%;
    color: white;
    text-align: center;
    margin: 20px auto;
    overflow: hidden;
    padding: 5px 0px;
}

.muestras {
    padding-bottom: 50px;
    width: 100%;
    height: 120vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px 0px;
}

.pgseccion {
    width: 97%;
    margin: 1.5%;
    height: 100%;
    transition: 0.2s;

}


.pguno {
    grid-column: 1;
    grid-row: 1/3;
    /* display: flex;
    align-items: center;
    justify-content: center; */
}
.pgseccion h2 {
    margin: 120px;
    font-family: 35px;
}

.cubo {
    margin:15% auto;
    height: 180px;
    width: 180px;
    transform-style: preserve-3d;
    animation: rotar 5s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cubo:hover {
    animation-play-state: paused;
}

.cubo > span {
    position: absolute;
    width: 15em;
    height: 15em;
    border: 4px solid rgb(84, 84, 255);
    box-shadow: inset 0px 0px 15px 5px rgba(85, 85, 255, 0.199), 0px 0px 40px 1px rgba(85, 85, 255 , 0.2);
    border-radius: 4px;
}

.cubo > span:nth-child(1){
    transform: rotateY(90deg)translateZ(2em);
}
.cubo > span:nth-child(2){
    transform: rotateY(90deg)translateZ(-2em);
}
.cubo > span:nth-child(3){
    transform: rotateY(90deg)translateZ(-2em);
}
.cubo > span:nth-child(4){
    transform: rotateY(90deg)translateZ(2em);
}
.cubo > span:nth-child(5){
    transform:translateZ(-2em);
}
.cubo > span:nth-child(6){
    transform:translateZ(2em);
}

@keyframes rotar {
    0% {
        transform: rotateY(0deg)rotateX(0deg);
    }
    50% {
        transform: rotateY(360deg)rotateX(360deg);
    }
    
}



.pgdos {
    grid-column: 2;
    grid-row: 2/4;
    display: grid;
}

.pgdos h2 {
    margin-top: 80px;
    margin-bottom: 0px;
}

.barras {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
    background-color: #ffffff00;
}

.barras span{
    border: 2px solid rgb(84, 84, 255);
    border-bottom: none;
    overflow: hidden;
    box-shadow: inset 0px 0px 15px 5px rgba(85, 85, 255, 0.199), 0px 0px 40px 1px rgba(85, 85, 255 , 0.2);
}

@keyframes rotate{
    from {
        transform: rotate(0deg);
    }
    to{
        transform: rotate(360deg);
    }
}

.barras >span:nth-child(1){
    width: 40px;
    height: 100px;
    animation: barras 8s linear infinite;
}
.barras >span:nth-child(2){
    width: 40px;
    height: 360px;
    animation: barras 7s linear infinite;
}
.barras >span:nth-child(3){
    width: 40px;
    height: 290px;
    animation: barras 6s linear infinite;
}
.barras >span:nth-child(4){
    width: 40px;
    height: 400px;
    animation: barras 5s linear infinite;
}
.barras >span:nth-child(5){
    width: 40px;
    height: 100px;
    animation: barras 9s linear infinite;
}
.barras >span:nth-child(6){
    width: 40px;
    height: 100px;
    animation: barras 4s linear infinite;
}

.barras >span:nth-child(1):hover{
    animation-play-state: paused;
}
.barras >span:nth-child(2):hover{
    animation-play-state: paused;
}
.barras >span:nth-child(3):hover{
    animation-play-state: paused;
}
.barras >span:nth-child(4):hover{
    animation-play-state: paused;
}
.barras >span:nth-child(5):hover{
    animation-play-state: paused;
}
.barras >span:nth-child(6):hover{
    animation-play-state: paused;
}

@keyframes barras {
    0% {
        height: 400px;
    }
    10%{
        height: 200px;
    }
    20%{
        height: 400px;
    }
    30%{
        height: 100px;
    }
    40% {
        height: 400px;
    }
    50%{
        height: 100px;
    }
    60%{
        height: 200px;
    }
    70%{
        height: 100px;
    }
    80%{
        height: 300px;
    }
    90%{
        height: 250px;
    }
    100%{
        height: 400px;
    }
}



.pgtres {
    grid-column: 1;
    grid-row: 3/5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#smoke {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.elem {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
    animation: ripple 1.5s ease-out forwards;
}

@keyframes ripple {
    0% {
        transform: scale(1) translateY(0);
        opacity: 0.2;
        background: radial-gradient(circle, rgba(4, 0, 255, 0.586) 
    0%, rgba(255, 0, 0, 0.51) 50%);
    }
    100%{
        transform: scale(5) translateY(-10px);
        opacity: 0;
        background: radial-gradient(circle, rgba(255, 0, 0, 0.51) 
    0%, rgba(4, 0, 255, 0.586) 50%);
    }
}


.entrar {
    position: relative;
    opacity: 0;
    transform: translateY(150px);
    transition:2.9s;
}

.active {
    opacity: 1;
    transform: translateY(0px);
}




#ubicacion {
    width: 50vw;
    height: 60vh;
    margin: 20px auto;
}


#ubicacion iframe {
    width: 50vw;
    height: 50vh;
    margin: 20px auto;
}

footer {
    height: 40vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer div {
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    width: 60%;
    text-align: center;
    gap: 50px;
}

footer div h3 {
    font-size: 25px;
    text-align: center;
}

footer div ul {
    display: flex;
    justify-content: space-between;
}

footer div ul li {
    list-style: none;
    font-size: 50px;
}

footer div ul li .redeslogo {
    transition: 0.5s;
}

footer div ul li .redeslogo:hover {
    transform: scale(1.3);
}

.floatwa {
    cursor: pointer;
    position: fixed;
    bottom: 60px;
    right: 30px;
    width: 280px;
    z-index: 99;
}

.floatwa img {
    width: 100%;
    height: 100%;
    z-index: 99;
}




@media (max-width:991px) {
    header {
        display: grid;
        grid-template-columns: 1fr;
        height: auto;
    }

    header .logo {
        margin: auto;
        margin-top: 20px;
    }

    header a img {
        height: 50px;
        margin: auto;
    }

    header ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin: auto;
        gap: 5px;
        width: 98%;
        margin: 20px 1%;
    }

    header ul a{
        width: 100%;
    }

    header ul a li {
        width: 100%;
        margin: auto;
        font-size: 2.5vw;
    }

    .nosotros {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        height: 100vh;
        width: 90%;
        margin: 5%;
    }

    .nosotros .nosotrosdiv {
        height: 100%;
        width: 100%;
        margin: auto;
    }

    .nosotros .nosotrosdiv h2 {
        margin: 15px;
    }

    .valores {
        grid-column: auto;
    }

    .valores ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }


    .estadisticas a {
        width: 150px;
        height: 40px;
        font-size: 15px;
    }

    .redes {
        width: 75%;
        height: 220px;
    }

    .contenedor {
        width: 90vw;
    }

    .paginas {
        height:100%;
    }

    .paginas .paginasgrid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }

    .muestras {
        height: 160vh;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        padding-bottom: 0%  ;
    }

    .pguno {
        grid-column: 1;
    }

    .pgdos {
        grid-column: 1;
        min-height: 550px;
        display: grid;
        grid-template-columns:1fr;
    }

    .pgdos h2 {
        position: absolute;
        top: 0;
    }

    @keyframes barras {
        0% {
            height: 400px;
        }
        10%{
            height: 200px;
        }
        20%{
            height: 400px;
        }
        30%{
            height: 100px;
        }
        40% {
            height: 400px;
        }
        50%{
            height: 100px;
        }
        60%{
            height: 200px;
        }
        70%{
            height: 100px;
        }
        80%{
            height: 300px;
        }
        90%{
            height: 250px;
        }
        100%{
            height: 400px;
        }
    }

    .celhidden {
        display: none;
    }

    #ubicacion {
        width: 50vw;
        height: 30vh;
        margin: 30px auto;
    }

    #ubicacion iframe {
        width: 100%;
        height: 100%;
        margin: 0px;
    }

    footer {
        height: 25vh;
    }

    footer div {
        width: 80%;
    }

    footer div ul li {
        font-size: 30px;
    }

}

