
/* Estilo general */

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* esto ayuda contra el scroll lateral */
}

#app {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.page {
    min-height: 100vh;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

section {
    width: 100%;
    padding: 2rem 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries */
@media (max-width: 768px) {
    section {
        padding: 2rem 1rem;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

