html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
   /* background: #333;*/
    background: url(../images/FondoRompecabezas.png);
    overflow: hidden;
}
@font-face {
  font-family: "Robot-Black";
  src: url("fonts/Roboto-Black.woff");
}
@font-face {
  font-family: "Robot";
  src: url("fonts/Roboto-Regular.woff");
}
@font-face {
  font-family: "Roboto-Black";
  src: url("./fonts/Roboto-Black.eot"); /* IE9 Compat Modes */
  src: url("./fonts/Roboto-Black.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("./fonts/Roboto-Black.otf") format("opentype"), /* Open Type Font */
    url("./fonts/Roboto-Black.svg") format("svg"), /* Legacy iOS */
    url("./fonts/Roboto-Black.ttf") format("truetype"), /* Safari, Android, iOS */
    url("./fonts/Roboto-Black.woff") format("woff"), /* Modern Browsers */
    url("./fonts/Roboto-Black.woff2") format("woff2"); /* Modern Browsers */
  font-weight: normal;
  font-style: normal;
}
*{
    font-family: "Robot";
}
.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: #ffffff59;
    /*background: url(/images/FondoRompecabezas.png);*/
    margin: auto;
    position:absolute;

}

canvas#canvas, canvas#buffer, canvas#image-preview {
    position: absolute;
    top: 50px;
    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: 500;
    top: 0;
    left: -20px;
    position: absolute;
    border-bottom: 1px solid #000;
    padding: 5px 10px 5px 30px;
    width: 100%;
    height: 32px;
    -moz-box-shadow: 0 0 5px black;
    -webkit-box-shadow: 0 0 5px black;
    box-shadow: 0 0 5px black;
}

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

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

/*== Clock ==*/
#clock {
    display: block;
    background: none;
    color: #fff;
    border: none;
    font-size: 32px;
    margin: 0;
    padding: 0;
    font-family: 'Robot';
}

/*== 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;
    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;color: #fff;font-family: 'Robot';}

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

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

/*== mobile ==*/
@media screen and (max-width: 960px) {
    div#game-options { left: -30px; }
    #clock {width: auto;margin-left:0;}
    #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; }
}

/************Pregame**************/
div#pre-game {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
    background: url(../images/pregame/background.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
    position: absolute;
}

.start-button, .saltar, .playVideo {
    background-color: #E35C00;
    border-radius: 50px;
    font-size: 26px;
    color: #fff;
    position: absolute;
    border: none;
    padding: 10px 50px;
    font-family: "Robot";
}
.start-button{
    bottom: 180px;
    right: 180px;
    background: #631F77 !important;
}
.saltar, .playVideo{
    left: 50%;
    bottom: 30px;
    z-index: 1000;
    width: 350px;
    margin-left: -175px;
}
.start-button:focus{
    border:1px solid #fff;
}
#ui-in-game
{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
    pointer-events: none;
}
.hidden
{
    display: none;
}
/*------------------IN GAME---------*/
#videoIntro
{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 999;
  background-color: #000;
}
.hide
{
  opacity: 0;
  pointer-events: none;
  transition: all .5s;
}
.tittle-game, .timer
{
    position: absolute;
    width: 300px;
    height: 300px;
    top: -100px;
    background-color: #E35C00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    vertical-align: middle;
    justify-content: center;
    /* align-items: center; */
    /* justify-items: center; */
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    
}
.tittle-game
{
    left: -100px;
    padding: 100px 40px 10px 115px;
    text-align: left;
}
.timer
{
    right: -100px;
    padding: 100px 115px 10px 40px;
    text-align: right;
}
.tittle-game .level
{
    font-size: 26px;
}
.tittle-game .level, .tittle-game span, .timer, #tittle-image
{
    font-family: 'Robot';
}
.tittle-game span {
    font-size: 24px;
    font-weight: bold;
}
div#tittle-image::before
{
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ccc;
    top: 50%;
    left: 0;
    margin-top: -1px;
    content: "";

}
div#tittle-image {
    position: absolute;
    width: 100%;
    height: 50px;
    font-size: 36px;
    text-align: center;
    top: 5px;
}
div#tittle-image span
{
    font-size: 32px;
    color: #000;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 20px;
    position: relative;
    height: 60px;
    padding: 0px 40px;
}
.timer span {
    font-size: 26px;
}

.check-image {
    width: 100px;
    height: 100px;
    background: #ffffff;
    box-sizing: border-box;
    border-radius:50%;
    display: flex;
    align-items:center;
    justify-items:center;
    justify-content:center;
    margin: auto;
}
.check-image img{
    max-width:60%;
    height:auto;
}
#congrat h1 {
    font-size: 60px;
    margin-top: 30px;
    margin-bottom: 30px !important;
}
#modal-window
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 700px;
    max-width: 90%;
    max-height: 90%;
    background: rgb(227,92,0);
    background: linear-gradient(15deg, rgba(227,92,0,1) 23%, rgba(227,125,0,1) 71%);
    background-size: contain;
    padding: 50px;
    background-position: center;
    height: 500px;
    /* border: 3px solid #000; */
    border: white 8px solid;
    outline: 5px solid black;
    box-sizing: border-box;
    top: 0;
    left: 50%;
    position: absolute;
}
.continue {
    background: #e37d00;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 35px;
    font-size: 32px;
    padding: 5px 20px;
    cursor: pointer;
    font-family: 'Robot';
    text-decoration: none;
}
h3 span#time {
    color: #000;
    background: #ffffff;
    font-size: 42px;
    padding: 10px 60px;
    border-radius: 30px;
}

.ya_participaste_com {
        outline: 5px solid black;
    background: #ff7900 !important;
    width: 686px;
    margin-top: 219px;
    border: white 8px solid;
    height: 233px;
    text-align: center;
    margin-left: 145px;
    margin-right: 132px;
}
                
                
.row {
    margin-top: -132px;
    display: flex;
    flex-wrap: wrap;
}
.side {
     flex: 30%;
     background-color: #f1f1f1;
    padding: 60px;
}
                    
 .chulo {
    width: 86px;
    height: 88px;
     margin: 0px 233px 0px;
 }
/*******RESPONSIVE*****/
@media (max-width:1000px){
    .start-button{
        font-size: 24px;
        bottom: 120px;
        right: 120px;
        border: none;
        padding: 10px 30px;
    }
    .tittle-game, .timer
    {
        width: 220px;
        height: 220px;
        top: -80px;
    }
    .tittle-game
    {
        left: -80px;
        padding: 80px 40px 10px 100px;
        text-align: left;
    }
    .timer
    {
        right: -80px;
        padding: 80px 100px 10px 40px;
        text-align: right;
    }
    .tittle-game .level
    {
        font-size: 18px;
    }
    .tittle-game span {
        font-size: 18px;
        font-weight: bold;
    }
    .timer span {
        font-size: 18px;
    }
    .timer #clock{
        font-size:18px;
    }
}
@media (max-width:750px){
    .start-button{
        font-size: 22px;
        bottom: 60px;
        right: 20px;
        border: none;
        padding: 10px 30px;
    }
    .tittle-game, .timer
    {
        width: 160px;
        height: 160px;
        top: -60px;
    }
    .tittle-game
    {
        left: -60px;
        padding: 60px 40px 10px 65px;
        text-align: left;
    }
    .timer
    {
        right: -60px;
        padding: 50px 65px 10px 30px;
        text-align: right;
    }
    .tittle-game .level
    {
        font-size: 14px;
    }
    .tittle-game span {
        font-size: 14px;
        font-weight: bold;
    }
    .timer span {
        font-size: 16px;
    }
    .timer #clock{
        font-size: 16px;
    }
    .saltar, .playVideo {
        width: 300px;
        margin-left: -150px;
        font-size: 20px;
    }
    #movieName{
        font-size:26px;
        margin-top:5px;
    }
    #verify{
        margin-top:5px;
        font-size:26px;
    }
    button.continue{
        font-size:26px;
        height: 42px;
    }
    .check-image{
        width:50px;
        height:50px;
        padding:10px 0px;
    }
    h3.titulo_respuesta
    {
        font-size:32px;
    }
    .respuesta span{
        height:28px;
        font-size:28px;
    }
    div#tittle-image span
    {
        font-size:24px;
    }
}
@media (max-width:400px)
{
    body{
        zoom:0.5;
    }
}