:root {
    --primary-bg-color: #fffeec;
    --dark-bg-color: #080a17;
    --header-text-color: #f7044f;
    --text-color: var(--dark-bg-color);
    --table-border-color: #c5c4c4;
    --mobile-breakpoint-width: 800px;
}

@font-face {
    font-family: "Asap Semibold";
    src: url("assets/fonts/asap-semibold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Asap Light";
    src: url("assets/fonts/asap-light.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html,
body {
    padding: 0;
    margin: 0;
    font-size: 17px;
    font-family: "Asap Light";
}
body {
    min-height: 100vh;
    background: var(--dark-bg-color);
}
.page {
    font-size: 1.1em;
    color: var(--primary-text-color);
}
h1,
h2,
h3,
h4,
h5 {
    font-family: "Asap Semibold";
    line-height: 1.3;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 3em;
    text-align: center;
    color: var(--header-text-color);
}

h1 {
    display: none;
}

h2 {
    font-size: 2.5rem;
}
img {
    max-width: 100%;
    width: auto;
    height: auto;
}
a,
a:link {
    color: inherit;
    filter: alpha(opacity=85);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
    opacity: 0.85;
}
a:hover,
a:focus,
a:active {
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
ul,
ol {
    display: inline-block;
    text-align: left;
    max-width: 50%;
}
.container {
    background-color: var(--primary-bg-color);
}
.container .separator-image {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--mobile-breakpoint-width);
}
.header-image {
    background-image: url("/assets/img/header.webp");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--dark-bg-color);
    height: 60vh;
    margin-left: auto;
    margin-right: auto;
}
.sticky-header {
    position: sticky;
    background-color: var(--dark-bg-color);
    top: 0;
    padding: 0.5em;
    z-index: 1000;
    text-align: center;
}

@media screen and (min-width: 801px) {
    .sticky-header {
        padding: 4em 0.5em;
        transition: padding 0.5s ease;
    }
    .sticky-header img {
        height: 10em;
        transition: height 0.5s ease;
    }
    .sticky-header.shrunk {
        padding: 0.5em;
    }
    .sticky-header.shrunk img {
        height: 4em;
    }
}

.content {
    max-width: var(--mobile-breakpoint-width);
    margin: 0 auto;
}

.header-text {
    font-size: 1.3rem;
    line-height: 1.7;
    padding-top: 1em;
}

.social-links {
    padding: 1em 0 7em 0;
    vertical-align: middle;
    text-align: center;
    background-color: var(--dark-bg-color);
}
.social-links a {
    padding: 0 0.3em;
    line-height: normal;
}

.events {
    background-color: var(--primary-bg-color);
    border-radius: 0.5em;
}

table.events {
    width: 100%;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

table.events tr td {
    padding: 0.5em;
    border-bottom: 1px solid var(--table-border-color);
}

table.events tr td.nowrap {
    white-space: nowrap;
}

table.events tr td a.ics {
    vertical-align: middle;
    margin-left: 0.5em;
}

table.events tr td a.ics img {
    width: 1em;
}

.events .event-listing {
    display: flex;
    padding: 1em;
    margin-bottom: 1em;
}

.feed-link {
    text-align: right;
    margin-top: 0;
    margin-bottom: 2em;
}

@media screen and (max-width: 800px) {
    html,
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 2em;
    }
    ul,
    ol {
        max-width: none;
    }
    .page {
        min-width: 300px;
    }
    .page .container .content {
        margin: 2em;
    }

    .sticky-header img {
        height: 2.5em;
    }

    .header-image {
        height: 30vh;
    }
}
