* {
    touch-action: manipulation;
}

body {
    background: #333;
}

.gblock {
    position: relative;
    height: 100vh;
    max-height: 720px;
    max-width: 800px;
    /*To hide the horizontal scroller appearing during the animation*/
    overflow: hidden;
    /* background-blend-mode: luminosity;
    filter: blur(8px);
    -webkit-filter: blur(8px); */
}

.keyboard {
    background-color: rgba(209, 171, 75, .85);
}

.bg-grey {
    background-color: rgba(211, 211, 211, .85);
}

.dashboard {
    background-color: rgba(106, 34, 157, 0.85);
}

.stars {
    font-size: 250%;
    color: gold;
}

.bg {
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 80%;
}

.bg button.gbtn,
.bg button.board,
.bg button.action,
.bg button.return_btn,
.bg button.toggleSound {
    font-size: 150%;
    font-weight: bold;
    padding: 0 0;
    min-width: 51px;
    min-height: 51px;
}

.bg button.btn-success i {
    position: absolute;
    font-size: 50%;
    color: gold;
}

.bg button.btn-success i:nth-child(1) {
    bottom: 0;
    left: -12px;
}

.bg button.btn-success i:nth-child(2) {
    bottom: -12px;
    left: -2px;
}

.bg button.btn-success i:nth-child(3) {
    bottom: -20px;
    left: 13px;
}

.pos1 {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pos2 {
    position: absolute;
    top: 12%;
    left: 65%;
    transform: translate(-50%, -50%);
}

.pos3 {
    position: absolute;
    top: 22%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.pos4 {
    position: absolute;
    top: 31%;
    left: 40%;
    transform: translate(-50%, -50%);
}

.pos5 {
    position: absolute;
    top: 40%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.pos6 {
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
}

.pos7 {
    position: absolute;
    top: 64%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.pos8 {
    position: absolute;
    top: 69%;
    left: 40%;
    transform: translate(-50%, -50%);
}

.pos9 {
    position: absolute;
    top: 78%;
    left: 55%;
    transform: translate(-50%, -50%);
}

.posx {
    position: absolute;
    bottom: 10%;
    right: 0%;
    transform: translate(-50%, -50%);
}

.posy {
    position: absolute;
    bottom: 10%;
    left: 11%;
    transform: translate(-50%, -50%);
}

.posc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.posbb {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg1 {
    background-image: url('../img/bg/2.jpg');
}

.bg2 {
    background-image: url('../img/bg/3.jpg');
}

.bg3 {
    background-image: url('../img/bg/4.jpg');
}

.bg4 {
    background-image: url('../img/bg/5.jpg');
}

.bg5 {
    background-image: url('../img/bg/6.jpg');
}

.bg6 {
    background-image: url('../img/bg/7.jpg');
}

.bg7 {
    background-image: url('../img/bg/8.jpg');
}

.bg8 {
    background-image: url('../img/bg/9.jpg');
}

.bg9 {
    background-image: url('../img/bg/10.jpg');
}

.bg10 {
    background-image: url('../img/bg/11.jpg');
}

.bg11 {
    background-image: url('../img/bg/12.jpg');
}

.bg12 {
    background-image: url('../img/bg/1.jpg');
}

.wiggle,
.wiggle2:hover {
    animation-name: wiggle;
    -webkit-animation-name: wiggle;
    -ms-animation-name: wiggle;
    animation-duration: 1000ms;
    -ms-animation-duration: 1000ms;
    -webkit-animation-duration: 1000ms;
    animation-iteration-count: 1;
    -webkit-animation-iteration-count: 1;
    -ms-animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    -ms-animation-timing-function: ease-in-out;
}

@keyframes wiggle {
    0% {
        transform: translate(-50%, -50%) rotate(10deg);
    }

    25% {
        transform: translate(-50%, -50%) rotate(-10deg);
    }

    50% {
        transform: translate(-50%, -50%) rotate(20deg);
    }

    75% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}



.bg button.btn-danger::before,
.bg button.btn-danger::after {
    opacity: 0;
    position: absolute;
    top: -20px;
    left: -20px;
    right: 0;
    bottom: 0;
    content: "";
    height: 81px;
    width: 81px;
    border: 8px solid rgba(0, 0, 0, 0.2);
    border-radius: 100%;
    z-index: -1;
}

.bg button.btn-danger::before {
    animation: ripple 3s 0s infinite cubic-bezier(0.65, 0, 0.34, 1);
}

.bg button.btn-danger::after {
    animation: ripple 3s 0.5s infinite cubic-bezier(0.65, 0, 0.34, 1);

}

@keyframes ripple {
    from {
        opacity: 1;
        transform: scale3d(0.75, 0.75, 1);
    }

    to {
        opacity: 0;
        transform: scale3d(1.5, 1.5, 1);
    }
}

.pulse-button {
    /* position: relative; */
    border: none;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(71, 53, 20, 0.7);
    -webkit-animation: pulse 3s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.pulse-button:hover {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
}

@-webkit-keyframes pulse {
    to {
        box-shadow: 0 0 0 45px rgba(188, 132, 32, 0);
    }
}

@-moz-keyframes pulse {
    to {
        box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);
    }
}

@-ms-keyframes pulse {
    to {
        box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);
    }
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
    }
}

.cborder {
    flex-shrink: 0;
    height: auto;
    width: 150px;
    border: calc(8px + 0.2vw) solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
    background-size: cover;
    box-sizing: border-box;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.5);
}

.cborder-1 {
    border-radius: 30%;
}