*{
    margin: 0px;
    padding: 0px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

a {
    text-decoration: none;
    color: rgb(34, 34, 34);
}

:root {
    --borde:4mm;
    --pink:rgb(168, 30, 157);
    --gray:rgb(175, 175, 175);
}

header {
    position: fixed;
    top: 0;
    z-index: 2;
    height: 100px;
    width: 100%;
    background-color: var(--gray);
    display: flex;
    justify-content: space-between;
}

header .aheader {
    clip-path: polygon(0 0, 90% 0%, 100% 100%, 0% 100%);
    background-color: white;
    height: 100px;
    width: 150px;
    margin: auto 0px;
    display: flex;
    justify-content: center;
}

header a img {
    height: 10  0%;
    transition: 0.5s;
}

header a img:hover {
    scale: 1.1;
}

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: 80px 10%;
    margin-top: 210px;
    overflow: hidden;
    position: relative;
}

.carrusel {
    display: flex;
    height: 100%;
    transition: 1s;
    position: relative;
}

.carrusel h3 {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    color: var(--pink);
    font-size: 3vw;
    font-family: fantasy;
    z-index: 1;
}

.carrusel a {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    border-radius: 30px;
    background-color: rgb(243, 243, 243);
    position: relative;
}

.logocarr {
    position: absolute;
    top: calc(50% - 9.5vw);
    left: calc(50% - 6.5vw);
    width: 13vw;
    aspect-ratio: 1/1;
    display: none;
}

.carrusel .img1 {
    position: absolute;
    height: 13vw;
    left: 10%;
    bottom: 20%;
}

.carrusel .img2 {
    position: absolute;
    height: 13vw;
    bottom: 20%;
    right: 10%;
}

.img11 {
    position: absolute;
    height: 10vw;
    bottom: 20%;
    left: 5%;
}

.img12 {
    position: absolute;
    height: 10vw;
    bottom: 23%;
    left: 25%;
}

.img13 {
    position: absolute;
    height: 10vw;
    bottom: 23%;
    right: 5%;
}

.img14 {
    position: absolute;
    height: 10vw;
    bottom: 20%;
    right: 25%;
}


.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: 80px 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: 0 8px 12px 0 rgba(0, 34, 77, 0.16);
}

.nosotros .nosotros-img {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    height: 60vh;
    object-fit: cover;
    
}

.nosotros .nosotros-img img{
    width: 100%;
    height: 100%;
}

.nosotros .nosotros-text{
    background-color: rgb(255, 255, 255);
    height: 60vh;
    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;
    color: rgb(61, 61, 61);
}

.nosotros .nosotros-text p{
    width: 100%;
    font-size: 30px;
    color: rgb(68, 68, 68);
}

.perfil {
    width: 80%;
    margin: 160px auto;
    text-align: center;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.253);
    padding: 10px;
    box-shadow: 0 8px 12px 0 rgba(0, 34, 77, 0.16);
}

.perfil h2 {
    text-align: center;
    font-size: 35px;
    margin: 30px;
    
}

.perfil p {
    font-size: 18px;
    margin: 40px 70px;
}

.misionvision {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 0px;
    width: 90%;
    margin: auto;
}

.misionvision h3 {
    font-size: 30px;
}

.mivi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.misionvision div img {
    width: 90%;
    margin: auto;
}

.servicios {
    width: 80%;
    margin: 60px 10%;
}

.servicios h2 {
    text-align: center;
    margin: 80px 0px;
    font-size: 35px;
}

.contserv {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
}

.servicio {
    display: flex;
    flex-direction: column;
    background-color: rgba(128, 128, 128, 0.123);
    overflow: hidden;
    border-radius: 30px;
    position: relative;
}

.servicio:hover > .back {
    transform: translateY(0px);
}

.back {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.573);
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translateY(100%);
    transition: 1s all ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back p {
    font-size: 20px;
    margin: auto 30px;
    color: white;
}

.servicio h4 {
    margin: 20px auto;
    font-size: 22px;
    text-align: center;
}

.servicio img {
    width: 90%;
    aspect-ratio: 1/1;
    margin: 0px 5%;
}

.galeria {
    width: 80%;
    margin: 130px 10%;
}

.galeria h2 {
    font-size: 35px;
    margin: 80px auto;
    text-align: center;
}

.contgal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.imagengal {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    position: relative;
}

.imagengal h4 {
    position: absolute;
    font-size: 22px;
    text-align: center;
    width: 100%;
    height: 100%;
    margin: auto;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(240, 248, 255, 0.76);
    transition: all 0.2s ease-in;
}

.imagengal:hover > h4 {
    opacity: 1;
}

.imagengal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}






.contacto {
    width: 80%;
    margin: 60px 10%;
    text-align: center;
}

.contacto h2 {
    margin: 80px;
    font-size: 35px;
}

.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-color: var(--gray);
    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;
}


.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;
}

.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(92, 145, 91), rgb(92, 107, 92));
    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;
}


.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: 0px auto;
        height: 100px;
        clip-path: polygon(10% 0, 90% 0, 100% 100%, 0% 100%);
    }

    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%;
    }

    .perfil {
        width: 90%;
    }

    .perfil h2 {
        font-size: 20px;
    } 

    .perfil p {
        font-size: 13px;
        margin: 20px 10px;
    }

    .misionvision {
        grid-template-columns: 1fr;
    }

    .misionvision h3 {
        font-size: 20px;
    }

    .misionvision p {
        margin: 10px 0px;
    }

    .mivi {
        grid-column: 1;
    }

    .miviimg {
        display: none;
    }

    .servicios {
        width: 90%;
        margin: 60px 5%;
    }

    .contserv {
        grid-template-columns: 1fr;
    }

    .galeria {
        width: 90%;
        margin: 130px 5%;
    }

    .contgal {
        grid-template-columns: 1fr;
        gap: 50px;
    }



    .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;
    }

    


    
}