body {
    margin: 0px auto;
    color: #ccc;
    background: #222;
    font-family: Verdana, sans-serif;
}

.background {
    background: url(background.webp) #222;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: auto calc(100% - 165px - 15pt);
}

tt {
    font-size: 150%;
}

a {
    text-decoration: none;
}

a:hover  {
    text-decoration: underline;
}

a:link {
    color: #5c99e6;
}

a:visited {
    color: #ac99e6;
}

#head {
    height: 165px;
    background: #16a;
    background: url(banner.webp) #002222;
    background-size: auto 50%;
    background-position:center;
    background-repeat: no-repeat;
}

#nav {
    background: #044;
    font-family: 'Exo 2', Verdana, sans-serif;
    font-size: 15pt;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1;
    filter: drop-shadow(0px 0px 3px black);
}

#nav div {
    font-size: 0;
}

#nav a {
    font-size: 15pt;
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: inline-block;
    padding: 0.2em 0.5em;
    transition: background .2s;
}

#nav a:hover {
    background: #066;
}

#nav .dropdown {
    position: relative;
    display: inline-block;
    padding: 0.2em 0.5em;
}

#nav .dropdown-content {
    font-size: 15pt;
    display: block;
    position: absolute;
    background: #044;
    padding: 0;
    z-index: 1;
    max-height: 200%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .2s ease 0.1s, padding .2s ease 0.0s, background .2s ease;
    min-width: 100%;
    padding-bottom: 0em;
}

#nav .dropdown-content * {
    transition: opacity 0.2s;
}

#nav .dropdown:hover .dropdown-content {
    display: block;
    background: #066;
    max-height: 200%;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    color: white;
}

#nav .dropdown .dropdown-content a {
    opacity: 0;
}

#nav .dropdown:hover .dropdown-content a {
    opacity: 1;
}

#nav .dropdown-content p {
    padding: 5px;
}

#nav .dropdown-content a {
    display: block;
    padding: 0.2em 0.5em;
}

#nav .dropdown-content a:hover {
    background: #088;
}

a.this-page {
    background: #033;
}

#nav .subtext {
    font-size: 10pt;
    font-weight: normal;
    position: relative;
    bottom: 2pt;
    color: #ccc;
}

#content {
    margin: 0px auto;
    padding: 1em 2em;
    padding-bottom: 2em;
    max-width: 57em;
}

#footer {
    margin-top: 0.2em;
    text-align: center;
    color: #333;
}

#footer a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

div.big-button {
    padding: 0.4em;
    background: #044;
    text-align: center;
    margin-bottom: 10px;
}

a.big-button {
    text-decoration: none;
    color: #ccc;
}

.big-button-label {
    font-size: 1.55em;
    font-weight: bold;
}

.sidebar {
    float: left;
    max-width: 35%;
    margin-right: 10px;
}

/* news */
.article {
    margin-bottom: 30px;
}

.a_header {
    border-bottom: 1px #444 solid;
    margin-bottom: 0.5em;
}

.a_title {
    font-size: 1.5em;
}

.a_header a:link, .a_header a:visited {
    text-decoration: none;
    color: #ccc;
}

.a_date {
    float: right;
}

.a_content {
    clear: both;
}

/* media */
.screen {
    float: left;
    width: 43.85964912280701754300%;
    margin: 3.07017543859649122850%;
    height: auto;
    transition: transform .2s;
    filter: drop-shadow(2px 4px 6px black);
}

.screen:hover {
    transform: scale(1.137);
}

.screen_caption {
    clear: both;
    padding-top: 2em;
}

hr {
    margin-top: 2em;
    margin-bottom: 2em;
    border: 1px solid;
    opacity: 0.5;
}

.feed {
    margin-left: 3px;
    padding: 0 0 0 19px;
    background: url("feed-icon-14x14.png") no-repeat 0 50%;
    float: right;
}

.codeblock {
    background: #333333;
    border: 1px solid #777777;
    overflow-x: scroll;
    white-space: nowrap;
    padding: 1em;
    margin-top: 0.5em;
    margin-bottom: 2em;
    font-family: monospace, monospace;
}

.embed-container {
    position: relative;
    max-width: 100%;
    padding-bottom: 75%;   /* 4:3 aspect ratio */
    height: 0;
    overflow: hidden;
}

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

.collapsible-toggle {
    display: none;
}

.collapsible-label {
    cursor: pointer;
    color: #2C92E7;
    user-select: none;
}

.collapsible-label:hover {
    text-decoration: underline;
}

.collapsible-label::after {
    content: ' ';
    display: inline-block;

    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid currentColor;

    vertical-align: middle;
    margin-left: .5rem;
    transform: translateY(-2px);

    transition: transform .2s ease-out;
}

.collapsible-content {
    display: block;
    max-height: 0px;
    overflow: hidden;
    transition: max-height .25s ease-in-out;
}

.collapsible-toggle:checked + .collapsible-label + .collapsible-content {
    max-height: 350px;
}

.collapsible-toggle:checked + .collapsible-label::after {
    transform: rotate(90deg) translateX(-3px);
}

.collapsible-toggle:checked + .collapsible-label {
    text-decoration: underline;
}

.splitter {
    display: table;
    width: 100%;
}

.splitter-pane {
    display: table-cell;
    width: 50%;
}

.splitter-pane-content {
    padding: 0 0.5em;
}

li {
    margin-block-end: 0.25em;
}

dd {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    margin-left: 0em;
    margin-top: 0.5em;
}

h1, h2, h3, h4, .a_header {
    font-family: 'Exo 2', Verdana, sans-serif;
}
