:root {
    --main: #3f485a;
    --primary: #2957c8;
    --bg: #fff;
    --max-desktop-w: 1080px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding: 0;
    margin: 0;
    font-family: "Inter", Helvetica, Arial, sans-serif;
    color: var(--main);
    line-height: 1.7;
}

/**
 * USEFUL CLASSES
 */

/* Hide text useful to screen-readers */
.sr-only {
    border: 0 !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.txt-primary {
    color: var(--primary);
}

.txt-center {
    text-align: center;
}


.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.pt-0.pt-0 {
    padding-top: 0;
}

.pt-5 {
    padding-top: 5rem;
}

/**
 * Layout
 */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-basis: 100%;
}

.container {
    max-width: var(--max-desktop-w);
    width: 100%;
    padding: 40px;
    margin: 0 auto;
}

.row {
    display: flex;
    gap: 56px;
}

[class^="col-"] {
    position: relative;
}

.col-4 {
    flex-basis: calc(100%/12*4);
}

.col-8 {
        flex-basis: calc(100%/12*8);
}

.vertical-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main p {
    margin: 2em 0;
}

/**
 * Components
 */
.h1-like {
    margin: 0.25em 0 1em 0;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.lp-pom-button {
    display: inline-block;
    padding: 8px 16px;
    border: 0;
    font-weight: 600;
    background: var(--primary);
    color: var(--bg);
    border-radius: 4px;
    text-decoration: none;
}

.lp-pom-button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* For the App Store or image-buttons */
.lp-pom-button:has(img) {
    display: inline-flex;
    padding: 0;
    background: none;
}

.embed-responsive-item {
    position: relative;
    display: flex;
    align-self: center;
    border: 0 none;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    box-shadow: 0 32px 40px -24px #102B71;
}

.foyer-decoration {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(calc(-50% - 8px));
}

.transcript {
    position: relative;
    padding: 8px;
    width: 100%;
    background: var(--bg);
    opacity: 0;
    transition: all .3s;
}

.transcript:focus,
.transcript:focus-within {
    opacity: 1;
}

footer {
    background: var(--primary);
    color: var(--bg);
    font-size: 0.75rem;
}

footer .container {
    display: flex;
    padding-block: 16px;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 820px) {
    main[class][class] {
        padding-top: 24px;
    }

    .h1-like {
        font-size: 1.8rem;
        margin: 0.5em 0;
    }

    .row {
        flex-direction: column
    }
}

@media (max-width: 1200px) and (min-width: 680px) {
    .foyer-decoration {
        left: -80px;
        transform: translateY(calc(-50% - 68px)) scale(0.8);
    }
}

@media (max-width: 680px) {
    .foyer-decoration {
        left: -80px;
        transform: translateY(calc(-50% - 16px)) scale(0.8);
    }
}

@media (max-width: 560px) {
    .foyer-decoration {
        left: -170px;
        transform: translateY(calc(-50% - 16px)) scale(0.6);
    }
}