﻿

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.5.15,
* Autoprefixer: v10.5.0
* Browsers: last 4 version
*/



/* Section Christmas */

main section.christmas {
    background-color: transparent;
    isolation: isolate;
    padding-top: 10vh;
    /*margin-top: 5vh;*/
    --red: #ba3232;
    --white: #cecece;
    --blueblack: #070d1a;

    @media (max-width: 1170px) {
        padding-top: 5vh;
    }
}

/* Breaker Title */
main section.christmas .breaker-title {
    h2 {
        color: var(--white);
    }

    a::before,
    a::after {
        background-color: var(--red);
    }
}

/* Grid */
main section.christmas .grid {
    margin-bottom: 0;

    @media (max-width: 670px) {
        gap: 1rem;

        > * {
            margin-bottom: 0;
        }
    }

    .item::after {
        content: "";
        position: absolute;
        inset: 0;
        width: calc(100% - 1rem);
        height: calc(100% - 1rem);
        -webkit-user-select: none;
           -moz-user-select: none;
            -ms-user-select: none;
                user-select: none;
        border: 6px double;
        margin: auto;
    }

    .item:nth-child(even) {
        background-color: var(--white);

        &::after {
            border-color: var(--blueblack);
        }
    }
    
    .item:nth-child(odd) {
        background-color: var(--blueblack);

        &::after {
            border-color: var(--white);
        }
    }

    .item .item-content {
        background-color: transparent;
        padding: 2rem;

        .item-description > * {
            font-family: 'Core-Sans-C', sans-serif;
            text-align: center;
            font-size: 1.2rem;
            line-height: 1.3;
        }

        @media (max-width: 900px) {
            padding: 1rem;

            .item-description > * {
                font-size: 1rem;
            }
        }

        @media (max-width: 670px) {
            padding: 3rem;
        }
    }

    .item:nth-child(even) .item-content .item-description > * {
        color: var(--blueblack);
    }

    .item:nth-child(odd) .item-content .item-description > * {
        color: var(--white);
    }

}

@media(hover: hover) and (pointer: fine)  {

    .item .item-content .item-description a:hover {
        color: var( --red);
    }
}

/* Section Cover */
main section.christmas .section-cover {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    max-width: 1920px;
    height: 100%;
    -webkit-transform: translate(-50%,0);
        -ms-transform: translate(-50%,0);
            transform: translate(-50%,0);
    z-index: -1;

    body.skin-layout & {
        max-width: 100%;
    }

    img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
        -o-object-position: top center;
           object-position: top center;
    }
}