/* reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    background-color: #000;
    height: 100%;
    overflow: hidden
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* VIVI */

/* colors */
.yellow {
    background-color: #F0BC3C;
}

.dyellow {
    background-color: #887000;
}

.blue {
    background-color: #3CBCFC;
}

.white {
    background-color: #fff;
}

.red {
    background-color: #F83800;
}

.skin {
    background-color: #F0D0B0;
}


div.container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

div#vivi,
div#eiko {
    display: none;
    justify-content: center;
}

div#eiko.dancing,
div#vivi.dancing {
    display: flex;
}

div.mage {
    display: grid;
    height: 100vh;
    align-content: center;
    grid-template-columns: repeat(16, 3vh);
    grid-template-rows: repeat(24, 3vh);
    position: fixed;
}


/* Animations */
div.blink {
    animation-name: blinkingEye;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-out;
}

div.eiko > div.blink {
    animation-name: blinkingBlueEye;
}

@keyframes blinkingEye {
    0% {
        background: #000;
    }
    25% {
        background: #887000;
    }
    50% {
        background: #887000;
    }
    75% {
        background: #887000;
    }
    100% {
        background: #F0BC3C;
    }
}

@keyframes blinkingBlueEye {
    0% {
        background: #3CBCFC;
    }
    25% {
        background: #3CBCFC;
    }
    50% {
        background: #3CBCFC;
    }
    75% {
        background: #3CBCFC;
    }
    100% {
        background: #000000;
    }
}

div#vivi_1,
div#eiko_1 {
    animation: preloader 300ms step-end alternate infinite;
}

div#vivi_2,
div#eiko_2 {
    animation: preloader 300ms step-end alternate 300ms infinite;
}

@keyframes preloader {
    0% {
        opacity: 1
    }
    50% {
        opacity: 0;
        background-color: #000;
    }
}

@-webkit-keyframes preloader {
    0% {
        opacity: 0;
        background-color: #000;
    }
    50% {
        opacity: 1
    }
}