﻿/*light colors
    - Purple: #410099
    - Green: #007473
    - Blue: #0075C9
    - Orange: #F26722
*/
#seasonal-decorations {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    margin: -40px 0 0 0;
    padding: 0;
    pointer-events: none;
    width: 100%;
}

    #seasonal-decorations li {
        position: relative;
        list-style: none;
        display: inline-block;
    }



/* Valentine's Day*/
.hearts li {
    width: 40px;
    height: 18px;
    position: relative;
    margin-top: 30px;
}

    .hearts li:nth-child(2n + 1)::before,
    .hearts li:nth-child(2n + 1)::after {
        position: absolute;
        content: "";
        left: 14px;
        top: 0;
        width: 15px;
        height: 24px;
        background: #e6003a;
        border-radius: 50px 50px 0 0;
    }

    .hearts li:nth-child(4n + 1)::before,
    .hearts li:nth-child(4n + 1)::after {
        position: absolute;
        content: "";
        left: 11px;
        top: 0;
        width: 12px;
        height: 19px;
        background: #ff98b2;
        border-radius: 50px 50px 0 0;
    }

    .hearts li:nth-child(2n+1)::before {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transform-origin: 0 100%;
        -moz-transform-origin: 0 100%;
        -ms-transform-origin: 0 100%;
        -o-transform-origin: 0 100%;
        transform-origin: 0 100%;
    }

    .hearts li:nth-child(2n+1)::after {
        left: 0;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        -webkit-transform-origin: 100% 100%;
        -moz-transform-origin: 100% 100%;
        -ms-transform-origin: 100% 100%;
        -o-transform-origin: 100% 100%;
        transform-origin: 100% 100%;
    }



/* Shamrocks */
.shamrock li {
    width: 40px;
    height: 40px;
    margin: 20px 30px;
}

    .shamrock li::before {
        content: "\2618";
        color: green;
        object-fit: cover;
    }



/* Easter */
.easter-eggs li {
    margin: 20px;
    width: 20px;
    height: 30px;
    border-radius: 50%/60% 60% 40% 40%;
    background-color: #0075C9;
}

    /* Polka dots */
    .easter-eggs li:nth-child(2n+1) {
        background-color: #007473;
        background-image: radial-gradient(white 15%, transparent 16%), radial-gradient(white 15%, transparent 16%);
        background-size: 8px 7px;
        background-position: 0 0, 20px 10px;
        transform: rotate(-15deg);
    }

    /* Stripes */
    .easter-eggs li:nth-child(4n+2) {
        background: repeating-linear-gradient( 45deg, #410099, #410099 3px, #e6d4ff 3px, #e6d4ff 6px );
    }

    /* Solid */
    .easter-eggs li:nth-child(3n+2) {
        background-color: #F26722;
    }



/* Leaves */
.leaves {
    height: 100px;
}

    .leaves li {
        display: inline-block;
        width: 200px;
        height: 150px;
        background: linear-gradient(to bottom right, #309900, #005600);
        transform: skew(20deg);
        border-radius: 5% 40% 70%;
        box-shadow: inset 0px 0px 1px #222;
        border: 1px solid #333;
        z-index: 1;
        margin: 20px 30px;
    }

        .leaves li:nth-of-type(2n) {
            -webkit-animation: falling2 5s 0s infinite;
        }

        .leaves li:nth-of-type(3n) {
            -webkit-animation: falling3 5s 0s infinite;
        }

        .leaves li:before {
            position: absolute;
            content: '';
            top: 117px;
            right: 9px;
            height: 27px;
            width: 32px;
            transform: rotate(49deg);
            border-radius: 0% 15% 15% 0%;
            border-top: 1px solid #222;
            border-bottom: 1px solid #222;
            border-left: 0px solid #222;
            border-right: 1px solid #222;
            background: linear-gradient(to right, rgba(0,100,0,1), #005600);
            z-index: 1;
        }

        .leaves li:after {
            content: '';
            height: 125px;
            width: 10px;
            background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,0));
            display: block;
            transform: rotate(125deg);
            position: absolute;
            left: 85px;
            border-radius: 50%;
        }


        .leaves li:nth-of-type(n) {
            height: 23px;
            width: 30px;
            background: linear-gradient(to bottom right, #d8a300, #8c6900);
            transform: rotate(180deg);
        }

            .leaves li:nth-of-type(n):before {
                width: 7px;
                height: 5px;
                top: 17px;
                right: 1px;
            }

            .leaves li:nth-of-type(n):after {
                width: 2px;
                height: 17px;
                left: 12px;
                top: 0px;
            }

        .leaves li:nth-of-type(2n+1) {
            height: 11px;
            width: 16px;
            transform: rotate(90deg);
        }

            .leaves li:nth-of-type(2n+1):before {
                width: 4px;
                height: 3px;
                top: 7px;
                right: 0px;
            }

            .leaves li:nth-of-type(2n+1):after {
                width: 2px;
                height: 6px;
                left: 5px;
                top: 1px;
            }

        .leaves li:nth-of-type(3n+2) {
            height: 17px;
            width: 23px;
            transform: rotate(45deg);
        }

            .leaves li:nth-of-type(3n+2):before {
                height: 4px;
                width: 4px;
                top: 12px;
                right: 1px;
            }

            .leaves li:nth-of-type(3n+2):after {
                height: 10px;
                width: 2px;
                top: 1px;
                left: 8px;
            }

        .leaves li:nth-of-type(2n+2) {
            background: linear-gradient(to bottom right, #6d4801, #890005);
        }

        .leaves li:nth-of-type(4n+1) {
            background: linear-gradient(to bottom right, #990, #564500);
        }



/* Halloween */
.ghosts li {
    width: 60px;
    height: 40px;
    margin: 20px 30px;
}

    .ghosts li:nth-child(2n + 1) {
        background-color: black;
        border-radius: 50% 50% 0 0;
        height: 65px;
        width: 52px;
        /* Bottom jagged */
        background-image: linear-gradient(45deg, white 0%, white 50%, transparent 50%, transparent 100%), linear-gradient(-45deg, white 0%, white 50%, transparent 50%, transparent 100%);
        background-position: bottom center;
        background-size: 0.75rem 0.75rem, 0.75rem 0.75rem, 0.75rem 0.75rem, 0.75rem 0.75rem, 100% 1rem, 100% 1rem;
        background-repeat: repeat-x;
    }

        .ghosts li:nth-child(2n + 1)::before,
        .ghosts li:nth-child(2n + 1)::after {
            background-color: white;
            border-radius: 50%;
            height: 15px;
            width: 10px;
            position: absolute;
            content: "";
            z-index: 2;
            bottom: 38px;
            left: 12px;
        }

        .ghosts li:nth-child(2n + 1)::after {
            right: 12px;
            left: unset;
        }



/* Christmas */
.christmas-lights li {
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    width: 12px;
    height: 24px;
    border-radius: 50%;
    margin: 20px;
    background: rgba(65, 0, 153, 1);
    box-shadow: 0px 4px 24px 3px rgba(65, 0, 153,0.5);
    animation-name: purple-christmas-light;
    animation-duration: 2s;
}

    .christmas-lights li:nth-child(2n+1) {
        background: rgba(0,116,115,1);
        box-shadow: 0px 4px 24px 3px rgba(0,116,115,0.5);
        animation-name: green-christmas-light;
        animation-duration: 0.4s;
    }

    .christmas-lights li:nth-child(4n+2) {
        background: rgba(0,117,201,1);
        box-shadow: 0px 4px 24px 3px rgba(0,117,201,1);
        animation-name: blue-christmas-light;
        animation-duration: 1.1s;
    }

    .christmas-lights li:nth-child(3n+2) {
        background: rgba(242,103,34,1);
        box-shadow: 0px 4px 24px 3px rgba(242,103,34,1);
        animation-name: orange-christmas-light;
        animation-duration: 0.7s;
    }

    .christmas-lights li:nth-child(odd) {
        animation-duration: 1.8s;
    }

    .christmas-lights li:nth-child(3n+1) {
        animation-duration: 1.4s;
    }

    .christmas-lights li:before {
        content: "";
        position: absolute;
        background: #222;
        width: 10px;
        height: 6px;
        border-radius: 3px;
        top: -3px;
        left: 1px;
    }

    .christmas-lights li:after {
        content: "";
        top: -5px;
        left: 9px;
        position: absolute;
        width: 52px;
        height: 4px;
        border-bottom: solid #222 2px;
        border-radius: 50%;
    }

    .christmas-lights li:last-child:after {
        content: none;
    }

    .christmas-lights li:first-child {
        margin-left: -40px;
    }

@keyframes purple-christmas-light {
    0%, 100% {
        background: rgba(65, 0, 153,1);
        box-shadow: 0px 4px 24px 3px rgba(65, 0, 153,1);
    }

    50% {
        background: rgba(65, 0, 153,0.4);
        box-shadow: 0px 4px 24px 3px rgba(65, 0, 153,0.2);
    }
}

@keyframes green-christmas-light {
    0%, 100% {
        background: rgba(0,116,115,1);
        box-shadow: 0px 4px 24px 3px rgba(0,116,115,1);
    }

    50% {
        background: rgba(0,116,115,0.4);
        box-shadow: 0px 4px 24px 3px rgba(0,116,115,0.2);
    }
}

@keyframes blue-christmas-light {
    0%, 100% {
        background: rgba(0,117,201,1);
        box-shadow: 0px 4px 24px 3px rgba(0,117,201,1);
    }

    50% {
        background: rgba(0,117,201,0.4);
        box-shadow: 0px 4px 24px 3px rgba(0,117,201,0.2);
    }
}

@keyframes orange-christmas-light {
    0%, 100% {
        background: rgba(242,103,34,1);
        box-shadow: 0px 4px 24px 3px rgba(242,103,34,1);
    }

    50% {
        background: rgba(242,103,34,0.4);
        box-shadow: 0px 4px 24px 3px rgba(242,103,34,0.2);
    }
}
