 
 

/***convenios***/
.convenio-item {
    position: relative;
    padding: 45px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(19, 53, 123);
    transition: background 0.5s, transform 0.5s, box-shadow 0.5s;
}

.convenio-item:hover {
    background: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgb(19, 53, 123);
}

.convenio-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: background 0.5s, color 0.5s;
}

.convenio-item:hover .convenio-icon {
    background: #FFFFFF;
    color: var(--primary);
}

.convenio-item h5 {
    color: var(--bs-primary);
    transition: color 0.5s;
    text-align: center;
    font-size: 22px;
}

.convenio-item p {
    color: var(--bs-primary);
    transition: color 0.5s;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.convenio-item:hover h5,
.convenio-item:hover p {
    color: var(--bs-primary);
}

.convenio-item a.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*** convenios End***/










/* Estilos generales */
h1 {
    text-align: center;
    color: #333;
}

h2 {
    color: #555;
    margin-top: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table,
th,
td {
    border: 1px solid #13357b;
}

th,
td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #13357b;
    color: #fff;
}

tbody tr:nth-child(even) {
    background-color: #fff;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 600px) {
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
        margin-top: 20px;
    }
    
    th,
    td {
        padding: 8px;
        font-size: 14px;
    }

    table,
    th,
    td {
        font-size: 12px;
    }
}

/* Estilos para pantallas medianas */
@media (min-width: 601px) and (max-width: 1024px) {
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
        margin-top: 30px;
    }
    
    th,
    td {
        padding: 10px;
        font-size: 16px;
    }

    table,
    th,
    td {
        font-size: 14px;
    }
}

/* Estilos para pantallas grandes */
@media (min-width: 1025px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    th,
    td {
        padding: 12px;
        font-size: 18px;
    }
    
    table,
    th,
    td {
        font-size: 16px;
    }
}

