﻿.home-ball1, .home-ball2, .home-ball3, .home-ball4, .home-ball5 {
    position: absolute;
    overflow: hidden;
    opacity: 0.5;
    position: fixed;
}

.home-ball1 {
    top: 6rem;
    right: -50px;
    transform: rotate(30deg);
}

.home-ball2 {
    bottom: 3rem;
    left: -65px;
    transform: rotate(20deg);
}

.home-ball3 {
    bottom: 3.5rem;
    right: -60px;
    transform: rotate(-20deg);
}

.home-ball4 {
    bottom: -15px;
    left: -25px;
    transform: rotate(30deg);
}

.home-ball5 {
    bottom: -15px;
    right: -20px;
    transform: rotate(-30deg);
}


.snowflake {
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 2px #CCCCCC;
}

@-webkit-keyframes snowflakes-fall {
    0% {
        top: -10%;
    }

    100% {
        top: 100%;
    }
}

@-webkit-keyframes snowflakes-shake {
    0%, 100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    50% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px);
    }
}

@keyframes snowflakes-fall {
    0% {
        top: -10%;
    }

    100% {
        top: 100%;
    }
}

@keyframes snowflakes-shake {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(80px);
    }
}

.snowflake {
    position: fixed;
    top: -10%;
    z-index: 9999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    -webkit-animation-name: snowflakes-fall, snowflakes-shake;
    -webkit-animation-duration: 10s, 3s;
    -webkit-animation-timing-function: linear, ease-in-out;
    -webkit-animation-iteration-count: infinite, infinite;
    -webkit-animation-play-state: running, running;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
}

    .snowflake:nth-of-type(0) {
        left: 1%;
        -webkit-animation-delay: 0s, 0s;
        animation-delay: 0s, 0s;
    }

    .snowflake:nth-of-type(1) {
        left: 10%;
        -webkit-animation-delay: 1s, 1s;
        animation-delay: 1s, 1s;
    }

    .snowflake:nth-of-type(2) {
        left: 20%;
        -webkit-animation-delay: 6s, 0.5s;
        animation-delay: 6s, 0.5s;
    }

    .snowflake:nth-of-type(3) {
        left: 30%;
        -webkit-animation-delay: 4s, 2s;
        animation-delay: 4s, 2s;
    }

    .snowflake:nth-of-type(4) {
        left: 40%;
        -webkit-animation-delay: 2s, 2s;
        animation-delay: 2s, 2s;
    }

    .snowflake:nth-of-type(5) {
        left: 50%;
        -webkit-animation-delay: 8s, 3s;
        animation-delay: 8s, 3s;
    }

    .snowflake:nth-of-type(6) {
        left: 60%;
        -webkit-animation-delay: 6s, 2s;
        animation-delay: 6s, 2s;
    }

    .snowflake:nth-of-type(7) {
        left: 70%;
        -webkit-animation-delay: 2.5s, 1s;
        animation-delay: 2.5s, 1s;
    }

    .snowflake:nth-of-type(8) {
        left: 80%;
        -webkit-animation-delay: 1s, 0s;
        animation-delay: 1s, 0s;
    }

    .snowflake:nth-of-type(9) {
        left: 90%;
        -webkit-animation-delay: 3s, 1.5s;
        animation-delay: 3s, 1.5s;
    }

    .snowflake:nth-of-type(10) {
        left: 25%;
        -webkit-animation-delay: 2s, 0s;
        animation-delay: 2s, 0s;
    }

    .snowflake:nth-of-type(11) {
        left: 65%;
        -webkit-animation-delay: 4s, 2.5s;
        animation-delay: 4s, 2.5s;
    }


    /*CHRISTMAS LIGHTS*/
:root {
    --theme-color-1: #025ba0;
    --theme-color-2: #9bc72b;
    --theme-color-3: #f0c517;
    --theme-color-4: #bf1724;
    --theme-color-5: #5cc9f4;
    --white: #fff;
    --black: #000;
    --grey: #999;
    background: var(--black);
    color: var(--white);
}

.light-bulbs {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    margin: 0 auto;
    width:370px;
}

.light-bulb {
    border-radius: 50%;
    height: 16px;
    width: 16px;
    position: relative;
    animation-duration: 1.1s;
    animation-iteration-count: infinite;
}

    .light-bulb::before {
        content: '';
        position: absolute;
        border: 2px solid #6B6B6B;
        width: 10px;
        height: 10px;
        background: #6B6B6B;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        left: 20%;
        top: -12px;
    }
    .light-bulb::after {
        content: '';
        top: -20px;
        left: 85%;
        position: absolute;
        width: 40px;
        height: 28px;
        border-bottom: 4px solid #75BF78;
        border-radius: 50%;
    }

    .light-bulb:last-of-type::after {
        border: none;
    }
    .light-bulb.theme-color-1 {
        background: var(--theme-color-1);
        animation-name: light-up-theme-color-1;
        animation-duration: 2s;
    }

    .light-bulb.theme-color-2 {
        background: var(--theme-color-2);
        animation-name: light-up-theme-color-2;
        animation-duration: 0.4s;
    }

    .light-bulb.theme-color-3 {
        background: var(--theme-color-3);
        animation-name: light-up-theme-color-3;
        animation-duration: 1.1s;
    }

    .light-bulb.theme-color-4 {
        background: var(--theme-color-4);
        animation-name: light-up-theme-color-4;
        animation-duration: 1.8s;
    }

    .light-bulb.theme-color-5 {
        background: var(--theme-color-5);
        animation-name: light-up-theme-color-5;
        animation-duration: 1.4s;
    }

@keyframes light-up-theme-color-1 {
    0% {
        box-shadow: 0 1px 10px 2px var(--theme-color-1);
    }

    25% {
        box-shadow: 0 1px 15px 2px var(--theme-color-1);
    }

    50% {
        box-shadow: 0 1px 20px 2px var(--theme-color-1);
    }

    75% {
        box-shadow: 0 1px 25px 2px var(--theme-color-1);
    }

    100% {
        box-shadow: none;
    }
}

@keyframes light-up-theme-color-2 {
    0% {
        box-shadow: 0 1px 10px 2px var(--theme-color-2);
    }

    25% {
        box-shadow: 0 1px 15px 2px var(--theme-color-2);
    }

    50% {
        box-shadow: 0 1px 20px 2px var(--theme-color-2);
    }

    75% {
        box-shadow: 0 1px 25px 2px var(--theme-color-2);
    }

    100% {
        box-shadow: none;
    }
}

@keyframes light-up-theme-color-3 {
    0% {
        box-shadow: 0 1px 10px 2px var(--theme-color-3);
    }

    25% {
        box-shadow: 0 1px 15px 2px var(--theme-color-3);
    }

    50% {
        box-shadow: 0 1px 20px 2px var(--theme-color-3);
    }

    75% {
        box-shadow: 0 1px 25px 2px var(--theme-color-3);
    }

    100% {
        box-shadow: none;
    }
}

@keyframes light-up-theme-color-4 {
    0% {
        box-shadow: 0 1px 10px 2px var(--theme-color-4);
    }

    25% {
        box-shadow: 0 1px 15px 2px var(--theme-color-4);
    }

    50% {
        box-shadow: 0 1px 20px 2px var(--theme-color-4);
    }

    75% {
        box-shadow: 0 1px 25px 2px var(--theme-color-4);
    }

    100% {
        box-shadow: none;
    }
}

@keyframes light-up-theme-color-5 {
    0% {
        box-shadow: 0 1px 10px 2px var(--theme-color-5);
    }

    25% {
        box-shadow: 0 1px 15px 2px var(--theme-color-5);
    }

    50% {
        box-shadow: 0 1px 20px 2px var(--theme-color-5);
    }

    75% {
        box-shadow: 0 1px 25px 2px var(--theme-color-5);
    }

    100% {
        box-shadow: none;
    }
}