* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sans: WorkSans;
    --serif: SortsMillGoudy;
    --pad: 20px;
    --copy: 14px;
    --mid: 24px;
    --head: 36px;
    --border: 2px dotted black;
}

@font-face {
    font-family: WorkSans;
    src: url(WorkSans-Regular.woff2);
}
@font-face {
    font-family: SortsMillGoudy;
    src: url(SortsMillGoudy-Regular.woff2);
}

/* ### - A - ### */
article {
    position: fixed;
    top: 0;
    right: 0;
    transition: 0.2s;
    transform: translateX(100vw);
    display: none;
    height: 100vh;
    width: 100vw;
    z-index: 5;
}
#event article,
#ausstellung article {
    display: grid;
    transform: translateX(0vw);
}
.article-empty {
    display: none;
}
.article-content {
    background-color: var(--background);
    display: grid;
}
article.active .article-content {
    overflow-y: auto;
    transform: translateX(0vw);
    font-family: var(--serif);
    padding: var(--pad);
    grid-template-rows: max-content max-content 1fr;
}
.article-close {
    height: 20px;
    width: 20px;
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
}
article .data {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-column-gap: 5px;
    font-size: var(--copy);
}
article .data div {
    border-bottom: var(--border);
    height: var(--copy);
    min-width: 30px;
}
article .data span {
    text-align: right;
}
article .text {
    margin-top: var(--pad);
}
/* ### - B - ### */
body {
    background-color: var(--second);
}
/* ### - C - ### */
/* ### - D - ### */
/* ### - E - ### */
.event {
    border-top: var(--border);
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 10px;
    padding: var(--pad) 0;
}
.event-data {
    grid-column: 1/8;
    font-size: var(--copy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: var(--pad);
}
.event-short {
    grid-column: 1/8;
}
.event-data li {
    margin-bottom: 0;
    list-style-type: "→ ";
    margin-left: var(--copy);
}
.event-short a {
    cursor: pointer;
}
.event-day {
    display: flex;
    flex-direction: column;
}
/* ### - F - ### */
footer {
    grid-column: 2/13;
    padding: var(--pad);
    font-family: var(--sans);
    font-size: var(--copy);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer ul {
    list-style-type: none;
    display: flex;
    gap: 15px;
}
footer a {
    color: black;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
footer .socials img {
    height: 30px;
}
/* ### - G - ### */
/* ### - H - ### */
h1 {
    font-family: var(--serif);
    font-size: var(--head);
    line-height: calc(var(--head) + 6px);
    font-weight: normal;
    margin-bottom: var(--pad);
}
/* ### - I - ### */
.introtext {
    margin: 0 var(--pad);
    padding: var(--pad) 0;
    border-bottom: var(--border);
}
.introtext > * {
    grid-column: 1/-1;
}
.info {
    border-top: var(--border);
    padding: var(--pad) 0;
}
.info:last-of-type {
    border-bottom: var(--border);
}
.info h3 {
    font-size: var(--mid);
    font-weight: normal;
}
.info-pic img {
    width: 100%;
}
.info-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: var(--pad);
}
.info-logos img {
    grid-column: span 3;
    width: 100%;
    align-self: center;
}
/* ### - J - ### */
/* ### - K - ### */
/* ### - L - ### */
.logo-desktop {
    display: none;
}
/* ### - M - ### */
main {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}
/* ### - N - ### */
nav {
    grid-column: 1/2;
    grid-row: 1/15;
    height: 100vh;
    background-color: var(--prime);
    color: white;
    font-family: var(--sans);
    position: sticky;
    top: 0;
}
nav .logo {
    width: 40%;
}
nav ul {
    list-style-type: none;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: var(--pad);
    padding-top: var(--pad);
}
nav ul li {
    display: flex;
    justify-content: center;
}
nav ul a {
    writing-mode:tb-rl;/*IE*/
    writing-mode:vertical-lr;/* OPera/webkit*/
    writing-mode:sideways-lr;/* should be the one */    
    color: white;
    text-decoration: none;
}
nav ul a:hover {
    text-decoration: underline;
}
.nav-socials {
    display: none;
}
.nav-socials a {
    color: white;
    text-decoration: none;
}
.nav-socials a:hover {
    text-decoration: underline;
}
/* ### - O - ### */
/* ### - P - ### */
p {
    font-size: var(--copy);
    margin-bottom: var(--copy);
}
p:last-of-type {
    margin-bottom: 0;
}
p a {
    color: var(--prime);
    text-decoration: none;
    cursor: pointer;
}
p a:hover {
    text-decoration: underline;
}
.plus {
    width: 40px;
    height: 40px;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 4;
    transition: 0.2s;
}
/* ### - Q - ### */
/* ### - R - ### */
/* ### - S - ### */
section {
    font-family: var(--sans);
    grid-column: 2/13;
    padding: 0px var(--pad);
}
section .event:last-child {
    border-bottom: var(--border);
}
section h2 {
    font-family: var(--serif);
    font-size: var(--mid);
    line-height: calc(var(--mid) + 6px);
    font-weight: normal;
    background-color: var(--second);
    position: sticky;
    top: 0;
    padding-top: var(--pad);
    padding-bottom: var(--pad);
}
section h3 {
    font-size: var(--copy);
    margin-bottom: 10px;
}
section h3 a {
    color: black;
    text-decoration: none;
}
section h3 a:hover {
    text-decoration: underline;
}
/* ### - T - ### */
/* ### - U - ### */
/* ### - V - ### */
.verlage {
    display: flex;
    flex-direction: column;
}
.verlag {
    font-size: var(--mid);
    color: black;
    text-decoration: none;
    border-top: var(--border);
    padding: 10px 0px;
    cursor: pointer;
}
.verlag:first-of-type {
    margin-top: var(--pad);
}
.verlag:hover {
    text-decoration: underline;
}
.verlag:last-of-type {
    border-bottom: var(--border);
}
/* ### - W - ### */
/* ### - X - ### */
/* ### - Y - ### */
/* ### - Z - ### */

@media (min-width: 750px) {
    section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: var(--pad);
    }
    section h2 {
        grid-column: 1/2;
        padding: 0;
    }
    section .event {
        grid-column: 2/3;
    }
    article {
        grid-template-columns: 1fr 3fr;
    }
    .article-empty {
        display: block;
        cursor: pointer;
    }
    .article-content {
        grid-template-columns: repeat(6, 1fr);
    }
    article h1 {
        grid-column: 1/6;
    }
    article .data-container,
    article .text {
        grid-column: 2/7;
    }
    .event-day {
        flex-direction: column;
    }
}

@media (min-width: 1000px) {
    nav {
        grid-column: 1/4;
        grid-row: 1/100;
        position: sticky;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    nav ul {
        font-size: var(--mid);
        justify-content: start;
        padding: var(--pad);
        gap: 10px;
    }
    nav ul li {
        display: block;
        padding-bottom: 0;
    }
    nav ul a {
        writing-mode: horizontal-tb;
    }
    .logo-desktop {
        display: block;
        margin-bottom: var(--pad);
    }
    .logo-mobile {
        display: none;
    }
    .nav-socials {
        display: flex;
        padding: var(--pad);
        gap: 10px;
    }
    section {
        grid-column: 4/13;
        grid-template-columns: repeat(9, 1fr);
        grid-column-gap: var(--pad);
    }
    footer {
        grid-column: 9/13;
        padding-left: 0;
        justify-content: end;
    }
    footer .socials {
        display: none;
    }
    section h2 {
        grid-column: 1/5;
        align-self: flex-start;
        top: var(--pad);
        font-size: var(--head);
        line-height: calc(var(--head) + 6px);
    }
    section .event {
        grid-column: 5/10;
    }
    .verlage {
        grid-column: 5/10;
    }
    .plus {
        display: none;
    }
    article {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1350px) {
    :root {
        --pad: 30px;
        --copy: 18px;
        --mid: 36px;
        --head: 60px;
    }
    .info-pics img {
        grid-column: span 2;
    }
}

@media (min-width: 1650px) {
    :root {
        --mid: 40px;
        --head: 80px;
        --border: 3px dotted black;
    }
    nav {
        grid-column: 1/4;
    }
    section {
        grid-column: 4/13;
        grid-template-columns: repeat(10, 1fr);
    }
    section .event {
        grid-column: 6/11;
    }
    .verlage {
        grid-column: 6/11;
    }
}

@media (min-width: 2000px) {
}