@charset "UTF-8";
* {
    box-sizing: border-box;
    hyphens: auto;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    --dark: #404E5C;
    --red: #CF1259; /* A31621 */
    --yellow: #E9B15D;
    --green: #00661A; /* 35FF69 */
    --blue: #155C66;
    --light: #E5E7E6;
}

body {
    margin: 0;
    padding: 0;
    border-top: 0.25em solid;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body>.container { flex-grow: 1; width: 100%; }

.container {
    max-width: 1440px;
    margin: 0 auto;
}
html .container main {
    max-width: 1024px;
    margin: 0 auto;
}
html.main-wide .container main {
    max-width: none;
}

header {
    display: flex;
    align-items: stretch;
    margin-bottom: 2rem;
}
header .spacer {
    flex-grow: 1;
}
header .left-side,
header .right-side {
    padding: 0.5rem 1rem;
}
header .brand {
    color: inherit;
    text-decoration: none;
    font-size: 1.75rem;
}
header .left-side,
header .right-side {
    display: flex;
    align-items: center;
}
header .right-side label {
    cursor: pointer;
    margin-right: 0.5rem;
}
header .right-side select {
    background-color: transparent;
    color: inherit;
    border: none;
    font: inherit;
    font-weight: bold;
    border-bottom:  2px solid rgba(0, 0, 0, 0.5);
    margin-bottom: -2px;
    cursor: pointer;
}


/*
 * Boxes (main design element)
 */

.box {
    border: 0.25em solid transparent;
    padding: 1rem;
    color: white;
    --detCol: purple;
    background-color: var(--detCol);
    position: relative;
}
.box.box-dark {
    --detCol: var(--dark);
}
.box.box-red {
    --detCol: var(--red);
}
.box.box-yellow {
    --detCol: var(--yellow);
    color: black;
}
.box.box-green {
    --detCol: var(--green);
}
.box.box-blue {
    --detCol: var(--blue);
}
.box.box-light {
    --detCol: var(--light);
    color: black;
}

.box.box-outline {
    color: inherit;
    background-color: transparent;
    border-color: var(--detCol);
}

.box.box-wrap {
    height: 350px;
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.box h1 {
    font-size: 3rem;
    font-weight: normal;
    margin: 0;
    text-align: center;
    hyphens: none;
}
.box h3 {
    margin: 0;
    margin-top: 4rem;
    font-size: 1.75rem;
    text-align: center;
}
.box p,
.box li {
    font-size: 1.15rem;
    width: 100%;
}
.box .box-btn {
    display: block;
    padding: 1rem;
    margin-top: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0.125rem;
    font-size: 1.15rem;
    text-decoration: none;
    text-align: center;
}
.box.box-yellow:not(.box-outline) .box-btn {
    background-color: rgba(0, 0, 0, 0.2);
}
.box .box-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
.box.box-yellow:not(.box-outline) .box-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
.box.box-wrap .box-btn {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem; right: 0.5rem;
}
.box .box-badge {
    position: absolute;
    right: 0.5rem; top: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-weight: bold;
    background-color: white;
    color: black;
    text-transform: lowercase;
    font-size: 0.9rem;
}
.box .box-badge::before {
    content: '#';
}
.box.box-outline .box-badge {
    background-color: var(--detCol);
    color: white;
}
.box.box-with-badge {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}
.box.box-wrap.box-with-badge {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

p {
    margin: 1rem 0;
    line-height: 1.5;
    font-size: 1.15rem;
}
p.lead {
    font-size: 1.5rem;
}
li, pre {
    line-height: 1.25;
    font-size: 1.15rem;
    margin: 0.25rem 0;
}

.box-grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}
.box-grid .box {
    margin-bottom: 10px;
    margin-right: 10px;
}

img {
    max-width: 100%;
    height: auto;
}
img.smolmeme {
    min-width: 160px;
    width: 33%;
    max-width: 320px;
}
figure {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
}
figure.floaty {
    float: right;
    max-width: 320px;
    margin: 1rem;
    padding: 1rem;
    border: 3px solid rgba(0, 0, 0, 0.1);
}
figure img {
    align-self: center;
}
figure figcaption {
    font-size: 0.9rem;
    line-height: 1.15;
    margin-top: 0.75rem;
}

.profile-grid {
    display: flex;
}
.profile-grid .profile-image {
    width: 30%;
    max-width: 350px;
    margin-right: 3rem;
}
.profile-grid .profile-image img {
    height: 500px;
    width: 350px;
    object-fit: cover;
}
.profile-grid .profile-text {
    flex-grow: 1;
}
.profile-grid .profile-text h1 {
    margin-top: 5rem;
    font-size: 4rem;
}
.profile-grid .profile-text p.lead {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

main h2 {
    margin: 0;
    margin-top: 3rem;
    font-size: 2rem;
}
main h2.section-header {
    font-size: 2.5rem;
}
main h3 {
    margin: 0;
    margin-top: 2rem;
    font-size: 1.65rem;
}
main h4 {
    margin: 0;
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

main a,
footer a {
    color: inherit;
    font-weight: bold;
    text-decoration: underline;
}

hr {
    border: none;
    margin: 0; padding: 0;
    color: inherit;
}
hr::after {
    content: '';
    display: block;
    height: 6px;
    width: 100%;
    margin: 2rem auto;
    background-color: currentColor;
    opacity: 0.6;
}


h2, h3, h4, .box-badge, footer, .brand, table th {
    font-family: 'Courier New', Courier, monospace;
}

footer {
    margin-top: 3rem;
    padding: 0.5rem;
    text-align: center;
}

p code, li code {
    font-size: 0.95rem;
    padding: 0.25rem;
}
pre {
    font-size: 1.1rem;
    padding: 0.5rem;
    overflow-y: auto;
}
p code, li code, pre {
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    hyphens: none;
}

table {
    margin: 1rem 0;
    width: 100%;
    border-collapse: collapse;
}
table th, table td {
    padding: 0.5rem;
    text-align: left;
    border: 2px solid;
}
table td:first-child {
    width: 150px;
}

blockquote {
    margin: 2rem 0;
    padding: 0.5rem 2rem;
    padding-top: 1rem;
    margin-left: 1rem;
    border-left: 0.5rem solid;
    font-style: italic;
    position: relative;
    hyphens: auto;
}
blockquote::before {
    content: '„';
    font-weight: bold;
    font-size: 3rem;
    line-height: 1.0;
    position: absolute;
    top: -2rem; left: 0.5rem;
}







@media all and (max-width: 1440px) {
    .container main {
        padding: 1rem;
    }
}

@media all and (max-width: 712px) {
    .box-grid .box {
        max-width: none;
        width: 100%;
        height: auto;
        padding-bottom: 4rem;
        text-align: left;
        align-items: stretch;
    }
    .box-grid .box.box-with-badge {
        padding-top: 2rem;
        padding-bottom: 4rem;
    }
    .box-grid .box h3 {
        margin-top: 0.5rem;
        text-align: left;
    }

    .profile-grid {
        flex-direction: column;
    }
    .profile-grid .profile-image {
        width: 100%;
        max-width: none;
    }
    .profile-grid .profile-image img {
        width: 100%;
        height: auto;
    }
    .profile-grid .profile-text h1 {
        margin-top: 2rem;
    }
}

/* * { outline: 3px solid red; } */

.mastodon-backlink { display: none; }


details {
    border: 5px solid transparent;
    margin: -5px;
    --fgc: black;
    --bgc: violet;
}

details p,
details img {
    font-size: 1em;
    margin-left: 2rem;
    margin-right: 2rem;
}

details[open] {
    border: 5px solid var(--bgc);
}

details summary {
    font-size: 1.15rem;
    cursor: pointer;
    background-color: var(--bgc);
    display: inline-block;
    padding: 0.35rem 0.5rem;
    color: var(--fgc);
    user-select: none;
}
details summary::before {
    content: '[+] ';
    font-size: 1rem;
    display: inline-block;
    width: 1.75rem;
    position: relative;
    top: -0.1rem;
    text-align: left;
    opacity: 0.6;
}
details[open] summary::before {
    content: '[–] ';
}

@media print {
    footer {
        display: none;
    }
}

main {
    counter-reset: paraquote;
}

main p {
    position: relative;
}

main p::before {
    content: counter(paraquote);
    counter-increment: paraquote;
    position: absolute;
    left: -4rem;
    font-style: normal;
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0.15;
    user-select: none;
}

blockquote p::before {
    left: -7.5rem;
}

.box p::before,
p.lead::before,
details p::before,
ul p::before,
ol p::before {
    content: none;
    counter-increment: none;
}

iframe {
    width: 100%;
    min-height: 750px;
    border: none;
    resize: vertical;
}