@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400 500;
    font-stretch: 100%;
    src: url(/fonts/NunitoSans.woff2) format('woff2');
}

* {
    box-sizing: border-box;
}

a {
    color: #008ed0;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, p, ul, ol {
    margin-top: 0;
}

body {
    font-family: 'Nunito Sans', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 18px;
    margin: 0;
    color: #222;
}

@keyframes ken-burns-move-right {
    from {
        background-position: left 30% center;
    }
    to {
        background-position: right 0% center;
    }
}

@keyframes ken-burns-move-left {
    from {
        background-position: right 50% center;
    }
    to {
        background-position: left 0% center;
    }
}

.main-header {
    position: relative;
    color: #fff;
    padding: 150px 60px 50px 60px;
    margin-bottom: 100px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);

    @media (max-width: 900px) {
        margin-bottom: 60px;
        padding: 150px 20px 30px 20px;
    }

    .title {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        max-width: 1500px;
        margin: 0 auto 20px auto;

        .club-title {
            text-transform: uppercase;
            margin-inline-start: 30px;
            font-size: clamp(20px, 3vw, 38px);
        }

        .title-logo {
            font-size: 0;
            max-width: 1500px;
            width: 100%;
            height: 450px;
            max-height: clamp(10vw, 30vw, 450px);
            display: block;
            background-image: url(/images/title-logo.png);
            background-position: center top;
            background-size: contain;
            background-repeat: no-repeat;
        }
    }

    .activities-list {
        margin: 0;
        padding: 0;
        list-style-type: none;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        font-size: clamp(18px, 2.5vw, 38px);
        text-transform: uppercase;
        margin-bottom: 200px;

        .item {
            display: flex;
            justify-content: center;
            align-items: center;
            
            .text {
                text-align: center;
            }
        }

        .item::after {
            content: "-";
            margin: 0 10px;
        }

        .item:last-child::after {
            content: none;
            margin: 0;
        }

        @media (max-width: 600px) {
            font-size: 20px;
            display: block;
            list-style-type: disc;
            padding-left: 30px;
            margin-inline-start: 10px;
            margin-bottom: 120px;

            .item {
                display: revert;
                margin-bottom: 4px;

                .text {
                    text-align: start;
                }
            }

            .item::after {
                content: none;
                margin: 0;
            }
        }
    }

    .supplementary-info {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        max-width: 1500px;
        margin: 0 auto;

        .partner-logos {
            order: 1;

            .partner-link {
                display: inline-block;
                margin-inline-end: 30px;
                border: none;
            }

            .partner-logo {
                max-height: clamp(50px, 8vw, 100px);
            }
        }

        .date-location {
            order: 2;
            text-align: end;
            text-transform: uppercase;
            font-size: clamp(16px, 2vw, 28px);

            .date {
                font-weight: bold;
                display: block;
                margin-bottom: 5px;
                font-size: 110%;
            }

            .location {
                font-style: normal;
            }
        }

        @media (max-width: 1000px) {
            .partner-logos {
                .partner-link {
                    margin-inline-end: 20px;
                }
            }
        }

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

            .partner-logos {
                width: 100%;
                margin-bottom: 20px;
                display: flex;
                align-items: center;
            }
        }

        @media (max-width: 450px) {
            .partner-logos {
                justify-content: space-between;

                .partner-link {
                    margin-inline-end: 0;
                }
            }
        }
    }

    .image-cycler {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: -1;

        .image {
            display: none;
            width: 100%;
            height: 100%;
            position: absolute;
            background-position: left center;
            background-repeat: no-repeat;
            background-size: cover;
            opacity: 0;
            transition: 2s opacity ease-in-out;
            z-index: 0;
            animation-play-state: paused;
            animation-name: ken-burns-move-right;
            animation-timing-function: linear;
            animation-duration: 20s;
            animation-iteration-count: infinite;

            @media (max-width: 1200px) {
                animation-play-state: running;
            }

            @media (max-width: 1000px) {
                animation-duration: 21s;
            }

            @media (max-width: 900px) {
                animation-duration: 22s;
            }

            @media (max-width: 800px) {
                animation-duration: 24s;
            }

            @media (max-width: 700px) {
                animation-duration: 30s;
            }

            @media (max-width: 600px) {
                animation-duration: 33s;
            }

            @media (max-width: 500px) {
                animation-duration: 37s;
            }

            @media (max-width: 400px) {
                animation-duration: 44s;
            }
        }

        .image.slide-right {
            animation-name: ken-burns-move-right;
        }

        .image.slide-left {
            animation-name: ken-burns-move-left;
        }

        .image.active {
            display: block;
            opacity: 1;
            z-index: 1;
        }
    }

    .quick-nav {
        position: absolute;
        top: 20px;
        inset-inline-end: 20px;

        .faq-quick-link {
            background: rgba(255,255,255,0.9);
            color: #008ed0;
            padding: 5px 20px;
            border-radius: 10px;
            font-size: 20px;
            font-weight: bold;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
            cursor: pointer;
        }
    }
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;

    @media (max-width: 900px) {
        padding: 0 20px;
    }

    .qa-section {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch;
        padding-bottom: 30px;
        border-bottom: 1px solid #ddd;
        margin-bottom: 30px;

        .title-arrow {
            font-size: 32px;
        }

        .title-arrow.arrow-right {
            margin-inline-start: 15px;
        }

        .title-arrow.arrow-left {
            margin-inline-end: 15px;
            transform: scaleX(-1);
        }

        .question,
        .answer {
            width: 50%;
        }

        .question {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            padding-inline-end: 30px;

            .title {
                margin: 0;
                font-size: 32px;
            }
        }

        .answer {
            font-size: 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            padding-inline-start: 30px;
        }
    }

    .qa-section:nth-child(even) {
        flex-direction: row-reverse;

        .question {
            justify-content: flex-start;
            padding-inline-end: 0;
            padding-inline-start: 30px;
        }

        .answer {
            align-items: flex-end;
            padding-inline-start: 0;
            padding-inline-end: 30px;
            text-align: end;
        }
    }

    @media (max-width: 800px) {
        .qa-section {
            display: block;

            .title-arrow {
                display: none;
            }
            
            .question,
            .answer {
                width: 100%;
                display: block;
            }

            .question {
                text-align: center;
                padding-inline-end: 0;
                margin-bottom: 10px;
            }

            .answer {
                padding-inline-start: 0;
                text-align: center;
            }
        }

        .qa-section:nth-child(even) {
            .question {
                padding-inline-start: 0;
            }

            .answer {
                padding-inline-end: 0;
                text-align: center;
            }
        }
    }

    .qa-what {
        .srr-logo-flag {
            max-width: 180px;
            margin-top: 20px;
        }

        .about-text {
            margin-bottom: 0;
        }
    }

    .qa-when {
        .show-car-note {
            font-size: 16px;
            margin-top: 20px;
            margin-bottom: 0;
        }
    }

    .qa-where {
        .map-link {
            color: #222;
        }

        .location {
            font-style: normal;
            display: block;
            margin-bottom: 15px;
        }

        .google-maps-frame {
            width: 100%;
            max-width: 640px;
            height: 320px;
        }
    }

    .qa-cost {
        .buy-tickets {
            background: #008ed0;
            display: inline-block;
            padding: 5px 40px;
            color: #fff;
            cursor: pointer;
            border-radius: 5px;
            box-shadow: 0 0 5px rgba(0,0,0,0.4);
        }

         .buy-tickets:hover {
            text-decoration: none;
         }
    }

    .qa-why {
        .charity-logos {
            display: flex;
            justify-content: flex-start;
            align-items: center;

            .charity-logo {
                max-width: 120px;
                display: inline-block;
            }

            @media (max-width: 800px) {
                justify-content: center;
            }
        }
    }

    .faq-section {
        margin-top: 100px;
        margin-bottom: 100px;

        .title {
            text-align: center;
            font-size: 32px;
        }

        .faq-item {
            margin-bottom: 40px;

            .q-title {
                margin-bottom: 5px;
            }

            .partner-logo {
                height: 150px;

                @media (max-width: 500px) {
                    height: 120px;
                }
            }
        }
    }

    .srr-social-links {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    
        .social-links {
            list-style-type: none;
            padding: 0;
            margin: 0;

            display: flex;
            align-items: center;
            margin-inline-start: 20px;

            .link {
                width: 50px;
                height: 50px;
            }
        }
    }
}

.social-links {
    justify-content: flex-end;
    flex: 0;

    .item {
        margin-inline-start: 20px;
        display: flex;
        align-items: center;

        @media (max-width: 500px) {
            margin-inline-start: 10px;
        }
    }

    .link {
        font-size: 0;
        display: inline-block;
        width: 35px;
        height: 35px;
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;

        @media (max-width: 500px) {
            width: 30px;
            height: 30px;
        }
    }
    
    .link.fb-link {
        background-image: url(/images/fb-logo.png);
    }

    .link.tt-link {
        background-image: url(/images/tt-logo.png);
    }

    .link.ig-link {
        background-image: url(/images/ig-logo.png);
    }
}

.main-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #008ed0;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.4);

    @media (max-width: 900px) {
        padding: 20px 20px;
    }

    .link-list {
        flex: 1;
        list-style-type: none;
        padding: 0;
        margin: 0;

        display: flex;
        align-items: center;

        .item .link {
            color: #fff;
        }
    }

    .action-links {
        justify-content: flex-start;
        font-size: clamp(12px, 2vw, 18px);

        .item {
            margin-inline-end: 20px;

            @media (max-width: 500px) {
                margin-inline-end: 10px;

                .superfluous {
                    display: none;
                }
            }
        }
    }
}