/* --- Variables CSS (Paleta de colores y ajustes) --- */
:root {
    --primary-color: rgb(91, 14, 179); /* morado brillante */
    --secondary-color:rgba(0, 0, 0, 0.966);
    --accent-color: #450a88; /* morado opaco */
    --text-color: #ffffff;
    --bg-color: #f4f7f6;
    --white: #ffffff;
    --transition-speed: 0.3s;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0%;
    border: 0%;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

header{
    height: 20%;
    width: 100%;
    background-color: rgb(51, 25, 100);

}
.header-content {
    /* Hace que los hijos (h1 y ul) se apilen verticalmente */
    display: flex;
    flex-direction: column;
    /* Ocupa toda la altura del padre (<header>) */
    height: 100%;
}
h1#logo{
    /* Ocupa el 50% de la altura del .header-content */
    height: 50%;
    /* Centra el texto vertical y horizontalmente dentro de su 50% */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0; /* Elimina márgenes por defecto del h1 */
    color: white;
    text-align: center;
    font-family: lucida;
    font-size: 2em;
}

a{
    text-decoration: none;
    color: white;
}

ul.nav-menu{
        /* Ocupa el 50% de la altura del .header-content */
    height: 50%;
    background-color: rgb(92, 32, 148);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}
/*Lista no ordenada*/
ul li{
    color: white;
    text-align: center;
    float: left;
    list-style-type: none;
    padding: 0%;
    margin : 0%;
}
/*Enlaces dentro de la lista*/
ul li a{
    display: block;
    color: white;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
}
ul li a:hover {
background-color: rgba(32, 16, 61, 0.288);
}
main{
background-image:linear-gradient(rgb(91, 14, 179), rgba(0, 0, 0, 0.966));
background-size: cover, 100%;
background-position: center;
height: 70%;
max-height: 2000px;
min-height: 820px;
width: 100%;
max-width: 2000px;
text-align: center;
align-self: auto;
}

.main-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
}

footer{
    display: flex;
    justify-content: center;
    color: white;
    height: 10%;
    background-color: rgb(51, 25, 100);
    text-align: center;
}