:root{
    --oscuro:#07070A;
    --azuloscuro:#0A1128;
    --azulclaro:#006FE6;
    --banco:#FEFCFB;
    --gris:#5d5c5b;
    --rojo: #e40e20;
    --titulo:'Nunito Sans', cursive;
    --parrafos:'Prompt', sans-serif;
    --idioma:'Raleway', sans-serif;
    --marca: 'Cinzel Decorative', cursive;
}

*{
    list-style: none;
}

html{
    box-sizing: border-box;
    font-size: 62.5%;
}
body{
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

*,*::before, *::after{
    box-sizing: inherit;
}

/*estilos de pagina*/

h1, h2, h3{
    font-family: var(--titulo);
}

p, a{
    font-family: var(--parrafos);
}

img{
    width: 100%;
}

video{
    margin: 0 auto;
    padding-top: 4rem;
    width: 100%;
    height: 100%;
}

.ocultar{
    display: none;
}

.contenedor{
    margin: 0 auto;
    width: 85%;
    justify-content: space-between;
}

.btn{
    padding: 1rem 4rem;
    font-weight: bold;
    font-family: var(--parrafos);
    font-size: 2rem;
    border: none;
    color: var(--banco);
}

.btn:hover{
    cursor: pointer;
}

.rojo{
    background-color: var(--rojo);
}

@keyframes desplazar {

    /*deplazamiento inicial*/
    0%{
        transform: translateX(100%);
    }

    100%{
        transform: translateX(0);
    }
}

@keyframes desplazar1 {

    /*deplazamiento inicial*/
    0%{
        transform: translateX(-100%);
    }

    100%{
        transform: translateX(0%);
    }
}


.menu{
    width: 3.5rem;
    border: 3px solid white;
    cursor: pointer;
}

.menu2{
    width: 3.5rem;
    border: 3px solid white;
}

.menu3{
    width: 3.5rem;
    border: 3px solid white;
    cursor: pointer;
}

.contenido_nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
}

.nav{
    background-color: white;
    position: fixed;
    right: 0;
    top: 8rem;
    width: auto;
    animation: desplazar 0.5s ease-in-out;
    z-index: 9999;
    padding-right: 3rem;
}

.nav a{
    display: flex;
    flex-direction: column;
    font-size: 2.5rem;
    padding: 0.5rem;
    color: var(--gris);
    text-decoration: none;
    text-align: center;
    border-top: 1px solid var(--oscuro);
}

.nav a:hover{
    background: linear-gradient(-135deg, white, var(--gris));
    color: white;
}

.contenido_nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
}

.nav1{
    display: flex;
    flex-direction: column;
    background-color: white;
    position: fixed;
    left: 0;
    top: 8rem;
    width: auto;
    animation: desplazar1 0.5s ease-in-out;
    z-index: 9999;
    padding-left: 3rem;
    display: none;
}

.nav1 a{
    display: flex;
    flex-direction: column;
    font-size: 2.5rem;
    padding: 0.5rem;
    color: var(--gris);
    text-decoration: none;
    text-align: center;
    border-top: 1px solid var(--oscuro);
}

.nav1 a:hover{
    background: linear-gradient(-135deg, white, var(--gris));
    color: white;
}


/*index*/

.indexado{
    display: flex;
    justify-content: center;
    text-align: center;
    margin: auto;
}

.indexados img{
    max-width: 40%;
}

@media(max-width: 900px){
    .indexados img{
        max-width: 60%;
    }
}

@media(max-width: 700px){
    .indexados img{
        max-width: 80%;
    }
}


.encabezado1{
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 20vh;
    background-size: 7rem;
    margin-top: 4rem;
    margin-bottom: 7rem;
    margin-left: 3rem;
}

.encabezado1 a{
    color: var(--oscuro);
    font-size: 2.0rem;
    text-decoration: none;
    font-family: var(--idioma)
}

@media(max-width: 1100px){
    .encabezado1 a{
        font-size: 1.8rem;
    }
}

@media(max-width: 990px){
    .encabezado1 a{
        font-size: 1.6rem;
    }
}

/*encabezado*/

.encabezado{
    background-image: url(../img/icono.png);
    background-repeat: no-repeat;
    height: 14vh;
    background-size: 5rem;
    background-position: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.encabezado2{
    background-repeat: no-repeat;
    height: 14vh;
    background-size: 5rem;
    background-position: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/*Inicio*/

.inicio h1{
    font-size: 5rem;
    color: var(--rojo);
    font-weight: bold;
    text-align: center;
}

.inicio p{
    font-size: 2.5rem;
    color: var(--gris);
    font-weight: lighter;
    text-align: center;
}

.inicio span{
    font-size: 2.5rem;
    color: var(--gris);
    font-weight: bold;
    text-align: center;
}

.parametrovideo{
    margin-left: 1rem;
    margin-right: 2rem;
}

@media(max-width: 3800px){

    .inicio h1{
        font-size: 4.5rem;
        text-align: center;
    }
    .clientes h3{
        font-size: 3.5rem;
        text-align: center;
    }
    .inicio p{
        font-size: 2.5rem;
        text-align: center;
    }
    .inicio span{
        font-size: 2.5rem;
        text-align: center;
    }
}

@media(max-width: 800px){

    .inicio h1{
        font-size: 3rem;
        text-align: center;
    }
    .clientes h3{
        font-size: 2.5rem;
        text-align: center;
    }
    .inicio p{
        font-size: 1.5rem;
        text-align: center;
    }
    .inicio span{
        font-size: 1.5rem;
        text-align: center;
    }
}

/*banner*/

.nuestroscliente{
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin-top: 5rem;
}

.clientes{
    margin-top: 2rem;
    text-align: center;
    font-size: 2.5rem;
    color: var(--gris);
}


.banner{
    width: 100px;
    height: 100px;
    margin: auto;
    background-size: 100% 100%;
    animation-name: banner;
    animation-duration: 15s;
    animation-iteration-count: infinite;
}

@keyframes banner {
        0%, 30% {
            background-image: url(../img/fedalmax.png);
            opacity: 1;
        }
        31%, 34% {
            opacity: 0.1;
        }
        35%, 65% {
            background-image: url(../img/moma.png);
            opacity: 1;
        }
        66%, 69% {
            opacity: 0.1;
        }
        70%, 95% {
            background-image: url(../img/velero.png);
            opacity: 1;
        }        96%, 100% {
            opacity: 0.1;
        }
}
.banner1{
    width: 100px;
    height: 100px;
    margin: auto;
    background-size: 100% 100%;
    animation-name: banner1;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    margin-bottom: 3rem;
}

@keyframes banner1 {
        0%, 30% {
            background-image: url(../img/tunegocio.png);
            opacity: 1;
        }
        31%, 34% {
            opacity: 0.1;
        }
        35%, 65% {
            background-image: url(../img/three.png);
            opacity: 1;
        }
        66%, 69% {
            opacity: 0.1;
        }
        70%, 95% {
            background-image: url(../img/guadalupe.png);
            opacity: 1;
        }        96%, 100% {
            opacity: 0.1;
        }
}
.banner2{
    width: 100px;
    height: 100px;
    margin: auto;

    background-size: 100% 100%;

    animation-name: banner2;
    animation-duration: 15s;
    animation-iteration-count: infinite;

}

@keyframes banner2 {
        0%, 20% {
            background-image: url(../img/inox.png);
            opacity: 1;
        }
        21%, 25% {
            opacity: 0.1;
        }
        26%, 45% {
            background-image: url(../img/pm.png);
            opacity: 1;
        }
        46%, 50% {
            opacity: 0.1;
        }
        51%, 70% {
            background-image: url(../img/edifalbo.png);
            opacity: 1;
        }        
        71%, 75% {
            opacity: 0.1;
        }
        76%, 95% {
            background-image: url(../img/base.png);
            opacity: 1;
        }        
        96%, 100% {
            opacity: 0.1;
        }
}

/*Nosotros*/

.cuerpo{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
}

.nosotros{
    position: relative;
    width: 35rem;
    height: 30rem;
    margin: 4rem;
}

.nosotros .face{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: 1s;
}

.nosotros .frontal{
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px black;
}

.nosotros .frontal video{
    position: absolute;
    width: 99%;
    height: 80%;
    object-fit: cover;
    top: 4%;
    left: 0.5%;
}

.nosotros .frontal h3{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 42%;
    color: var(--banco);
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.nosotros .posterior{
    transform: perspective(600px) rotateY(180deg);
    background: linear-gradient(-135deg, white, var(--azuloscuro));
    padding: 15px;
    color: var(--banco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 10px var(--oscuro);
}

.nosotros .posterior h3{
    font-size: 3rem;
    margin-top: 2rem;
    letter-spacing: 2px;
}

.nosotros .posterior p{
    letter-spacing: 1px;
}

.nosotros:hover .frontal{
    transform: perspective(600px) rotateY(180deg);
}

.nosotros:hover .posterior{
    transform: perspective(600px) rotateY(360deg);
}


/*Contacto*/

.textocontacto h1{
    font-family: var(--titulo);
    font-size: 2rem;
    text-align: center;
    color: var(--rojo);
    font-weight: bold;
    margin: 15px 0px;
}

.textocontacto p{
    font-size: 2.5rem;
    text-align: center;
    color: var(--gris);
    margin: 15px 0px;
}

.formulario{
    background-color: var(--banco);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 3rem;
    border-radius: .5rem;
}

.formulario h2{
    font-size: 3rem;
    text-align: center;
    margin-top: 2rem;
    color: var(--gris);
}

@media(min-width: 800px){
    .contacto{
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80%;
        padding-top: 0;
    }    
    .textocontacto, formulario{
        flex: 0 0 calc(50% - 1rem);
    }
    .textocontacto h1{
        font-size: 5rem;
        text-align: center;
    }
    
    .textocontacto p{
        font-size: 2rem;
        text-align: center;
    }
    .formulario h2{
        font-size: 2rem;
        text-align: center;
    }
}

@media(max-width: 800px){

    .textocontacto h1{
        font-size: 3rem;
        text-align: center;
    }
    
    .textocontacto p{
        font-size: 1.8rem;
        text-align: center;
    }
    .formulario h2{
        font-size: 1.8rem;
        text-align: center;
    }
}

.input_encabezado{
    margin-bottom: 1rem;
    width: 100%;
}

.input_encabezado input{
    width: 100%;
    padding: 1.5 1rem;
    height: 4.5rem;
    border: 0;
    background: transparent;
    border-bottom: 1px solid var(--oscuro);
    font-family: var(--parrafos);
    outline: none;
}

.input_encabezado label{
    color: var(--gris);
    font-family: var(--parrafos);
    font-size: 2rem;
    font-weight: bold;
}

/*boton*/

.boton_enviar input[type="submit"]{
    transition: background-color 0.5s ease-in-out;
}

.boton_enviar input[type="submit"]:hover{
    background-color: var(--gris);
    color: var(--rojo);
}

/*este se utiliza par que solo pc se vea de una forma y elimina para tablet y movil*/


/*Sección Servicio*/

.servicios{
    padding-top: 1rem;
    margin-bottom: 7rem;
}

.servicios h2{
    padding-top: 0;
    padding-bottom: 2rem;
    font-size: 5rem;
    text-align: center;
    color: var(--gris);
}
@media(min-width: 800px){

    .servicios h2{
        font-size: 3.5rem;
        text-align: center;
    }
}

@media(max-width: 1100px){

    .servicios h2{
        font-size: 2.5rem;
        text-align: center;
    }
}
.contenido_servicio{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 3;
    column-gap: 3;
    width: 95%;
    gap: 5rem;
    margin: auto;
    justify-items: center;
    align-items: center;
}

.card{
    height: 20rem;
    width: 20rem;
    overflow: hidden;
    margin: 0rem 4rem 4rem;
    padding: 1rem 1rem;
    border-radius: 10%;
    border: 0px solid var(--oscuro);
    transition: all 1s ease-in-out;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.3);
    text-align: center;
    background: linear-gradient(-135deg, white, var(--gris));
}

.card:hover{
    height: 50rem;
    width: 30rem;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}

.contenidocard{
    position: relative;
}

/*
.contenidocard::before, .contenidocard::after{
    content: '';
    position: absolute;
    opacity: 0.7;
}

.contenidocard::after{
    border-radius: 50%;
    z-index: 20;
    background-color: var(--azulclaro);
    width: 5rem;
    height: 5rem;
    top: 0;
    right: 2.5rem;
}

.contenidocard::before{
    width: 7rem;
    height: 7rem;
    bottom: 0;
    left: -1rem;
    border-radius: 2rem;
    background-color: rgb(17, 14, 15);
    transform: rotate(120deg);
}
*/

.contenidocard img{
    position: relative;
    border-radius: 50%;
    display: block;
    height: 15rem;
    width: 15rem;
    border-top: 8px solid var(--banco);
    border-bottom: 8px solid var(--banco);
    object-fit: scale-down;
    margin: 2rem auto;
    transition: all 0.5s ease;
}

.desplaza{
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(-45px);
}

.card:hover .desplaza{
    transform: translateY(0px);
    opacity: 1;
}

.desplaza:nth-child(1){
    transition-delay: 1s;
}

.desplaza:nth-child(2){
    transition-delay: 2s;
}

.textodesc:nth-child(1){
    font-size: 3rem;
    font-weight: bold;
    padding: 1rem;
    line-height: 3rem;
}

.textodesc:nth-child(2){
    margin: 1.5rem 0;
}

.textocard{
    color: var(--banco);
}

/*tablet*/
@media (max-width:800px){
    .encabezado{
        background-image: url(../img/icono.png);
        background-repeat: no-repeat;
        height: 10vh;
        background-size: 5rem;
        background-position: center;
        margin-top: 1rem;
    }

    .encabezado2{
        background-repeat: no-repeat;
        height: 10vh;
        background-size: 5rem;
        background-position: center;
        margin-top: 1rem;
    }

    .menu{
        width: 3.5rem;
        border: 3px solid white;
    }
    
    .menu2{
        width: 3.5rem;
        border: 3px solid white;
    }

    .menu3{
        width: 3.5rem;
        border: 3px solid white;
        cursor: pointer;
    }
    /*pie de pagina tablet*/

}

/*movil*/
@media (max-width:600px){
    .encabezado{
        background-image: url(../img/icono.png);
        background-repeat: no-repeat;
        height: 10vh;
        background-size: 5rem;
        background-position: center;
        margin-top: 1rem;
    }

    .encabezado2{
        background-repeat: no-repeat;
        height: 10vh;
        background-size: 5rem;
        background-position: center;
        margin-top: 1rem;
    }

    .menu{
        width: 3rem;
        border: 3px solid white;
    }
    
    .menu2{
        width: 3rem;
        border: 3px solid white;
    }

    .menu3{
        width: 3rem;
        border: 3px solid white;
    }

}

/*Pie de pagina*/

.footer{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    margin-left: 5rem;
    margin-right: 5rem;
    justify-content: space-around;  
    margin-top: auto;
    border-top: solid 2px var(--gris);
}

.desarrollo{
    align-items: center;
    align-content: center;
    text-align: center;
}

.desarrollo a{
    font-family: var(--marca);
    font-size: 1.5rem;
}

.logfooter{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 1rem 1rem 1rem;
}

.iconf img{
    width: 3rem;
    height: 3rem;
    margin: 1rem 1rem 1rem;
}

.iconf1 img{
    width: 10rem;
    height: 10rem;
    margin: 1rem 1rem 1rem;
}

.logfooter h2{
    width: 2rem;
    height: 2rem;
    margin: 1rem 1rem 1rem;
}

.footer h2{
    font-size: 2rem;
}

.footer p{
    font-size: 1rem;
}

.card_cliente{
    height: 21rem;
    width: 21rem;
    overflow: hidden;
    margin: 0rem 4rem 4rem;
    padding: 1rem 1rem;
    border-radius: 50%;
    border: 0px solid var(--oscuro);
    transition: all 1s ease-in-out;
    box-shadow: 10px 1px 5px 0px rgba(0, 0, 0, 0.3);
    text-align: center;
    background: linear-gradient(-135deg, rgb(255, 255, 255), rgb(226, 221, 221));
}

/*
.card_cliente:hover{
    height: 30rem;
    width: 30rem;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
}
*/
.contenidocard_cliente{
    position: relative;
}

/*
.contenidocard::before, .contenidocard::after{
    content: '';
    position: absolute;
    opacity: 0.7;
}

.contenidocard::after{
    border-radius: 50%;
    z-index: 20;
    background-color: var(--azulclaro);
    width: 5rem;
    height: 5rem;
    top: 0;
    right: 2.5rem;
}

.contenidocard::before{
    width: 7rem;
    height: 7rem;
    bottom: 0;
    left: -1rem;
    border-radius: 2rem;
    background-color: rgb(17, 14, 15);
    transform: rotate(120deg);
}
*/

.contenidocard_cliente img{
    position: relative;
    border-radius: 25%;
    display: block;
    height: 15rem;
    width: 15rem;
    border-top: 15px solid var(--banco);
    border-bottom: 15px solid var(--banco);
    object-fit: scale-down;
    margin: 2rem auto;
    transition: all 0.5s ease;
}


.card_cliente:hover .desplaza{
    transform: translateY(0px);
    opacity: 1;
}

.desarrollo a{
    font-size: 1rem;
    color: #07070A;
}