.touchscreen .desktop,
.mobile{
    display: none;
}
.touchscreen .mobile{
    display: block;
}
.touchscreen{
    overflow-x: hidden;
}

header span{
    color: #47a3da;
}
#horse{
    position: absolute;
    top: 100px;
    left:0;
    width: 70px;
    height: 70px;
    background-image: url('horse.png');
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1000;
    -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
    transition: all 0.3s;
}
#horse.souza{
    transform: rotate(-45deg);
}
.runner{
    width: 240px;
    height: 240px;
    border-radius: 240px;
    background-color: #24a777;
    position: relative;
    margin: 0 auto;
    cursor: crosshair;
    background-image: url('arrow.png');
    background-repeat: no-repeat;
    background-position: center;
}
.center{
    width: 100px;
    height: 77px;
    padding-top: 23px;
    border-radius: 100px;
    background-color: #fff;
    position: absolute;
    left: 70px;
    top: 70px;
    text-align: center;
    color: #47a3da;
    font-weight: bold;
    line-height: 1;
    font-size: 18px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
    transition: all 0.3s;
}
.center:hover{
    color: #24a777;
}
.moving .center{
    cursor: default;
}
.moving .center:hover{
    color: #47a3da;
}
.box{
    height: 70px;
    width: 70px;
    border-radius: 70px;
    position: absolute;
    z-index: 1000;
}
.touchscreen .box{
    background-color: #fff;
    opacity: 0.3;
}
#box1{
    top: 0;
    left: 80px;
}
#box2{
    top: 80px;
    left: 0;
}
#box3{
    bottom: 0;
    left: 80px;
}
#box4{
    top: 80px;
    right: 0;
}

.numin{
    width: 80%;
    margin: 0 auto;
}
#clock{
    margin: 15px 0 0;
}
.timer{
    font-size: 30px;
    color: #47a3da;
    font-weight: 700;
    margin-bottom: 20px;
}
.finish .timer{
    color: #cc3332;
}
.topscore,
#clock span{
    display: inline-block;
    font-size: 12px;
    color: #333;
}


@media all and (max-width: 580px){
    .main{
        margin-top: 30px;
        margin-bottom: 0;
        padding: 15px 4% 25px;
        width: 92%;
        overflow-x: hidden;
    }
    header h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    header p {
        font-size: 15px;
        line-height: 1.2;
    }
    header{
        margin-bottom: 50px;
    }
    header br{
        display: none;
    }
    .numin {
        width: 100%;
        margin-bottom: 0;
    }
    #horse{
        top: 160px;
        width: 50px;
        height: 50px;
        background-image: url('horse_sm.png');   
    }
    .runner{
        width: 180px;
        height: 180px;
        border-radius: 180px;
        background-image: url('arrow_sm.png');
    }
    .center{
        width: 90px;
        height: 72px;
        padding-top: 18px;
        border-radius: 90px;
        left: 45px;
        top: 45px;
    }
    .box{
        height: 45px;
        width: 45px;
        border-radius: 45px;
    }
    #box1{
        left: 65px;
    }
    #box2{
        top: 65px;
    }
    #box3{
        left: 65px;
    }
    #box4{
        top: 65px;
    }
    #clock {
        margin: 10px 0 15px;
    }
}