/*-------------------------------codigoDeProducto--------------------*/
*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { display: table; content: ''; }
.clearfix:after { clear: both; }
/*-------------------------------header--------------------*/
.loader{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: black;
    z-index: 1000;
    overflow: hidden;
}
.loader .contenedor{
    position: absolute;
    margin: 7% 12%;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    right: 0;
}
.img{
    width: 115px;
    height: auto;
    position: relative;
}
.img img{
    width: 100%;
}
.iconoLoader{
    border: 12px solid #000000; /* Light grey */
    border-top: 12px solid rgb(211, 211, 211); /* Blue */
    border-radius: 50%;
    width: 150px;
    height: 150px;
    animation: spin 2s linear infinite;
    display: block;
    position: absolute;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
header{
    background-image: url(../img/fondonegro.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: sticky;
    top: 0px;
}
header .contenedor{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
}
header .contenedor .logo{
    width: 40%;
    right: 15%;
    position: relative;
}
header .contenedor .logo img{
    width: 100%;
}
header .contenedor .redes{
    position: absolute;
    right:1%;
}
header .contenedor .redes div{
    transition: transform .2s; /* Animation */
    margin: 10px;
}
header .contenedor i{
    font-size: 2em;
    color: rgb(211, 211, 211);
}
header .contenedor .redes div:hover{
    transform: scale(1.2);
}
header .contenedor a:visited, a:active, a:link{
    text-decoration: none;
    color: rgb(211, 211, 211);
}   
@keyframes flechaIndicador{
    0%{bottom: 13%;}
    50%{bottom: 10%;}
    100%{bottom: 13%;}
}
header .contenedor .flecha{
    position: absolute;
    transform: rotate(45deg);
    width: 50px;
    height: 50px;
    border-bottom: 5px solid rgb(211, 211, 211);
    border-right: 5px solid rgb(211, 211, 211);
    border-radius: 6px;
    bottom: 10%;
    animation-name: flechaIndicador;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
/*----------------------body------------------------------*/
body{
    font-family: 'Titillium Web';
}
/*----------------------main-------------------*/
.main{
    position: relative;
    z-index: 10;
    background-image: url(../img/fondonegro.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Titillium Web';
    
}
/*--tamanho-h2-gral--*/
.main h1, h2{
    font-size: 2.0em;
    font-family: "Oxanium";
    padding: 1em 0em;
}
/*----------------------primera-section-------------------*/
.main .servicios{
    background-color: rgb(221, 221, 221);
    
}
.main .servicios .servicio1, .servicio3{
    width: 100%;
    height: calc(100vw * 0.27);
    display: flex;
    overflow: hidden;
    flex-direction: row-reverse;
    align-items: center;
    text-align: right;
}
.main .servicios .servicio2{
    width: 100%;
    height: calc(100vw * 0.27);
    display: flex;
    overflow: hidden;
    align-items: center;
    text-align: left;
}
.main .servicios .img{
    width: 50%;
    height: 100%;
    background-color:black;
}
.main .servicios .img img{
    width: 100%;
    object-fit: cover;
}
.main .servicios .texto{
    width: 50%;
    height: 100%;
    background-color:rgb(221, 221, 221);
    display: flex;
    align-items: center;
    justify-content: center;
}
.main .servicios .texto .contenedor{
    position: relative;
    width: 95%;
}
.main .servicios .texto .contenedor p{
    font-size: 1.2em;
}
/*------------------------------somos--------------------*/
section .somos{
    display: flex;
    justify-content: space-around;
    width: 100%;
    align-items: center;
    padding: 3% 0;
}
section .somos .contenedor{
    /* background-image: url(../img/fondo2.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat; */
    text-align: center;
    position: relative;
    width: 70%;
    color: rgb(211, 211, 211);
}
section .somos .contenedor p{
    font-size: 1.2em;
    line-height: 1.8em;
    text-align: justify;
    text-indent: 2em;
}
/*-------------------------------section-video--------------------*/
section .video .contenedor{
    display: flex;
    height: calc(100vw * 0.41);
    width: 100%;
    overflow: hidden;
    align-items: center;
    background-color: black;
    position: relative;
}
section .video .contenedor .contenedor-video{
    width: 100%;
    height: calc(100vw * 0.41);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}
section .video .contenedor .gradient{
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom right, rgb(0, 0, 0), rgba(0, 0, 0, 0));
    z-index: 1;
    opacity: 90%;
}
section .video .contenedor .contenedor-video video{
    width: 100%;
}
section .video .contenedor .info-video{
    width: 300px;
    position: absolute;
    z-index: 2;
    margin-left: 15%;
    text-align: center;
    color: whitesmoke;
}
section .video .contenedor .info-video hr{
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border-style: inset;
    border-width: 0.7px;
}
section .video .contenedor .info-video h2{
    padding: 5px 0px 5px 0px;
}
section .video .contenedor .info-video h3{
    font-size: 1.3em;
}
section .video .contenedor .info-video p{
    font-size: 1.2em;
    line-height: 1.5em;
}
/*------------------------------linea-proyecto--------------------*/
section .linea-proyecto{
    padding: 3% 0;
    width: 100%;
    display: flex;
    align-items: center;
}
section .linea-proyecto .contenedor{
    /* background-image: url(../img/fondo2.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat; */
    display: flex;
    width: 70%;
    margin: 0 auto;
    text-align: center;
    flex-direction: row;
    color: rgb(211, 211, 211);
}
section .linea-proyecto .contenedor div{
    position: relative;
    flex-grow: 1;
    margin: 15px;
    transition: transform .2s; /* Animation */
}
section .linea-proyecto .contenedor div:hover{
    transform: scale(1.1);
}
section .linea-proyecto .contenedor div i{
    font-size: 3em;
}
section .linea-proyecto .contenedor div p{
    font-size: 1em;
    line-height: 1.6em;
    padding: 1em 1em 0 0;
}
/*------------------------------producto--------------------*/
section .productos{
    width: 100%;
    background-color: rgb(211, 211, 211);
    text-align: center;
    padding-bottom: 3%;
    padding-top: 1%;
}
section .productos h3{
    font-size: 1em;
}
.contenedor-producto {
	position: relative;
	margin: 0 auto;
    width: 100%;
	list-style: none;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
/* Common style */
.contenedor-producto figure {
	position: relative;
	float: left;
	overflow: hidden;
    min-width: 320px;
    width: 20%;
    height: 280px;
    text-align: center;
    margin: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    opacity: 0.9;
}
.contenedor-producto figure img {
	position: relative;
	object-fit: cover;
    width: 100%;
    height: 100%;
}
.contenedor-producto figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.contenedor-producto figure figcaption::before,
.contenedor-producto figure figcaption::after {
	pointer-events: none;
}

.contenedor-producto figure figcaption,
.contenedor-producto figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
    height: 100%;
}
.contenedor-producto h3{
    text-shadow: 0 0 6px rgba(48, 48, 48, 0.966);
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.contenedor-producto figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}
.contenedor-producto figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}
.contenedor-producto figure h2 span {
	font-weight: 800;
}
.contenedor-producto figure h2,
.contenedor-producto figure p {
	margin: 0;
}
.contenedor-producto figure p {
	letter-spacing: 1px;
	font-size: 80%;
}
/* Individual effects */


/*---------------*/
/***** Ming *****/
/*---------------*/

figure.effect-ming {
	background: #030c17;
}

figure.effect-ming img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-ming figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 2px solid #fff;
	box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale3d(1.4,1.4,1);
	transform: scale3d(1.4,1.4,1);
}

figure.effect-ming h2 {
	margin: 20% 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-ming p {
	padding: 1em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

figure.effect-ming:hover h2 {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
}

figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

figure.effect-ming:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-ming:hover img {
	opacity: 0.4;
}
/*------------------------------carroucel--------------------*/
section .trabajos{
    padding: 3% 0;
    color: rgb(211, 211, 211);
    text-align: center;
    padding: 3%, 0;
}
section .trabajos .carousel-inner{
    text-shadow: 0 0 3px rgba(48, 48, 48, 0.692);
}
section .trabajos .carousel-inner img {
    position: relative;
    object-fit: cover;
    height: calc(100vw * 0.3);
}
/*-------------------------------section-ubicacion--------------------*/
.ubicacion{
    text-align: center;
    background-color: #ADD6F0;
}
.ubicacion .contenedor{
    position: relative;
}

.ubicacion .contenedor .map{
    height: calc(100vw * 0.4);
    width: 100%;
}
.ubicacion .contenedor .info-map{
    height: auto;
    background-color: rgb(211, 211, 211);
    position: absolute;
    top: 0;
    right: 0px;
    border-radius: 10px;
    margin-top: 80px;
    margin-right: 70px;
    padding: 1.2em;
    /*box-shadow: 1px 1px 20px #9b9b9b;*/
}
.ubicacion .contenedor .info-map hr{
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border-style: inset;
    border-width: 1px;
}
.ubicacion .contenedor .info-map i{
    font-size: 1.7em; 
    margin: 0 0.2em;
}
.ubicacion .contenedor .info-map p{
    line-height: 1em;
    font-size: 1em;
    margin-top: 1.0em;
}
.ubicacion .contenedor .info-map a:visited, a:active, a:link{
    text-decoration: none;
    color: #323232;
}   
.ubicacion .contenedor .info-map .redes{
    display: inline-block;
    transition: transform .2s; /* Animation */
}
.ubicacion .contenedor .info-map .redes:hover{
    transform: scale(1.2);
}
.ubicacion .icono-ubicacion{
    display: none;
}
/*------------------------------media--------------------*/
@media only screen and (max-width: 1380px){
    .main{
        font-size: 0.8em;
    }
    .main .servicios h1, h2{
        padding: 0.5em 0em;
    };
    .main .servicios .texto .contenedor p{
        margin: 1em 0;
    }
    section .ubicacion .contenedor .info-map{
        margin-top: 50px;
        margin-right: 70px;
        padding: 1.2em;
        /*box-shadow: 1px 1px 20px #9b9b9b;*/
    }
    section .ubicacion .contenedor .info-map hr{
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        border-style: inset;
        border-width: 1px;
    }
}
@media only screen and (max-width: 768px){
    /*------------------header----------------------------------*/
    header{
        position: relative;
    }
    header .contenedor .logo{
        width: 70%;
        right: 0;   
    }
    header .contenedor .flecha{
        width: 20px;
        height: 20px;
    }
    header .contenedor .redes{
        top: 1%;
    }
    header .contenedor i{
        font-size: 1.5em;
        margin-top: 1.5em;
    }
    /*----------------------body------------------------------*/
    body{
        background-image: url(../img/fondonegro.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        position: sticky;
    }
    .main h1, h2{
        font-size: 1.8em; 
        padding: 3% 0px;
    }
    /*----------------------primera-section-------------------*/
    .main .servicios .servicio1, .servicio3{
        width: 100%;
        height: auto;
        display: flex;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
    }
    .main .servicios .servicio2{
        width: 100%;
        height: auto;
        display: flex;
        overflow: hidden;
        align-items: center;
        flex-direction: column;
    }
    .main .servicios .img{
        width: 100%;
        height: auto;
    }
    .main .servicios .img img{
        width: 100%;
        object-fit: cover;
    }
    .main .servicios .texto{
        width: 100%;
        height: auto;
        background-color:rgb(221, 221, 221);
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom: 30px;
    }
    .main .servicios .texto .contenedor{
        position: relative;
        width: 80%;
    }
    .main .servicios .texto .contenedor p{
        line-height: 1.2em;
        /* font-size: 1.0em; */
    }
    /*------------------------------somos--------------------*/
    section .somos .contenedor{
        width: 90%;
    }
    section .somos .contenedor p{
        line-height: 1.2em;
        /* font-size: 1.0em;  */
    }
    /*------------------------------linea-proyecto--------------------*/
    section .linea-proyecto{
        height: auto;
        padding: 30px 0px;
    }
    section .linea-proyecto .contenedor{
        display: flex;
        width: 85%;
        margin: 0 auto;
        text-align: center;
        flex-direction: column;
        padding: 0 3%;
    }
    section .linea-proyecto .contenedor div p{
        /* line-height: 1.0em;*/
        font-size: 1.1em;
        margin-left: 10px;
    }
    section .linea-proyecto .contenedor div{
        position: relative;
        margin: 8px;
        display: flex;
        align-items: center;
        flex-direction: row;
    }
    /*-------------------------------section-video--------------------*/
    section .video .contenedor{
        height: calc(100vw * 0.51);
        justify-content: space-around;
    }
    section .video .contenedor .info-video{
        width: 90%;
        margin-left: 0;
        padding: 0.8em 0;
    }
    section .video .contenedor .info-video h2{
        margin: 2px 0px 2px 0px;
    }
    section .video .contenedor .info-video h3{
        /* font-size: 1.3em; */
    }
    section .video .contenedor .info-video p{
        /* line-height: 1.1em;
        font-size: 1.1em; */
        padding-top: 1em;
    }
    section .video .contenedor .info-video hr{
        margin-top: 0.1em;
        margin-bottom: 0.1em;

    }
    /*------------------------------carroucel--------------------*/

    section .trabajos .carousel-inner img {
        width: 90%;
        height: 40%;
    }
    /*-------------------------------section-ubicacion--------------------*/
    .ubicacion{
        text-align: center;
    }
    .ubicacion .contenedor{
        position: relative;
    }
    .ubicacion .contenedor .map{
        display: none;
    }
    .ubicacion .contenedor .info-map{
        /* display: none; */
        width: 100%;
        overflow: hidden;
        position: relative;
        border-radius: 0;
        padding: 1.5em;
        margin-top: 0;
        margin-right: 0;
    }
    .ubicacion .contenedor .info-map hr{
        margin-top: 0.1em;
        margin-bottom: 0.5em;
    }
    .ubicacion .contenedor .info-map p{
        /* line-height: 0.2em;*/
        font-size: 1.2em;
        margin: 0.5em 0;
    }
    .ubicacion .contenedor .info-map i{
        font-size: 2em; 
        margin: 0.5em;
    }
    .ubicacion .icono-ubicacion{
        display: initial;
    }
}
