@font-face {
    font-family: 'ComprehensionSemiBold';
    src: url('/static/Comprehension-SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BertSans-Medium';
    src: url('/static/BertSans-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    /* this is a monospace font */
    font-family: 'Bedstead';
    src: url('/static/bedstead.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    color: #3f3f4f;
    background: #dadada;
    font-family: BertSans-Medium, sans-serif;
    font-size: 3rem;
    padding: 1rem;
}

code {
    font-family: Bedstead, monospace;
    padding: 0.1rem;
    background: rgba(0, 0, 0, 0.5);
}

pre code {
    border-radius: 0.5rem;
    display: block;
    padding: 1rem;
    overflow-x: scroll;
    font-size: 75%;
    scrollbar-width: none;
}

h1, h2, h3, h4, h5 {
    font-family: ComprehensionSemiBold, serif;
    margin: 1rem 0;
}

h1 {
    font-size: 150%;
    margin-top: 0;
}
h2 {
    font-size: 125%;
    border-bottom: 1px solid;
    margin-top: 2rem;
}
h3 {
    /*font-size: 100%;*/
    font-weight: bold;
}
h4 {
    /*font-size: 1.5rem;*/
    font-weight: bold;
}
h5 {
    /*font-size: 1rem;*/
    font-weight: bold;
}

hr {
    border: 0;
    border-bottom: 1px solid #dadada;
    margin-top: 2rem;
}

footer {
    font-size: 75%;
}

input#authentication-verify-howto {
    display: none;
}

input#authentication-verify-howto:checked ~ .modal,

input#authentication-verify-howto:checked ~ .modal-background {
	display: block;
}

label#authentication-verify-howto-label {
    cursor: pointer;
    text-decoration: underline;
}

div#authentication-verify-howto-modal {
    display: none;
    background: #dadada;
    color: #3f3f4f;
    min-width: 75vw;
}

div#authentication-verify-howto-modal-header {
    background: rgba(0, 0, 0, 0.5);
    display: block;
    padding: 1rem;
}

div#authentication-verify-howto-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1rem;
}

div#authentication-verify-howto-modal-header label {
    display: block;
    float: right;
    position: relative;
    top: -1rem;
    right: 1rem;
    font-size: 1.5rem;
    line-height: 1rem;
    cursor: pointer;
}

div#authentication-verify-howto-modal-content {
    padding: 0 1rem;
}

#authentication-verify-howto-modal-background {
	width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 9998;
}

#authentication-verify-howto-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: none;	
    width: 300px;
    height: 300px;
    background-color: #fff;
    box-sizing: border-box;
    z-index: 9999;
}

@media (prefers-color-scheme: dark) {
    a { color: #99f; }
    a:visited { color: #ae6eee; }
    body {
        color: #dadada;
        background: #3f3f4f;
    }
}

/* desktop, tablet, etc */
@media only screen and (min-width: 1024px) {
    body {
        font-size: 1.5rem;
    }
}

