html {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column; 
    height: 100%;
}

main {
    flex: 1;
}

body {
    margin: 0 auto;
    background-color: #1F1F1F;
    display: flex;
    max-width: 900px;
    padding: 0.5rem;
    flex-direction: column;
    height: 100%;
}

header img {
    display: block;
    max-width: 8rem;
    margin: 0;
    align-items: top;
}

header {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

h1 {
    margin-bottom: 2rem;
    letter-spacing: 2px;
    font-size: 3rem;
    line-height: 1.2;
    color: white;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 0rem;
}

h3 {
    color: #ffffff;
    margin: 0;
}

.material-icons {
    color: #ffffff;
    font-size: 40px;
}

section {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    border-radius: 20px;
    background-color: #121212;
    color: white;
    padding: 2rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

section:hover {
    background-color: #111111; /* Ligeramente más claro */
}

.seccion {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.seccion.visible {
    opacity: 1;
    transform: translateY(0);
}

a {
    text-decoration: none;
    color: #ffffff;
}

a:hover {
    color: #f3f3f3;
}

footer {
    margin-top: auto;
    width: 100%;
    margin-bottom: 1em;
}

footer p {
    color: white;
    text-align: center;
    margin-bottom: 1em;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    footer p {
        font-size: 1rem;
    }
}