/*
 * Responsive layout: sizes scale fluidly with the viewport via clamp(),
 * and touch-specific styling keys off (pointer: coarse) rather than
 * user-agent sniffing.
 */
@font-face {
    font-family: majalla;
    src: url('fonts/majalla.ttf');
    font-display: swap;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0;
    padding: 1rem 0;
    background: #000000 url(images/bg.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'majalla', serif;
    font-weight: bold;
    color: #ffffff;
}
.content {
    text-align: center;
    padding: 0 1rem;
}
.heading {
    font-size: clamp(2.4rem, 1.5rem + 4vw, 3.5rem);
    line-height: 80%;
    text-align: center;
}
.text {
    font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem);
    line-height: 1.1;
    width: min(100% - 2rem, 60rem);
    margin: 0 auto;
    text-align: center;
}
.text.narrow {
    width: min(100% - 2rem, 70rem);
}
.text img {
    max-width: 100%;
    height: auto;
}
.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25em 0.75em;
    font-size: clamp(1.1rem, 0.5rem + 2.5vw, 2.5rem);
    line-height: 1;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
}
.setlist {
    color: #ffffff;
    font-size: clamp(1.05rem, 0.8rem + 1vw, 1.5rem);
    font-weight: normal;
    line-height: 1;
    max-width: calc(100% - 1rem);
    margin: auto;
    text-align: left;
}
table.setlist {
    border-spacing: 0.5em 0.3em;
}
.tableheader {
    cursor: pointer;
}
a {
    text-decoration: none;
    color: #ffffff;
    padding: 0.25em 0.4em;
}
a:hover,
a:focus-visible {
    text-decoration: underline;
}
.videowrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.videowrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.calendar {
    display: block;
    width: min(100%, 800px);
    height: min(600px, 80vh);
    margin: 0 auto;
    border: solid 1px #777;
}

/* touch devices: bigger, outlined tap targets */
@media (pointer: coarse) {
    .navbar a,
    .text a {
        display: inline-block;
        min-height: 44px;
        padding: 0.6em 0.8em;
        border: thin solid #ffffff;
    }
    /* fixed backgrounds are janky / unsupported on mobile browsers */
    body {
        background-attachment: scroll;
    }
}
