/* Importation de la fonte Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

.open-sans {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

* {
    box-sizing: border-box;
}

p {
    font-weight: 400;
    color: #333333;

    &.smallTitle {
        font-weight: 600;
        font-style: italic;
    }
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    background: #fff;
}

header {
    &.standardSmall {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding-top: 0.5em;
        display: flex;
        justify-content: flex-end;
        align-items: center;

        img {
            display: block;
            margin-bottom: 0.25em;
        }

        p.smallTitle {
            font-size: 1.1rem;
            margin: 0 1em 0.25em 1em;
            font-weight: 600;
        }

        div.point {
            height: 6px;
            width: 6px;
            background-color: #0057ac;
            border-radius: 50%;
        }

        div.ligne {
            height: 2px;
            background-color: #0057ac;
            flex: 1;
        }
    }
}

/* Ordinateur : ratio 16:9, maximum 1280 x 720 */
.capsule-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /*min-height: 100vh;
    min-height: 100dvh;*/
}

.capsule-frame {
    display: block;
    width: min(100vw, 1280px, calc(100dvh * 16 / 9));
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    background: #fff;
    margin: 2em 1em 1em 1em;
}

/* Tablette et téléphone : iframe plein écran */
@media (max-width: 1024px) {
    .capsule-container {
        height: 100dvh;
        min-height: 0;
    }

    .capsule-frame {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
    }
}
