* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;    
    text-align: center;
    background-color: #f4f7f6;
    position: relative;
}

body::before {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url('../images/logo.png'); 
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40%;

    opacity: 0.1; 

    z-index: -1;
}



.container {
    padding: 2rem;
    
    /* --- NOTA OPCIONAL --- */
    /* Si el logo hace que el texto sea difícil de leer,
       puedes descomentar estas líneas para añadir
       un fondo blanco semitransparente al contenedor: */
    
    /* background-color: rgba(255, 255, 255, 0.9); */
    /* border-radius: 10px; */
    /* padding: 3rem; */
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50; 
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.loader {
    border: 8px solid #e0e0e0; 
    border-top: 8px solid #3498db; 
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
    margin: 0 auto 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    p {
        font-size: 1rem;
    }
}