@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-image: url('../../../CompanyPresskit/CompanyArt/new background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-primary);

    /* Layout for Scroll Masking */
    height: 100vh;
    overflow: hidden;
    /* Disable body scroll */
    display: flex;
    flex-direction: column;
}

main {
    /* Scrollable Area */
    flex: 1;
    overflow-y: auto;
    width: 100%;

    /* Fade Mask */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);

    /* Animation */
    animation: fadeIn 0.3s ease-in;
}

.page {
    transition: opacity 0.5s ease-in-out;
    min-height: 100%;
    /* Ensure page takes full height of scrollable area */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    /* Buffer for the top fade */
    padding-bottom: 2rem;
    /* Buffer for bottom fade */

    /* Centering constraint moved here */
    max-width: 1200px;
    margin: 0 auto;
}

/* General Headings */
h1 {
    color: var(--color-header);
    font-family: var(--font-heading);
    font-size: 2.5em;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
    text-shadow: 0px 0px 10px var(--shadow-color);
}