/* Global Styles */

body {
    font-family: "Ubuntu", sans-serif;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 15px;
    background: white;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.logo img {
    width: 120px;
    cursor: pointer;
}

.teaser {
    margin-bottom: 0px;
    line-height: 0.6;
    font-size: 22px;
    font-weight: 300;
    color: #1B163BDD
}

.teaser b {
    font-weight: 500;
}

/* Main Content */
main {
    border-top: 4px solid #ddd;
    border-bottom: 4px solid #444;
    overflow-y: auto;
    min-height: 0;
    background: linear-gradient(135deg, #D5DCF9, #E9F1F7);
    color: #1B163BDD;
    text-align: start;
}

.content-block {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    margin: auto;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    max-width: 1000px;
    cursor: pointer;
    background-color: rgba(0, 0, 0.2, 0.01);
}

.content-block-detailed {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    padding: 30px;
    margin: auto;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    max-width: 1000px;
    background-color: rgba(0, 0, 0.2, 0.01);
}

.content-block-detailed .video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
}

.content-block-detailed .video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content-block:hover {
    background-color: rgba(0, 0, 0.2, 0.05);
}

.text {
    flex: 1;
}

.download-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 2rem;
    row-gap: 0.5rem;
    flex-wrap: wrap;
    /* allows wrapping on small screens */
}


.text h1 {
    margin-bottom: 28px;
    font-size: 32px;
    line-height: 1.5;
}

.text h2 {
    margin-bottom: 2px;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
}

.download-text h2 {
    margin-bottom: 0px;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
}

.teaser b {
    font-weight: 500;
}


.text p {
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 2px;
    line-height: 1.5;

}

.text table {
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 2px;
}

.text .platforms {
    color: #1B163B88;
}

.content-block img {
    max-width: 100%;
    width: 760px;
}

.content-block-detailed img {
    max-width: 100%;
    width: 1000px;
}

footer {
    background: #222;
    color: white;
    width: 100%;
    text-align: center;
    font-weight: 300;
    margin-top: auto;
}

.footer-content .legal {
    margin-top: .2rem;
    font-size: .75rem;
    opacity: .5;
    text-align: center;
}

.footer-content {
    margin: 6px 6px 0px 6px;
    padding: 0;
    width: 100%;
}

footer .pipe {
    margin: 0 7px;
}

footer a {
    color: inherit;
}

footer p {
    margin: 0.5rem 0;
    /* reduce vertical spacing between rows */
}

.footer-row {
    display: flex;
    justify-content: center;
    /* center the whole row */
    column-gap: 21px;
    row-gap: 0;
    /* spacing between the two groups */
    flex-wrap: wrap;
    /* stack on small screens */
    align-items: center;
}

.footer-row p {
    margin: 0.5rem 0;
}

.store-cta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.store-badge img {
    height: 56;
    width: auto;
    /* max-width: 180px; */
}

.social-links a {
    text-decoration: none;
    /* remove underline */
    color: inherit;
    display: inline-flex;
    align-items: center;
}

.social-links a:hover {
    text-decoration: underline;
    /* optional */
}

.social-links .icon {
    margin-left: 4px;
    width: 14px;
    /* adjust size */
    height: 14px;
}

/* Responsive Design */
@media (max-width: 1100px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 2px 0px;
        margin: 0px 0px;

    }
}

@media (max-width: 768px) {
    .content-block {
        justify-content: flex-start;
        margin-left: 10px;
        margin-right: 10px;
        max-width: 100%;
        padding: 20px;
    }

    .content-block-detailed {
        justify-content: flex-start;
        margin-left: 10px;
        margin-right: 10px;
        max-width: 100%;
        padding: 20px;
    }

    .content-block img {
        margin-top: 10px;
    }


    .store-cta {
        display: flex;
        column-gap: 2rem;
        row-gap: 0.5em;
        flex-wrap: wrap;
        margin-top: 0px;
        margin-bottom: 0px;
    }
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 400px) {
    .text h1 {
        margin-bottom: 28px;
        font-size: 28px;
        line-height: 1.5;
    }

    .text h2 {
        margin-bottom: 2px;
        font-size: 18px;
        font-weight: 300;
        line-height: 1.5;
    }

    .download-text h2 {
        margin-bottom: 0px;
        font-size: 22px;
        font-weight: 300;
        line-height: 1.5;
    }

    .text p {
        font-weight: 300;
        font-size: 14px;
        margin-bottom: 2px;

    }

    .text table {
        font-weight: 300;
        font-size: 14px;
        margin-bottom: 2px;
    }

    .teaser {
        margin-bottom: 0px;
        line-height: 1;
        font-size: 18px;
        font-weight: 300;
        color: #1B163BDD
    }

    footer {
        background: #222;
        color: white;
        width: 100%;
        text-align: center;
        font-size: 14px;

    }

    footer .pipe {
        margin: 0 5px;
    }


}