* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 15px;
}

body {
    margin: 0;
    background-color: #101010;
    background-image:
        radial-gradient(#252525 1px, transparent 1px);
    background-size: 5px 5px;

    color: #d6d6d6;

    font-family: "Courier Prime", monospace;
    font-size: 14px;
    line-height: 1.5;
}

a {
    color: #aaff00;
    text-decoration: none;
}

a:hover {
    color: #ff3333;
    text-decoration: underline;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* HEADER */

.site-header {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 15px;
}

.top-bar {
    justify-content: space-between;
    gap: 10px;

    padding: 8px 12px;

    background: #aaff00;
    color: black;
    font-style: italic;
    
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    
    text-align: center;
}

.intro {
    font-style: italic;
    color: #999;
}

.logo-area {
    padding: 35px 20px 25px;

    background: #080808;
    border: 2px solid #333;

    text-align: center;
}

.site-logo {
    display: block;

    width: 100%;
    max-width: 700px;
    height: auto;

    margin: 0 auto;

    /* Keeps the handmade/cut-out feeling */
    transform: rotate(-1deg);
}

.logo-area h1 {
    margin: 0;

    color: #f0f0f0;

    font-family: "Special Elite", monospace;
    font-size: clamp(35px, 7vw, 80px);
    line-height: 1.1;
    letter-spacing: -3px;

    text-shadow: 4px 4px 0 #660000;
}

.logo-area h1 span {
    color: #aaff00;
}

.tagline {
    margin: 15px 0 0;

    color: #ff3333;

    font-weight: bold;
    letter-spacing: 3px;
    overflow-wrap: anywhere;
}

/* NAVIGATION */

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;

    padding: 10px;

    background: #1c1c1c;
    border: 1px solid #444;
}

.main-nav a {
    padding: 9px 14px;

    color: #aaff00;

    font-size: 17px;
    font-weight: bold;
    text-align: center;

    border: 1px solid #444;
    background: #080808;
}

.main-nav a:hover {
    color: #000;
    background: #aaff00;
    text-decoration: none;
}


/* MAIN CONTENT LAYOUT */

.main-content {
    display: flex;
    flex-direction: column;
    gap: 18px;

    width: 100%;
    max-width: 1410px;

    margin: 0 auto;
    padding: 0 20px;

    min-width: 0;
}



/* PANELS */

.panel {
    margin-bottom: 18px;

    background: #171717;
    border: 1px solid #454545;

    box-shadow: 3px 3px 0 #050505;
}

.main-content .panel {
    margin-bottom: 0;
}

.panel h2 {
    margin: 0;
    padding: 10px 12px;

    background: #292929;
    border-bottom: 2px solid #aaff00;

    color: #aaff00;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;

    overflow-wrap: anywhere;
}

.panel-content {
    padding: 15px;
    overflow-wrap: anywhere;
}

.panel-content p:first-child {
    margin-top: 0;
}

.panel-content p:last-child {
    margin-bottom: 0;
}

.green-text {
    color: #aaff00;
    font-weight: bold;
}


.genre-list,
.rules-list {
    padding-left: 18px;
}

.genre-list li,
.rules-list li {
    margin-bottom: 6px;
}



/* BUTTON LINKS */

.button-link {
    display: block;

    margin-top: 12px;
    padding: 10px;

    background: #aaff00;
    color: #000;

    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.button-link:hover {
    background: #ff3333;
    color: #fff;
    text-decoration: none;
}


/* SECTION INTRO */

.section-intro {
    margin-top: 0;
    margin-bottom: 18px;

    color: #aaa;
    font-style: italic;
}


/* EVENT CARDS */

.event-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-card {
    display: grid;

    grid-template-columns: 65px 75px minmax(0, 1fr) auto;
    
    gap: 20px;
    align-items: center;

    padding: 12px;

    background: #0c0c0c;
    border: 1px solid #3a3a3a;
    border-left: 4px solid #aaff00;

    transition: border-color 0.2s;
}

.event-card:hover {
    border-left-color: #ff3333;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 100px;
min    padding: 5px;

    background: #252525;
    border: 1px solid #444;

    text-align: center;
}

.event-date span {
    color: #aaa;
    font-size: 15px;
    font-weight: bold;
}

.event-date strong {
    color: #aaff00;

    font-size: 32px;
    line-height: 1.1;
}


/* FLYER THUMBNAIL */

.event-flyer {
    display: block;

    height: 100px;

    overflow: hidden;

    background: #171717;
    border: 1px solid #444;

    cursor: zoom-in;
}

.event-flyer img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.2s, opacity 0.2s;
}

.event-flyer:hover img {
    transform: scale(1.06);
    opacity: 0.85;
}


/* =====================================
   FLYER VIEWER
   ===================================== */

.flyer-modal {
    position: fixed;

    width: fit-content;
    max-width: 95vw;
    max-height: 95vh;

    padding: 40px 15px 15px;

    background: #101010;
    color: #d6d6d6;

    border: 2px solid #aaff00;

    overflow: auto;
}

.flyer-modal::backdrop {
    background: rgba(0, 0, 0, 0.9);
}

.flyer-modal[open] {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;
}


/* FLYER IMAGE AND ARROWS */

.flyer-modal-stage {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 90vw;
    max-height: 78vh;
}

.flyer-modal img {
    display: block;

    max-width: 90vw;
    max-height: 78vh;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* PREVIOUS AND NEXT BUTTONS */

.flyer-nav {
    position: absolute;
    top: 50%;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 58px;

    padding: 0;

    transform: translateY(-50%);

    background: rgba(0, 0, 0, 0.50);
    border: 1px solid #aaff00;

    color: #aaff00;

    font-size: 24px;
    font-weight: bold;

    cursor: pointer;

    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.flyer-prev {
    left: 8px;
}

.flyer-next {
    right: 8px;
}

.flyer-nav:hover {
    background: #aaff00;
    border-color: #aaff00;

    color: #000;
}


/* CLOSE BUTTON */

.flyer-close {
    position: absolute;
    top: 5px;
    right: 8px;

    z-index: 3;

    width: 32px;
    height: 32px;

    background: #aaff00;
    border: none;

    color: #000;

    font-size: 24px;
    font-weight: bold;
    line-height: 1;

    cursor: pointer;
}

.flyer-close:hover {
    background: #ff3333;
    color: #fff;
}


/* VIEWER INSTRUCTIONS AND COUNTER */

.flyer-modal-hint {
    margin: 0;

    color: #999;

    font-size: 10px;
    text-align: center;
    line-height: 1.8;
}

.flyer-counter {
    color: #aaff00;
    font-weight: bold;
    letter-spacing: 1px;
}


/* SMALL SCREENS */

@media (max-width: 480px) {

    .flyer-modal {
        max-width: 98vw;
        padding: 40px 8px 12px;
    }

    .flyer-modal-stage {
        max-width: 94vw;
        max-height: 75vh;
    }

    .flyer-modal img {
        max-width: 94vw;
        max-height: 75vh;
    }

    .flyer-nav {
        width: 34px;
        height: 48px;

        font-size: 20px;
    }

    .flyer-prev {
        left: 4px;
    }

    .flyer-next {
        right: 4px;
    }

    .flyer-modal-hint {
        font-size: 9px;
    }

}


/* EVENT INFO */

.event-info {
    min-width: 0;
}

.event-info h3 {
    margin: 5px 0 8px;

    color: #f0f0f0;

    font-family: "Special Elite", monospace;
    font-size: 17px;
    line-height: 1.3;
    
    overflow-wrap: anywhere;
}

.event-info p {
    margin: 4px 0;
    font-size: 17px;
}

.event-category {
    color: #ff3333;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.event-genres {
    color: #aaff00;
    font-weight: bold;
}

.event-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    
    gap: 10px;
}

.event-status {
    padding: 4px 6px;

    background: #aaff00;
    color: #000;

    font-size: 9px;
    font-weight: bold;
    white-space: nowrap;
}

.event-action a {
    padding: 6px;

    border: 1px solid #555;

    font-size: 17px;
    text-align: center;
}


.event-action a:hover {
    color: #000;
    background: #aaff00;
    text-decoration: none;
}

.disclaimer {
    margin-top: 18px;

    color: #888;
    font-size: 11px;
}


/* FESTIVAL GRID */

.festival-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.festival-card {
    min-width: 0;

    background: #0b0b0b;
    border: 1px solid #444;
}

.festival-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 160px;
    padding: 12px;

    text-align: center;
    overflow-wrap: anywhere;
}

.festival-poster span {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 4px;
}

.festival-poster strong {
    font-family: "Special Elite", monospace;
    font-size: clamp(18px, 2.3vw, 30px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.festival-poster small {
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: 3px;
}

.poster-red {
    background: #8b0000;
    color: #fff;
    transform: none;
}

.poster-green {
    background: #aaff00;
    color: #000;
}

.poster-white {
    background: #ddd;
    color: #000;
}

.festival-info {
    padding: 12px;
}

.festival-info h3 {
    color: #aaff00;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.festival-info p {
    font-size: 12px;
}

.festival-meta {
    color: #888;
    font-size: 10px !important;
}

.festival-info a {
    font-size: 11px;
    font-weight: bold;
}


/* ANNOUNCEMENTS */

.announcement {
    padding: 15px;

    border-bottom: 1px dashed #555;
}

.announcement:first-child {
    padding-top: 0;
}

.announcement:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.announcement-date {
    color: #ff3333;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    padding-top: 15px;
}

.announcement h3 {
    margin: 7px 0;

    color: #eee;
    font-family: "Special Elite", monospace;
    font-size: 17px;
}

.announcement p {
    color: #bbb;
}

.announcement-tag {
    color: #aaff00;
    font-size: 11px;
    font-weight: bold;
}


/* SUBMISSION FORM */

#event-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    color: #999;
    font-size: 11px;
}

.submit-button {
    padding: 14px;

    background: #ff3333;
    border: none;

    color: #fff;

    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
}

.submit-button:hover {
    background: #aaff00;
    color: #000;
}

.form-message {
    padding: 12px;

    color: #aaff00;
    border: 1px solid #aaff00;

    overflow-wrap: anywhere;
}



/* FOOTER */

.site-footer {
    margin-top: 30px;
    padding: 25px 15px;

    background: #050505;
    border-top: 2px solid #aaff00;

    text-align: center;
}

.domain {
    color: #888;
    font-size: 22px;
    letter-spacing: 1px;
}

.update {
    font-size: 12px;
    color: grey;
}

.site-footer a {
    display: inline-block;
    margin-top: 10px;

    font-size: 14px;
    font-weight: bold;
}


/* =====================================
   TABLET LAYOUT
   ===================================== */


@media (max-width: 1050px) {

.festival-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


}


/* =====================================
   MOBILE LAYOUT
   ===================================== */

@media (max-width: 700px) {

    body {
        font-size: 13px;
    }

    .site-header {
        margin: 10px auto;
        padding: 0 10px;
    }

    .top-bar {
        flex-direction: column;
        gap: 4px;

        font-size: 10px;
    }

    .logo-area {
        padding: 25px 12px;
    }

    .logo-area h1 {
        letter-spacing: -2px;
    }

    .tagline {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-nav a {
        padding: 10px 5px;
        font-size: 11px;
    }


    .main-content {
    width: 100%;
    min-width: 0;
    padding: 0 10px;
    gap: 12px;
}



    .panel h2 {
        font-size: 12px;
    }

    .panel-content {
        padding: 12px;
    }

    .event-card {
        grid-template-columns:
            55px
            55px
            minmax(0, 1fr);

        gap: 8px;
        padding: 8px;
    }

    .event-date {
        min-height: 75px;
        padding: 3px;
    }

    .event-date strong {
        font-size: 25px;
    }

    .event-date span {
        font-size: 9px;
    }
    
    .event-flyer {
        width: 55px;
        height: 75px;
    }

    .event-info h3 {
        font-size: 15px;
    }
    
    .event-info p {
        font-size: 11px;
    }

    .event-action {
        grid-column: 3;

        flex-direction: row;
        align-items: center;
        justify-content: space-between;

        flex-wrap: wrap;
        gap: 8px;
    }

    .event-action a {
        font-size: 10px;
    }

    .festival-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .festival-poster {
        min-height: 125px;
    }

    .festival-poster strong {
        font-size: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

}


/* =====================================
   SMALL PHONES
   ===================================== */

@media (max-width: 380px) {


    .main-content {
    padding: 0 6px;
}


    .festival-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .festival-info {
        padding: 8px;
    }

    .festival-poster {
        min-height: 100px;
        padding: 6px;
    }

    .festival-poster strong {
        font-size: 16px;
    }

    .event-card {
        grid-template-columns:
            42px
            42px
            minmax(0, 1fr);

        gap: 6px;
        padding: 6px;
    }

    .event-date {
        min-height: 65px;
    }

    .event-date strong {
        font-size: 21px;
    }

    .event-flyer {
        width: 42px;
        height: 65px;
    }

    .event-info h3 {
        font-size: 13px;
    }

    .event-info p {
        font-size: 10px;
    }

    .event-action {
        grid-column: 3;
        flex-wrap: wrap;
    }

}

/* =====================================
   SOCIALS & CONTACT
   ===================================== */

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 10px;
    padding: 10px;

    background: #080808;
    border: 1px solid #444;

    color: #aaff00;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;

    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.social-link img {
    display: block;

    width: 20px;
    height: 20px;

    object-fit: contain;
    flex-shrink: 0;
}

.social-link:hover {
    background: #aaff00;
    border-color: #aaff00;

    color: #000;
    text-decoration: none;
}

.social-link:hover img {
    opacity: 0.7;
}










/* =====================================
   HOMEPAGE
   ===================================== */

.home-content {
    width: 100%;
    max-width: 1400px;
    margin: 35px auto;
    padding: 0 20px;
}


/* DESTINATION CARDS */

.home-destinations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-card {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;
    min-height: 300px;
    padding: 22px;

    background: #0b0b0b;
    border: 1px solid #454545;
    border-bottom: 4px solid #aaff00;

    color: #d6d6d6;

    transition:
        background 0.2s,
        border-color 0.2s,
        transform 0.2s;
}

.home-card:hover {
    background: #191919;
    border-color: #aaff00;
    border-bottom-color: #ff3333;

    color: #d6d6d6;
    text-decoration: none;

    transform: translateY(-3px);
}

.home-card-number {
    color: #777;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.home-card-content {
    margin-top: 35px;
}

.home-card h2 {
    margin: 0 0 15px;

    color: #aaff00;

    font-family: "Special Elite", monospace;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;

    overflow-wrap: anywhere;
}

.home-card h2 span {
    color: #ff3333;
}

.home-card-content > p:not(.home-card-label) {
    max-width: 400px;
    margin: 0 0 25px;

    color: #aaa;

    font-size: 13px;
    line-height: 1.8;
}

.home-card-cta {
    display: inline-block;

    padding: 9px 12px;

    background: #aaff00;
    border: 1px solid #aaff00;

    color: #000;

    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;

    transition:
        background 0.2s,
        color 0.2s;
}

.home-card:hover .home-card-cta {
    background: #ff3333;
    border-color: #ff3333;

    color: #fff;
}


/* TABLET */

@media (max-width: 800px) {

    .home-intro {
        padding: 40px 25px;
    }

    .home-card {
        min-height: 280px;
        padding: 18px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .home-content {
        margin: 20px auto;
        padding: 0 10px;
    }

    .home-intro {
        padding: 30px 18px;
        margin-bottom: 15px;
    }

    .home-intro h1 {
        font-size: clamp(34px, 9vw, 48px);
        letter-spacing: -1px;
    }

    .home-destinations {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .home-card {
        min-height: 250px;
        padding: 20px;
    }

    .home-card-content {
        margin-top: 25px;
    }

    .home-card h2 {
        font-size: 38px;
    }





