@font-face {
    font-family: 'BarlowBold';
    src: url('../fonts/BarlowBold.eot');
    src: url('../fonts/BarlowBold.eot') format('embedded-opentype'),
        url('../fonts/BarlowBold.woff2') format('woff2'),
        url('../fonts/BarlowBold.woff') format('woff'),
        url('../fonts/BarlowBold.ttf') format('truetype'),
        url('../fonts/BarlowBold.svg#BarlowBold') format('svg');
}

@font-face {
    font-family: 'BarlowSemiBold';
    src: url('../fonts/BarlowSemiBold.eot');
    src: url('../fonts/BarlowSemiBold.eot') format('embedded-opentype'),
        url('../fonts/BarlowSemiBold.woff2') format('woff2'),
        url('../fonts/BarlowSemiBold.woff') format('woff'),
        url('../fonts/BarlowSemiBold.ttf') format('truetype'),
        url('../fonts/BarlowSemiBold.svg#BarlowSemiBold') format('svg');
}

@font-face {
    font-family: 'BarlowRegular';
    src: url('../fonts/BarlowRegular.eot');
    src: url('../fonts/BarlowRegular.eot') format('embedded-opentype'),
        url('../fonts/BarlowRegular.woff2') format('woff2'),
        url('../fonts/BarlowRegular.woff') format('woff'),
        url('../fonts/BarlowRegular.ttf') format('truetype'),
        url('../fonts/BarlowRegular.svg#BarlowRegular') format('svg');
}

@font-face {
    font-family: 'BarlowMedium';
    src: url('../fonts/BarlowMedium.eot');
    src: url('../fonts/BarlowMedium.eot') format('embedded-opentype'),
        url('../fonts/BarlowMedium.woff2') format('woff2'),
        url('../fonts/BarlowMedium.woff') format('woff'),
        url('../fonts/BarlowMedium.ttf') format('truetype'),
        url('../fonts/BarlowMedium.svg#BarlowMedium') format('svg');
}


* {
    padding: 0;
    margin: 0;
    font-family: 'BarlowRegular';
    box-sizing: border-box;
    caret-color: transparent; 
}


.ulLinks {
    font-family: 'BarlowSemiBold';
    width: max-content;
    text-align: center;
    font-size: 20px;
    padding-top: 0px;
}

.ulLinks li {
    display: inline-block;
    margin-right: 7px;
}

.nav-item a {
    border-color: black;
    color: white !important;
}

.carousel-item-content img {
    filter: brightness(0.6);
    height: calc(100vh - 70px);
    object-fit: cover;
    object-position: center center;
}

.btnIndicator {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: #FFFFFF;
}

.carouselFooter {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 70px;
    transform: translateY(2px);
    background-color: #EA0029;
    z-index: 20;
    clip-path: polygon(0% 30px, 100% 0%, 100% 100%, 0% 100%);

}

.carousel-indicators {
    margin: 0 !important;
    padding: 0 !important;
    bottom: 10px!important;
}

.textCarouselItem {
    position: absolute;
    top: 50%;
    left: 11%;
    transform: translateY(-50%);
    color: #FFFFFF;
    width: 25vw;
}

.textCarouselItem h4 {
    color: white;
    font-size: 31px;
    font-family: 'BarlowBold';

}

.textCarouselItem p {
    font-family: 'BarlowRegular';
    color: white;
    font-size: 18px;
}

.obraTextCarousel {
    color: #EA0029;
}

.gridCubo {
    position: absolute;
    right: 1px;
    top: 50%;
    transform: translateY(-58%);
    width: 30vw;
    display: grid;
    grid-template-columns: 1fr 10vw;
    color: #FFFFFF;
    text-align: end;
}

.cuadroContainer {
    background-color: rgb(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10vw;
    width: 10vw;

    padding: 3vw;
    margin: 1px;
}

.cuboCarousel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
    font-family: 'BarlowSemiBold';
    font-size: 20px;
}

.cuboCarousel p {
    margin: 0 !important;
    padding-bottom: 0 !important;
}

.svgLogo {
    margin-left: 97px;
    width: 50px;
}

.rectanguloRojo {
    width: 140px;
    height: 50px;
    background-image: url('../images/rectangulo_rojo.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.buttons {
    right: 20px;
    bottom: 15px;
    position: absolute;
    display: flex;
    gap: 30px;
    height: 30px;
    z-index: 5;
    background-color: #EA0029;
    justify-content: flex-end;
    align-items: flex-end;
}

.buttons button {
    border: 0 !important;
    background-color: transparent;
}

#quienes_somos {
    padding-top: 7rem;
    padding-bottom: 9%;
    margin-bottom: 0%;
    background-color: #EA0029;

}

.quienes_somos h3 {
    font-size: 37px;
    font-family: 'BarlowBold';
    margin-top: 10%;
    display: flex;
}

.quienes_somos p {
    font-family: 'BarlowBold';
    margin-top: 16%;
    display: flex;
    line-height: 21px;
}

.quienes_somos h1 {
    font-size: 30px;
    font-family: 'BarlowBold';
    line-height: 33px;
}

.content_obra2 {
    opacity: 0.9;
    display: flex;
    position: relative;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    flex-direction: column-reverse;
    align-content: space-around;
    align-items: flex-end;
}

.foto_grupal {
    margin-top: 23%;
    height: 560px;
}

.container_w_blanca {
    height: 440px;
    width: 440px;
    position: absolute;
    transform: translate(-35%, 24%);
    background-image: url(../images/Grupo_5.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.w_blanca {
    position: relative;
}

.w_blanca img {
    min-width: 100%;
    height: auto;
    margin-top: 41%;

}

#nuestras_obras {
    background-color: #FFFFFF;
}

.formatsection {
    padding: 100px 0;
    margin-top: -40px;
    clip-path: polygon(0% 30px, 100% 0%, 100% calc(110% - 30px), 0% 100%);
}

.formatsectionFooter {
    padding: 100px 0;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-top: -40px;
    clip-path: polygon(0% 30px, 100% 0%, 100% calc(110% - 30px), 0% 100%);
}


.llave_en_mano {
    width: 100px;
    margin-right: 100px;
    margin-bottom: 13%;
}

.llave_en_mano_img {
    height: 100px;
    width: 100px;
    margin-left: 50px;
}

.bloqueNumM {
    margin-bottom: 5rem;
}

.proyectos {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.proyectos h5 {
    font-size: 30px;
    font-family: 'BarlowBold';
}

.proyectos h6 {
    margin-top: 1%;
    font-size: 24px;
    font-family: 'BarlowSemiBold';
    display: flex;
    align-items: center;
    flex-direction: column;
}

.sectioncontrucciones {
    background-color: #1D1D1B;
    color: #ffffff;
}

.sectioncontrucciones h4 {
    font-family: 'BarlowBold';
    font-size: 29px;
    padding-left: 5.5rem;
    margin-top: 8%;
    display: flex;
    line-height: 47px;
    width: 28%;
}

.w_fondo {
    position: absolute;
    right: 8%;
    width: 47vw;
    height: 36vw;
    background-image: url('../images/w_fondo.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.card-movimiento p {
    font-family: 'BarlowBold';
    font-size: 0.7rem;
}

p.numeros {
    margin-top: 18px;
    color: #EA0029;
    font-family: 'BarlowSemiBold';
    font-size: 20px;
    margin-bottom: 15px;
}

.numeros_t {
    margin-top: 18px;
    color: #EA0029;
    font-family: 'BarlowSemiBold';
    font-size: 38px;
}

.unidad {
    font-size: 4.5rem;
}

p.unidad {
    font-size: 2.5rem;
}

.trabajadores {
    font-family: 'BarlowRegular';
    margin-left: -16%;
    display: contents;
    color: white;
    font-size: 15px;
    line-height: -5px;
    height: -9em;
    width: 25%;
}

p.trabajadores_p {
    width: 275px;
    font-family: 'BarlowRegular';
    display: flex;
    color: white;
    font-size: 20px;
    line-height: 1;
    height: auto;
    align-items: center;
    margin-bottom: 20px;
}

.trabajadores_img .max_image {
    object-fit: contain;
    height: 50px;
    object-position: center;
}

.max_image {
    width: 50px;
}

.confian {
    width: 61px;
	margin-bottom: 15px;
}

.col-6 {
    flex: 0 0 auto;
    width: 22%;
}

.empresas img {
    width: 70%;
    height: auto;
}


#marquee {
    display: flex;
    flex-flow: row;
    align-items: center;
    list-style: none;
	padding: 0 !important;
}

li.itemIcon {
    flex: 1 0 10%!important;
	text-align: center;
}

.marqueeCont {
    width: 100%;
    overflow: hidden;
}

#nuestras_obras h3 {
    font-family: 'BarlowMedium';
}

#nuestras_obras h2 {
    font-family: 'BarlowSemiBold';
}

#footer {
    margin-top: 9%;
    background-color: #1D1D1B;
}

.contacto_footer p {
    padding-top: 0%;
    font-size: 20px;
    font-family: 'BarlowMedium';
    color: #FFFFFF !important;
    margin-bottom: 0.3rem !important;
}

.footerIcons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.contacto_footer.text-center {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.iconsContent {
	justify-content: center;
    display: flex;
    border-left: 1px solid #FFF;
    border-right: 1px solid #FFF;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    row-gap: 20px;
    column-gap: 20px;
    padding: 0px 5rem;
}


.grid-item {
    position: relative;
    overflow: hidden;
}

.animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: red;
    transition: height 0.5s ease-in-out;
    clip-path: polygon(-115% 100%, 100% 100%, 100% calc(100% - 30px), 100% 1%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.grid-item:hover .animation {
    height: 35%;
    transition: height 0.5s ease;
}

.tres_puntos {
    padding: 10px;
}

.textCard {
    text-align: end;
    padding: 10px;
}

.textCard p {
    margin: 0 !important;
}

.animation_p1 {
    color: #fff;
    font-size: 7px;
    font-family: 'BarlowBold';
}

.animation_p2 {
    color: #FFFFFF;
    font-size: 13px;
    font-family: 'BarlowMedium';
}

.bkHome {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: no-repeat center center url(../images/Obra1.jpg);
	background-size: cover;
}

.bkHome:before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.33);
    position: absolute;
    z-index: 0;
    top: 0;
}

.textoHomeSlide h4 {
    color: white;
    font-size: 31px;
    font-family: 'BarlowBold';
}

.textoHomeSlide p {
    font-family: 'BarlowRegular';
    color: white;
    font-size: 18px;
	max-width: 510px;
    width: 100%;
}

.textoHomeSlide {
    width: 100%;
    z-index: 1;
}

a.grid-item {
    display: block;
}

section#detalleObra+footer {
    margin-top: -30px;
}

.navbar-light .navbar-toggler-icon {
    filter: invert(1);
}

.grid-container {
    display: flex;
    row-gap: 20px;
    column-gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.imagen-container {
    flex: 0 1 calc(20% - 16px);
}

.imgGaleria {
	height: 140px;
    object-fit: cover;
    object-position: center;
}

.img-fluid.imgGalBig {
	object-fit: cover;
    object-position: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / .7;
}

#modalFotosBig .btn-close {
    position: absolute;
    z-index: 55;
    right: 20px;
    top: 20px;
}

@keyframes moverAnimation {
    0% {
        transform: translatey(100%);
    }

    100% {
        transform: translatey(30%);
    }
}

@media (min-width: 576px) {
    .col-sm-4 {
        flex: 0 0 auto;
        width: 14.333333%;
    }

    .grid-container {
        padding: 20px;
    }


}

@media (max-width: 576px) {

    .contacto_footer p {
        font-size: 15px;
    }

    .svgLogo {
        margin-left: 5px;
    }

    .gridCubo {
        right: 5%;
    }

    .proyectos .col-12 {
        padding: 0 15px;
    }

    .proyectos h6 {
        line-height: 1;
        margin: 15px auto;
    }

    .proyectos h6 br {
        display: none;
    }
    
    .footerIcons {
        display: flex;
        align-items: center;
        gap: 58px;
        justify-content: center;
        margin-top: 40px;
		margin-bottom: 40px;
    }


}

@media (max-width: 768px) {

    .container_w_blanca {
        opacity: 0.2;
    }

	.grid-item .animation {
		height: 35%;
		transition: height 0.5s ease;
	}
	
	.contenidoObra {
		flex-direction: column;
		justify-content: center;
		display: flex;
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		padding: 15px;
	}
	
	.cuadroContainer {
		width: 80px;
		height: 80px;
	}

    .textCarouselItem {
        width: 100%;
        left: auto;
        top: auto;
        position: relative;
    }

    .textCarouselItem h4 {
        font-size: 20px;

    }
    
    .carousel-item-content img {
        height: 90vh;
        object-fit: cover;
        filter: brightness(0.8);
    }

    .gridCubo {
		width: 100%;
		left: auto;
		top: auto;
		right: auto;
		position: relative;
		transform: none;
		grid-template-columns: 1fr 90px;
	}
    
    .grid-container {
		padding: 20px;
		flex-direction: column;
	}
	
	.bkHome {
		height: 50vh;
	}
	
	li.itemIcon {
		flex: 1 0 25% !important;
		text-align: center;
	}
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 auto;
        width: 7%;
    }
    
}

@media (max-width: 768px) {
	.col-md-4.iconsContent {
		margin: 35px auto;
		border: 0;
	}

	.contacto_footer p {
        font-size: 18px!important;
	}
}

@media (max-width: 992px) {

    .ulLinks {
        width: 100%;
        padding-top: 20px;
    }

	.contacto_footer p {
        font-size: 12px;
	}
}

@media screen and (max-width: 1200px) and (min-width: 766px) {

    .trabajadores_p {
        width: 180px !important;
        font-family: 'BarlowRegular' !important;
        font-size: 14px !important;
        line-height: 2 !important;
        margin-bottom: 13px !important;
    }
}

@media screen and (max-width: 1300px) and (min-width: 993px) {

	.contacto_footer p {
        font-size: 16px;
	}
}
