* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
} 

h1 { font-size: 3.2em; }
h2 { font-size: 2.7em; }
h3 { font-size: 2em; }
p { font-size: 1.25em; }

button {
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
    background: linear-gradient(to right, #0070C0, #03A64A);
}

button:hover {
    background: linear-gradient(to right, #014678, #026d31);
}

.contenedor {
    max-width: 100%;
    margin: auto;
}

.color_degradado_icsi {
    color: transparent; 
    background: linear-gradient(to right, #0070C0, #03A64A); 
    -webkit-background-clip: text; 
    background-clip: text;
}

header {
    background-color: rgb(30, 30, 30);
    padding: 10px 20px; /* Añade un poco de padding en la parte superior e inferior */
}

header .textologo {
    font-weight: bold;
    font-size: 1.2em;
}

.contenedor_logo_y_texto {
    display: flex; /* Mantén flex para alinear los elementos en una fila */
    align-items: center; /* Alinea verticalmente los elementos en el centro */
    justify-content: space-between; /* Añade espacio entre los elementos */
}

.contenedor_imagen_logo_header {
    background-image: url("../Recursos_Media/logoicsi.png");
    background-size: contain; /* Ajusta la imagen para que se contenga dentro del contenedor */
    background-repeat: no-repeat;
    background-position: right;
    width: 70px; /* Ajusta el tamaño del contenedor */
    height: 50px; /* Ajusta el tamaño del contenedor */
}

#menu_principal {
    display: flex; /* Utiliza flex para alinear los enlaces en una fila */
    gap: 20px; /* Añade espacio entre los elementos */
    padding: 0; /* Elimina el padding automático */
    margin: 0; /* Elimina el margen predeterminado */
}

header a {
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    padding: 5px 10px; /* Ajusta el padding para los enlaces */
    transition: color 0.3s ease, background 0.3s ease; /* Transiciones suaves para los hover */
}

header a:hover {
    background: linear-gradient(to right, #0070C0, #03A64A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/*OTRA SECCION*/
#imagenquienessomos{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    ),url("../Recursos_Media/Fondo_Quienes_Somos.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#imagenquienessomos h1{
    color: white;
}

#imagenquienessomos button{
    font-size: 2em;
}

/*OTRA SECCION*/
#textoquienessomos{
    text-align: center;
    background-color: rgb(255, 255, 255);
}

#textoquienessomos .contenedor{
    padding: 30px 20px;
}

/*OTRA SECCION*/
#seccionquienes{
    background-color: rgb(30,30,30);
    color: white;
    text-align: center;
}

#seccionquienes .contenedor{
    padding: 100px 0px;
}

#seccionquienes h2{
    margin-top: 0;
    font-size: 3em;
}

#seccionquienes p{
    display: none;
}

#seccionquienes .valor{
    background-size: cover;
    background-position: center center;
    padding: 50px;
    margin: 20px;
    border-radius: 20px;
}

.valor:first-child{
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("../Recursos_Media/Mision.jpeg");
}

.valor:nth-child(2){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("../Recursos_Media/Vision.jpeg");
}

.valor:nth-child(3){
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("../Recursos_Media/Valores.jpeg");
}

/*OTRA SECCION */
footer{
    background-color: rgb(230,230,230);
}

footer p{
    margin: 0;
    padding: 12px;
    color: rgb(100,100,100);
}

footer .contenedor{
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}


@media (min-width: 1500px){
    header{
        position: fixed;
        width: 100%;
    }

    header .contenedor{
        flex-direction: row;
        justify-content: space-between;
    }

    header .textologo{
        margin: 20px;
        padding: auto;
        font-weight: bold;
        font-size: 2.2em;
    }

    .contenedor_imagen_logo_header {
        background-size: 30%;
        margin-left: -426px;
    }

    #menu_principal {
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 20px;
    }

    /*OTRA SECCION */
    #imagenquienessomos h1{
        font-size: 5em;
    }
    
    /*OTRA SECCION */
    #textoquienessomos .contenedor{
        display: flex;
        justify-content: space-evenly;
    }
    
    #textoquienessomos .texto{
        width: 50%;
        max-width: 600px;
        text-align: justify;
        padding-left: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    #textoquienessomos h2{
        margin-top: 0px;
        text-align: center;
    }
    
    #textoquienessomos .contenedor_imagen_texto{
        background-image:linear-gradient(
            0deg,
            rgba(0,0,0,0.5),
            rgba(0,0,0,0.3)
        ) ,url("../Recursos_Media/quienes_somos_imagen_dos.jpeg");
        background-size: cover;
        background-position: center center;
        border-radius: 20px;
        height: 500px;
        width: 700px;
    }

    /*OTRA SECCION */
    
    #seccionquienes .valores{
        display: flex;
        justify-content: center;
    }

    #seccionquienes .valor{
        padding: 150px;
        background-repeat: no-repeat;
        background-position-y: 0;
        background-color: rgba(50,50,50,0.5);
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }
}

/* OTRA SECCION */

.color_texto_h1{
    font-weight: bold;
    font-size: 1.2em;
    color: #094523;
    text-decoration: none;
    font-weight: 900; /* Ajuste a un valor más intenso que 'bold' */
    transition: color 0.3s ease, background 0.3s ease;
}

.contenedor_de_texto{
    padding-left: 100px;
    padding-right: 100px;
    text-align: center; /* Para centrar el contenido del contenedor */
}

.formato_texto{
    text-align: justify; /* Para justificar el texto */
    margin: 0 auto; /* Para centrar el párrafo horizontalmente */
    max-width: 600px; /* Ancho máximo para limitar el texto en el centro */
    font-weight: bold;
    font-size: 1.2em;
    color: #6c726f;
    text-decoration: none;
    font-weight: 900; /* Ajuste a un valor más intenso que 'bold' */
    transition: color 0.3s ease, background 0.3s ease;
}

/* Configuraciones para contenedores de mision y vision */

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
    padding-left: 130px;
    padding-right: 130px;
}

*, ::after, ::before {
    box-sizing: border-box;
}

div {
    display: block;
    unicode-bidi: isolate;
}

.text-center {
    text-align: center !important;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .bd-example {
        --bd-example-padding: 1.5rem;
        margin-right: 0;
        margin-left: 0;
        border-width: 1px;
        border-radius: var(--bs-border-radius);
    }
}

.bd-example {
    --bd-example-padding: 1rem;
    position: relative;
    padding: var(--bd-example-padding);
    margin: 0 -1.5rem 1rem;
    border: solid var(--bs-border-color);
    border-width: 1px 0;
}

.bd-gutter {
    --bs-gutter-x: 3rem;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-right: auto;
    margin-left: auto;
}

.col {
    flex: 1 0 0%;
    
}

.row>* {
    
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-top: var(--bs-gutter-y);
}
*, ::after, ::before {
    box-sizing: border-box;
}

.imagen_estilo {
    max-width: 70%; /* Ajusta el tamaño máximo de la imagen al 80% del ancho del contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Asegura que la imagen se comporte como un elemento de bloque */
    margin: 0 auto; /* Centra la imagen horizontalmente */
    flex-direction: column;
}
.imagen_estilo2 {
    max-width: 100%; /* Ajusta el ancho máximo de la imagen */
    max-height: 100%; /* Ajusta la altura máxima de la imagen */
    display: block; /* Asegura que la imagen se comporte como un elemento de bloque */
    margin: 0 auto; /* Centra la imagen horizontalmente */
    flex-direction: column;
}

.color_texto_h3{
    font-weight: bold;
    font-size: 1.8em;
    color: #094523;
    text-decoration: none;
    font-weight: 900; /* Ajuste a un valor más intenso que 'bold' */
    transition: color 0.3s ease, background 0.3s ease;
}

/* BOTON BUSCAR */
.btn {
    padding: 5px 10px; /* Ajusta el espacio interno del botón (alto y ancho) */
    font-size: 10px; /* Ajusta el tamaño de la fuente */
    border-radius: 5px; /* Redondea las esquinas del botón */
    width: 90px; /* Ajusta el ancho del botón */
    height: 30px; /* Ajusta la altura del botón */
}

.contenedor_banner {
    max-width: 100%;
    text-align: center;
}