@import url(https://fonts.googleapis.com/css?family=Anaheim);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: #c46229;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.arriba{
    display: none;
    padding: 20px;
    background-color: #c95512;
    font-size: 20px;
    color: white;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 103;

}


/* Header */

header {
    width: 100%;
    height: 600px; 
    background-size: cover;
    position: relative;
    overflow: hidden;
}


header nav .logo img{
    float: left;
    position: sticky;
}

.custom-slider {
    position: relative;
    top: 0;
    width: 100%;
    height: 100%;
}

.fondo{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    
}
header .image-sliderfade 
{
  display: block;
  width: auto;
  height: auto;
 
}

header .image-sliderfade .fade
{
    position: fixed;
}

  
header .image-sliderfade .text
{ 
  font-size: 5em;
  font-family: bookman old style;
  position: absolute;
  top: 50%;
  left: 77%;
  transform: translate(-50%, -50%);
  text-align: right;
  display: flex;
  justify-content: center;
  width: 600px;
  height: 80px;
  
}


header img 
{
  vertical-align: middle;
  position: absolute;
  
}

/* Animation */
.fade 
{
  -webkit-animation-name: fade-image;
  -webkit-animation-duration: 6s;
  animation-name: fade-image;
  animation-duration: 6s;
  
}
  
@-webkit-keyframes fade-image
{
  from {opacity: .4} 
  to {opacity: 1}
}
  
@keyframes fade-image
{
  from {opacity: .4} 
  to {opacity: 1}
}
  
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) 
{
  .text {font-size: 11px}
}

nav{
    text-align: right;
    padding: 30px 50px 0 0;
    position: relative;
    z-index: 99;
    position: relative;
}

nav > a{
    color:#fff;
    font-weight: 300;
    text-decoration: none;
    margin-right: 10px;
}

nav > a:hover{
    text-decoration: underline;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* About us */

main .sobre-nosotros{
    padding: 30px 0 60px 0;
    z-index: 100;
}

.conte{
   
    background-color: #ffff;
    background-size: cover;   
    position: relative;
}

.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
    position: relative;
    
    
}
.imagen-about-us{
    margin-top: 150px;
    width: 60%;
    height: 100%; 
       
}

.sobre-nosotros .contenido-textos{
    width: 48%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}

.contenido-textos h3{
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}

.contenido-textos h3 span{
    
    background: #d85c09;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}

/* Galeria */
.portafolio{
    background: #f2f2f2;
    position: relative;
}

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: rgba(214, 140, 91, 0.521);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria button{
    cursor: pointer;
    background: rgba(211, 92, 13, 0.7);

}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}

.modal-body{
    text-shadow: 4px 4px 3px black;
    font-weight: 600;
    font-size: 20px;

}


.modal-content1{
    background-image: url(../img/red.jpg);
    background-size: cover;
    
}


.modal-content2{
    background-image: url(../img/cctv_4.jpg);
    background-size: cover;

}

.modal-content3{
    background-image: url(../img/hvac_3.jpg);
    background-size: cover;

}

.modal-content4{
    background-image: url(../img/electrico_2.jpg);
    background-size: cover;

}

.modal-content5{
    background-image: url(../img/incendio_2.jpg);
    background-size: cover;

}

.modal-content6{
    background-image: url(../img/civil_2.jpg);
    background-size: cover;

}
 .modal-content7{
    background-image: url(../img/mecatonica_2.jpg);
    background-size: cover;
     
 }

 .modal-content8{
    background-image: url(../img/saas_2.jpg);
    background-size: cover;
     
 }

 .modal-content9{
    background-image: url(../img/digital.jpg);
    background-size: cover;
    
}


.modal-content10{
    background-image: url(../img/borrado_ventana.jpg);
    background-size: cover;

}

.modal-content11{
    background-image: url(../img/consumible_ventana.jpg);
    background-size: cover;

}

.modal-content12{
    background-image: url(../img/papeleria_ventana.jpg);
    background-size: cover;

}

.modal-content13{
    background-image: url(../img/reciduos_ventana.jpg);
    background-size: cover;

}

.modal-content14{
    background-image: url(../img/planta\ emergencia_ventana.jpg);
    background-size: cover;

}
 .modal-content15{
    background-image: url(../img/ups_mantenimiento_ventana.jpg);
    background-size: cover;
     
 }

.modal-content16{
    background-image: url(../img/diseño\ comedor\ ventana.jpg);
    background-size: cover;
     
 } 

.btn-close{
    color: white;
    cursor: pointer;
    
}

/*Logo*/

.logo1{
    position: relative;
    background-color: white;
    font-family: 'Open Sans', sans-serif;
    align-content: center;
    display: grid;
    height: 380px;
}

.logos {
    display: grid;
    text-align: center;
    justify-content: center;
    grid-template-columns: repeat(4, 1fr) ;
    grid-auto-rows: 300px;
    grid-gap: 10px ;
}

.logos .scrollflow{
    filter: opacity(1);
    transform: translate3d(0px 0px 0px);
    scale: 1;
    transition: all 500ms ease-out 0s;
}

@media only screen and (max-width: 768px) {
    .logo1 {
      grid-template-columns: repeat(3, 1fr);
    }
    .logos {
        width: 90%;
    }

    .logos img{
        width: 90%;
    }

  }

  .contenedor3d{
	margin: 4% auto;
	width: 300px;
	height: 140px;
	position: relative;
	perspective: 1000px;
}
#carousel{
	width: 100%;
	height: 100%;
	position: absolute;
	transform-style: preserve-3d;
	animation: rotation 20s infinite linear;
}
#carousel:hover{
	animation-play-state: paused;
}
#carousel figure{
	display: block;
	position: absolute;
	width: 186px;
	height: 143px;
	left: 10px;
	top: 10px;
	background: black;
	overflow: hidden;
	border: solid 2px black;
}
#carousel figure:nth-child(1){transform: rotateY(0deg) translateZ(300px);}
#carousel figure:nth-child(2) { transform: rotateY(40deg) translateZ(300px);}
#carousel figure:nth-child(3) { transform: rotateY(80deg) translateZ(300px);}
#carousel figure:nth-child(4) { transform: rotateY(120deg) translateZ(300px);}
#carousel figure:nth-child(5) { transform: rotateY(160deg) translateZ(300px);}
#carousel figure:nth-child(6) { transform: rotateY(200deg) translateZ(300px);}
#carousel figure:nth-child(7) { transform: rotateY(240deg) translateZ(300px);}
#carousel figure:nth-child(8) { transform: rotateY(280deg) translateZ(300px);}

.imagenLogo{
	-webkit-filter: grayscale(1);
	cursor: pointer;
	transition: all .3s ease;
}
.imagenLogo:hover{
	-webkit-filter: grayscale(0);
  transform: scale(1.2,1.2);
}

@keyframes rotation{
	from{
		transform: rotateY(0deg);
	}
	to{
		transform: rotateY(-360deg);
	}
}

/* Clients */

.clie{
    position: relative;
    background: #f2f2f2;
    font-family: 'Open Sans', sans-serif;
    align-content: center;
}

.clieConte{
    position: relative;
    background: #f2f2f2;
    font-family: 'Open Sans', sans-serif;

}

.clie .titulo{
    color: #c46229;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 30px;
    text-align: center;
    margin-bottom: 30px;
    
}

.clientes{
    position: relative;
    
}

.cont-card {
    max-width: 1300px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.figure{
    margin: 20px auto;

}
.contenedor_tarjeta{
    margin: 20px;
}

.contenedor_tarjeta a{
    display: inline-block;
}

.contenedor_tarjeta:hover figure{
    -webkit-transform: perspective(600px) rotateY(180deg);
    -ms-transform: perspective(600px) rotateY(180deg);
    -o-transform: perspective(600px) rotateY(180deg);
    transform: perspective(600px) rotateY(180deg);

    -webkit-box-shadow: 6px -9px 17px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 6px -9px 17px 1px rgba(0,0,0,0.75);
    box-shadow: 6px -9px 17px 1px rgba(0,0,0,0.75);
    

}

.contenedor_tarjeta:hover figure img{
    filter: brightness(0.1);
    
}

figure{
    width: 400px;
    height: 300px;
    margin: 0;
    position: relative;
    transition: all ease .8s;
    transform-style: preserve-3d;
    transform: perspective(600px) rotateY(0deg);
}

figure .frontal,
figure .trasera{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: all ease .8s;
}

figure .frontal{
    display: block;
    /*backface-visibility: hidden;*/

}

figure .trasera{
    position: absolute;
    top: 0;
    padding: 20px;
    color: #fff;
    transform: perspective(600px) rotateY(180deg);
    backface-visibility: hidden;
    overflow: hidden;
}

figure .trasera .titulo-fig{
    color: #ffff;
    font-weight: normal;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;

}

figure .trasera hr{
    height: 2px;
    background: #ffff;
    border: none;
    margin-bottom: 20px;
    opacity: .5;
}

figure .trasera p{
    margin-top: 80px;
}

.cards{
    display: flex;
    justify-content: space-evenly;
    padding: 15px;
}

.cards .card{ 
    background: #da681cc2; 
    display: flex;
    width: 46%;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.6); 
    background: rgba( 255, 255, 255, 0.5 );

    /* glassmorfism */

    /* box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    padding: 10px;
    width: 46%;
    height: 200px;
    display: flex; 
 */   
}

.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}

.cards .card > .contenido-texto-card{
    width: 70%;
    color: rgb(185, 94, 9);
    text-align: left;
    position: relative;
    left: 15px;
}

.cards .card > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 15px;
    font-family: Verdana;
    font-size: 15px;
}

.autor{
    text-align: right;
    position: relative;
    bottom: 30px;
} 


/* footer */

footer{
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: center;
}

.content-foo h4{
    color: #fff;
    border-bottom: 3px solid rgba(211, 92, 13, 0.7);
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
}

.content-foo p{
    color: #ccc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}

.titulo-final{
    text-align: center;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

.titulo-final a{
    text-align: center;
    text-decoration: none;
    font-size: 24px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

.titulo-final a:hover{
    color: #d85c09;
    text-decoration: none;
}

@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .imagen-about-us{
        width: 90%;
    }

    /* Galeria */

    .imagen-port{
        width: 44%;
    }

    /* Clientes */

    .cards{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card{
        width: 90%;
    }

    .cards .card:first-child{
        margin-bottom: 30px;
    }

    /* servicios */

    .servicio-cont{
        justify-content: center;
        flex-direction: column;
    }

    .servicio-ind{
        width: 100%;
        text-align: center;
    }

    .servicio-ind:nth-child(1), .servicio-ind:nth-child(2){
        margin-bottom: 60px;
    }

    .servicio-ind img{
        width: 90%;
    }
}

@media screen and (max-width:500px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }

    nav > a{
        margin-right: 5px;
    }

    .textos-header h1{
        font-size: 35px;
    }

    .textos-header h2{
        font-size: 20px;
    }

    /* ABOUT US */

    .imagen-about-us{
        margin-bottom: 60px;
        width: 99%;
    }

    .sobre-nosotros .contenido-textos{
        width: 95%;
    }

    /* Galeria */

    .imagen-port{
        width: 95%;
    }

    /* Clients */

    .cards .card{
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards .card img{
        width: 90px;
        height: 90px;
    }

    /* Footer */

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .content-foo h4{
        border: none;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .titulo-final{
        font-size: 20px;
    }
}

.logo{
    list-style: none;
}

.social{
    position: fixed;
    right: 0px;
    top: 350px;
    z-index: 120;
}

.social ul{
    list-style: none;
    margin-top: 5rem;
}

.social ul li a{
    display: inline-block;
    color: #fff;
    background: black;
    padding: 10px 15px;
    text-decoration: none;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.social ul li .icon-facebook{background: #3B5998;}
.social ul li .icon-twitter{background: #00acee;}
.social ul li .icon-whatsapp{background: #00bb2d;}
.social ul li .icon-file-text{background: orangered;}

.social ul li a:hover{
    padding: -10px -30px;
    background: gray;
}


.aviso-cookies{
    display: none;
    background-color: #ffff;
    padding: 20px;
    width: calc(100% - 40px);
    max-width:  500px;
    line-height: 200%;
    border-radius: 10px;
    position: fixed;
    bottom: 20px;
    left:30px;
    z-index: 105;
    padding-top: 60px;
    box-shadow: 0px 2px 20px 10px rgba(222, 123, 30, 0.534);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.aviso-cookies.activo{
    display: block;

}

.aviso-cookies .galleta{
    max-width: 120px;
    position: absolute;
    top: -50px;
    left: calc(50% - 60px);
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo{
    margin-bottom: 20px;
    
}

.aviso-cookies .boton {
    width: 100%;
    background: rgb(214, 185, 18);
    border: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    padding: 15px 20px;
    font-weight: 800;
    cursor: pointer;
    transition: .3s ease all;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 20px;

}

.aviso-cookies .boton:hover{
    background: rgb(69, 192, 12);
}

.aviso-cookies .enlace {
    color: #0669bb;
    text-decoration: none;
    font-size: 20px;
}

.aviso-cookies .enlace:hover{
    text-decoration: underline;
}

.fondo-cookies{
    display: none;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    z-index: 104;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.fondo-cookies.activo{
    display: block;
}

.titulo1{
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 30px;
}

.contenedor_aviso {
    padding: 60px 20px;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    background-color: #e7e6e68c;
}

.contenedor_aviso u{
    color: #0d4cd3;
}

.fondo_aviso{
    top: 30px;
    width: 100%;
    height: 100%;  
}

.in{
    list-style: none;
}

.capa{
    display: none;
    background: rgba(197, 34, 34, 0.5);
    position: fixed;
    z-index: 104;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.fondo_aviso1{
    display: none;
    background: rgba(255, 255, 255, 0);
    position: fixed;
    z-index: 104;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}

.fondo_1.activo{
    display: block;
}

/* 
Cambio de Css como el slider 3D 
    .card{
    position: relative;
    background-color: #fff;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    padding: 20px;
}

.card .content{
    widows: 400px;
    padding: 30px;
    box-sizing: border-box;
}

.card .content p{
    font-family: Verdana;
    font-size: 20px;
}

.autor{
    position: relative;
    color: rgb(204, 85, 29);
    text-align: right;
    font-weight: 500;
}

.card .sliderText{
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(204, 85, 29);

}
.card .sliderText h4{
    color: #fff;
    font-size: 2em;   
} 

-------------------------------
Cambio con Glassmorphism


.cards{
    display: flex;
    justify-content: space-evenly;
    padding: 15px;
}


.cards .card{ 
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    padding: 10px;
    width: 46%;
    height: 200px;
    display: flex; 


    
}

.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;
}

.cards .card > .contenido-texto-card{
    width: 70%;
    color: rgb(185, 94, 9);
    text-align: left;
    position: relative;
    left: 15px;
}

.cards .card > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 15px;
    font-family: Verdana;
    font-size: 15px;
}

.autor{
    text-align: right;
    position: relative;
    bottom: 5px;
} 
*/