﻿@-webkit-keyframes glowingbox
{
    0%
    {
        opacity: 1;
        text-shadow: 0 0 20px #a4f3ff,0 0 50px white;
    }
    100%
    {
        opacity: 1;
        text-shadow: 0 0 20px rgba(255,255,255,.451),0 0 50px rgba(255,255,255,.398);
    }
}
@-moz-keyframes glowingbox
{
    0%
    {
        opacity: 1;
        text-shadow: 0 0 20px #a4f3ff,0 0 50px white;
    }
    100%
    {
        opacity: 1;
        text-shadow: 0 0 20px rgba(255,255,255,.451),0 0 50px rgba(255,255,255,.398);
    }
}
#back, #front
{
    transition-property: transform;
    transition-duration: 1s;
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 1s;
    -moz-transition-property: -moz-transform;
    -moz-transition-duration: 1s;
}
.behind
{
    transform: translate(50px,50px);
    -webkit-transform: translate(50px,50px);
    -moz-transform: translate(50px,50px);
}
.ahead
{
    transform: translate(0,100px);
    -webkit-transform: translate(0,100px);
    -moz-transform: translate(0,100px);
}
.box
{
    color: #fff;
    margin: 0 auto;/* padding: 50px;
    width: 6em;  */
    width: max-content;
    transform-style: preserve-3d;
    animation-duration: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    -webkit-transform-style: preserve-3d;
    -webkit-animation-duration: 1s;
    -webkit-animation-direction: alternate;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-duration: 1s;
    -moz-animation-direction: alternate;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
}
.glowing
{
    animation-name: glowingbox;
    -webkit-animation-name: glowingbox;
    -moz-animation-name: glowingbox;
    text-shadow: 0 0 20px white,0 0 50px white;
}/*CSS LIGHTNING*//* #weatherAnimation {
    height: 100vh;
    
    position: absolute;
    z-index: -1;
} */
.myCanvas
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    transform: translateX(50%,50%);/*border: 1px solid black;*/
    background-color: transparent;
    z-index: 0;
}
@keyframes flash
{
    0%
    {
        background-color: #000;
    }
    10%
    {
        background-color: rgb(0,0,0,.1);
    }
    20%
    {
        background-color: rgb(0,0,0,.1);
    }
    40%
    {
        background-color: rgb(0,0,0,.405);
    }
    50%
    {
        background-color: rgb(0,0,0,.405);
    }
    60%
    {
        background-color: rgb(0,0,0,.405);
    }
    70%
    {
        background-color: rgb(0,0,0,.1);
    }
    90%
    {
        background-color: rgb(0,0,0,.1);
    }
    100%
    {
        background-color: #000;
    }
}
@keyframes fadeOut
{
    0%
    {
        opacity: 100%;
    }
    100%
    {
        opacity: 0%;
    }
}/*NEWS TICKER*/
*
{
    box-sizing: border-box;
}
@-webkit-keyframes ticker
{
    0%
    {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        visibility: visible;
    }
    100%
    {
        -webkit-transform: translate3d(-100%,0,0);
        transform: translate3d(-100%,0,0);
    }
}
@keyframes ticker
{
    0%
    {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        visibility: visible;
    }
    100%
    {
        -webkit-transform: translate3d(-100%,0,0);
        transform: translate3d(-100%,0,0);
    }
}
.ticker-wrap
{
    z-index: 999;
    position: fixed;
    top: 0;
    width: 100%;
    overflow: hidden;
    height: 54px;
    background-color: rgba(29,29,29,.9);
    padding-left: 100%;
    box-sizing: content-box;
}
.ticker-wrap .ticker
{
    display: inline-block;
    height: 4rem;
    line-height: 4rem;
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-name: ticker;
    animation-name: ticker;
    -webkit-animation-duration: 30s;
    animation-duration: 30s;
}
.ticker-wrap .ticker__item
{
    display: inline-block;
    padding: 0 2rem;
    font-size: 25px;
    font-weight: bold;
    font-family: "Rubik",sans-serif;
    color: #e21c29;
}/*NEWS TICKER*/