html,
body {
    touch-action: manipulation;
}

/* Theme variables - change in one place */
:root {
    --bg: #f7f8fb;
    --card: #ffffff;
    --accent: #2b6ef6;
    /* easy to change */
    --muted: #6b7280;
    --radius: 12px;
    --max-width: 1100px;
}

body {
    background: var(--bg);
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

body::before {
    content: "";
    position: fixed;
    /* covers the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* behind all content */

    background-image: url(/img/bg_icon.png);
    background-position: center;
    /* centers image */
    background-repeat: no-repeat;
    background-size: 400px;
    opacity: 0.25;
}

#captionToolbar button,
#videoControls button.frameFunction {
    background-color: #f4f4f4;
}


#credits {
    display: flex;
    align-items: stretch;
    /* make children match height */
    /* optional spacing */
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
}

.rot-270 {
    writing-mode: vertical-rl;
    /* rotate 270 degrees */
    text-orientation: mixed;
    background: #33d0c8;
    color: white;
    padding: 10px;
    border-radius: 10px 0 0 10px;
    display: flex;
    /* needed for align-items to work inside if needed */
    justify-content: center;
    align-items: center;
    margin-right: -1px;
}

#creditsText {
    background-color: #33d0c8;
    color: white;
    display: flex;
    /* center content vertically */
    justify-content: center;
    align-items: center;
    padding: 0px 10px;
    white-space: nowrap;
    /* prevent wrapping */
    flex-direction: column;
}

.container-narrow {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Header/brand */
.brand {
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--accent);
}

/* Hero */
.hero {
    padding: 64px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hero-left {
    flex: 1 1 480px;
}

.hero-right {
    flex: 0 0 420px;
    max-width: 420px;
}

.card-video {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(10, 20, 50, 0.08);
    background: var(--card);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.muted {
    color: var(--muted);
}

/* Features */
/*.features {
        gap: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 28px;
}*/

.feature {
    background: var(--card);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(10, 20, 50, 0.04);
    min-height: 120px;
}

/* CTA */
.cta-btn {
    background: var(--accent);
    color: white;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(43, 110, 246, 0.14);
    border: 0;
}

/* SEO content paragraphs */
.seo-block p {
    margin-bottom: 0.9rem;
    line-height: 1.55;
    color: #081126;
}

footer {
    margin-top: 48px;
    padding: 28px 16px;
    color: var(--muted);
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        padding: 32px 16px;
    }

    .hero-right {
        width: 100%;
        max-width: 100%;
    }
}

a {
    text-decoration: none;
}

.file {
    text-align: center;
    display: inline-block;
}

.file .imgContainer {
    width: 200px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
}

.file .thumbNail {
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
}

.biggerFont .btn {
    font-size: 35px;
    min-width: 50px;
}

.captiflow_logo {
    width: 300px;
}

@media (width <=768px) {
    .captiflow_logo {
        width: 256px;
    }

    body::before {
        background-size: 200px;
    }
}

@media (width <=440px) {
    .biggerFont .btn {
        font-size: 24px;
        min-width: 40px;
    }

    .captiflow_logo {
        width: 128px;
    }
}