:root {
    --color-white: #FAFAFA;
    --color-dark-gray: #2C2B2B;
    --color-black: #151515;
    --color-radioactive-green: #02ff67;
    --color-lavender-sky: #a77aff;
}

body {
    margin: 0;
    padding: 1em 0;
    font-family: sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

section {
    display: flex;
    flex-flow: row wrap;
    background-color: white;
}

article {
    flex: 1 1 auto;
    width: 14em;
    margin: 0.2em;
    padding: 0.1em;
    display: flex;
    flex-direction: column;
    background-color: #e8e8e8;
    justify-content: space-between;
}
article * {
    padding: 0;
    margin: 0;
    hyphens: auto;
}
article.time {
    background: none;
    justify-content: center;
    width: 100% !important;
    width: -moz-available !important;
    width: -webkit-fill-available !important;
    width: fill-available !important;
}
article.time p {
    text-align: center;
    color: black;
    font-size: 200%;
    font-weight: bold;
}

.meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.meta .time {
    font-size: 80%;
    color: black;
}
.meta .duration {
    font-size: 80%;
    color: black;
}
.meta .room {
    text-align: right;
    font-size: 80%;
    color: black;
    border-radius: 0.1em;
    padding: 1px 2px;
}
.Saal_1 .room {
    background-color: #2faf8f;
    color: white;
}
.Saal_2 .room {
    background-color: #2fafaf;
    color: white;
}
.Saal_G .room {
    background-color: #2fafcf;
    color: white;
}
.Saal_6 .room {
    background-color: #2fafdf;
    color: white;
}
.Hall_C1 .room {
    background-color: #cf9f00;
    color: white;
}
.Hall_C2 .room {
    background-color: #af9f00;
    color: white;
}
.Hall_C3 .room {
    background-color: #8f9f00;
    color: white;
}
.Hall_C4 .room {
    background-color: #6f9f00;
    color: white;
}

h3 {
    font-size: 100%;
    font-weight: bold;
    color: #111;
    margin: 0;
}
h3 a {
    text-decoration: none;
    color: black;
}
h4 {
    font-size: 80%;
    font-weight: medium;
    font-style: italic;
    color: #333;
    margin: 0;
}
.logo {
    float: right;
    max-height: 4em;
    padding: 0.1em 0 0 0.2em;
}

.speakers {
    clear: right;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: baseline;
}
.speakers li {
    list-style-type: none;
    color: #888;
    font-size: 80%;
    margin: 0.5em 0.2em 0 0.2em;
    height: 1em;
    line-height: 1em;
}
.speakers a {
    text-decoration: none;
    color: #77a;
}
.speakers img {
    display: block;
    height: 3em;
}

article.expandable {
    cursor: pointer;
}
article .abstract {
    background-color: #eee;
    white-space: pre-wrap;
    overflow-y: hidden;
    transition: max-height 0.3s ease-in;
    font-size: 70%;
    padding: 2px 4px;
    max-height: 400px;
    overflow-y: auto;
    transition: max-height 0.7s ease-out;
}

nav.day-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    padding: 1em;
    margin: 1em 0;
    background-color: #f5f5f5;
}

nav.day-navigation a {
    padding: 0.5em 1em;
    background-color: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 0.25em;
    transition: background-color 0.2s, outline-offset 0.2s;
    border: 2px solid transparent;
    font-weight: 500;
}

nav.day-navigation a:hover {
    background-color: var(--color-dark-gray);
}

nav.day-navigation a:focus {
    outline: 3px solid var(--color-radioactive-green);
    outline-offset: 2px;
}

nav.day-navigation a.prev {
    margin-right: auto;
}

nav.day-navigation a.next {
    margin-left: auto;
}

nav.home-link {
    display: block;
    padding: 0.5em 1em;
    background-color: var(--color-dark-gray);
}

nav.home-link a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav.home-link a:hover {
    color: var(--color-radioactive-green);
}

nav.home-link a:focus {
    outline: 3px solid var(--color-radioactive-green);
    outline-offset: 2px;
}
