
@media (min-width: 1280px){

    #escenario-situaciones {
        top: 21.6%;
        left: 15.5%;
        scale: 1.33;
    }

    #control-left,
    #control-right{
        display: none;
    }

    #escenario-img{
        width: 100% !important;
        height: 477px !important;
        z-index: 0;
        pointer-events: none;
    }

    #instrucciones-btn,
    #pista-btn,
    #mensaje-btn{
        cursor:pointer;
    }

    #escenario{
        cursor: auto;
    }

    #container{
        width: 1280px;
        height: 720px;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        /*height: calc(100px + 317px + 200px);
        height: -moz-calc(100px + 317px + 200px);*/
    }
}

@media (min-width: 845px) and (max-width: 1279px){
    #music-btn:hover,#hint-btn:hover{
        padding-top: 10px;
        /*box-shadow: -1px 1px 2px 1px rgba(0,0,0,0.3);*/
    }
    #instrucciones-btn:hover,
    #pista-btn:hover,
    #mensaje-btn:hover
    {
        cursor: pointer;
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -o-transform: scale(1.1);
        background-color: #00346b;
    }

    #escenario-situaciones-content{
        top: 21.4%;
        left: 15%;
        scale: 1.33;
    }
}

@media (min-width: 560px) and (max-width: 844px){
    #container{
        width: 100%;
        height: fit-content;
    }

    #escenario-situaciones-content{
        top: 21.4%;
        left: 15%;
        scale: 1.33;
    }

    #header{
        width: 100%;
        height: 80px;
        padding: 0px 15px;
    }
    .title{
        width: 100%;
        width: calc(100% - 65px);
        width: -moz-calc(100% - 65px);
        height: 100%;
    }
    .title h1{
        font-size: 17px;
    }
    .title p{
        font-size: 21px;
    }
    .logo{
        width: 47px;
        height: 68px;
    }

    #instrucciones-box{
        width: 550px;
        padding: 10px;
    }

    #instrucciones-box > h1{
        font-size: 18px;
    }
    .instrucciones-list{
        margin-bottom: 10px;
    }
    
    .instrucciones-list span{
        width: 20px;
        height: 20px;
        font-size: 15px;
    }
    .instrucciones-list p{
        width: 100%;
        width: calc(100% - 30px);
        width: -moz-calc(100% - 30px);

        font-size: 15px;
    }

    #instrucciones-btn,
    #pista-btn,
    #mensaje-btn
    {
        width: 110px;
        height: 40px;
        font-size: 14px;
        margin-bottom: -30px;
    }

    #pista-txt,#mensaje-txt{
        font-size: 15px;
    }
    #pista-txt span,#mensaje-txt span{
        font-size: 17px;
    }
    .pista-icon,#mensaje-icon{
        width: 70px;
        height: 70px;
        background-size: 45px;
    }

    #footer{
        padding: 0px 10px;
    }
    #incorrectos-content{
        width: 40px;
        width: calc(45px * 3);
        width: -moz-calc(45px * 3);
    }
    #correctos-content{
        width: 80%;
        width: calc(80% - ((45px * 3) + 10px));
        width: -moz-calc(80% - ((45px * 3) + 10px));
        
        padding-left: 5px;
        margin-right: 5px;
    }
    .correcto-box{
        margin-right: 5px;
        margin-bottom: 5px;
    }

    #music-btn:hover,#hint-btn:hover{
        padding-top: 5px;
        /*box-shadow: -1px 1px 2px 1px rgba(0,0,0,0.3);*/
    }
    #instrucciones-btn:hover,
    #pista-btn:hover,
    #mensaje-btn:hover
    {
        cursor: pointer;
        background-color: #00346b;   
    }

    #music-btn,#hint-btn{
        width: 30px;
        height: 30px;
        
        background-position: center 100%;
        background-position: center calc(100% - 6px);
        background-position: center -moz-calc(100% - 6px);
        background-size: 20px 20px;
    }
    #music-btn{
        right: 10px;
    }
    #hint-btn{
        right: 45px;
    }
}

@media (min-width: 280px) and (max-width: 559px){
    #container{
        width: 100%;
        height: fit-content;
    }

    #escenario-situaciones-content{
        top: 21.4%;
        left: 15%;
        scale: 1.33;
    }
   

    #header{
        width: 100%;
        height: 70px;
        padding: 0px 10px;
    }
    .title{
        width: 100%;
        width: calc(100% - 50px);
        width: -moz-calc(100% - 50px);
        height: 100%;
    }
    .title h1{
        font-size: 16px;
    }
    .title p{
        font-size: 19px;
    }
    .logo{
        width: 40px;
        height: 58px;
    }

    #controles{
        display: flex;
        position: absolute;
        width: 90px;
        height: 40px;
        margin: 0px;
        padding: 0px;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: space-between;
        bottom: 20px;
        right: 15%;
    }
    
    #control-left,#control-right{
        position: relative;
        width: 40px;
        height: 40px;
        border-radius: 4px;
        margin: 0px;
        padding: 0px;
        background-color: #EDEDE9;
        
        background-repeat: no-repeat;
        background-size: 20px;
        background-position: center;
        opacity: 0.7;

        transition: transform 0.2s, -webkit-transform 0.2s, -o-transform 0.2s;
        -webkit-transition: transform 0.2s, -webkit-transform 0.2s, -o-transform 0.2s;
    }
    #control-left:active,#control-right:active{
        opacity: 1;
        transform: scale(0.9);
        -webkit-transform: scale(0.9);
        -o-transform: scale(0.9);
    }
    #control-left{
        box-shadow: 7px 7px 5px -4px rgba(0,0,0,0.8);
        background-image: url(../images/left-btn-icon.svg);
    }
    #control-right{
        box-shadow: -7px 7px 5px -4px rgba(0,0,0,0.8);
        background-image: url(../images/right-btn-icon.svg);    
    }

    #controles-gif{
        display: flex;
        position: absolute;
        width: 45px;
        height: 20px;
        margin: 0px;
        padding: 0px;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: space-between;
        bottom: 5px;
        right: 5px;
        opacity: 1;
    }
    #controles-gif-1,#controles-gif-2{
        position: relative;
        width: 20px;
        height: 20px;
        border-radius: 4px;
        margin: 0px;
        padding: 0px;
        background-color: #EDEDE9;
        
        background-repeat: no-repeat;
        background-size: 10px;
        background-position: center;
    }
    #controles-gif-1{
        background-image: url(../images/left-btn-icon.svg);
    }
    #controles-gif-2{
        background-image: url(../images/right-btn-icon.svg);    
    }

    #instrucciones,#pista,#mensaje{
        align-items: flex-start;
    }
    
    #instrucciones-box{
        width: 100%;
        width: calc(100% - 30px);
        width: -moz-calc(100% - 30px);
        padding: 10px;
        margin-top: 20px;
        max-height: 100%;
        max-height: calc(100% - 50px);
        max-height: -moz-calc(100% - 50px);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    #instrucciones-box > h1{
        font-size: 17px;
    }
    .instrucciones-list{
        margin-bottom: 10px;
    }
    .instrucciones-list span{
        width: 18px;
        height: 18px;
        font-size: 15px;
    }
    .instrucciones-list p{
        width: 100%;
        width: calc(100% - 23px);
        width: -moz-calc(100% - 23px);

        font-size: 14px;
    }
    .instrucciones-gif{
        position: relative;
        width: 300px;
        height: 150px;
    }

    #pista-box,#mensaje-box{
        width: 100%;
        width: calc(100% - 20px);
        width: -moz-calc(100% - 20px);
        padding: 10px;
        margin-top: 100px;
    }

    #pista-txt,#mensaje-txt{
        font-size: 14px;
    }
    #pista-txt span,#mensaje-txt span{
        font-size: 16px;
    }

    .pista-icon,#mensaje-icon{
        width: 60px;
        height: 60px;
        background-size: 40px;
    }

    #instrucciones-btn,
    #pista-btn,
    #mensaje-btn
    {
        width: 110px;
        height: 40px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    #footer{
        padding: 0px 10px;
        height: 200px;
    }
    #incorrectos-content{
        width: 30px;
        width: calc(35px * 3);
        width: -moz-calc(35px * 3);
        align-items: center;
        justify-content: space-between;
    }
    #correctos-content{
        width: 90%;
        width: calc(90% - ((35px * 3) + 20px));
        width: -moz-calc(90% - ((30px * 3) + 20px));
        
        padding-left: 5px;
        margin-right: 20px;
    }
    .incorrecto-box,
    .correcto-box
    {
        width: 30px;
        height: 30px;
    }

    .incorrecto-box{
        border: #E51915 solid 1px;
        margin-bottom: 5px;
    }
    #incorrectos-content .incorrecto-box:last-child{
        margin-bottom: 0px;
    }
    .correcto-box{
        border: #3BAA35 solid 1px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    #escenario-correct-icon,
    #escenario-incorrect-icon,
    .correcto-box > div,
    .incorrecto-box > div
    {
        width: 30px;
        height: 30px;
    }
    
    .correcto-box > div,
    .incorrecto-box > div{
        top: -1px;
        left: -1px;
    }
    
    #escenario-correct-icon::after,
    #escenario-incorrect-icon::after,
    .correcto-box > div::after,
    .incorrecto-box > div::after{
        width: 20px;
        height: 20px;
        top: 50%;
        top: calc(50% - 10px);
        top: -moz-calc(50% - 10px);
        left: 50%;
        left: calc(50% - 10px);
        left: -moz-calc(50% - 10px);
    }
    
    #music-btn,#hint-btn{
        width: 25px;
        height: 25px;
        
        background-position: center center;
        background-size: 18px 18px;
    }
    #music-btn{
        right: 10px;
    }
    #hint-btn{
        right: 40px;
    }
}