* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('images/bunny-cursor.svg') 16 16, auto;
}


body {
    font-family: Courier, 'Courier New', monospace;
    font-size: 1.2rem;
    background-color: black;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 60px 40px;
    margin-top: -5vh;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    color: white;
    font-weight: normal;
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.emblem {
    max-width: 200px;
    height: auto;
    transition: transform 0.1s ease-out;
}

.mobile-emblem {
    display: none;
}

.mobile-description {
    display: none;
}

.emblem-link {
    border-bottom: none;
}

.emblem-link:hover {
    border-bottom: none;
}

.text-logo {
    max-width: 200px;
    height: auto;
    margin-top: 1rem;
}

.description {
    color: white;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.6;
}

.address {
    color: white;
    text-align: center;
    margin-top: 1rem;
}

.submit {
    color: white;
    text-align: center;
    margin-top: 1rem;
    max-width: 400px;
}

a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
    transition: text-shadow 0.4s ease, border-color 0.4s ease;
}

a:hover {
    border-bottom-color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.3);
}

.header-links {
    position: absolute;
    top: 40px;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.header-links nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.logo {
    border-bottom: none;
}

.logo:hover {
    border-bottom: none;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.screenings-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 140px 20px 60px;
}


.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.screening-poster {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-top: 2rem;
}

.night-title {
    color: white;
    text-align: center;
    margin-top: 2rem;
    font-size: 2rem;
    font-weight: normal;
}

.night-date {
    color: white;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

.night-rsvp {
    text-align: center;
    margin-top: 0.8rem;
}

.films {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 700px;
    width: 100%;
}

@media (max-width: 768px) {
    .header-links {
        position: relative;
        top: auto;
        padding: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .header-links nav {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.3rem;
        font-size: 1rem;
    }

    .logo img {
        max-width: 80px;
    }

    .emblem {
        max-width: 120px;
    }

    .mobile-emblem {
        display: block;
        margin: 0 auto;
    }

    .mobile-description {
        display: block;
        color: white;
        text-align: center;
        margin-top: 0.5rem;
        line-height: 1.6;
    }

    .screenings-container {
        padding-top: 24px;
    }

    .films {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

.film {
    color: white;
    text-align: left;
    line-height: 1.6;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.film::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

.film > * {
    position: relative;
    z-index: 2;
}

.film-title {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.film-maker {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.film-description {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1rem;
    line-height: 1.6;
}

.credit {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    text-align: center;
    line-height: 1.6;
    padding: 2rem 1rem 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.screening-cards {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.screening-card {
    border-bottom: none;
    text-align: center;
}

.screening-card:hover {
    border-bottom: none;
}

.screening-card img {
    filter: brightness(0.7);
    transition: filter 0.5s ease;
}

.screening-card:hover img {
    filter: brightness(1);
}

.screening-card img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.screening-card-title {
    color: white;
    margin-top: 1rem;
    font-size: 1.3rem;
}

.screening-card-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

@media (max-width: 768px) {
    .screening-cards {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .screening-card img {
        max-width: 260px;
    }
}
