@import url('https://fonts.googleapis.com/css?family=Audiowide');

header, .header {
    background-color: hsl(70, 8%, 15%);
    color: white;
    text-align: center;
    text-decoration: underline yellow;
    text-transform: capitalize;
    font-size: 2em;
    margin-top: 0;
/*}

h1 {*/
    /*font-family: 'Slackey', cursive;*/
    /*font-family: 'Pacifico', cursive;*/
    /*font-family: 'Coming Soon', cursive;*/
    font-family: 'Audiowide', cursive;
    /*background: linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(0,0,0,0.1) 44%, rgba(0,0,0,0.47) 58%, rgba(0,0,0,1) 100%);*/
    /*text-overflow: clip;*/
    /*text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);*/
}

header h1 {
    margin-top: 0;
    margin-bottom: 0.1em;
}

.sparkle {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 100;
    /*margin: 20%;*/
    text-align: center;
    background: url('/assets/images/sparkle.png');
    animation:
        sparkle .5s infinite steps(1),
        movetop 2.5s infinite steps(1),
        moveleft 3.5s infinite steps(1);
}

@keyframes sparkle {
    0%, 100% { background-position: 0px 0; }
    20% { background-position: 20px 0; }
    40% { background-position: 40px 0; }
    60% { background-position: 60px 0; }
    80% { background-position: 80px 0; }
}
@keyframes movetop {
    0%, 100% { top: 0; }
    20% { top: 0.75em; }
    40% { top: 0.3em; }
    60% { top: 1em; }
    80% { top: 0.1em; }
}

@keyframes moveleft {
    0%, 100% { left: calc(50vw + 5.0em); }
    14.28% { left: calc(50vw + 2.0em); }
    28.57% { left: calc(50vw - 9.0em); }
    42.85% { left: calc(50vw + 3.5em); }
    57.14% { left: calc(50vw - 2.0em); }
    71.42% { left: calc(50vw + 6.0em); }
    85.71% { left: calc(50vw - 8.0em); }
}
