body {
    background-color: var(--colourBackground);
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--defaultShadow);

    font-family: "Glacial Indifference";
    font-size: 1.2rem;

    &.scroll-lock {
        overflow: hidden;
        padding-right: 15px;
    }
    
    h1,h2,h3,h4,h5 {
        font-family:"Lazy Dog";
        font-weight: 500;
    }

    .bold {
        font-weight: bold;
    }

    .wrapper {
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;

        &:not(.no-gutter) {
            padding-left: 18px;
            padding-right: 18px;
        }

        @media screen and (max-width: 1300px) {
            max-width: 1100px;
        }
    }

    svg.spinner {
        animation: rotation-anim 1s infinite linear;
    
        &.small {
            width: 20px;
            height: 20px;
        }
    
        &.medium {
            width: 30px;
            height: 30px;
        }
    
        &.large {
            width: 50px;
            height: 50px;
        }
    }

    div.alert {
        box-shadow: var(--defaultShadow);
        background-color: #fff3cd;
        padding: 18px;
        font-size: 1rem;
        border-radius: 18px;
        margin-top: 18px;
    }

    .section {
        margin-top: 50px;
        margin-bottom: 125px;

        &.decorated {
            background-color: white;
            position: relative;
            padding-top: 30px;
            padding-bottom: 35px;
            margin-top: 100px;

            &:before, &:after {
                content: ' ';
                position: absolute;
                left: 0;
                right: 0;
                height: 100px;
                background-size: cover;
            }

            &:before {
                top: -75px;
                background-image: url("../images/section-decorator-top-42e4d56f6755f6a23b217bd3ebe181a8.png");
            }

            &:after {
                top: 100%;
                background-image: url("../images/section-decorator-bottom-3d8abf6248be1f65288d9ebbe075f17c.png");
            }

            &.no-bottom {
                &:after {
                    content: unset;
                }
            }
        }
    }

    div.button-row {
        display: flex;
        gap: 18px;

        &.center {
            justify-content: center;
        }
    }

    .card {
        border: 1px solid var(--colourPrimary);
        border-radius: 20px;
        box-shadow: var(--defaultShadow);
        background-color: white;

        &.active {
            border-color: var(--colourActive);  
        }
    }

    div.badge {
        background-color: var(--colourActive);
        width: fit-content;
        padding: 4px;
        padding-left: 12px;
        padding-right: 12px;
        /*box-shadow: var(--colourPrimary) 4px 4px, var(--defaultShadow);*/
        box-shadow: var(--gentleShadow);
        font-size: 1rem;
        border-radius: 3px;
        color: white;
        font-weight: bold;
    }

    header {
        --headerHeight: 80px;
        --brandWidth: 220px;

        @media (max-width: 600px) {
            --brandWidth: 200px;
        }

        &.mini {
            --headerHeight: 50px;
            --brandWidth: 140px;
            --brandHeight: 130px;

           a.back-to-site {
                display: flex;
                align-items: center;
                gap: 18px;
                position: absolute;
                left: 0;
                height: var(--headerHeight);
                line-height: var(--headerHeight);
                text-decoration: none;
                color: black;

                svg.arrow {
                    display: none;
                    height: 30px;

                    &.normal {
                        display: block;
                    }
                }

                &:hover {
                    font-weight: bold;
                    
                    svg.arrow {
                        display: none;

                        &.hover {
                            display: block;
                        }
                    }
                }
            }

            div.wrapper {
                position: relative;
                
                div.links {
                    display: none;
                }

                a.brand {
                    right: 0;
                }
            }
        }

        background-color: white;
        height: var(--headerHeight);
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: var(--defaultShadow);

        div.wrapper {
            padding-left: 36px;
            padding-right: 36px;
        }

        a.back-to-site {
            display: none;
        }

        a.brand {
            position: absolute;
            background-color: white;
            width: var(--brandWidth);
            height: var(--brandHeight, 180px);
            box-shadow: var(--defaultShadow);

            border-bottom-left-radius: 36px;
            border-bottom-right-radius: 36px;

            div.shadow-fix {
                width: calc(var(--brandWidth) + 20px);
                background-color: white;
                position: absolute;
                top: 0;
                left: -10px;
                right: -10px;
                height: var(--headerHeight);
                z-index: 1;
            }

            img {
                height: 99%;
                margin-left: auto;
                margin-right: auto;
                position: relative;
                z-index: 2;
                
                border-bottom-left-radius: 36px;
                border-bottom-right-radius: 36px;
                object-fit: contain;
                width: 80%;
            }
        }

        div.links {
            display: flex;
            height: var(--headerHeight);
            align-items: center;

            nav {
                --navItemGap: 40px;
                margin-left: calc(var(--brandWidth) + 18px);
                display: flex;
                gap: var(--navItemGap);
                flex: 1;
    
                a {
                    font-family: 'Lazy Dog';
                    font-size: 1.6rem;
                    text-decoration: none !important;
                    color: black !important;
                    height: var(--headerHeight);
                    line-height: var(--headerHeight);
                    width: 70px;
                    text-align: center;

                    &[href="#"] {
                        text-decoration: line-through !important;
                    }

                    &.active {
                        &.splodge-1 {
                            background-image: url("../images/nav/active-1-4b4dbaf884200d6a9d17cb11eb37613d.png");
                        }

                        &.splodge-2 {
                            background-image: url("../images/nav/active-2-35979b20979164e4b4328a70b7fa4cbf.png");
                        }

                        &.splodge-3 {
                            background-image: url("../images/nav/active-3-6b91ac59209b81c6467bdbca0702b465.png");
                        }

                        background-size: contain;
                        background-position: center center;
                        background-repeat: no-repeat;
                    }
                }
            }
    
            div.actions {
                display: flex;
                gap: 20px;

                &.mobile {
                    display: none;
                }

                a.icon {
                    display: flex;
                    flex-direction: column;
                    flex-wrap: nowrap;
                    position: relative;
                    align-items: center;
                    text-decoration: none;
                    color: black;

                    img {
                        width: 30px;
                        height: auto;
                    }

                    span.badge {
                        position: absolute;
                        top: -10px;
                        right: -10px;
                        font-size: 0.9rem;
                        background-color: var(--colourActive);
                        font-weight: bold;
                        color: white;

                        width: 22px;
                        height: 22px;
                        text-align: center;
                        border-radius: 50%;
                        padding-top: 2px;
                    }

                    span.label {
                        font-size: 0.9rem;
                    }
                }
            }
        }

        @media screen and (max-width: 1024px) {
            div.links {
                z-index: 1001;
                position: relative;
                justify-content: space-between;

                nav {
                    display: none;
                }

                div.actions {
                    &.mobile {
                        display: block;
                    }
                }
            }

            a.brand {
                left: calc(50% - (var(--brandWidth) / 2));
            }
        }

        @media screen and (max-width: 660px) {
            a.icon.account {
                display: none !important;
            }
        }
    }

    footer {
        background-color: white;
        box-shadow: var(--defaultShadow);
        padding: 30px;
        margin-bottom: 0 !important;
        
        &.fixed {
            position: fixed !important;
            bottom: 0;
            left: 0;
            right: 0;
        }

        div.columns {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 36px;

            div.left {
                text-align: center;
                flex: 1;

                img {
                    max-width: 200px;
                    display: block;
                    margin-left: auto;
                    margin-right: auto;
                }
            }

            div.right {
                flex: 1.2;
                text-align: center;

                p.subtitle {
                    font-family: 'Lazy Dog';
                    font-size: 2.2rem;
                }
            }
        }

        div.taurusnetwork {
            margin-top: 18px;
            text-align: center;

            p.copyright {
                font-size: 1rem;
            }
        }
    }

    article.event {
        --imageWidth: 350px;
        display: flex;
        flex-direction: row;
        width: 100%;
        max-width: unset;
        align-items: stretch;

        div.image {
            width: var(--imageWidth);
            flex-shrink: 0;
            background-color: rgb(160, 160, 160);
            background-image: var(--image);
            background-size: cover;
            background-position: center;

            border-top-left-radius: 18px;
            border-bottom-left-radius: 18px;
        }

        @media (min-width: 1024px) {
            &:not(.row) {
                max-width: 400px;
                flex-direction: column;

                div.image {
                    border-bottom-left-radius: 0 !important;
                    border-top-right-radius: 20px !important;
                }
            }
        }

        @media (max-width: 714px) {
            flex-direction: column !important;
            width: 100%;
            
            div.image {
                border-bottom-left-radius: 0 !important;
                border-top-right-radius: 20px !important;
                height: 300px;
                width: 100%;
            }
        }

        div.content {
            padding: 18px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;

            h3 {
                font-size: 2.5rem;
            }

            p.date {
                font-weight: bold;
            }

            p.description {
                font-size: 1.1rem;
                padding-top: 18px;
                padding-bottom: 18px;
            }
        }

        &.banner {
            width: 100%;
            max-width: unset;
            flex-direction: row-reverse;
            align-items: center;
            border: none;
            box-shadow: none;
            gap: 36px;
            padding: 18px;

            h3 {
                font-weight: bold;
            }

            div.image {
                margin-left: auto;
                margin-right: auto;
                aspect-ratio: 1/1;
                border-radius: 18px !important;
                border: solid 1px var(--colourPrimary);
                box-shadow: var(--defaultShadow);
            }
        }
    }

    #supportTicketPosts {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;

        article.post {
            display: flex;
            gap: 36px;

            div.icon {
                width: 80px;
                flex-shrink: 0;

                svg {
                    display: none;
                }
            }

            div.content {
                p.author {
                    font-weight: bold;
                }

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

            &.customer {
                div.icon > svg.customer {
                    display: block;
                }
            }

            &.staff {
                flex-direction: row-reverse;
                div.icon > svg.staff {
                    display: block;
                }
            }
        }

        hr {
            margin: 72px;
            margin-top: 36px;
            margin-bottom: 36px;
        }
    }

    div.wrapper.blog {
        div.blog-posts {
            display: flex;
            justify-content: center;
            gap: 36px;
            flex-wrap: wrap;

            article.post {
                display: flex;
                flex-direction: column;
                max-width: 350px;
                background-color: white;
                border: solid 1px var(--colourSecondary);
                border-radius: 18px;
                box-shadow: var(--defaultShadow);

                img {
                    width: 100%;
                    height: auto;
                    object-fit: cover;
                    object-position: center;
                    border-top-left-radius: 18px;
                    border-top-right-radius: 18px;
                }

                div.content {
                    padding: 18px;
                    flex: 1;

                    h3 {
                        margin-top: 0;
                        font-size: 1.8rem;
                    }

                    p {
                        font-size: 1.1rem;
                    }
                }

                div.actions {
                    padding: 18px;
                    padding-top: 0;

                    a.button {
                        width: 100%;
                        text-align: center;
                    }
                }
            }
        }

        > a.button {
            margin-left: auto;
            margin-right: auto;
            margin-top: 36px;
            width: 200px;
            text-align: center;
        }
    }

    main {
        div.top {
            display: flex;
            gap: 36px;
            padding: 18px;
    
            div.left {
                margin-top: 80px;
    
                h1 {
                    font-size: 3.2rem;
                }
    
                p {
                    margin-top: 18px;
                }
            }
    
            @media screen and (max-width: 1024px) {
                flex-direction: column;
            }
        }

        div.review-slider {
            display: flex;
            gap: 36px;
            flex-direction: row;

            @media (max-width: 1024px) {
                flex-direction: column;

                [data-control] {
                    display: none;
                }

                div.mobile {
                    display: flex !important;
                }
            }

            @media (max-width: 850px) {
                div.review {
                    flex-direction: column;
                    align-items: center;
                }
            }

            @media (max-width: 450px) {
                div.gallery {
                    width: 100% !important;

                    img {
                        width: 100%;
                    }
                }
            }
    
            [data-control] {
                margin-top: 100px;
                width: 50px;
                flex-shrink: 0;
                cursor: pointer;
    
                img {
                    width: 100%;

                    &.hover {
                        display: none;
                    }
                }

                &:hover {
                    img {
                        display: none;

                        &.hover {
                            display: block;
                        }
                    }
                }
            }

            div.mobile {
                display: none;
                gap: 36px;
                justify-content: center;

                [data-control] {
                    margin-top: 0;
                    display: block;
                }
            }
    
            div.review {
                display: none;
    
                &.active {
                    display: flex;
                    flex: 1;
                }
    
                padding: 18px;
                gap: 36px;
    
                div.gallery {
                    width: 400px;
    
                    div.thumbs {
                        margin-top: 18px;
                        display: flex;
                        flex-wrap: wrap;
                        gap: 18px;
                        justify-content: center;
    
                        img {
                            width: 90px;
                            height: 90px;
                            object-fit: cover;
                            object-position: center;
                            cursor: pointer;

                            &:hover:not(.active) {
                                border-width: 3px;
                            }
                        }
                    }
                }
    
                div.main {
                    flex: 1;
                    width: 100%;
    
                    p.title {
                        font-family: 'Lazy Dog';
                        font-size: 2.4rem;
                        font-weight: bold;
                    }
    
                    div.rating {
                        display: flex;
                        gap: 14px;
                        img {
                            width: 50px;
                        }
                    }
    
                    div.card {
                        padding: 18px;
                        margin-top: 18px;
                    }
    
                    a.original {
                        margin-top: 12px;
                        display: block;
                        width: fit-content;
                        margin-right: 0;
                        margin-left: auto;
                    }
                }
            }
        }
    }

    div.instagram {
        --postSize: 200px;

        @media (max-width: 450px) {
            --postSize: 150px;
        }

        @media (max-width: 375px) {
            --postSize: 100px;
        }

        div.head,div.foot {
            display: flex;
            align-items: center;
            gap: 36px;
            margin-bottom: 18px;

            svg {
                width: 40px;
                fill: var(--colourPrimary);
            }

            div {
                flex: 1;

                h3 {
                    font-size: 2.4rem;
                }

                p {
                    margin-bottom: 18px;
                }
            }

            &.foot {
                justify-content: flex-end;
                margin-top: 36px;
                margin-bottom: 0px;

                div {
                    flex: unset;
                    text-align: right;

                    p {
                        margin-bottom: 0;
                    }
                }
            }
        }

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

            a {
                display: block;
                width: var(--postSize);

                &:hover {
                    img {
                        border-color: var(--colourActive) !important;
                    }
                }
                
                img {
                    width: 100%;
                    height: var(--postSize);
                    object-fit: cover;
                    object-position: center;                
                    border: solid transparent 8px;
                    border-radius: 18px;
                }
            }
        }
    }

    div.faqs {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding: 18px;

        h2 {
            text-align: center;
            font-size: 2.2rem;
        }

        div.faq {
            user-select: none;
            margin-top: 18px;
            box-shadow: var(--defaultShadow);
            border-radius: 18px;

            div.header {
                display: flex;
                justify-content: space-between;
                background-color: var(--colourActive);
                padding: 18px;
                color: white;
                cursor: pointer;
                border-radius: 18px;

                svg {
                    width: 15px;
                    fill: white;

                    &.caret-up {
                        display: none;
                    }

                    &.caret-down {
                        display: block;
                    }
                }
            }

            div.body {
                display: none;
                padding: 18px;
                border: solid 1px var(--colourActive);
                border-bottom-left-radius: 18px;
                border-bottom-right-radius: 18px;
                background-color: color-mix(in srgb, var(--colourActive) 10%, white 90%);

                p:not(:first-child) {
                    margin-top: 18px;
                }
            }

            
            &.active {
                div.header {
                    border-bottom-left-radius: 0;
                    border-bottom-right-radius: 0;

                    svg {
                        &.caret-up {
                            display: block;
                        }
        
                        &.caret-down {
                            display: none;
                        }
                    }
                }

                div.body {
                    display: block;
                }
            }
        }
    }

    div.newsletter {
        display: flex;
        flex-wrap: wrap;
        gap: 36px;
        align-items: center;

        div.left {
            flex: 1;

            a.button {
                margin-top: 36px;
            }
        }

        div.right {
            img {
                max-width: 400px;
                width: 100%;
                aspect-ratio: 16/10;
                object-fit: cover;
                object-position: center;
                border-radius: 18px;
                box-shadow: var(--defaultShadow);
                border: solid 1px var(--colourPrimary);
            }
        }

        @media (max-width: 890px) {
            flex-direction: column;
            justify-content: center;
            text-align: center;

            a.button {
                margin-left: auto;
                margin-right: auto;
            }
        }
    }
}

div.wrapper.featured-event {
    &.carousel {
        > div.content {
            display: flex;
            gap: 36px;

            article.event {
                display: none;

                &.active {
                    display: flex;
                }

                &.flip {
                    flex-direction: row;
                }
            }
        }

        [data-control] {
            width: 50px;
            margin-top: 175px;
            cursor: pointer;
            flex-shrink: 0;

            img {
                width: 100%;
            }

            img.hover {
                display: none;
            }

            &:hover {
                img {
                    display: none;

                    &.hover {
                        display: block;
                    }
                }
            }
        }

        div.mobile {
            display: none;
        }

        @media (max-width: 1024px) {
            [data-control] {
                display: none;
            }

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

                [data-control] {
                    display: block;
                    margin-top: 0;
                }
            }
        }
    }
}

div.away-message {
    border-left: solid 3px var(--colourPrimary);
    background-color: #fbe3d8;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 18px;

    p:not(:first-of-type) {
        margin-top: 18px;
    }
}