html, body{
    font-family: 'Titillium Web', sans-serif;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

a{
    color: #000 !important;
}

.menu-nav{
    background-color: rgb(251, 248, 54);
}

.menu-nav a{
    color: rgb(85, 85, 85) !important;
    transition: 0.4s;
}

.menu-nav .navbar-toggler-icon{
    color: black !important;
}
.menu-nav .nav-item{
    transition: 0.7s;
}

.menu-nav .nav-item:hover{
    background-color: rgb(230, 71, 71);
}
.menu-nav a:hover{
    color: rgb(255, 255, 255) !important;
}

.menu-nav .navbar-brand{
    padding: 0;
}

.logo{
    width: 150px;
    padding: 0;
}

.banner{
    margin-top: 67px;
}

.banner p{
    
}

.banner img{
    /*height: 100vh;*/
}

/*Principios*/
.principios{
    font-size: 17px;
    color: rgb(85, 85, 85);
}

.eslogan div{
    float: left;
    color: #000;
    position: relative;
}

.eslogan .cursor{
    position: absolute;
    right: 0;
    widows: 0;
    background: #ffffff;
    border-left: 1px solid #000;
    animation: maquina 5s infinite alternate steps(45);
}

@keyframes maquina{
    from{
        width: 100%;
    }
    to{
        width: 0;
    }
}

/*

.principios-card{
    width: 300px !important;
    height: 370px;
}

.principios-card i{
    color: rgb(85, 85, 85);
    margin-bottom: 5px;
}*/

/*Tarjetas 3D principios*/

.contenedor-tarjetas-3d{
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.contenedor-tarjetas-3d .centrar-tarjetas-3d{
	width: 100%;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
    justify-content: space-around; 
}

.centrar-tarjetas-3d .tarjeta-3d{
	width: 270px;
	height: 200px;
    position: relative;
    margin-bottom: 20px;
    margin-left: 4px;
    margin-right: 4px;
}

.lado{
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    position: absolute;
}

.frontal, .detras{
	width: 100%;
	height: 100%;
    transition: transform .6s linear;
}

.frontal{
    transform: perspective(600px) rotateY(0deg);
    -webkit-box-shadow:  0px 0px 4px 0 rgba(52, 73, 94, 0.849);
    border: 1px solid rgb(156, 156, 156);
    display: table;
}

.frontal i{
	font-size: 70px;
    color: rgb(85, 85, 85);
    margin-bottom: 10px;
}

.detras{
	/*background-color: #3596CE;*/
	-webkit-box-shadow:  0px 0px 4px 0 rgba(203, 211, 98, 0.849);
    transform: perspective(600px) rotateY(180deg);
    background-color: rgb(251, 248, 54);  
}

.contenido-detras{
	width: 100%;
    height: 100%;
    font-size: 17px;
    display: table;
}

.contenido-frontal{
    display: table-cell;
    vertical-align: middle;
    padding: 0px 2px 0px 2px;
}

.contenido-detras p{
    display: table-cell;
    vertical-align: middle;
    padding: 0px 10px 0px 10px;
}

.tarjeta-3d:hover >.frontal{
	transform: perspective(600px) rotateY(-180deg);
}

.tarjeta-3d:hover > .detras{
	transform: perspective(600px) rotateY(0deg);
}

/*Servicios*/

.servicios .container{
   
}

.parallax{
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: #FFF fixed no-repeat;
    background-size: cover;
    /**background-size: cover;**/
}

#img-fondo1{
    background-image: url('../img/fondo3.jpg');
}

.contenido-servicios{
    width: 100%;
    height: auto;
}

h2{ 
    font-weight: 750;
}

.servicios h2{
    color: rgb(251, 248, 54);
}

.contenedor{
    width: 100%;
    display: flex;
    justify-content: center;   
}

.servicios{
    /*background: red;*/
}
.contenedor figure{
    position: relative;
    width: 260px;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.0);
    cursor: pointer;
}

.servicios .contenedor figure i{
    position: absolute;
    font-size: 30px;
    color: rgb(255, 255, 255);
    padding: 85px 0px 85px 42%;
    transition: all 5ms ease-out;
}

.servicios .contenedor figure:hover> i{
    visibility: hidden;
}

.contenedor figure img{
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-out;
}

.contenedor figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.561);
    opacity: 0;
    visibility: hidden;
    text-align:center;
    display: table;
    transition: all 0.5s ease-out;
    padding: 9px;
}

.contenedor figure .capa p{
    display: table-cell;
    vertical-align: middle;
    color: rgb(246, 225, 28);
    font-size: 17px;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
}

.contenedor figure:hover > .capa{
    opacity: 1;
    visibility: visible;
}

.contenedor figure:hover > img{
    transform: scale(1.3);
}

/*Marcas con las que trabajamos*/

.cartera-clientes{
    font-size: 20px;
    color: rgb(85, 85, 85)
}

.cartera-clientes h2{
    
}

.cartera-clientes .row{
    justify-content: space-around;
    
}

.cartera-clientes .row .col{
    padding: 0;
    margin-bottom: 10px; 
    transition: 0.5s;
    opacity: 0.7;
    margin-left: 1px;
}

.cartera-clientes .row .col:hover{
    opacity: 1.0;
}

.cartera-clientes .row .col img{
    width: 100%;
    height: auto;
}

/*Página Portafolio*/

.portafolio{
    margin-top: 67px;
    color: rgb(85, 85, 85)
}

.portafolio h2{
   
}

/*contactenos*/

.contactenos{
    color: rgb(85, 85, 85);
    height: 100vh;
}
.contactenos .row{
    justify-content: space-around;
}

#img-fondo2{
    background-image: url('../img/fondo2.jpg');
}

/*Pié de página*/

.pie-pagina1{
    background: rgb(39, 39, 39);
    padding: 15px;
    color: #FFF;
    height: auto;
}

.pie-pagina1 .container .row a{
    
    color: #FFF !important;
}

.pie-pagina1 i{
    font-size: 25px;
    margin-left: 10px;
    color: #FFF;
}

.pie-pagina1 .row {
    justify-content: space-around;
}

.pie-pagina1 .row .col{
    margin-top: 5px;
    padding: 0;
}

.pie-pagina1 .facebook i:hover{
    text-decoration: none;
    color: rgb(214, 93, 72);
}

.pie-pagina1 .twitter i:hover{
    color: rgb(214, 93, 72);
    text-decoration: none;
}

.pie-pagina1 .instagram i:hover{
    color: rgb(214, 93, 72);
    text-decoration: none;
}

.pie-pagina2{
    padding: 5px;
    background: rgb(46, 46, 46);
    color: #FFF;
}

.pie-flotante img{
    width: 80px;
    padding: 10px;
}


/*::::::::::Sección galería::::::::::::*/
.galeria{
    margin-top: 67px;
    background: rgb(221, 221, 221);
}
.galeria .container{
}

.galeria .container .row{
    width: 100%;
    justify-content: space-around;
    margin: 0;
}

.galeria .container .row .contenedor-img{
    width: 230px;
    height: 230px;
    overflow: hidden;
    margin-left: 1px;
    margin-right: 1px;
    margin-bottom: 20px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);   
}

.galeria .container .row .contenedor-img img{
    width: 100%;
    height: 100%;
}


/*::::::Página Nosotros::::::::*/
.nosotros{
    margin-top: 67px;
}

.nosotros, .personal, .mision-vision p{
    font-size: 20px;
}

.nosotros .img-nosotros img{
    width: 270px;
    margin-bottom: 10px;
}

.img-personal{
    width: 100px;
}

.personal .container .row{
    justify-content: space-around !important;
    padding: 35px 0px 25px 0px;
    color: #FFF;
}

.personal .card{
    border: none !important;
    padding: 0;
    background: none;
    margin: 1px;
}

.personal .card img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-top: 10px;
    border: 3px solid rgb(255, 255, 255);
}

#img-fondo-personal{
    /*background-image: url('../img/fondo4.jpg');*/
    background-color: rgb(212, 29, 44);
}

.mision-vision{
    padding-top: 20px;
}