html,
body {
    margin: 0;
    padding: 0;
    text-align: center;
}
div#stopwatch {
    align-self: center;
    font-family: 'Saira', serif;
}
#stopwatch i{
    color: #ea5b0c;
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
}
.stopwatch{
    font-size: 24px;
    font-weight: 600;
}
.game-section{
    padding: 80px 0;
}
#canvas-game {
    margin-top: 20px;
    /* border: Solid 1px #ebe5e5; */
    /* height: 385px; */
    position: relative;
    overflow: hidden;
    text-align: center
}

#game-statistic {
    margin-top: 40px;
}


#statistic-left,
#statistic-right {
    font-size: 16px;
    display: block;
    background: #ea5b0c;
    margin-bottom: 10px;
    color: #fff;
    padding: 10px 0;
    border-radius: 10px;
}

.bold-text {
    font-weight: bold;
}

.clear {
    clear: both;
}
#game-content{
    padding: 0;
}
.box-picture {
    float: left;
    width: 95px;
    height: 95px;
    border: solid 1px #ebe5e5;
    display: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 15px;
    overflow: hidden;
}

.box-picture>img {
    /* width: 95px;
    height: auto; */
    width: auto;
}

.box-cover-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
}

.box-cover {
    width: 95px;
    height: 95px;
    background: url(../img/image-cover.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    border: solid 1px #ebe5e5;
    float: left;
    cursor: pointer;
    border-radius: 10px;
    margin: 15px;
}

#game-message {
    font-size: 20px;
    background: #f7f5b5;
    padding: 60px 0;
    border: solid 1px #ccc;
    border-radius: 5px;
    display: none;
    font-family: 'Saira', serif;
}
.results{
    display: none;
}
#btnRestart, #see-result {
    padding: 12px 25px 15px;
    font-weight: bold;
    text-align: center;
    background: #ea5b0c;
    text-transform: uppercase;
    margin-top: 20px;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all .4s ease-in-out;
}
#btnRestart:hover, #see-result:hover{
    background: #000;
}
.done {
    /* animation-name: flipInX;
    -webkit-animation-name: flipInX;
    -moz-animation-name: flipInX; */
    animation: none;
    transition: all 2s;
    -webkit-transition: all 2s;
    -moz-transition: all 2s;
    background: #ddd !important;
    /* animation-duration: 2.5s !important;
    -webkit-animation-duration: 2.5s !important;
    -moz-animation-duration: 2.5s !important; */
}
@media screen and (max-width: 850px){
    .box-picture,
    .box-picture>img,
    .box-cover {
        width: 80px;
        height: 80px;
        margin: 8px;
    }
}
/**** IF SCREEN SIZE IS NO LARGER THAN 640px ****/
@media (max-width: 768px) {
    #game-content {
        /* width: 385px;
        height: 348px; */
        max-width: 480px;
        margin: 30px auto 0;
        /* padding-left: 10px; */

    }

    .box-picture,
    .box-picture>img,
    .box-cover {
        width: 75px;
        height: 75px;
        margin: 8px;
    }

    .box-cover {
        background: url(../img/image-cover.jpg) no-repeat;
        background-size: cover;
        background-position: center center;
    }

    #game-statistic {
        margin-top: 40px;
    }

    /* #game-message,
    #game-statistic {
        width: 385px;
    } */

}

/**** IF SCREEN SIZE IS NO LARGER THAN 320px ****/
@media (max-width: 479px) {
    #game-content {
        /* width: 385px;
        height: 348px; */
        max-width: 290px;
        margin: 0 auto;
        /* padding-left: 10px; */
    }

    .box-picture,
    .box-picture>img,
    .box-cover {
        width: 55px;
        height: 55px;
    }

    .box-cover {
        background: url(../img/image-cover.jpg) no-repeat;
        background-size: cover;
        background-position: center center;
    }

    #game-statistic {
        margin-top: 20px;
    }

    #statistic-left,
    #statistic-right {
        float: none;
    }
}