@font-face {
    font-family: 'Web IBM VGA 8x14';
    font-style: normal;
    font-weight: 400;
    src: url('web_ibm_vga_8x14.woff') format('woff');
}

body {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    text-size-adjust: none;
}


#centerer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-width: 100vw;
}

#background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.5;
    background-color: #0000ff;
    background-image: linear-gradient(45deg, #000087, #0000ff, #2c2cff, #00f);
    background-repeat: no-repeat;
    background-position: center;
    background-position-y: bottom;
    background-size: contain;
}

#container
{
    visibility: hidden;
    position: absolute;
    height: 100vh;
    aspect-ratio: 16 / 9;
    margin:auto;
    overflow: hidden;

    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
@media (max-aspect-ratio: 16/9) {
    #container {
        height: auto;
        width: 100vw;
    }
}
@media (min-aspect-ratio: 16/9) {
    #container {
        height: 100vh;
        width: auto;
    }
}
#container_ {
    position: relative;
    height: 100%;
    width: 100%;
    margin:auto;
    overflow: hidden;
}

#counter_cont
{
    position: relative;
    width: 90%;
    margin: auto;
    padding: 2vw;
    text-align: center;
    top: 10%;
}

#counter_filler, #counter_label
{
    position: relative;
    margin: auto;
    font-family: 'Web IBM VGA 8x14', Courier, monospace;
    font-size: 1.8vw;
}

#counter_label
{
    width: fit-content;
    padding-right: 1%;
    padding-left: 1%;
    text-align: center;
    background-color: #aaa;
    color: #00f;
}

#counter_filler
{
    margin-top: 5%;
    width: 100%;
    text-align: left;
    color: #fff;
}

#clickme
{
    position: absolute;
    top: 0;
    padding-top:10%;
    width: 100%;
    height: 100%;
    margin:auto;
    color:#FFF;
    font-size: 10vh;
    font-family: 'Web IBM VGA 8x14', Courier, monospace;
    text-align: center;
}

#BGEFFECTS, #BGEFFECTS * {
    position: absolute;
    z-index: -2;
}

#BGEFFECTS {
    top: 0%;
    left: 0%;
    perspective-origin: 50% 50%;
    perspective: 100vh;
    height: 100%;
    width: 100%;
}

#CHECKERBOARD_CONTAINER {
    bottom: -50px;
    left: -25%;
    width: 150%;
    height: 200%;
    overflow: hidden;

    transform-style: preserve-3d;
    transform-origin: 50% 100%;
    transform:rotateX(90deg) translate3d(0%, 0vh, 0vh);
}

@keyframes checkerboard-anim  {
    0% {top:-800px;};
    100% {top: 0px;};
}

#CHECKERBOARD {
    position: fixed;
    background: conic-gradient(
        #000 90deg,
        #fff 90deg 180deg,
        #000 180deg 270deg,
        #fff 270deg
    );
    background-size: 400px 400px;
    background-repeat: repeat;
    background-position: top-left;

    transform: rotateY(0);

    width: 100%;
    height: 4200px;

    animation: checkerboard-anim 2s linear infinite;
}

@keyframes float-anim {
    0% {top: 20%};
    50% {top: 25%};
    100% {top: 20%};
}

#MOIMAN  {
    height: 50%;
    left: 72%;
    top: 30%;
    animation: float-anim 10s ease infinite;
}