html, body {
    width: 1920px;
    height: 1080px;
    margin: 0;
    padding: 0;
    background: #333;
    overflow: hidden;
}

.html5-puzzle {
    font-family: Helvetica, Arial, sans-serif;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /********************/
    /* board background */
    /********************/
    border: 1px solid #aaa;
}

.html5-puzzle div,
.html5-puzzle ul,
.html5-puzzle li,
.html5-puzzle canvas { margin: 0; padding: 0; }

.hide { display: none; }

.clear { clear: both; }

/*== Jigsaw puzzle ==*/
div#canvas-wrap {
    width: 100%;
    height: 100%;
    background: #fff;
}

canvas#canvas, canvas#buffer, canvas#image-preview {
    position: absolute;
    top: 45px;
    left: 0;
}

canvas#canvas { z-index: 100; }

.loading  #canvas-wrap { background: url(../images/loader.gif) no-repeat center; }
.loading  canvas { visibility: hidden; }

canvas#buffer { z-index: 70; }

canvas#image-preview.show {
    left: 50%;
    opacity: .5;
    z-index: 1000;
    pointer-events: none;
}

/*== Options bar ==*/
div#game-options ul {
    margin: 0 auto;
}
div#game-options {
    background: #fff;
    z-index: 501;
    position: relative;
    padding: 5px 10px 5px 30px;
    width: 100px;
    background-color: transparent;
}

.hidePuzzle {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    color: #fff;
    z-index: 501;
}

div#game-options ul li { 
    float: left;
    list-style: none;
    line-height: 25px;
}

div#game-options ul li b {
    margin: 0 10px;
}

/*== Clock ==*/
#clock {
    width: 60px;
    display: block;
    text-align: center;
}

/*== Select ==*/
div#game-options div.styled-select select {
    outline: none;
    background: transparent;
    width: 125px;
    padding: 5px;
    font-size: 13px;
    border: none;
    height: 28px;
    -webkit-appearance: none;
}

div#game-options div.styled-select {
    width: 100px;
    height: 28px;
    margin-right: 10px;
    overflow: hidden;
    background: url(../images/arrow.png) right no-repeat #f3f3f3;
    border: 1px solid #333;
}

/*== Share buttons ==*/
#share-twitter, #share-facebook {
    text-indent: -10000px;
    width: 32px;
    height: 32px;
    display: block;
    cursor:pointer;
}

/*== Crear puzzle ==*/
#image-error { color: red; margin: 0 10px; display: none; }
#dnd { display: none }

#game-options #create {
    display: none !important;
    right: 25px;
    position: absolute;
}

#game-options #create .add {
    background: url(../images/plus.png)  10px 6px no-repeat #f3f3f3;
    padding-left: 30px;
}
/*== Modal window ==*/

div#congrat { text-align: center; }

div#help {
    font-size: 15px;
}

.numbers {
    position: absolute;
    left: 20px;
    top: 50%;
    margin-top: -80px;
    z-index: 502;
}
.numbers .numbut {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 45px;
    background-color: #fff;
    margin-bottom: 6px;
    cursor: pointer;
}


.images {
    position: absolute;
    left: 80px;
    top: 50%;
    margin-top: -80px;
    z-index: 502;
}
.images .image {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 45px;
    background-size: cover;
    background-color: #fff;
    margin-bottom: 6px;
    cursor: pointer;
}
.startButtons {
    text-align: center;

}
.startButtons > div {
    margin: 0 auto;
    width: 250px;
    height: 100px;
    line-height: 50px;
    font-size: 45px;
    background-size: cover;
    background-color: #fff;
    display: inline-block;
}

div#help ul { margin-left: 10px; }

/*== mobile ==*/
@media screen and (max-width: 960px) {
    div#game-options { left: -30px; }
    #clock { width: 50px; margin-left: }
    #SHOW_EDGE, #SHOW_MIDDLE, #SHOW_ALL,#SHOW_FILEPICKER { display: none; }
}

@media screen and (max-width: 479px) {
    #SHOW_HELP, #clock { display: none; }
    #JIGSAW_SHUFFLE { margin-left: 15px; }
    #SHOW_PREVIEW { margin-right: 10px; }
}


.center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.center-control {
    width: 760px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    display: block;
}
fieldset {
    padding: 20px;
}

.preventclick {
pointer-events: none;
}

.switch-toggle {
    width: 360px;
}
.container {
    background-color: rgba(112, 193, 179, 1);
    width: 720px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;    margin: 0 auto;
    margin-top: 10px;
}
.far, .fas, .fab {
    font-size: 46px;
}
/* .button {
    background-color: #008CBA;
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
}
*/
.timer {
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 20px;
    font-weight: bold;
    margin-left: 0;
}
.recordboard {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    background-color: rgba(112, 193, 179, 1);
    color: white;
    padding: 0 10px;
}
/* card flip styles.... */
.card {
    width: 100px;
    height: 100px;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 10px;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
}
.card.is-flipped {
    transform: rotateY(180deg);
}
.card__face {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    backface-visibility: hidden;
}
.card__face--front {
    background-color: rgba(36, 123, 160, 1);
}
.card__face--back {
    background-color: rgba(242, 95, 92, 1);
    transform: rotateY(180deg);
}

