
/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/*
Created on : 20 sept 2022, 12:27:15
Author     : Csnet
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");

body {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    font-size: 16px;

}

a, a:hover {
    text-decoration: none;
    color: var(--bs-body-color);
}

/*//// CABECERA ////*/

h1#logotipo a {
    text-align: start;
    text-indent: -9999em;
    background-image: url(/imagenes/logotipos/selco.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto 100%;
    outline: none;
    height: 80px;
    display: block;
    padding: 10px;
    width: 170px;
    transition: all 0.5s ease-out;
}


.carousel-imagen {
    height: 80vh;
    min-height: 300px;
    background: no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: transform 2s ease, opacity .5s ease-out;
}

.carousel-imagen-servicios {
    max-height: 50vh;
}

.texto-banner {
    z-index: 1;
    background: #00000066;
    bottom: 10%;
    color: white;
/*    left: 0;
right: 40%;*/
}

.texto-banner h2 {
    font-size: 2em;
    font-weight: 800;
/*    text-transform: uppercase;*/
text-align: center;
padding-right: 1em;
padding-left: 3em;
text-shadow: 5px 2px 3px black;
line-height: 1;
}

.texto-banner h2.idioma {
    color: #b5b5b5;
}

.bg-selco{
    background-color: #FFF;
}

#marked, #marked1 {
    background: #343E40;
    position: relative;
    overflow: visible;
    z-index: 50;
}

#marked:before {
    top: 0;
    right: 0;
    transform: translateY(-100%);
    content: "";
    display: block;
    height: 12px;
    width: 50vw;
    background: #181280;
    position: absolute;
    z-index: 0;
}

#marked1:before {
    top: 0;
    left: 0;
    transform: translateY(-100%);
    content: "";
    display: block;
    height: 12px;
    width: 50vw;
    background: #181280;
    position: absolute;
    z-index: 0;
}

.menu {
/*    text-transform: uppercase;*/
font-weight: 700;
}

a.menu-principal {
    color: #181280 !important;
}

.menu-principal {
    padding: 25px;
}

#idiomaDropdown {
    padding: 25px;
    font-size: .85em;
    font-weight: 400;
}

a.nav-link.menu-principal.active {
    border-bottom: 6px solid;
}


/*////BANNER EN MOVIMIENTO home////*/

#servicios {
    background: #f8f8f8;
    padding: 5em 0;
}

.container-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

#servicios h2 {
    font-weight: 100;
    color: #181280;
    text-align: center;
    font-size: 2.5em;
}

.container-banner:hover > .section {
    filter: brightness(50%);
}
.container-banner:hover > .section:hover {
    filter: brightness(100%);
}

.container-banner .section {
    flex-grow: 1;
    position: relative;
    height: 100%;
    transition: all 0.4s;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    flex: 1;
    background-size: cover;
    margin: 1em;
}

.container-banner .section .cont_title, .banner-home .cont_title {
    position: relative;
    margin: auto;
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 30vh;
    padding: 0.5em;

}
.container-banner .section .cont_title h2, .banner-home .cont_title h2 {
    text-transform: uppercase;
    color: white;
    text-shadow: 0px 0px 8px rgb(0 0 0 / 90%);
    font-size: 3.5vw;
    margin: 0;
    transition: font-size 0.3s;
    vertical-align: middle;
    font-weight: 700;
}
.container-banner .section .cont_title h5, .banner-home .cont_title h5 {
/*  text-transform: uppercase;*/
font-size: 2vw;
transition: all 0.3s;
color: white;
text-shadow: 0px 0px 5px rgb(0 0 0 / 90%);
font-weight: 700;
}

.container-banner .section:hover {
    flex-grow: 5;
    transition: flex 0.2s;
    background-blend-mode: normal !important;
}
.container-banner .section:hover > .cont_title h2 {
    font-size: 4vw;
    transition: font-size 0.4s;
}
.container-banner .section:hover > .cont_title h6 {
    font-size: 1.6vw;
    transition: all 0.4s;
}
.container-banner .section:nth-child(1) {
    background-image: url("/imagenes/web/paginas/index/project-management.jpeg");
    background-color: #353448;
    background-blend-mode: overlay;
    background-position-x: 50%;
}
.container-banner .section:nth-child(2) {
    background-image: url("/imagenes/web/paginas/index/ingenieria-de-proyectos.jpeg");
    background-color: #353448;
    background-blend-mode: overlay;
    background-position-x: 50%;
}
.container-banner .section:nth-child(3) {
    background-image: url("/imagenes/web/paginas/index/ingenieria-de-proteccion-contra-incendios.jpeg");
    background-color: #353448;
    background-blend-mode: overlay;
    background-position-x: 50%;
}
.container-banner .section:nth-child(4) {
    background-image: url("/imagenes/web/paginas/index/asistencia-tecnica.jpeg");
    background-color: #353448;
    background-blend-mode: overlay;
    background-position-x: 50%;
}


/*////PROYECTOS home////*/

#proyectos {
    background: linear-gradient(90deg, #181280 50%, #ffffff 50%);
    margin: 5em 0;
    padding: 1em 0;
}

#proyectos h2 {
    font-weight: 100;
    color: #ffffff;
    text-align: left;
    font-size: 2.7em;
    margin: 0.2em 0;;
}

.texto-proyectos-home {
    background: #ffffff;
    padding: 2em 0 0 0;
    z-index: 1;
    bottom: 0;
    right: 50%;
}

.texto-proyectos-home h4 {
    color: #504f5f;
    font-size: 1.2em;
    text-align: start;
    padding: 0 1.5em 1.5em;
    margin-bottom: 0;
}

.btn-proyectos {
    background: #8c89b4;
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    text-align: right;
    border-radius: 0px;
    font-size: .9em;
    margin-top: 1em;
}

footer {
    font-size: .9em;
    padding: 2em 0;
}

footer p {
    margin-bottom: 0.2em;
}

i.redes {
    color: black;
    font-size: 1.5em;
    border: 2px solid;
    padding: 0.5em 0.6em;
    border-radius: 50%;
}

.megamenu {
    background-color: #181280;
    color: #ffffff;
}

.mega-menu > div:nth-child(1) {
    border-left: 1px solid #ffffff;
}

.mega-menu > div {
    border-right: 1px solid #ffffff;
}

.mega-menu a {
    color: #ffffff;
}
.mega-menu h3 {
    font-weight: 600;
    text-align: center;
    padding: 0.5em;
}

.textos {
    margin: 5em 0;
}

.idiomas {
    min-width: fit-content;
    padding: 0px;
}

.card-noticias{
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-top: 12px solid #181280;
    display: flex;
    flex-direction: column; /* Para que los hijos internos se ordenen verticalmente */
    justify-content: space-between; /* Espaciado interno */
    height: 100%; /* Permite que ocupen el mismo alto */

}

.card-noticias img.img-fluid {
    width: 100%; /* Asegura que la imagen ocupe todo el ancho del contenedor */
    height: 200px; /* Define un alto máximo fijo para todas las imágenes */
    object-fit: cover; /* Recorta la imagen para llenar el área especificada */
    overflow: hidden; /* Oculta el contenido que sobresale */
}