/*------------------------------------------------------------- 
WEB
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    /* background-color: #808080; */
}

.img-fondo {
    background-color: white;
}

.redes {
    background-color: #2c4f8c;
    padding: 10px;
}

.redes a {
    color: white;
    text-decoration: none;
}

.proyectos-section {
    margin-top: 50px;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 2.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

/*------------------------------------------------------------- 
LOGO NIVELADO CON SECCIÓN DERECHA
--------------------------------------------------------------*/
.container-fluid > .row:first-child > .col-md-4.img-fondo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    min-height: 130px;
    background-color: white;
}

.container-fluid > .row:first-child > .col-md-4.img-fondo .navbar-brand {
    width: 100%;
    text-align: center;
    display: block;
}

.container-fluid > .row:first-child > .col-md-4.img-fondo .navbar-brand img {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    vertical-align: middle;
}

/* Para que la columna derecha tenga la misma altura */
.container-fluid > .row:first-child > .col-md-8 {
    display: flex;
    flex-direction: column;
}

/*------------------------------------------------------------- 
NAV
--------------------------------------------------------------*/
/* .navbar-nav 
{
    display: flex;
} */

/*------------------------------------------------------------- 
OPCIONES
--------------------------------------------------------------*/
#proy {
    background-color: #2c4f8c;
    color: white;
    text-align: center;
    /* Ajusta este valor al alto de tu barra de navegación */
    padding-top: 100px;
    padding-bottom: 5px;
    /* Este valor debe ser igual pero negativo al padding-top */
    margin-top: -100px;
    border-radius: 10px;
}

/*------------------------------------------------------------- 
CARRUSEL
--------------------------------------------------------------*/
#miCarrusel .carousel-item img {
    width: 100%;
    height: 550px;
    /* Ayuda a mantener la proporción de las imágenes al cambiar su altura. */
    object-fit: cover;
}

.carousel-item {
    /* Esto permite que la descripción se posicione en relación con la imagen */
    position: relative;
}

.carousel-caption {
    /* Fondo oscuro con un poco de transparencia */
    background-color: rgba(0, 0, 0, 0.7);
    /* Esto hace que la descripción cubra todo el ancho de la imagen */
    /*width: 100%; 
    /* Esto hace que la descripción se posicione en la parte inferior de la imagen */
    /*position: absolute;*/
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-caption p {
    font-family: 'Oswald', sans-serif;
    font-size: 28px; /* Tamaño del texto */
    color: white; /* Color del texto */
    text-align: center;
    padding: 10px;
}

/*------------------------------------------------------------- 
CARD
--------------------------------------------------------------*/
.sup {
    margin-top: 20px;
}

.card {
    background-color: #f8f9fa;
    border: none;
    border-radius: 10px;
    /*box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);*/
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    /*transition: 0.3s;*/
    transition: box-shadow 0.3s ease;
}

.card:hover {
    /*box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);*/
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.8);
}

.card-body {
    padding: 20px;
}

.card-title {
    padding: 10px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.card-text {
    color: blue;
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.card-img-top {
    /* Ajusta este valor según tus necesidades */
    width: 100%;
    /* Esto hace que la imagen se ajuste al tamaño especificado, manteniendo su aspecto */
    /*object-fit: contain; */
    object-fit: cover;
}

/*------------------------------------------------------------- 
IMG
--------------------------------------------------------------*/
.img-zoom {
    width: 100%;
    transition: transform 0.2s;
}

.img-zoom:hover {
    transform: scale(1.5);
}

.zoom-container {
    overflow: hidden;
}

/*------------------------------------------------------------- 
PLANES
--------------------------------------------------------------*/
table {
    width: 100%;
    font-family: Arial, sans-serif;
    border-collapse: collapse;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    /* Sombra estilo card */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

table button {
    border-radius: 10px;
    border: none;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

/*  
    Una pseudo-clase que selecciona los elementos hijos que cumplen con la condición especificada, 
    en este caso, selecciona las filas pares (2ª, 4ª, 6ª, etc.) 
    Se usa "even" para filas pares y "odd" para filas impares 
*/
tr:nth-child(even) {
    background-color: #f2f2f2;
}

/*------------------------------------------------------------- 
VENTANAS MODALES
--------------------------------------------------------------*/
.modal-body p {
    /* Esto establece un interlineado de 1.5 veces el tamaño de fuente actual */
    line-height: 1.5;
}

.modal-header,
.modal-body {
    margin-bottom: 0;
    padding-bottom: 0;
}

h5 {
    /* Aplica negrita 
    font-weight: bold; */
    /* Aplica subrayado */
    text-decoration: underline;
}

/*------------------------------------------------------------- 
FOOTER
--------------------------------------------------------------*/
footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: white;
    margin-top: 20px;
}

footer::after {
    content: '';
    background-color: #444444;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

#contact-info {
    text-align: right;
}
