body {
    --navHeight: 120px;

    @media (max-width: 400px) {
        --navHeight: 80px;
    }

    background-color: var(--colour-background);
    color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
    max-width: 100vw;

    div.input {
        &:not(:first-of-type) {
            margin-top: 18px;
        }

        label {
            font-weight: bold;
            font-size: 1.1rem;
        }

        input,select,textarea {
            border-radius: 9px;
            padding: 3px;
            padding-left: 5px;
            padding-right: 5px;
            background-color: rgb(223, 223, 223);
        }
    }

    #stars {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1000;
    }
    
    div.wrapper {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 36px;
        padding-right: 36px;
    }

    button,.button {
        --colour-base: var(--colour-secondary);

        &.success {
            --colour-base: var(--colour-maya);
        }

        --colour-hover: color-mix(in srgb, var(--colour-base), white 20%);
        --colour-pressed: color-mix(in srgb, var(--colour-base), black 20%);

        display: block;

        padding-left: 9px;
        padding-right: 9px;
        padding-top: 5px;
        padding-bottom: 5px;
        border: none;
        font-size: 1.2rem;
        border-radius: 9px;
        background-color: var(--colour-base);
        color: white;
        font-family: 'Bubblegum Sans';
        width: fit-content;
        text-decoration: none;
        text-align: center;

        &:hover {
            background-color: var(--colour-hover);
            cursor: pointer;
        }

        &:active {
            background-color: var(--colour-pressed);
        }

        &[disabled] {
            cursor: not-allowed;
            background-color: var(--colour-pressed);
            opacity: 0.8;
        }
    }

    form {
        div.input {
            display: flex;
            flex-direction: column;
        }

        input {
            border: 0;
        }
    }

    div.header-image {
        --height: var(--image-height, 600px);
        background-image: var(--image-url);
        background-size: cover;
        background-position: center;

        filter: drop-shadow(var(--big-shadow));
        transform: rotate(2deg);
        z-index: 0;

        position: absolute;
        z-index: -1;
        top: -250px;
        left: -50px;
        right: -50px;
        height: var(--height);

        div.decorator {
            background-color: #2A292B;
            opacity: var(--decorator-opacity, 0.8);
            z-index: 2;
            height: var(--height);
        }
    }

    header {
        background-color: var(--colour-black);
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: var(--navHeight);
        z-index: 100;
        box-shadow: var(--big-shadow);
        z-index: 500;

        div.wrapper {
            height: var(--navHeight);
            display: flex;
            justify-content: space-between;

            a.brand {
                
                img {
                    height: 100%;
                    margin-left: auto;
                    margin-right: auto;
                }
            }

            nav {
                display: flex;
                gap: 72px;
                align-items: center;

                &.menu-only {
                    display: none;
                }

                a {
                    color: white;
                    font-family: 'Bangers';
                    font-size: 1.6rem;
                    text-decoration: none;

                    &:hover {
                        color: var(--colour-primary);
                    }
                }

                &:not(:has(*)) {
                    display: none;
                }
            }

            .icon {
                display: flex;
                flex-direction: column;
                align-items: center;
                cursor: pointer;

                svg {
                    fill: white;
                    width: 40px;
                    display: block;
                    margin-left: auto;
                    margin-right: auto;
                }

                &:hover {
                    svg {
                        fill: var(--colour-primary);
                    }
                }

                span {
                    font-size: 0.8rem;
                    display: block;
                    font-weight: bold;
                    font-family: 'Chivo';
                }

                &.cart {
                    position: relative;

                    div.counter {
                        position: absolute;
                        right: -15px;
                        top: 13px;

                        width: 25px;
                        height: 25px;
                        border-radius: 50%;
                        background-color: var(--colour-primary);
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        font-size: 1rem;
                        font-family: 'Bubblegum Sans';
                        padding-top: 3px;
                    }

                    &:hover {
                        div.counter {
                            color: white;
                            background-color: var(--colour-secondary);
                        }
                    }
                }
            }

            @media (max-width: 1100px) {
                justify-content: space-between;
                width: 100vw;
                padding-left: 36px;
                padding-right: 45px;

                nav {
                    &:not(.menu-only) > *:not(.cart) {
                        display: none;
                    }

                    &.menu-only {
                        display: flex;
                    }
                }

                .icon.cart {
                    div.counter {
                        font-size: 0.9rem;
                        width: 20px;
                        height: 20px;
                        top: 8px;
                    }
                }
            }
        }
    }

    &.header-decorated {
        header {
            &:not(.normal) {
                padding-top: 50px;
                background-color: transparent !important;
                box-shadow: none;
            }

            transition: 0.5s ease;
        }
    }

    footer {
        margin-top: 72px;
        background-color: var(--colour-black);
        padding: 72px;
        padding-bottom: 36px;
        box-shadow: var(--big-shadow);

        a {
            color: white;

            &:hover {
                color: var(--colour-primary);

            }
        }

        div.wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 36px;

            div.left {
                flex-grow: 1;
                color: white;

                .headline {
                    font-family: 'Bangers';
                    font-size: 2rem;
                    margin-top: 0;
                }

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

                    a {
                        color: white;
                        font-family: 'Bubblegum Sans';
                        text-decoration: none;

                        &:hover {
                            color: var(--colour-primary);
                            

                            svg {
                                fill: var(--colour-primary) !important;
                            }
                        }
                    }

                    nav {
                        display: flex;
                        flex-wrap: wrap;
                        text-align: left;
                        gap: 18px;
                        font-size: 1.2rem;    
                        margin: 36px 0;
                        align-items: center;

                        > div {
                            width: calc(50% - 18px);
                            display: flex;
                            flex-direction: column;
                            gap: 6px;

                            a {
                                width: fit-content;
                            }
                        }
                    }

                    div.social {
                        display: flex;
                        gap: 36px;
                        justify-content: center;

                        svg {
                            width: 50px;
                            fill: white;
                        }
                    }
                }
            }

            div.right {
                div.opening-times {
                    div.day {
                        display: flex;
                        justify-content: space-between;
                    }
                }

                img {
                    margin-top: 18px;
                    max-width: 300px;
                    width: 100%;
                    margin-left: auto;
                    margin-right: auto;
                    display: block;
                }
            }
        }

        p.tnet {
            text-align: center;
            color: white;

            span {
                display: block;
            }
        }

        @media (max-width: 768px) {
            padding: 36px;
            padding-bottom: 18px;

            div.wrapper {
                padding: 0;

                nav {
                    text-align: center !important;

                    > div {
                        width: 100% !important;
                    }
                }

                p.tnet {
                    span {
                        display: block;
                    }
                }
            }
        }
    }

    div.section {
        position: relative;
        margin-top: 100px;
        max-width: 2000px;
        margin-left: auto;
        margin-right: auto;

        div.dimmed {
            position: absolute;
            left: 0;
            right: 0;
            top: -100px;
            bottom: -100px;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: -10;
        }

        &.strip {
            background-color: var(--colour-black);
            filter: drop-shadow(var(--big-shadow));

            &::before,&::after {
                content: '';
                position: absolute;
                left: 0;
                right: 0;
                height: 70px;

                background-repeat: no-repeat;
                background-position: center;
            }

            &::before {
                background-image: url("../images/strip-top-MDEs2B6.png");
                top: -70px;
            }

            &::after {
                background-image: url("../images/strip-bottom-_75CSod.png");
                top: 100%;
            }
        }
    }

    main {
        padding-top: var(--navHeight) !important;
        overflow-x: hidden;
    }

    div.wrapper.instagram {
        div.head {
            h3 {
                font-size: 2rem;
            }

            p {
                font-family: 'Bubblegum Sans';
                font-size: 1.4rem;
            }
        }

        div.posts {
            margin-top: 18px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 36px;
            

            a {
                padding: 0;
                width: calc(25% - 36px);
                min-width: 150px;
                
                img {
                    aspect-ratio: 1/1;
                    object-fit: cover;
                }
            }
        }
    }

    div.wrapper.where-to-find-us {
        h2 {
            font-size: 3.8rem;
            text-align: center;
        }

        div.columns {
            display: flex;
            gap: 36px;
            flex-wrap: wrap;
            justify-content: space-evenly;
            align-items: center;
            padding-bottom: 36px;

            div.left {
                padding-top: 18px;
                width: 100%;
                max-width: 600px;

                iframe {
                    border-radius: 9px;
                    filter: drop-shadow(var(--big-shadow));
                }
            }
            
            div.right {
                img {
                    filter: drop-shadow(var(--big-shadow));
                    width: 100%;
                    max-width: 400px;
                }

                div.address {
                    margin-top: 72px;
                    text-align: center;
                    p {
                        &.name {
                            font-family: 'Bubblegum Sans';
                            font-size: 1.4rem;
                        }
                    }
                }
            }
        }
    }

    div.wrapper.session-search {
        img.monster.mobile {
            display: none;
        }

        @media (max-width: 876px) {
            position: relative;
            
            img.monster.mobile {
                display: block;
                position: absolute;
                right: -20px;
                bottom: 50px;
                transform: scaleX(-1);
                z-index: 100;
                width: 170px;
            }

            div.card {
                > img.monster {
                    display: none;
                }

                div.events {
                    padding-right: 100px;
                }
            }
        }

        div.card.tickets {
            --monsterWidth: 150px;
            filter: drop-shadow(var(--big-shadow));
    
            position: relative;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
    
            img.monster {
                width: var(--monsterWidth);
                position: absolute;
                left: -135px;
                top: 100px;
                transform: scaleX(-1);
            }

            div.header {
                h2,h3 {
                    font-size: 2.4rem;
                }
    
                p.subtitle {
                    font-size: 1.6rem;
                }
            }
    
            form {
                div.input {
                    margin-top: 18px;
    
                    input[type="date"] {
                        width: 180px;
                        padding-left: 9px;
                        padding-right: 9px;
                        padding-top: 5px;
                        padding-bottom: 5px;
    
                        border-radius: 9px;
                        background-color: var(--colour-secondary);
                        color: white;
                        font-family: 'Bubblegum Sans';
                    }

                    p.invite-only-pretext {
                        display: none;

                        &.active {
                            display: block;
                            padding-bottom: 8px;
                        }
                    }
    
                    div.events {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 18px;
                        
                        div.empty {
                            font-style: italic;
                        }

                        &.invite-only {
                            span.invite-only-text {
                                display: none;
                            }
                        }
    
                        a.event {
                            --pillColour: var(--colour-tertiary);

                            &.sen {
                                --pillColour: var(--colour-hallie);
                            }

                            &.send {
                                --pillColour: var(--colour-eve);
                            }

                            &.invite-only {
                                --pillColour: var(--colour-clara);

                                display: flex;
                                gap: 8px;
                                svg {
                                    fill: white;
                                    width: 12px;
                                }
                            }

                            &.custom {
                                --pillColour: var(--colour-phoebe);
                            }

                            text-decoration: none;
                            color: white;
                            font-family: 'Bubblegum Sans';
                            padding: 6px 12px;
                            border-radius: 9px;
                            background-color: color-mix(in srgb, var(--pillColour), black 20%);

                            &:hover {
                                background-color: color-mix(in srgb, var(--pillColour), white 20%);
                            }

                            &.past {
                                background-color: color-mix(in srgb, var(--pillColour), black 20%);
                                text-decoration: line-through;
                                opacity: 0.4;
                                cursor: not-allowed;
                            }
                        }
                    }
                }
            }
        }
    }

    div.monster-cards, div.section.faqs > div.wrapper {
        > h2 {
            font-size: 3.8rem;
            text-align: center;
        }

        div.cards {
            display: flex;
            flex-wrap: wrap;
            gap: 36px;
            justify-content: center;
            margin-top: 18px;

            div.card {
                max-width: 500px;
                width: 100%;
                position: relative;
                padding-left: 90px;
                
                display: flex;
                flex-direction: column;
                justify-content: center;
        
                img.monster {
                    position: absolute;
                    width: 100px;
        
                    &.clara {
                        top: calc(50% - 50px);
                        left: -17px;
                    }
        
                    &.maya {
                        top: calc(50% - 80px);
                        left: -23px;
                    }
        
                    &.phoebe {
                        top: calc(50% - 55px);
                        left: -20px;
                    }
        
                    &.hallie {
                        top: calc(50% - 60px);
                        left: -14px;
                    }
        
                    &.eve {
                        top: calc(50% - 65px);
                        left: -14px;
                    }
                }
        
                p {
                    margin-top: 18px;
                }
            }
        }
    }

    div.party-booking-options {
        display: flex;
        gap: 36px;
        justify-content: center;
        flex-wrap: wrap;

        div.card {
            max-width: 500px;
            width: 100%;
            position: relative;
            display: flex;
            flex-direction: column;

            h3 {
                font-size: 2.8rem;
                text-align: center;
            }

            p.subtitle {
                font-size: 1.6rem;
                text-align: center;
            }

            ul.benefits {
                list-style: none;
                padding-left: 0;
                margin: 18px;
                flex-grow: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;

                li {
                    padding-left: 0;
                    padding: 9px;
                    font-family: 'Bubblegum Sans';
                    font-size: 1.4rem;

                    sup {
                        display: block;
                    }
                    
                    &:not(:first-of-type) {
                        border-top: solid white 2px;
                    }
                }
            }

            a.button {
                margin-left: auto;
                margin-right: auto;
                height: 50px;
                padding-left: 20px;
                padding-right: 20px;
                display: flex;
                align-items: center;
            }

            img.monster {
                position: absolute;
                width: 160px;
            }

            div.cost {
                text-align: center;
                margin-bottom: 18px;

                p.cost {
                    font-weight: bold;
                    font-size: 1.6rem;
                }

                p.small {
                    font-size: 0.8rem;
                }
            }

            &.phoebe {
                img.monster {
                    top: 50px;
                    transform: scaleX(-1);
                    left: -133px;
                }
            }

            &.maya {
                img.monster {
                    top: -10px;
                    right: -127px;
                }
            }

            &.hallie {
                img.monster {
                    top: 10px;
                    left: -145px;
                    transform: scaleX(-1);
                }
            }

            &.clara {
                img.monster {
                    top: 10px;
                    right: -140px;
                }
            }
        }
    }
}

body.flipped {
    .header-image {
        transform: rotate(-2deg);
    }
}

div.tickets:not(.card) {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    justify-content: center !important;

    div.card.ticket {
        &.price-bottom {
            div.price {
                order: 3 !important;
            }

            div.spaces {
                order: 2 !important;
            }
        }

        div.content {
            position: relative;
            display: flex;
            flex-wrap: wrap;

            div:first {
                order: 1;
                flex-shrink: 0;
            }

            div.price {
                order: 2;
                flex-shrink: 0;
                flex-grow: 1;
                text-align: right;
                font-family: 'Bubblegum Sans';
                font-size: 1.6rem;
                text-align: right;
            }

            div.spaces {
                order: 3;
                display: flex;
                gap: 18px;
                margin-top: 9px;
                margin-bottom: 9px;
                width: 100%;
                flex-wrap: wrap;
                
                span.space {
                    background-color: var(--colour-silver);
                    border-radius: 3px;
                    padding-left: 9px;
                    padding-right: 9px;
                }
            }

            div.basket {
                order: 4;
                width: 100%;
            }
        }
    }
}   

.collapsible {
    &:not(.open) {
        >:not(.title) {
            display: none !important;
        }

        svg.close {
            display: block;
        }
    }

    &.open {
        svg.open {
            display: block;
        }
    }

    > div.title {
        display: flex;
        gap: 22px;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;

        svg {
            fill: white;
            width: 20px;
            display: none;
        }
    }
}