@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    line-height: 1.75em;
    background: #B2FFFF;
    color: black;
    display: flex;
    font-size: 100%;
}

* {
    box-sizing: border-box;
}

#container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.fa-arrow-up-right-from-square,
.fa-file-pdf {
    margin-left: 3px;
    vertical-align: middle;
}

nav a {
    color: black;
    font-weight: bold;
    text-shadow: 0px 0px 5px #00FF00;
    border: 2px solid transparent;
    text-transform: uppercase;
}

nav a:hover {
    color: black;
    border: 2px solid #00FF00;
    padding-left: 1px;
    padding-right: 1px;
    background-color: #00FF00;
    text-shadow: none;
    text-decoration: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    z-index: 15;
    width: auto;
}

.dropdown-content a {
    display: block;
    color: black;
    border-bottom: 2px solid black;
    padding-left: 1px;
    padding-right: 1px;
    background-color: #00FF00;
    text-shadow: none;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: black;
    border-bottom: 2px solid black;
    color: #00FF00;
    padding-left: 1px;
    padding-right: 1px;
    text-shadow: none;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .drop-btn {
    color: black;
    border: 2px solid #00FF00;
    padding-left: 1px;
    padding-right: 1px;
    background-color: #00FF00;
    text-shadow: none;
    text-decoration: none;
}

header {
    padding: 10px;
    width: 100%;
    height: auto;
    border: 2px solid black;
    background: linear-gradient(45deg, #1D2B64, #00FFFF, #FF00FF);
    color: #0D0221;
    position: sticky;
    top: 0;
    z-index: 10;
}

footer {
    padding: 10px;
    width: 100%;
    color: black;
    border-top: 2px dashed black;
    text-align: center;
}

footer a {
    color: black;
    font-weight: bold;
}

main {
    padding: 20px;
    color: black;
}

main a {
    color: black;
    font-weight: bold;
    text-shadow: 0px 0px 5px #00FF00;
    border: 2px solid transparent;
}

main a:hover {
    color: black;
    border: 2px solid #00FF00;
    padding-left: 1px;
    padding-right: 1px;
    background-color: #00FF00;
    text-shadow: none;
    text-decoration: none;
}

h1,
h2 {
    font-family: 'Press Start 2P', serif;
}

h1,
h2,
h3,
h4 {
    text-transform: uppercase;
    clear: both;
}

h1,
i+h2,
i+h3,
i+h4 {
    display: inline-block;
    vertical-align: middle;
}

i+h4 {
    margin-bottom: 0;
    margin-top: 0;
}

i:has(+h2) {
    font-size: 1.5em;
    padding-right: 10px;
    margin-top: 20px;
}

i:has(+h3) {
    font-size: 1.17em;
    padding-right: 10px;
}

i:has(+h4) {
    font-size: 1em;
    padding-right: 5px;
    margin-left: 10px;
}

h1 {
    color: #00FF00;
    -webkit-text-stroke: 0.6px black;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

h2 {
    margin-top: 20px;
}

h3 {
    text-shadow: 0px 0px 5px #FF00FF;
    background: black;
    color: #B2FFFF;
    margin-top: 20px;
    padding-left: 5px;
}

h4 {
    text-decoration: underline;
}

p {
    margin-top: 0;
    padding-top: 0;
}

img {
    max-width: 50%;
    float: right;
    padding: 10px 30px 30px 30px;
}

#img-glitch {
    max-width: 260px;
}

#img-zines {
    max-width: 260px;
}

#relo-sched {
    display: none;
}

table {
    width: auto;
    max-width: 100%;
    table-layout: fixed;
    margin-bottom: 20px;
}

table ul,
table li {
    margin-left: -10px;
}

td,
th {
    text-align: left;
    padding: 20px;
}

td {
    border: 2px solid black;
}

th {
    background: black;
    color: #B2FFFF;
    text-align: center;
}

.sched-header {
    text-transform: uppercase;
}

.top-row {
    position: sticky;
    top: 100px;
    z-index: 2;
}

.col1 {
    width: 16%;
}

.col2,
.col3,
.col4 {
    width: 28%;
}

.index-sched tbody tr:nth-child(odd) {
    background-color: #B2FFFF;
}

.index-sched tbody tr:nth-child(even) {
    background-color: #A6E8E8;
}

#spring-bk-row {
    background-image: url("images/seedling-solid.svg");
    background-repeat: space;
}

.blank-cell {
    background-color: black;
}

.glitch-container {
    font-family: 'Press Start 2P', sans-serif;
    text-transform: uppercase;
    vertical-align: middle;
    font-weight: 900;
    text-shadow:
        0.07em 0 0 #ff00ff,
        -0.04em -0.05em 0 #ffff00,
        0.03em 0.05em 0 #00ffff;
    animation: glitch 725ms infinite;
    max-width: 100%;
}

.draft {
    color: red;
}

.final {
    text-align: center;
}

.fest {
    padding-left: 2px;
    padding-right: 2px;
    font-size: large;
}

@keyframes glitch {
    0% {
        text-shadow:
            0.07em 0 0 #ff00ff,
            -0.04em -0.05em 0 #ffff00,
            0.03em 0.05em 0 #00ffff;
    }

    15% {
        text-shadow:
            0.07em 0 0 #ff00ff,
            -0.04em -0.05em 0 #ffff00,
            0.03em 0.05em 0 #00ffff;
    }

    16% {
        text-shadow:
            -0.07em -0.03em 0 #ff00ff,
            0.03em 0.045em 0 #ffff00,
            -0.07em -0.07em 0 #00ffff;
    }

    49% {
        text-shadow:
            -0.07em -0.03em 0 #ff00ff,
            0.03em 0.045em 0 #ffff00,
            -0.07em -0.07em 0 #00ffff;
    }

    50% {
        text-shadow:
            0.07em 0.045em 0 #ff00ff,
            0.04em 0 0 #ffff00,
            0 -0.05em 0 #00ffff;
    }

    99% {
        text-shadow:
            0.07em 0.045em 0 #ff00ff,
            0.04em 0 0 #ffff00,
            0 -0.05em 0 #00ffff;
    }

    100% {
        text-shadow:
            -0.07em 0 0 #ff00ff,
            -0.03em -0.05em 0 #ffff00,
            -0.05em -0.03em 0 #00ffff;
    }
}

@media only screen and (max-width: 840px) {
    .index-sched {
        display: block;
        width: 100%;
    }

    .index-sched thead {
        display: none;
    }

    .index-sched tbody {
        display: block;
    }

    .index-sched tr {
        display: block;
        margin-bottom: 20px;
        padding: 10px;
    }

    .index-sched th.sched-header {
        display: block;
        font-size: 1.2em;
        font-weight: bold;
        padding: 10px;
        text-align: center;
    }

    .index-sched td {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .index-sch td ul {
        line-height: 1.5em;
    }

    .index-sched td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
    }

    .index-sched tbody tr:nth-child(even) {
        background-color: #B2FFFF;
    }

    .index-sched th {
        word-break: normal;
    }

    body {
        font-size: calc(.5em + 1vw);
    }

    img {
        max-width: 40%;
    }
}

@media only screen and (max-width: 450px) {
    p.fest {
        white-space: nowrap;
        font-size: small;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.17em;
    }

    img {
        display: block;
        float: none;
        margin: 0 auto;
        max-width: 100%;
    }

    nav a {
        font-size: 1.25em;
    }
}

@media only screen and (max-width: 300px) {

    h1,
    h2,
    h3,
    pre,
    .index-sched td {
        word-break: break-all;
    }
}