﻿* {
    box-sizing: border-box;
}

body.konami {
    margin: 0;
    overflow: hidden;
    position: relative;
}

#canvas {
    height: 100vh;
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25px, 25px));
    background-color: black;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

    #canvas > span {
        width: 25px;
        height: 25px;
        display: inline-block;
        /*border-radius: 50%;*/
        text-align: center;
        font-size: 0px;
    }

        #canvas > span:nth-child(odd) {
            animation: akEasterEgg 3s infinite;
        }

        #canvas > span:nth-child(even) {
            animation: akEasterEgg 3s infinite reverse;
        }


@keyframes akEasterEgg {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}
