body{
    cursor: auto;
    cursor: url(https://i.imgur.com/x1C8sFh.png) 60 60, auto;
    -webkit-animation: rainbow 1s infinite;
}

.center{
    text-align: center;
}

.black_overlay {
    display: none;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .80;
    filter: alpha(opacity=80);
}
.white_content {
    display: none;
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    padding: 16px;
    border: 16px solid orange;
    background-color: white;
    z-index: 1002;
    overflow: auto;
}

.loluwon0{
    width: 390px;
    position: absolute;
    left: 30%;
    top: 60%;
}

.loluwon1{
    width: 270px;
    position: absolute;
    left: 30%;
    top: 19%;
    transform: rotate(70deg);
}

.loluwon2{
    width: 260px;
    position: absolute;
    left: 90%;
    top: 80%;
    transform: rotate(100deg);
}

.memoryField {
    width: auto;
    max-width: 70%;
    height: auto;
    background-color: lightgray;
    margin: 0 auto;
    border: 5px solid transparent;
    padding: 0 20px 0 20px;
    border-image: url(border.png) 5% repeat;
    /*pointer-events: revert;*/

}

.cardimg{
    max-height: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    /*position: absolute;*/
    overflow: hidden;
    object-fit: contain;
    float: left;
    /*display: table !important;*/
}

.memoryList {
    column-count: 4;
    list-style-type: none;
    padding: 0;
}

#time {
    text-align: center;
}

li:first-child{
    margin:0;
}

li {
    height: 120px;
    width: 120px;
    text-align: center;
    border: 1px solid gray;
    margin-top: 15px;
    /*padding: 50px 0;*/
    border-radius: 10px;
    background-color: #ffffff;
    background-position: center;
    background-size: contain;
    /*transform: rotateY(-180deg);*/
    /*color: #ffffff;*/
    /*user-select: none;*/
    text-indent: -9999px;
    white-space: nowrap;

}



.active {
    /*background-color: blue!important;*/
    transition: 0.7s;
    transform: rotateY(180deg);
    color: #000000;
}


.matched{
    background-color: green!important;
    -webkit-filter: grayscale(1);
    /*transform: rotateY(0deg);*/
    pointer-events: none;
}

iframe {
    display: none;
}

@-webkit-keyframes rainbow {
    0% {background-color: #ff0000;}
    10% {background-color: #ff8000;}
    20% {background-color: #ffff00;}
    30% {background-color: #80ff00;}
    40% {background-color: #00ff00;}
    50% {background-color: #00ff80;}
    60% {background-color: #00ffff;}
    70% {background-color: #0080ff;}
    80% {background-color: #0000ff;}
    90% {background-color: #8000ff;}
    100% {background-color: #ff0080;}
}