* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    min-height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom right, #706f6f 0%, #dbdbdb 35%, #dbdbdb 65%, #b0b5b3 100%);
    font-family: 'Roboto Condensed', sans-serif;
}
.topbar {
    width: 100%;
    height: 25px;
    background-color: #706f6f;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
.logo-header {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 99;
    transition: all 0.3s ease;
}

.logo-header.scrolled {
    top: 25px;
    left: 0;
    transform: translate(0, 0);
    padding: 1rem 2rem;
    align-items: flex-start;
}

.content {
    min-height: calc(100vh - 50px);
    margin-top: 25px;
}
.bottombar {
    width: 100%;
    height: 25px;
    background-color: #b0b5b3;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
}
h1 {
    font-size: 6rem;
    transition: all 0.3s ease;
}

.logo-header.scrolled h1 {
    font-size: 4rem;
}

.logo-header.scrolled .divider {
    width: 300px;
    margin: 0.5rem 0;
}

.logo-header.scrolled .payoff {
    font-size: 1.5rem;
}
.floatingstate {
    color: #ef27a6;
}
.io {
    color: #ff299c;
}
.divider {
    width: 450px;
    border: none;
    border-top: 2px solid #b0b5b3;
    margin: 1rem 0;
    transition: all 0.3s ease;
}
.payoff {
    color: #706f6f;
    font-size: 2.25rem;
    transition: all 0.3s ease;
}

.page-content {
    display: flex;
    justify-content: flex-start;
    padding: 2rem;
    padding-left: 50%;
    padding-bottom: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-content.visible {
    opacity: 1;
}

.text-container {
    width: 75%;
    color: #706f6f;
    line-height: 1.6;
}

.text-container p {
    margin-bottom: 1rem;
}

.divider-small {
    width: 100px;
    border: none;
    border-top: 1px solid #b0b5b3;
    margin: 1.5rem 0;
}

/* Mobile overrides */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .divider {
        width: 250px;
    }

    .payoff {
        font-size: 1.5rem;
    }

    .logo-header.scrolled h1 {
        font-size: 1.5rem;
    }

    .logo-header.scrolled .divider {
        width: 120px;
        margin: 0.3rem 0;
    }

    .logo-header.scrolled .payoff {
        font-size: 0.9rem;
    }

    .logo-header.scrolled {
        padding: 0.5rem 1rem;
    }

    .page-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .text-container {
        width: 100%;
    }
}

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

    .divider {
        width: 180px;
    }

    .payoff {
        font-size: 1.2rem;
    }

    .logo-header.scrolled h1 {
        font-size: 1.2rem;
    }

    .logo-header.scrolled .divider {
        width: 80px;
    }

    .logo-header.scrolled .payoff {
        font-size: 0.75rem;
    }
}
