:root {
    --claro:rgb(166, 203, 224);
    --medio:rgb(0, 142, 173);
    --oscuro:rgb(6, 42, 72);
}

*{
    padding: 0px;
    margin: 0px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    animation: normal arranque .5s;
}



@keyframes arranque {
    0% {
        transform: translateY(-100px);
        opacity: 0.1;
        scale: 1.03;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
        scale: 1;
    }
}

@keyframes arranquedos {
    0% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}

body {
    background-color: rgb(235, 237, 238);
    /* background: linear-gradient(to left, var(--claro), rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255), var(--claro)); */
}

header {
    height: 90px;
    transition: 0.3s;
    background-color: transparent;
    position: sticky;
    top: 0px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    z-index: 99;
}

.abajo {
    background-color: rgba(255, 255, 255, 0.514);
    backdrop-filter: blur(4px);
}

header:hover {
    background-color: rgba(255, 255, 255, 0.514);
    backdrop-filter: blur(4px);
}

header .contlogoheader {
    height: 80px;
    margin: 5px 20px;
}

header .contlogoheader .imagenheader {
    height: 80px;
}

header .contlogoheader .imagenheader img {
    height: 100%;
}

header ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: space-between;
    margin: auto;
}

header ul li {
    margin: auto;
}

header ul li .liheader {
    color: var(--medio);
    font-weight: bold;
    text-decoration: none;
    font-size: 20px;
}

header ul li .liheader:hover {
    color: var(--oscuro);
}

header .imagenheader {
    margin: auto;
    height: 80px;
}

header .adistribuidor {
    height: 50px;
    margin: auto;
    border-radius: 10px;
    width: 160px;
}

header .adistribuidor button {
    border-radius: 10px;
    width: 160px;
    height: 50px;
    background-color: rgba(119, 213, 235, 0.2);
    border: none;
    color: var(--medio);
    transition: 0.3s;
    border: solid 1px var(--claro);
    font-weight: bold;
}

header .adistribuidor button:hover {
    scale: 1.1;
    color: var(--oscuro);
}

.portada {
    background: url(../../img/portadapc.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: calc(100vh - 90px);
    top: 0px;
    z-index: -1;
    display: flex;
    align-items: end;
    justify-content: center;
    animation: normal arranquedos 2s;
}

.portada div {
    width: 40%;
    text-align: center;
}

.portada div button {
    width: 20%;
    aspect-ratio: 16/5;
    font-size: 25px;
    color: rgba(0, 0, 0, 0.582);
    background-color: transparent;
    margin: 90px 0px;
    border: 2px solid black;
    border-radius: 9px;
    cursor: pointer;
    transition: 0.5s;
}

.portada div button:hover {
    background-color: rgba(255, 255, 255, 0.007);
    backdrop-filter: blur(10px);
}

.nosotros {
    width: 90%;
    height: 400px;
    margin: 80px 5%;
    border-radius: 20px;
    color: rgb(53, 56, 56);
    text-align: center;
    background-color: rgba(72, 157, 163, 0.096);
    padding: 0px 0px;
    display: grid;
    grid-template-columns: 3fr 2fr;
}

.nosotros .conttxt{
    width: 90%;
    margin: 60px 5%;
}

.nosotros ul {
    margin: 20px;
    height: 210px;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
}

.nosotros ul li {
    list-style: none;
    font-size: 21px;
    margin: auto;
}

.nosotros .conttxt p {
    font-size: 25px;
    font-weight: bold;
}

.nosotros .contimg {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nosotros .contimg img{
    height: 96%;
    margin-bottom: 30px;
    width: 92%;
    object-fit: cover;
    border-radius: 30px;
}




.contenedortarjetas {
    width: 90%;
    margin: 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background-color: transparent;
}

.tarjeta {
    border-radius: 10px;
    backdrop-filter: blur(50px);
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    min-height: 600px;
    background-color: rgba(72, 157, 163, 0.096);
    backdrop-filter: blur(50px);
}

.tarjeta .imgtarjeta {
    height: 300px;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;

    overflow: hidden;
}

.tarjeta .imgtarjeta img {
    height: 100%;
    margin: auto;
    transition: 1s;
}

.tarjeta:hover .imgtarjeta img {
    transform: scale(1.3);
}

.tarjeta .textotarjeta {
    margin: 0px 20px;
    display: flex;
    align-items: center;
}

.tarjeta .textotarjeta div {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: calc(100% - 40px);
    margin: 20px 0;
}


.tarjeta .textotarjeta .titulo{
    display: flex;
    justify-content: center;
    font-size: 25px;
}

.tarjeta .textotarjeta div p {
    min-height: fit-content;
    margin: auto;
}

.tarjeta .textotarjeta div button {
    height: 30px;
    width: 50%;
    margin: auto;
    background-color: rgb(209, 232, 252);
    border: solid transparent 1px;
    border-radius: 20px;
    transition: 1s;
}

.tarjeta .textotarjeta div button:hover {
    border: solid black 1px;
    /* background-color: rgb(0, 0, 0);
    color: aliceblue; */
    box-shadow: 0px 0px 40px rgb(109, 197, 255);
    transform: scale(1.2);
}

.contacto {
    width: 80%;
    margin: 60px 10%;
    margin-bottom: 140px;
    display: flex;
    justify-content: space-between;
    gap: 90px;  
}

.contacto a {
    text-decoration: none;
    width: 70%;
    border-radius: 15px;
    box-shadow: -1px 1px 10px 3px rgba(0,0,0,0.58);
-webkit-box-shadow: -1px 1px 10px 3px rgba(0,0,0,0.58);
-moz-box-shadow: -1px 1px 10px 3px rgba(0,0,0,0.58);
transition: all 0.4s;
}

.contacto a:hover{
    scale: 1.1;
}


.contacto a img {
    width: 70px;
    margin: 10px calc(50% - 35px);
    aspect-ratio: 1/1;
}

.contacto a p {    
    text-align: center;
    color: rgb(44, 44, 44);
}


footer {
    width: 100%;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.185);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.piee {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.botonflotantewa {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 85px;
    height: 85px;
}

.botonflotantewa img {
    height: 100%;
    width: 100%;

}


/* producto */


.muestra{
    width: 90%;
    height: 600px;
    margin: 5%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    background-color: transparent;
    border: solid 3px rgb(10, 145, 175);
    border-radius: 2%;
}

 .texto{
    text-align: center;
    margin: auto;
    width: 90%;
    margin: auto 5%;
 }

 .texto p {
    margin: 35px auto;
 }

 .galeria {
    height: 100%;
    width: 90%;
    margin: auto 5%;
 }

 .cont1 {
    display: flex;
    justify-content: center;
 }

.img1{
    margin: 25px auto;
    height: 400px;
    background-color: rgb(241, 241, 241);
}

.cont2 {
    display: flex;
    justify-content: center;
    gap: 20px;
 }

.img2{
    height: 120px;
}


.pcnone {
    display: none;
}
.logoportadacel{
    display: none;
}
@media (max-width:991px) {
    header {
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: initial;
    }

    header .contlogoheader {
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: center;
        margin: 0px;
    }

    header .contlogoheader .imagenheader {
        height: 60px;
        margin-top: 20px;
    }

    header ul {
        height: 50px;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    header .adistribuidor {
        height: auto;
    }

    header .adistribuidor button {
        height: 40px;
        margin: 10px calc(50% - 80px);
        font-size: 10px;
        margin-bottom: 20px;
    }

    header ul li .liheader {
        font-size: 13px;
    }

    .portada {
        height: calc(100vh - 160px);
        background: url(../../img/portadacel.jpg);
        background-position: center;
        background-size: cover;
        position: relative;
    }

    .portada div {
        width: 100%;
    }

    .portada div button {
        width: 30%;
        font-size: 18px;
    }

    .pcnone {
        display: initial;
        width: 50%;
        position: absolute;
        top: 20px;
        left: 20px;
    }

    .logoportadacel {
        display: initial;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 20%;
    }

    .nosotros {
        grid-template-columns: 1fr;
        height: 100%;
        margin: 20px 5%;
    }

    .nosotros ul li {
        font-size: 16px;
    }

    .nosotros .conttxt p {
        font-size: 18px;
    }

    .contenedortarjetas {
        grid-template-columns: 1fr;
    }

    .tarjeta .textotarjeta div button {
        margin-top: 30px;
    }

    .contacto {
        width: 94%;
        margin: 50px 3%;
        gap: 10px;
    }

    .contacto a {
        width: 25%;
    }

    .contacto a img {
        width: 50px;
        margin: 10px calc(50% - 25px);
    }
    .contacto a p {
        font-size: 9px;
    }

    footer {
        height: 80px;
    }

    .piee{
        font-size: 10px;
    }

    .botonflotantewa {
        position: fixed;
        right: 30px;
        bottom: 30px;
        width: 50px;
        height: 50px;
    }


    /* producto */

    .muestra {
        grid-template-columns: 1fr;
        height: calc(100vh - 220px);
        margin: 20px auto;
    }

    .texto{
        width: 94%;
        height: 140px;
        margin: auto 3%;
        font-size: 15px;
    }

    .galeria {
        height: 300px;
        height: 50%;
    }

    .img1 {
        height: 200px;
        max-width: 100%;
    }

    .cont2 {
        gap: 5px;
    }

    .img2 {
        height: 50px;
    }
}