/* Minification failed. Returning unminified contents.
(20,7): run-time error CSS1035: Expected colon, found ','
 */
/*
    Colors
    Primary/CWS Neon #C2FE06   
    Primary/CWS Deep Blue #002733 
    #008C82
*/

.history-page {
    padding: 0 0 60px 0;
    background: #001F29;
    /*background: conic-gradient(from 20.21deg at -7.51% 115.18%, #001F29 -65.77deg, #001F29 29.42deg, #008C82 133.27deg, #001F29 294.23deg, #001F29 389.42deg);*/

    background-size: 100% 100%;
    background-position: 0px 0px,0px 0px,0px 0px;
    background-image: radial-gradient(300% 300% at -117% -111%, #001F29 80%, #FF000000 98%),radial-gradient(300% 300% at -56% -31%, #001F29 46%, #FF000000 98%),radial-gradient(75% 75% at 50% 50%, #008C82 0%, #008C82 97%);
    background-size: 100% 100%;
    background-position: 0px 0px,0px 0px;
    background-image: conic-gradient(from 0deg at 12% 103%, #001F29 7%, #008C82 43%, #001F29 58%);

    h1, h2, h3, h4 {
        color: #FFFFFF;
        font-weight: 700;
        -ms-word-break: break-word;
        word-break: break-word;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 48px;
    }

    h3 {
        font-size: 42px;
    }

    h4 {
        font-size: 34px;
    }

    p {
        color: #FFFFFF;
        line-height: 24px;
        font-size: 18px;
    }

    a {
        color: #FFFFFF;
    }

        a:focus {
            border: none;
            outline: none;
        }

        a:hover {
            color: #C2FE06;
        }

    .content {
        margin: 0;
        padding: 10px 0;
    }

    .hero-image {
        max-width: 1230px;
        height: 325px;
        background-repeat: no-repeat;
        background-size: cover;
        margin: 0 auto 20px auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-position: center;

        h1, span {
            margin: 0;
        }
    }

    .hero-image-transparent {
        justify-content: flex-start;
        height: 440px;

        .heading-backplate {
            padding: 10px 30px;
            margin-top: 20px;
            margin-left: 20px;
            justify-content: center;
            align-items: center;
            background: rgba(17, 17, 17, 0.5);
            border-radius: 10px;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
        }

        h1, span {
            font-size: 48px;
            line-height: 58px;
            text-align: center;
            color: #FFFFFF;
        }
    }

    .hero-image-neon {
        justify-content: flex-end;


        .heading-backplate {
            background: #C2FE06;
            border-radius: 10px;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            justify-content: center;
            align-items: center;
            padding: 10px 30px;
            margin-left: 30px;
            margin-bottom: 18px;
        }

        h1, span {
            font-weight: 700;
            font-size: 34px;
            line-height: 41px;
            color: #002733;
        }
    }

    .history-container {
        margin: 0 10px;
    }

    .history-content {
        padding-top: 10px;
        max-width: 1230px;
        margin: 0 auto;
    }

    .history-contentintro {
        margin: 0 auto 20px auto;
        padding: 0 0 20px 0;
        max-width: 1021px;

        h2 {
            font-size: 48px;
            font-weight: 700;
        }
    }

    .history-maincontent {
        padding-top: 10px;
        padding-bottom: 50px;
        max-width: 700px;
        margin: 0 auto;

        .preamble {
            font-weight: 700;
            font-size: 22px;
            line-height: 30px;
            margin-top: 1em;
            margin-bottom: 2em;
        }
    }

    .history-mainbody {
        margin-top: 2em;
        /*p {
            line-height: 24px;
            font-weight: 300;
            font-size: 18px;
        }*/
    }

    @media only screen and (max-width: 480px) {
        .hero-image-neon .heading-backplate {
            margin-left: 0;
        }

        .hero-image-transparent .heading-backplate {
            padding: 0;
        }
    }

    .history-milestones {
        display: grid;
        grid-row-gap: 120px;
        position: relative;
        padding: 70px 0;
        margin: 40px 0;
    }

    .history-milestones-line {
        grid-row-gap: 100px;

        &::before {
            content: '';
            position: absolute;
            width: 100%;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 5px;
            background-color: #FFFFFF;
            transform: translateX(-50%);
        }

        & > :first-child::before {
            content: '';
            position: absolute;
            left: 50%;
            top: -70px;
            width: 0;
            height: 0;
            border-left: 14px solid transparent;
            border-right: 14px solid transparent;
            border-top: 28px solid #FFFFFF;
            transform: translateX(-50%);
        }

        & > :last-child::after {
            content: '';
            position: absolute;
            left: 50%;
            width: 0;
            height: 0;
            bottom: -70px;
            border-left: 14px solid transparent;
            border-right: 14px solid transparent;
            border-bottom: 28px solid #FFFFFF;
            transform: translateX(-50%);
        }
    }

    .history-milestone {
        display: grid;
        grid-template-columns: 54.88% 45.12%;
        z-index: 1;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        position: relative;

        a {
            -webkit-text-decoration: none;
            text-decoration: none;

            &:after {
                content: "";
                position: absolute;
                inset: 0;
                display: block;
                background: transparent;
                pointer-events: auto;
                z-index: 1;
            }
        }

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 50% 50%;
            -moz-border-radius: 10px;
            -webkit-border-radius: 10px;
            border-radius: 10px;
        }

        .history-milestone-text {
            margin: auto 50px;

            h2 {
                margin-top: 0;
            }
        }

        &:nth-child(odd) > img {
            order: 1;
        }

        &:nth-child(odd) .history-milestone-text {
            text-align: right;
        }

        &:nth-child(odd) {
            grid-template-columns: 45.12% 54.88%;
        }

        &:has(a:focus) {
            outline: dashed 2px #C2FE06;
            outline-offset: 4px;
        }
    }

    @media only screen and (max-width: 1021px) {
        /*.history-contentintro{
            margin: 0 20px;
        }*/
    }

    @media only screen and (max-width: 864px) {
        .history-container {
            margin: 0;
        }

        .history-contentintro {
            margin: 0 10px;
        }

        .history-maincontent {
            margin: 0 10px;
        }

        .history-milestones {
            grid-row-gap: 50px;
            padding-top: 50px;
            margin-top: 50px;
        }

        .history-milestones-line {
            &::before {
                content: '';
                position: absolute;
                width: 100%;
                left: 50%;
                top: 0;
                bottom: 0;
                width: 5px;
                background-color: #FFFFFF;
                transform: translateX(-50%);
            }

            & > :first-child::before {
                content: '';
                position: absolute;
                left: 50%;
                top: -50px;
            }
        }

        .history-milestone {
            grid-template-columns: unset;
            background-color: #002733;

            img {
                border-radius: 10px 10px 0 0;
                height: 262px;
            }

            &:has(a:focus) {
                outline: dashed 2px #C2FE06;
                outline-offset: -2px;
            }

            &:nth-child(odd) > img {
                order: unset;
            }

            &:nth-child(odd) .history-milestone-text {
                text-align: left;
            }

            &:nth-child(odd) {
                grid-template-columns: unset;
            }

            .history-milestone-text {
                margin: 20px 20px;
            }
        }
    }

    @media only screen and (max-width: 768px) {
        h1 {
            font-size: 36px;
        }

        h2 {
            font-size: 34px;
        }

        h3 {
            font-size: 28px;
        }

        h4 {
            font-size: 24px;
        }

        p {
            font-size: 16px;
            line-height: 22px;
        }
    }

    .history-posters {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: 56px;
        max-width: 1021px;
        margin: 40px auto;
        position: relative;

        a {
            -webkit-text-decoration: none;
            text-decoration: none;

            &:after {
                content: "";
                position: absolute;
                inset: 0;
                display: block;
                background: transparent;
                pointer-events: auto;
                z-index: 1;
            }
        }

        .history-poster {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            position: relative;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;

            img {
                width: 100%;
                height: 100%;
                aspect-ratio: 1 / 1.41;
                object-fit: cover;
                -moz-border-radius: 2px;
                -webkit-border-radius: 2px;
                border-radius: 2px;
                outline: 3px solid #CBCCCD;
            }

            .history-poster-text {
                margin: 10px 10px 0px 10px;
            }

            p {
                margin: 0px;
                font-weight: 300;
                font-size: 18px;
                line-height: 22px;
                color: #CBCCCD;
            }

            a {
                -webkit-text-decoration: inherit;
                text-decoration: inherit;
            }

            &:has(a:focus) {
                outline: dashed 2px #C2FE06;
                outline-offset: 4px;
            }

            &:has(a:hover) {
                img {
                    outline-color: #C2FE06;
                }
            }
        }
    }

    .history-posters-mix {
        .history-poster {
            &:first-child {
                grid-column: span 2;
                grid-row: span 2;
            }
            /*&:nth-child(4n):nth-last-child(3),
            &:nth-child(4n):nth-last-child(4),
            &:nth-child(4n):nth-last-child(5) {
                grid-column: span 2;
                grid-row: span 2;
            }*/
        }
    }

    @media only screen and (max-width: 1024px) {
        .history-posters {
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }
        /*.history-posters-mix {
            .history-poster {
                &:nth-child(4n):nth-last-child(3),
                &:nth-child(4n):nth-last-child(4),
                &:nth-child(4n):nth-last-child(5) {
                    grid-column: span 1;
                    grid-row: span 1;
                }
            }
        }*/
    }

    @media only screen and (max-width: 864px) {
        .history-posters {
            margin-left: 10px;
            margin-right: 10px;
        }
    }

    @media only screen and (max-width: 768px) {
        .history-posters {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media only screen and (max-width: 480px) {
        .history-posters {
            grid-template-columns: 1fr;
        }

        .history-posters-mix {
            .history-poster {
                &:first-child {
                    grid-column: span 1;
                    grid-row: span 1;
                }
                /*&:nth-child(4n):nth-last-child(3),
                &:nth-child(4n):nth-last-child(4),
                &:nth-child(4n):nth-last-child(5) {
                    grid-column: span 1;
                    grid-row: span 1;
                }*/
            }
        }
    }
}

