*{
    margin: 0px;
    padding: 0px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

:root {
    --borde:4mm;
    --pink:rgb(168, 30, 157);
    --gray:rgb(175, 175, 175);
}

body {
    background-color: var(--gray);
}

header {
    position: fixed;
    top: 0;
    z-index: 2;
    height: 100px;
    width: 100%;
    background-color: rgb(235, 235, 235);
    display: flex;
    justify-content: space-between;
}

header .aheader {
    clip-path: polygon(0 0, 92% 0%, 100% 100%, 0% 100%);
    background-color: var(--gray);
    height: 100px;
    margin: auto 0px;
    display: flex;
    justify-content: center;
}

header a img {
    height: 100%;
    transition: 0.5s;
    margin-right: 40px;
}

header a img:hover {
    scale: 1.01;
}

header .listaheader {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 50px;
}

header .listaheader {
    color: var(--pink);
}

header .listaheader .elementolistaheader {
    list-style: none;
    display: flex;
    align-items: center;
    margin: auto 0px;
    display: block;
    float: left;
}

header .listaheader .elementolistaheader .uldesp{
    display: none;
    position: absolute;
    background-color: var(--gray);
    z-index: 100;
    transform: translateX(-30px); 
}

header .listaheader .elementolistaheader .uldesp li{
    list-style: none;
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid black;
    position: relative;
}

.uldesp li ul {
    right: -202px;
    top: -1px;
    position: absolute
}


header .listaheader .elementolistaheader a {
    text-decoration: none;
    font-size: 18px;
    transition: .2s;
    color: var(--pink);

}

header .listaheader .elementolistaheader a:hover {
    color: rgb(0, 0, 0);
}

header .listaheader .elementolistaheader:hover > .uldesp {
    display: block;
}

header .listaheader .elementolistaheader ul li:hover {
    color: black;
}



.inicio {
    width: 80%;
    aspect-ratio: 16/4;
    margin: 70px 10%;
    margin-top: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
}

.carrusel {
    display: flex;
    height: 100%;
    transition: 1s;
    position: relative;
}

.carrusel a {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.carrusel img {
    width: 98%;
    margin: auto 1%;
    border-radius: 30px;
    height: 100%;
    object-fit: cover;
}

.botonescarrusel {
    width: 99%;
    height: 0px;
    margin: 0px .5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    top: calc(50% - 0px);
    position: absolute;
}

.botoncarrusel {
    width: 40px;
    aspect-ratio: 2/1;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    font-size: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    cursor: pointer;
}

/* .portada {
    height: calc(100vh - 100px);
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../../vid/portada.mp4);
}

.portada div {
    width: 40vw;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
}

.portada div h2 {
    margin: auto;
    width: 40vw;
    font-size: 3vw;
    text-align: center;
    color: white;
}

.portada div a {
    cursor: pointer;
    background-color: var(--gray);
    border-radius: 10px;
    margin: auto;
    width: 6.5vw;
    text-align: center;
    height: 3.5vh;
    text-decoration: none;
    color: white;
    font-size: 1.5vw;
    font-weight: bold;
    border: 1px solid black;
    transition: 0.4s;
}

.portada div a:hover {
    scale: 1.1;
}


.portada video {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    z-index: -2;
}

.portada .fondo {
    background-color: rgba(0, 0, 0, 0.432);
    z-index: -1;
    width: 100%;
    height: 100%;
    position: absolute;
} */

.nosotros {
    margin: 30px 10%;
    width: 90%;
    height: 60vh;
    width: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    /* border: var(--borde) ridge var(--pink); */
    border-radius: 30px;
    box-shadow: 0px 10px 25px -2px rgba(0,0,0,0.74);
-webkit-box-shadow: 0px 10px 25px -2px rgba(0,0,0,0.74);
-moz-box-shadow: 0px 10px 25px -2px rgba(0,0,0,0.74);
    background-color: rgb(211, 211, 211);
}

.nosotros .nosotros-img {
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 15% 100%);
    height: 100%;
    background-color: rgb(223, 223, 223);
    
}

.nosotros .nosotros-img img{
    width: 98%;
    margin: 10% auto;
    margin-left: 4%;
    height: 70%;
    object-fit: cover;
}

.nosotros .nosotros-text{
    height: 60vh;
    width: 98.5%;
    margin-left: 1.5%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nosotros .nosotros-text h3 {
    margin: 0px auto;
    margin-bottom: 40px;
    margin-top: 5px;
    font-size: 45px;
}

.nosotros .nosotros-text p{
    width: 100%;
    font-size: 24px;
    color: rgb(68, 68, 68);
}

.presentacion {
    padding: 10px 0px;
    width: 80%;
    margin: 160px auto;
    box-shadow: 0px 10px 25px -2px rgba(0,0,0,0.74);
    -webkit-box-shadow: 0px 10px 25px -2px rgba(0,0,0,0.74);
    -moz-box-shadow: 0px 10px 25px -2px rgba(0,0,0,0.74);
    background-color: rgb(211, 211, 211);
    border-radius: 30px;
}

.presentacion h2 {
    margin: 30px 0px;
    text-align: center;
    font-weight: 700;
}

.presentacion p {
    margin: 10px 40px;
    font-size: 17px;
    font-weight: lighter;
}

.presentacion ul li {
    list-style: none;
    text-align: center;
    margin: 15px;
    font-size: 18px;
}

.valor {
    margin: 20px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.valor img {
    width: 90%;
    margin: 0 5%;
}

.servicios {
    width: 80%;
    margin: 120px auto;
}

.servicios h2 {
    text-align: center;
    margin: 80px 0px;
    font-size: 35px;
    color: rgb(49, 49, 49);
}

.productos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.productos div {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    text-align: center;
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.productos div h4 {
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
    font-size: 20px;
    color: aliceblue;
}

.productos div img {
    height: 100%;
}

.contacto {
    width: 80%;
    margin: 120px 10%;
    text-align: center;
}

.contacto h2 {
    margin: 50px 0px;
    font-size: 35px;
    color: rgb(49, 49, 49);
}

.contacto .contactos {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contacto .contactos iframe {
    margin: auto;
    width: 80%;
    aspect-ratio: 4/3;
    transition: 0.5s;
}


.contacto .contactos .contactoslista {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
}

.contacto .contactos .contactoslista div {
    width: 40%;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacto .contactos .contactoslista div p {
    text-align: center;
    width: 60%;
    font-size: 20px;
    color: var(--pink);
}

.contacto .contactos .contactoslista div a {
    width: 50px;
    text-decoration: none;
    color: var(--pink);
}

.contacto .contactos .contactoslista div  img {
    width: 50px;
    cursor: pointer;
}

.escogernumero {
    position: fixed;
    top: calc(50% - 100px);
    left: calc(50% - 250px);
    width: 500px;
    height: 200px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.418);
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.644);
    border-radius: 30px;
    display: none;
    grid-template-columns: 1fr 1fr;
}

.escogernumero .tache {
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
}

.escogernumero {
    font-size: 19px;
}

.show {
    display: initial;
}

.escogernumero .esnucont .floattext {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.escogernumero .esnucont {
    width: 100%;
    height: 100%;
}

.escogernumero .esnucont a {
    text-align: center;
    text-decoration: none;
    color: black;
    margin: 20px;
}

footer {
    background:linear-gradient(to bottom, var(--gray), rgb(238, 238, 238));
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

footer p {
    font-size: 25px;

} 

.a {
    width: 240px;
    height: 80px;
    text-decoration: none;
    position: fixed;
    bottom: 30px;
    left: 0px;
    transform: translateX(calc(-100% + 60px));
    transition: 0.3s;
}


.wafloat {
    width: 240px;
    height: 60px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    background-color: rgb(34, 150, 34);
    border-end-end-radius: 60px;
    border-top-right-radius: 60px;
}

.a:hover {
    transform: translateX(0);
}

.wafloat p {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    
}

.wafloat img{
    width: 100%;
    background: linear-gradient(to right, rgb(34, 150, 34), rgb(12, 39, 12));
    aspect-ratio: 1/1;
    border-end-end-radius: 60px;
    border-top-right-radius: 60px;
}

.ad {
    width: 240px;
    height: 80px;
    text-decoration: none;
    position: fixed;
    bottom: 30px;
    right: 0px;
    transform: translateX(calc(+100% - 60px));
    transition: 0.3s;
}

.ad:hover {
    transform: translateX(0);
    transition: 0.3s;
}


.telfloat {
    width: 240px;
    height: 60px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    background-color: rgb(50, 132, 187);
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
}




.telfloat p {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    
}

.telfloat img{
    width: 100%;
    background: linear-gradient(to left, rgb(50, 132, 187), white, white, white );
    aspect-ratio: 1/1;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
}

/* pagina de Accesorios*/

.titulo {
    text-align: center;
    margin-top: 70px;
    color: var(--pink);
    font-size: 21px;
}

.titulodos {
    margin-top: 170px;
}

.menu {
    margin: 60px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 90%;
    gap: 20px;
}

.menu a {
    width: 100%;
    aspect-ratio: 14/12;
    border-radius: 15px;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.644);
    text-decoration: none;
    color: black;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
}

.menu a img {
    height: 100%;
    position: absolute;
    transition: 0.3s all;
    z-index: -1;
    border-radius: 10px;
}
.menu a:hover > img {
    scale: 1.15;
}

.menu a h3 {
    text-align: center;
    width: 100%;
    margin: 0px 0px;
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(1px);
    color: rgb(66, 66, 66);
}




/* paginas de producto final */


main {
    width: 90%;
    margin: 5%;
}



@media (max-width:991px) {
    header {
        display:inline-block;
        width: 100%;
        height: 130px;
    }

    header .aheader {
        margin:auto;
        height: 100px;
        clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
        background-color: transparent;
    }

    header .aheader img {
        margin: 0px 20px;
        margin-top: 10px;
        height: 70%;
        margin-right: 20px;
    }

    header .listaheader {
        margin: auto 1%;
        width: 98%;
        height: 30px;
    }

    header .listaheader .elementolistaheader {
        width: 25%;
        height: 50px;
        text-align: center;
    }

    header .listaheader .elementolistaheader a {
        width: 25%;
        font-size: 13px;
        text-align: center;
        margin: auto;
    }

    header .listaheader .elementolistaheader .uldesp {
        left: 0%;
        width: 50vw;
        transform: translateX(0);
        background-color: rgba(240, 248, 255, 0);
    }

    header .listaheader .elementolistaheader .uldesp li {
        width: calc(50vw - 2px);
        background-color: var(--gray);
    }

    .uldesp li ul {
        right: calc(-100% - 3px);
    }

    .inicio {
        width: 94%;
        aspect-ratio: 16/6;
        margin: 0px 3%;
        margin-top: 180px;
    }

    .nosotros {
        width: 94%;
        margin: 30px 3%;
        height: 30vh;
    }

    .nosotros .nosotros-img {
        height: 30vh;
    }

    .nosotros .nosotros-text {
        height: 30vh;
    }

    .nosotros .nosotros-text h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }


    .nosotros .nosotros-text p {
        font-size: 12px;
        width: 95%;
    }

    .presentacion {
        width: 90%;
    }

    .presentacion h2 {
        font-size: 24px;
    }



    .presentacion p {
        font-size: 14px;
        text-align: center;
    }

    .valor {
        grid-template-columns: 1fr;
    }

    .presentacion ul li {
        font-size: 14px;
    }

    .servicios {
        width: 90%;
    }

    .servicios h2 {
        font-size: 25px;
    }

    .productos {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .productos div {
        width: 90%;
        margin: auto;
    }

    .contacto {
        width: 90%;
        margin: 50px 5%;
    }

    .contacto .contactos {
        grid-template-columns: 1fr;
    }

    .contacto .contactos .contactoslista {
        width: 100%;
        margin-top: 20px;
    }

    .contacto .contactos .contactoslista div {
        width: 90%;
        justify-content: center;
        gap: 20px;
    }

    .contacto .contactos .contactoslista div p {
        font-size: 11px;
    }

    footer {
        height: 130px;
    }

    footer p {
        font-size: 8px;
    }
    
    .a {
        width: 160px;
        height: 40px;
    }
    
    
    .wafloat {
        width: 160px;
        height: 40px;
    }

    .wafloat p {
        font-size: 11px;
    }

    .ad {
        width: 160px;
        height: 40px;
    }
        
    .telfloat {
        width: 160px;
        height: 40px;
    }

    .telfloat p {
        font-size: 11px;
    }

    /* pagina de accesorios */

    .titulodos {
        margin-top: 190px;
    }

    .menu {
        width: 96%;
        margin: 40px 2%;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        row-gap: 20px;
    }

    .menu a {
        font-size: 10px;
    }

    


    
}