body {
	overflow: hidden;
	background-color: #fff;
}

#btn-wrap {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-moz-user-select: none;
	user-select: none;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center
}

@keyframes xSlideAnim {
    0% {
        transform: translateX(0)
    }
    25% {
        transform: translateX(300px)
    }
    50% {
        transform: translateX(0)
    }
    75% {
        transform: translateX(-300px)
    }
}

#app {
    width: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .35s
}

.button-wrapper {
    margin: 0 0 30px 0;
    position: relative;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
}

.button {
    position: relative;
    height: 100px;
    width: 100px;
    border: none;
    margin: 10px;
    background: url(../imgs/red-btn.png) center no-repeat;
    cursor: pointer;
    background-size: 100%
}

.button:focus {
    outline: 0
}

.button:active {
    background-image: url(../imgs/red-btn-p.png)
}

.button.hidden {
    opacity: 0
}

.button--red {
    background-image: url(../imgs/red-btn.png)
}

.button--red:active {
    background-image: url(../imgs/red-btn-p.png)
}

.button--green {
    background-image: url(../imgs/green-btn.png)
}

.button--green:active {
    background-image: url(../imgs/green-btn-p.png)
}

.button--blue {
    background-image: url(../imgs/blue-btn.png)
}

.button--blue:active {
    background-image: url(../imgs/blue-btn-p.png)
}

.pos-x-animation {
    animation: xSlideAnim 2.5s linear infinite
}

.message-box {
    max-width: 300px;
    font: 17px/1.5 Arial;
    background: #f9f9f9;
    text-align: center;
    border-radius: 10px;
    padding: 8px 15px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .329)
}

.button--custom {
    height: 120px;
    width: 120px
}

.button--custom:active {
    transform: scale(.9)
}

.--preloaded-image {
    display: none
}

.button-ref {
    display: block;
    width: 100%;
    height: 100%
}
