* {
    box-sizing: border-box;
}

header {
    background: url("../img/Fondoindex.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    height: 20vh;
    padding: 60px 700;
    text-align: center;
    background-repeat: no-repeat;
}


body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: url("../img/SegundoFondo.jpg") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    box-sizing: border-box;
}

main {
    width: 85%;
    margin: 40px auto;
    background: rgba(16, 9, 225, 0.9);
    padding: 40px;
    border-radius: 10px;
    color: white;
    line-height: 1.8;
    letter-spacing: 0;
}

main section h2 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
}

header h1 {
    text-align: center;
    font-size: 60px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;

}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    border-bottom: 4px solid #f1e8e8;
    padding-bottom: 20px;
    margin-bottom: 50px;
}

nav li {
    display: inline-block;
    margin: 0 70px;
}

nav a {
    text-decoration: none;
    color: #555;
}

nav h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.submenu {
    list-style: none;
    padding-left: 1px;
}

.submenu li {
    display: flex;
    border-radius: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.submenu li:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}


.submenu a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: bold;
    transition: 0.3s;
}

.submenu a:hover {
    color: #a7b5c2;
}


.descripcion {
    color: #cccccc;
    font-size: 14px;
    text-align: justify;
    line-height: 1.6;
    letter-spacing: 0;
}

footer {
    margin-top: 50px;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9rem;
}

footer p {
    margin: 5px 0;
    letter-spacing: 0.5px;
}