:root {
    --light-blue: #e7edf3;
    --bg-2: white;
    --font-color: black;
    --link-font: "STIX Two Text", serif;
    --measure: 40em;
}

.stix-two-text-bold {
    font-family: "STIX Two Text", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.stix-two-text {
    font-family: "STIX Two Text", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

html {
    background: var(--light-blue);
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 150px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--measure);
    margin: 1.5em 2em;
    font-size: 2em;
}

nav ul {
    color: var(--font-color);
    font-family: var(--link-font);
    padding-left: 2em;
}

a {
    color: var(--font-color);
    font-family: var(--link-font);
}

section {
    margin: 2em;
    padding: 2em;
    padding-left: 5em;
    background-color: var(--bg-2);
    max-width: 1200px;
}

.short-embed {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9 / 16;
}

.short-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

h1 {
    font-size: 4em;
    padding-left: 1em;
}

h2 {
    font-size: 2.5em;
    white-space: nowrap;
}

p,
li {
    font-size: 1.4em;
    white-space: nowrap;
}

@media screen and (max-width:843px) {
    nav {
        flex-direction: column;
        font-size: 1.4em;
    }

    .logo {
        max-width: 130px;
    }

    nav ul {
        display: flex;
        justify-content: center;
        padding-left: 0px;
        margin-left: 0;
    }

    section {
        margin: 1em;
        padding: 1em;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.5em;
    }

    p,
    li {
        font-size: 0.8em;
    }

    .short-embed {
        max-width: 8em;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width:480px) {
    nav {
        flex-direction: column;
        font-size: 1.2em;
    }

    .logo {
        max-width: 100px;
    }

    nav ul {
        display: flex;
        justify-content: center;
        padding-left: 0px;
        margin-left: 0;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1em;
    }

    p,
    li {
        font-size: 0.5em;
    }

    section {
        margin: 0em;
        padding: 0.5em;
    }
}