html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    touch-action: manipulation;
}

h1 {
    font-family: 'FONTSPRING DEMO - Blue Vinyl';
    font-weight: bold;
    font-style: normal;
}

h2 {
    font-size: 120%;
}

a {
    color: black;
}

a.permalink {
    opacity: 0.5;
}

.carousel {
    max-width: 800px;
}

.carousel-cell-with-caption {
    background-color: black;
    color: white;
}

.carousel-cell-with-caption p {
    padding-left: 1em;
}

p.date {
    margin-top: 30px;
    font-size: 85%;
    color: #353535
}

@media (width <=1100px) {
    body {
        margin: 0;
    }

    #header {
        width: 100%
    }

    #content {
        width: 100%;
    }

    .post {
        margin-left: auto;
        margin-right: auto;
        max-width: 800px;
    }

    .post-text,
    h1 {
        padding-left: 14px;
        padding-right: 14px;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .carousel {
        width: 100%;
        padding-bottom: 1em;
    }

    .carousel-cell img,
    .carousel-cell video {
        width: 100%;
    }

    h1 {
        font-size: 250%;
    }

    h2 {
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
    }

    p {
        font-size: 14px;
        line-height: 18px;
    }
}

@media (width > 1100px) {
    #header {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        /* Need z-index; otherwise, can't be clicked */
        z-index: 1;
    }

    h1 {
        font-size: 400%;
        padding-left: 0.45em;
        margin-top: 0.33em;
    }

    #content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%
    }

    .post {
        margin-lefT: auto;
        margin-right: auto;
    }
}

@media (width > 1100px) and (width <=1400px) {
    .post {
        width: 600px;
    }

    .carousel-cell img,
    .carousel-cell video {
        width: 600px;
        height: 450px;
    }
}

@media (width > 1400px) {
    .post {
        width: 800px;
    }

    .carousel-cell img,
    .carousel-cell video {
        width: 800px;
        height: 600px;
    }
}

@media (prefers-color-scheme: dark) {
    html {
        background-color: rgb(5 15 5);
        color: rgb(250 255 250);
    }

    .carousel-cell-with-caption {
        background-color: rgb(250 255 250);
        color: rgb(5 15 5);
    }

    p.date {
        color: rgb(250 255 250);
    }

    a {
        color: rgb(250 255 250);
    }
}

@font-face {
    font-family: 'FONTSPRING DEMO - Blue Vinyl';
    src: url('FONTSPRINGDEMO-BlueVinylBold.woff2') format('woff2'),
        url('FONTSPRINGDEMO-BlueVinylBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}