﻿div#agkb {
    width: 1117px;
    height: 330px;
    top: 400px;
    left: 50%;
    margin-left: -528px;         
        transform-origin: 50% 50%;
}

.ag-keyboard {
    background: url("../images/Anti-ghost_frame.png") 0 0 no-repeat;
    position: relative;
}

.ag-keyboard-press {
    position: absolute;
    left: 0;
    top: 0;
    background: url("../images/Anti-ghost_frame-clicked.png") 0 0 no-repeat;
    width: 0;
    height: 0;
    opacity: 0;
    transition: opacity 250ms ease;
}

    .ag-keyboard-press.on {
        opacity: 1;
    }

    .ag-keyboard-press.test {
        background: rgba(255,0,0,0.5);
        width: 100px;
        opacity: 1;
        height: 100px;
        box-shadow: none;
    }


#clicktotest {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    padding: 10px;
    margin: -10px;
    border-radius: 10px;
    box-shadow: 0 0 16px 1px rgba(130, 255, 225, 0.16);
    text-align: center;
    z-index: 99999;
    cursor: pointer;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    opacity:1;
    transition:opacity 400ms ease;
}
#clicktotest.fadeout {
    opacity:0;
}

    #clicktotest .text {   
        display: inline-block;
        vertical-align: middle;
        font-size: 90px;
        color: #fff;
        text-shadow: 0 0 5px rgba(122, 255, 244, 0.79),0 0 15px rgba(122, 255, 244, 0.26),0 0 6px rgba(122, 255, 244, 0.5);
    }     

    #clicktotest .text2 {   
        
    position: absolute;
    bottom: 105px;
    color: #fff;
    left: 50%;
    width: 270px;
    margin-left: -135px;
    font-size: 37px;
    text-shadow: 0 0 5px rgba(230, 163, 142, 0.88),0 0 15px rgba(122, 255, 244, 0.26),0 0 6px rgba(249, 230, 55, 0.5);
    font-style: inherit;
    }

    #clicktotest:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        height: 100%;
        width: 0;
        visibility: hidden;
    }



    
@media screen and (max-width: 1366px) {    
    div#agkb{                                  
        margin-left: -558px;
        transform: scale(0.86);
        top:308px;
    }
}

@media screen and (max-width: 960px) {
    div#agkb{                                  
        margin-left: -558px;
        transform: scale(0.58);
        top:308px;
    }
}

@media screen and (max-width: 640px) {

    div#agkb{
        display:none;
    }
}