@font-face {
    font-family: 'Elza';
    src: url('../Elza-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Elza';
    src: url('../Elza-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Elza';
    src: url('../Elza-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'Elza';
    src: url('../Elza-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

body {
    font-family: 'Elza', sans-serif;
}

html.dark body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    background-color: #262626; /* Fallback dark color */
    min-height: 100vh;
    width: 100vw;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    html.dark body {
        background-position: center top;
        background-attachment: scroll;
    }
}

/* Overlay for better content readability in dark mode */
html.dark body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}