
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.contenido {
    background: linear-gradient(180deg, #e3f2fd, #f5f9ff);
    font-family: 'Segoe UI', Tahoma, sans-serif;
    color: #1a1a1a;
}


.encabezado {
    background: linear-gradient(90deg, #0d47a1, #1976d2);
    color: white;
    text-align: center;
    padding: 35px 20px;
}

.encabezado h1 {
    font-size: 36px;
}

.subtitulo {
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.9;
}

.navbar {
    margin-top: 25px;
}

.navbar ul {
    list-style: none;
}

.navbar li {
    display: inline-block;
    margin: 5px;
}

.navbar a {
    padding: 12px 18px;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    font-weight: bold;
}

.navbar a:hover {
    background-color: white;
    color: #0d47a1;
}


section {
    width: 90%;
    margin: 50px auto;
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.titulo {
    text-align: center;
    font-size: 28px;
    color: #0d47a1;
    margin-bottom: 30px;
}


.contenido-seccion {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}


.submenu {
    flex: 1;
    min-width: 280px;
    background: linear-gradient(180deg, #bbdefb, #e3f2fd);
    padding: 25px;
    border-radius: 15px;
}

.submenu li {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #0d47a1;
}

.submenu a {
    font-weight: bold;
    color: #0d47a1;
    text-decoration: none;
}

.submenu span {
    display: block;
    font-size: 14px;
    color: #333;
    margin-top: 3px;
}


.img-programacion img,
.img-estructura img,
.img-redes img,
.img-web img {
    width: 100px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s;
}

.img-programacion img:hover,
.img-estructura img:hover,
.img-redes img:hover,
.img-web img:hover {
    transform: scale(1.08);
}

.footer {
    background: linear-gradient(90deg, #0d47a1, #1565c0);
    color: white;
    margin-top: 60px;
    padding: 20px;
    text-align: center;
}