* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    --red: #B31942;
    --white: #FFFFFF;
    --blue: #0A3161;
    --black: #111111;

    --serif: 'Crimson Text', serif;
    --sans: 'Archivo', sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background-color: var(--red);
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    font-size: 16px;
    font-family: var(--sans);
    color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.banner-collapsed {
    background-color: var(--black);
}

.startup-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--red);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--serif);
}

.startup-banner h1 {
    font-size: clamp(2rem, 8vw, 10rem);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    transition: font-size 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.startup-banner.header-mode {
    height: 8vh;
}

.startup-banner.header-mode h1 {
    font-size: 2rem;
}

.sequence-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 100px;
    opacity: 0;
}

.sequence-container.active {
    opacity: 1;
}

.sequence-item {
    display: none;
    opacity: 0;
    text-align: center;
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--white);
    padding: 1.2rem;
    max-width: 90vw;
    transition: opacity 0.3s ease-in-out;
}

.sequence-item.active {
    display: block;
    opacity: 1;
}

/* Responsive font sizing */
@media screen and (max-width: 768px) {

    .startup-banner.header-mode {
        height: 7vh;
    }

    .sequence-item {
        font-size: 2.5rem;
    }
    
    .startup-banner.header-mode h1 {
        font-size: 1.5rem;
    }
    
    .sequence-container {
        padding-top: 80px;
    }
}