/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom fonts */

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

@font-face {
    font-family: "Header2";
    src: url("../assets/fonts/perry-gothic/PERRYGOT.TTF") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Body */

body {
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
    background: #CCCCCC;
    color: #222;
}

/* Header */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #222;
    color: white;
    padding: 1rem;
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

h1 {
    font-family: "Header", serif;
    font-size: 3rem;
}

h2 {
    font-family: "Header2", serif;
    font-size: 1.4rem;
}

@media (max-width: 600px) {
    header {
        padding: 0.75rem;
    }

    .header-content {
        gap: 1rem;
    }

    .header-logo {
        width: 40px;
        height: 40px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }
}

/* Main */

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    padding: 0rem 0;
}

#intro {
    max-width: 750px;
    margin: 2rem auto;
    text-align: center;
    padding-top: 1rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: #777;
}

/* Sub Headings  */

.subheading {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin: 3rem 0 3rem;
}

.subheading-divider {
    flex: 1;
    height: 2px;
    background: #222;
}

.subheading h2 {
    margin: 0;
}

/* Footer */

footer {
    text-align: center;
    padding: 2rem;
    color: #666;
}

footer a {
    color: #555;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Upcoming Shows */

#shows {
    max-width: 750px;
    margin: 3rem auto;
}

#show-calendar {
    text-align: left;
    background: #fdfdfd;
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;

    /* FullCalendar Classic theme */
    --fc-classic-button: #222;
    --fc-classic-button-border: #222;
    --fc-classic-button-strong: #444;
    --fc-classic-button-strong-border: #444;
    --fc-classic-button-foreground: white;

    --fc-classic-background: transparent;
    --fc-classic-border: transparent;

    --fc-classic-muted: #eee;
    --fc-classic-muted-foreground: #666;
}

/* Calendar navigation */

.shows-header-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;

    width: calc(100% + 1.6rem);
    margin-left: -0.8rem;
    margin-right: -0.8rem;
    margin-bottom: 0.7rem;
}

.shows-toolbar-section:first-child {
    justify-self: start;
}

.shows-toolbar-section:nth-child(2) {
    justify-self: center;
}

.shows-toolbar-section:last-child {
    justify-self: end;
}

.shows-calendar-title {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 24px !important;
    font-weight: normal !important;
    margin: 0 !important;
    white-space: nowrap;
}

.shows-calendar-button {
    box-shadow: none;
}

@media (max-width: 600px) {

    .shows-header-toolbar {
        width: calc(100% + 2rem);
        margin-left: -1rem;
        margin-right: -1rem;
        margin-bottom: 0.7rem;
    }

    .shows-calendar-title {
        font-size: 20px !important;
    }

    #show-calendar .fc-button {
        padding: 0.35rem 0.55rem;
    }
}

/* Next prev counters */

.shows-prev-button,
.shows-next-button {
    position: relative;
}

.shows-prev-button::after,
.shows-next-button::after {
    content: var(--shows-nav-count);
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);

    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 0.7rem;
    font-weight: normal;
    color: #666;
    white-space: nowrap;

    pointer-events: none;
}

/* Day headings */

.shows-day-header {
    background: transparent;
}

.shows-day-header-primary {
    display: flex;
    align-items: center;
    gap: 1rem;

    width: 100%;
    box-sizing: border-box;

    font-size: 1.1rem;
    font-weight: normal;

    padding: 0.5rem 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.shows-day-header-primary::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #aaa;
}

.shows-day-header-secondary {
    display: none;
}

/* Shows no events */

.shows-no-events {
    color: #666;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1rem;
    font-style: italic;
    text-align: center;
}

/* Event rows */

.shows-list-event {
    background: transparent;
}

.shows-list-event:hover {
    background: transparent;
}

.shows-event-inner {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1rem;
    display: flex;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    gap: 1.5rem;
}

.shows-event-time {
    flex: 0 0 75px;
    font-weight: normal;
}

.shows-event-content {
    flex: 1 1 auto;
    min-width: 0;
}

.shows-event-title {
    font-weight: normal;
}

.shows-event-location {
    margin-top: 0.1rem;
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
}

.shows-event-description {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

.shows-event-link {
    display: inline-block;
    margin-top: 0.4rem;
    color: #555;
    text-decoration: underline;
}

.shows-event-link:hover {
    color: #222;
}


/* Remove the decorative event marker */

.hide-show-event-dot {
    display: none;
}


@media (max-width: 600px) {

    .shows-event-inner {
        gap: 1rem;
    }

    .shows-event-time {
        flex-basis: 65px;
    }

}

/* Signup form */

#signup-form {
    max-width: 750px;
    margin: 3rem auto;
}

#signup-form .ml-form-embedWrapper.embedForm {
    max-width: 100% !important;
    width: 100% !important;
}