:root {
    --font-family: 'EB Garamond', serif;
    --header-font-family: 'Bebas Neue', sans-serif;
    --font-size: 15pt;
    --text-color: #222;
    --link-color: blue;
    --background-color: white;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--link-color);
}

header {
    font-family: var(--header-font-family);
    justify-content: center;
    align-items: center;
    display: flex;
    padding-top: 2em;
    padding-bottom: 2em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font-family);
}

header a {
    text-decoration: none;
    color: var(--text-color);
}

header h1 {
    font-size: 2.6em;
    text-align: center;
    line-height: 0.8;
    margin: 0 16pt;
}

header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

header nav ul li {
    display: inline;
    margin-right: -4pt;
}

header nav ul li a {
    display: block;
    text-align: center;
    padding: 4pt 16pt;
    border-right: 1pt solid var(--text-color);
}

header nav ul li a.current {
    text-decoration: underline;
    text-decoration-color: var(--link-color);
    text-decoration-thickness: 2pt;
}

header nav ul li:last-child a {
    border-right: none;
}

main {
    display: flex;
    flex-flow: column;
    align-items: center;
    flex: 1 0 auto;
}

main article {
    max-width: 700pt;
    width: 99%;
    display: flex;
    flex-direction: row;
}

main article section p {
    text-align: left;
    margin-bottom: 0;
}

main article figure figcaption {
    font-size: 0.9em;
    text-align: center;
}

main #halina {
    flex-direction: column;
}

main #halina > .intro {
    text-align: left;
    margin-bottom: 1em;
}

main #halina > .columns {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

main #halina > .columns {
    align-items: flex-start;
}

main #halina > .columns > figure {
    flex: 1;
    max-width: 350pt;
    margin: 0;
    padding-top: 1.4em;
}

main #halina > .columns > figure img {
    width: 100%;
    height: auto;
}

main #halina > .columns > section {
    flex: 2;
}

main #workshop {
    flex-direction: column;
}

main #workshop section {
    column-count: 2;
}

main #workshop section p:first-child {
    margin-top: 0;
}

main #workshop > figure img {
    max-width: 100%;
}

main #experience-actress {
    flex-direction: column;
}

main #experience-actress figure img {
    display: block;
    max-width: 580pt;
    margin: 5pt auto;
}

main #experience-dramaturge {
    flex-direction: column;
}

main figure table td {
    vertical-align: top;
    padding: 0 1pt 1pt;
}

main #experience-dramaturge figure img {
    display: block;
    max-width: 310pt;
}

main #experience-dramaturge figure figcaption {
    clear: both;
}

main #experience-coach {
    flex-direction: column;
}

main #experience-coach figure img {
    display: block;
    max-width: 580pt;
    margin: 5pt auto;
}

main #blog {
    flex-direction: column;
}

main #blog figure img {
    display: block;
    margin: 10pt auto;
}

main #course-sep-2024 {
    flex-direction: column;
}

main #course-sep-2024 figure img {
    display: block;
    max-width: 310pt;
}

main #logos {
    text-align: center;
}

main #logos img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 20pt;
    max-width: 100pt;
}

main #course-sep-2024 #register {
    text-align: center;
}

main #course-jan-2025 {
    flex-direction: column;
}

main #course-jan-2025 figure img {
    display: block;
    max-width: 100%;
}

main #blog > time {
    font-style: italic;
    text-decoration: underline;
}

footer {
    font-size: 0.8em;
    padding-top: 1em;
    text-align: center;
    background-color: var(--text-color);
    color: var(--background-color);
    margin-top: 2em;
    flex-shrink: 0;
}

footer nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0.5em 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

footer nav ul li {
    display: inline;
    margin-right: -4pt;
}

footer nav ul li a {
    display: block;
    text-align: center;
    font-size: var(--font-size);
    font-weight: bold;
    padding: 0 10pt;
    text-decoration: none;
    color: white;
    border-right: 1pt solid white;
}

footer nav ul li:last-child a {
    border-right: none;
}

figure.centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

article section figure {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

article section figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 815px) {
    header {
        flex-flow: column;
        padding-bottom: 10pt;
    }

    header h1 {
        margin-bottom: 20pt;
    }

    header nav ul {
        display: block;
        text-align: center;
    }

    header nav li {
        display: inline-block;
    }

    header nav ul li a {
        display: inline-block;
        border-right: none;
        width: 20%;
    }

    main article {
        flex-flow: column;
    }

    main #halina > .columns {
        flex-direction: column-reverse;
    }

    main article > figure {
        margin-left: 1em;
        margin-right: 1em;
        padding-top: initial;
    }

    main article > section {
        margin-left: 1em;
        margin-right: 1em;
    }

    main article section figure {
        flex-direction: column;
    }

    h1, h2 {
        text-align: center;
    }

    main #workshop section {
        column-count: 1;
    }

    main article figure table {
        display: block;
    }

    main article figure table tr {
        display: block;
    }

    main article figure table td {
        display: block;
    }

    main #experience-actress figure img {
        max-width: 100%;
    }

    main #experience-coach figure img {
        max-width: 100%;
    }

    main #experience-dramaturge figure img {
        max-width: 100%;
    }

    main #course-sep-2024 figure img {
        max-width: 100%;
    }
}
