body {
    font-family: "SF Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: #111;
    color: #eee;
    margin: 0;
    padding: 2rem 2rem 0 2rem;
}

main {
    max-width: 900px;
    margin: 0 auto;
}

header {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    background: -webkit-linear-gradient(45deg, #5393db, #a160df);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0;
}

.logo {
    height: 6rem;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    background: none;
    border: 2px solid #eee;
    color: #eee;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
}

.tab-button.active {
    background-color: #eee;
    color: #111;
}

.content {
    padding: 2rem 0;
}

.graph-container {
    display: none;
}

.graph-container.active {
    display: block;
}

.variant-selector, .variant-selector-placeholder {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    min-height: 2.5rem; /* Matches the height of the variant selector */
}

label {
    font-size: 1rem;
    margin-right: 0.5rem;
}

select {
    background: #111;
    border: 2px solid #eee;
    color: #eee;
    padding: 0.5rem;
    font-size: 1rem;
    width: auto;
    text-align: center;
}

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

.plotly-frame {
    width: 100%;
    height: 1000px;
    border: none;
    display: block;
    background-color: #111;
}

@media (max-width: 768px) {
    body {
        padding: 1rem 1rem 0 1rem;
    }

    h1 {
        font-size: 2rem;
        letter-spacing: 0.3rem;
    }

    .logo {
        height: 4rem;
    }

    .tab-button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .content {
        padding: 1rem 0;
    }

    .plotly-frame {
        height: 800px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
    }

    .logo {
        height: 3rem;
    }

    .tab-button {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        margin: 0.3rem;
    }

    .variant-selector, .variant-selector-placeholder {
        flex-direction: column;
        justify-content: center;
    }

    label {
        margin-bottom: 0.5rem;
    }

    .plotly-frame {
        height: 400px;
    }
}