/*
Se mencionó que podiamos añadir 5 propiedades CSS mas, aparte de las que ya conociamos, por lo cual agregué las siguientes:

background-image: linear-gradient(#ebebeb, #80282d); -- para body
transition: transform 0.3s ease; -- para section
backdrop-filter: blur(3px); -- para section
transform: scale(1.01); -- para section:hover
position: sticky; -- para nav
*/

body {
    background-image: linear-gradient(#ebebeb, #80282d);
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
}

header {
    background-color: #53191c;
    color: white;
    text-align: center;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

hr{
    border: 0;
    height: 2px;
    background: #551417;
    margin: 20px 0;
}

nav {
    background-color: #80282d;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav a {
text-decoration: none;
padding: 5px 15px;
font-weight: bold;
transition: color 0.3s ease;
}

nav a:hover {
color: #551417;
}

nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li{
    display: inline;
    margin: 10px;
}

nav ul li a{
    color: white;
    text-decoration: none;
}

main{
    padding: 20px;
}

section{
    background: #e4e4e4;
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
    border-radius: 8px 50px;
    transition: transform 0.3s ease;
}
section:hover{
    transform: scale(1.01);
}

.programas1{
    background: #e4e4e4;
    margin-left: 0;
    padding: 20px;
    max-width: 1200px;
    border-radius: 8px 50px;
    box-shadow: 4px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.programas2{
    background: #e4e4e4;
    margin-right: 0;
    padding: 20px;
    max-width: 1200px;
    border-radius: 8px 50px;
    box-shadow: 4px 10px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.IMG1{
    width: 250px;
    border-radius: 10px;
    padding: 10px;
}

.IMG2{
    width: 250px;
    border-radius: 10px;
    padding: 10px;
}

.IMG3{
    width: 250px;
    border-radius: 10px;
    padding: 10px;
}

.IMG4{
    width: 250px;
    border-radius: 10px;
    padding: 10px;
}

.academico, .salud{
    flex: 1;
}

table{
    width: 100%;
    border-collapse: collapse;
}

table, th, td{
    border: 2px solid #551417;
    text-align: justify;
}

th{
    background-color: #80282d;
}

td{
    padding: 5px;
}

footer{
    background-color: #53191c;
    color: white;
    text-align: center;
    padding: 10px;
}

select, button{
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
}

button{
    background-color: #80282d;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover{
    background-color: #551417;
}