/*
 * Copyright (c) 2021.
 * Author: Adegboye Joshua (masterjosh)
 * Created at: 24/07/2021, 12:01 PM
 */

.drop-xmas {
    position: absolute;
    top: 0;
    z-index: 1;
    border-radius: 100%;
    background-color: #c54245;
    box-shadow: 0 0 10px #c54245;
}
@media (prefers-color-scheme: dark) {

    .drop-xmas {
        background-color: #fff;
        box-shadow: 0 0 10px #fff;
    }
}
.animate-xmas {
    animation: falling 3.5s infinite ease-in;
}
@keyframes falling {
    0% {
        top: -10px;
    }
    10% {
        transform: translateX(-5px);
    }
    20% {
        transform: translateX(5px);
    }
    30% {
        transform: translateX(-5px);
    }
    40% {
        transform: translateX(5px);
    }
    60% {
        transform: translateX(-5px);
    }
    70% {
        transform: translateX(5px);
    }
    80% {
        transform: translateX(-5px);
    }
    90% {
        transform: translateX(5px);
    }
    95% {
        opacity: 1;
    }
    100% {
        top: 95vh;
        opacity: 0;
    }
}
ul.line-xmas {
    text-align: center;
}
ul.line-xmas li {
    position: relative;
    margin: 0 15px;
    list-style: none;
    padding: 0;
    display: inline-block;
    width: 12px;
    height: 28px;
    border-radius: 50%;
    top: 5px;
    background: #fff;
}
ul.line-xmas li:before {
    content: "";
    position: absolute;
    background: #222;
    width: 10px;
    height: 9px;
    border-radius: 3px;
    top: -4px;
    left: 1px;
}
ul.line-xmas li:after {
    content: "";
    top: -14px;
    left: 9px;
    position: absolute;
    width: 52px;
    height: 19px;
    border-bottom: solid #222 2px;
    border-radius: 30%;
}
.red-xmas {
    background-color: #fb4545!important;
    animation: lightningRed 1s infinite;
}
.green-xmas {
    background-color: #24d024!important;
    animation: lightningGreen 0.8s infinite;
}
.yellow-xmas {
    background-color: #fff952!important;
    animation: lightningYellow 0.9s infinite;
}
.blue-xmas {
    background-color: #0a53de!important;
    animation: lightningBlue 1.1s infinite;
}
.pink-xmas {
    background-color: #f53896!important;
    animation: lightningPink 1.2s infinite;
}
@keyframes lightningRed {
    0% {
        box-shadow: 5px 10px 35px 10px #fb4545;
    }
    50% {
        box-shadow: none;
    }
    100% {
        box-shadow: 5px 10px 35px 10px #fb4545;
    }
}
@keyframes lightningGreen {
    0% {
        box-shadow: 5px 0 35px 10px #24d024;
    }
    50% {
        box-shadow: none;
    }
    100% {
        box-shadow: 5px 0 35px 10px #24d024;
    }
}
@keyframes lightningYellow {
    0% {
        box-shadow: 5px 0 35px 10px #fff952;
    }
    50% {
        box-shadow: none;
    }
    100% {
        box-shadow: 5px 0 35px 10px #fff952;
    }
}
@keyframes lightningBlue {
    0% {
        box-shadow: 5px 0 35px 10px #0a53de;
    }
    50% {
        box-shadow: none;
    }
    100% {
        box-shadow: 5px 0 35px 10px #0a53de;
    }
}
@keyframes lightningPink {
    0% {
        box-shadow: 5px 0 35px 10px #f53896;
    }
    50% {
        box-shadow: none;
    }
    100% {
        box-shadow: 5px 0 35px 10px #f53896;
    }
}
@media (max-width: 1024px) {
    .line-xmas {
        padding: 0;
    }
    ul.line-xmas li {
        margin: 0 15px 20px 15px;
    }
}

