.landingpage {
    --red-100: #E73331;
    --yellow-100: #FDC300;
    --white: #FAFAFF;

    position: relative;
    background-color: var(--white);
    font-family: "Tank";

    & .wrapper {
        max-width: 1350px;
        margin: auto;
        padding: 0 30px;

        &.wrapper--sm {
            max-width: 1100px;
        }
    }

    & h2 {
        font-size: 64px;
        line-height: 75px;
    }

    & .btn {
        display: inline-flex;
        align-items: center;
        padding: 10px 35px;
        border-radius: 20px;
        font-size: 24px;
        line-height: 28px;
        cursor: pointer;
        text-decoration: none;
        text-transform: uppercase;
    }

    & .btn--primary {
        background-color: var(--red-100);
        color: white;
    }

    & .logo {
        display: flex;
        justify-content: center;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 3;
    }

    & #logo {
    }

    & .page-intro {
        position: relative;
        width: 100%;

        & video {
            width: 100%;
            height: 920px;
            object-fit: cover;
        }

        & .slider {
            height: 1.3em;
        }

        & .slider__word {
            color: black !important;
            transform: translateY(5px);
        }

        &.page-intro--small {

            & video {
                height: 750px;
            }

            & .page-intro__text {
                margin: -150px auto auto;
            }
        }
    }

    & .page-intro__text {
        position: relative;
        max-width: 850px;
        margin: -250px auto auto;
        padding: 70px 130px;
        border-radius: 20px;
        background-color: var(--yellow-100);
        text-align: center;
        z-index: 3;

        & h2 {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: center;
            margin-top: 30px;
            font-size: 35px;
            line-height: 48px;

            & strong {
                padding: 10px 40px;
                background-color: white;
                border-radius: 20px;
            }
        }

        & h4 {
            margin-top: 30px;
            line-height: 35px;
        }
    }

    & .page-intro__down {
        position: absolute;
        left: 0;
        bottom: -42.5px;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 85px;
        height: 85px;
        margin: auto;
        transform: rotate(45deg);

        & img {
            width: 35px;
            transform-origin: center center;
            transform: rotate(-45deg);
        }
    }
}

.fancybox__content {
    width: 100% !important;
}

.landingpage-video {
    margin: 250px 0;

    & h2 {
        margin: 0 0 50px;
        text-align: center;
    }

    & a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 1000px;
        height: 100%;
        margin: auto;

        & img {
            width: 100%;
            height: 100%;
            border-radius: 20px;
            object-fit: cover;
        }

        & span {
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            inset: 0;
        }
    }
}

.cms-output {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
    font-size: 18px;
    line-height: 28px;
}

.volunteers {
    padding-bottom: 175px;

    & .volunteer {
        /*display: flex;*/

        & img {
            width: 500px;
            max-width: 500px !important;
            height: 500px;
            object-fit: cover;
            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
        }
    }

    & .volunteer__content {
        width: calc(100% - 460px);
        max-width: 650px;
        padding-left: 40px;

        & .cms-output {
            margin-top: 50px;
        }

        & .btn {
            margin-top: 50px;
        }
    }

    & .owl-carousel {

        &::before {
            display: none;
        }
    }

    & .owl-stage-outer {
        position: relative;
    }

    & .owl-dots {
        position: absolute;
        right: 0;
        bottom: 50px;
        display: flex;
        gap: 20px;

        & button {
            width: 25px;
            height: 25px;
            border: 4px solid var(--yellow-100);
            transform-origin: center center;
            transform: rotate(45deg);
            transition: all 350ms ease;

            &.active {
                background-color: var(--yellow-100);
            }
        }
    }
}

.landingpage-join {
    padding: 75px 0;
    text-align: center;

    & h2 {
        color: var(--yellow-100);
        font-size: 64px;
        line-height: 75px;
    }

    & .cms-output {
        color: white;
    }
}

.landingpage-join__items {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 100px;

    &::after {
        position: absolute;
        top: 55px;
        right: 30px;
        left: 30px;
        height: 5px;
        background-color: white;
        z-index: 0;
        content: '';
    }
}

.landingpage-join__item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 210px;
    z-index: 2;


    & .icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 115px;
        height: 115px;
        background-color: var(--yellow-100);
        transform: rotate(-45deg);

        & svg {
            width: auto;
            max-height: 70px;
            transform: rotate(45deg);
        }
    }

    & .content {
        margin-top: 70px;
        font-size: 24px;
        line-height: 28px;
    }
}

.landingpage-photos {
    position: relative;
    padding: 200px 0;
    z-index: 2;

    .wrapper {
        position: relative;
    }

    & h3 {
        display: inline-flex;
        position: absolute;
        top: -250px;
        left: 30px;
        padding: 30px 60px;
        font-size: 44px;
        line-height: 50px;
        background-color: var(--red-100);
        color: white;
        border-radius: 20px;
    }

    & h2 {
        text-align: center;
    }

    &::after {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 75%;
        background-color: var(--yellow-100);
        content: '';
        z-index: -1;
    }
}

.landingpage-photos__loop {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.landingpage-photo {
    display: flex;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);

    & img {
        width: 100%;
    }
}

.landingpage-content-default {

    &.is-about {

        & h2 {
            color: var(--yellow-100);
            text-align: center;
        }
    }

    & .cms-output {
        margin-top: 50px;
    }

    &.is-750 {
        padding: 100px 0 250px;
    }
}

.landingpage-footer {
    padding: 250px 0;
    color: var(--white);
    background-color: black;

    & .cms-output {
        margin-top: 30px;
    }
}

.landingpage-footer__right {


    & .image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 210px;
        height: 210px;

        &:nth-child(2) {
            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
            background-color: var(--white);
        }
    }

    & a {
        color: var(--white);
    }
}


@media only screen and (max-width: 991px) {

    .landingpage {

        & h2 {
            font-size: 35px;
            line-height: 45px;
        }

        & .logo {
            width: 150px;
        }

        & .page-intro {
            height: 100%;

            & video {
                width: 100%;
                height: 250px;
            }

            &.page-intro--small {

                & video {
                    height: 250px;
                }
            }
        }

        & .page-intro__text {
            margin: -50px 30px 0;
            padding: 30px 30px 75px;

            & h2 {
                justify-content: center;
            }
        }

        & .page-intro__down {
            bottom: -20px;
            width: 40px;
            height: 40px;

            & img {
                width: 16px;
            }
        }
    }

    & .landingpage-video {
        margin: 75px 0;

        & svg {
            height: 50px;
        }
    }

    & .volunteers {
        padding: 0 30px 75px;

        & .volunteer {
            flex-wrap: wrap;
            justify-content: center;

            & img {
                width: 250px;
                max-width: 250px !important;
                height: 250px;
            }

            & .volunteer__content {
                width: 100%;
                padding: 30px 0;

                & .cms-output {
                    margin-top: 30px;
                }

                & .btn {
                    margin-top: 30px;
                }
            }
        }

        & .volunteers__loop {

            &::before {
                display: none;
            }
        }

        & .owl-dots {
            position: unset;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;

            & button {
                width: 10px;
                height: 10px;
                border-width: 2px;
            }
        }
    }

    .landingpage-join {

        & .landingpage-join__items {
            gap: 60px;

            &::after {
                display: none;
            }
        }

        & .landingpage-join__item {
            width: 100%;
            max-width: 100%;

            .icon {
                width: 70px;
                height: 70px;

                & svg {
                    max-height: 30px;
                }
            }

            & .content {
                width: 100%;
                margin-top: 30px;
                font-size: 18px;
                line-height: 28px;
            }
        }
    }

    .landingpage-join {
        padding: 75px 0;
    }

    .landingpage-photos {
        padding: 100px 0 75px;

        & h3 {
            top: -135px;
            right: 30px;
            padding: 20px;
            font-size: 25px;
            line-height: 35px;
        }
    }

    .landingpage-photos__label {
        justify-content: center;
    }

    .landingpage-photos__loop {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landingpage-content-default {

        &.is-750 {
            padding: 50px 0 75px;
        }
    }

    .landingpage-footer {
        padding: 75px 0;
    }

    .landingpage-footer__right {
        margin-top: 50px;


        & .image {
            width: 125px;
            height: 125px;

            &:nth-child(2) {

                & svg {
                  height: 50px;
                }
            }
        }
    }
}

.fancybox__caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

    & h3 {
        display: block;
        width: 100%;
        text-align: center;
    }

    & a {
        display: flex;
        text-decoration: none;
        color: white;
        font-family: "Tank", sans-serif;
        font-size: 18px;

        & svg {
            display: block;
            width: 40px;
            height: 40px;

            & path {
                fill: white;
            }
        }
    }
}

