* {
    box-sizing: border-box;
}

:root {
    --color-principal: #6D5C98;
    --color-fondo: #FFFFFF;
    --color-texto: #333;
}

html, 
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--color-fondo);
}

body {
    display: flex;
    flex-direction: column;
}

.contenedor {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    animation: aparecer 1s ease-in-out;
}

h1 {
    font-size: 3em;
    color: var(--color-principal);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--color-texto);
    max-width: 600px;
}

.imagen {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.imagen:hover {
    transform: scale(1.05);
}

footer {
    background-color: var(--color-principal);
    color: var(--color-fondo);
    padding: 15px;
    text-align: center;
    font-size: 0.9em;
}

@keyframes aparecer {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0px); }
}