#outer-wrapper {
    background: url(../images/background-main.jpg) top center no-repeat;
	background-size: cover;
}

.slot-machine {
	position: relative;
	display: block;
	margin: 0 auto;
	width: 50%;
	width: 46%;
	height: auto;
	text-align: center;
	transform: scale(0.7);
	/*
	opacity: 0;
	-webkit-animation: opac-in-animate 0.5s ease-in forwards;
	animation: opac-in-animate 0.5s ease-in forwards;
*/
}

.animate .slot-machine {
	animation: slot-machine-animate 1.2s ease-out forwards;
	animation-delay: 0.2;
}

@keyframes slot-machine-animate {
	0% {
		transform: scale(0.7);
		opacity: 0;
	}
	25% {
		opacity: 1;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}


.slot-machine-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.placeholder {
	position: relative;
	display: block;
	width: 100%;
	opacity: 0;
	z-index: 1;
}
.slot-machine-front {
	position: absolute;
	display: block;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 9;
}
.sign-top {
	position: absolute;
	display: block;
	width: 100%;
	top: -18%;
	top: -33.5%;
	left: 0;
	z-index: 10;
}

.slot-machine-lights {
	position: absolute;
	display: block;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 3;
}
.lights-1,
.lights-1-general{
	position: absolute;
	display: block;
	width: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 1;
}
.lights-2,
.lights-2-general{
	position: absolute;
	display: block;
	width: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 1;
}
.slot-win .lights-1 {
	animation: lights-animate 0.4s linear infinite;
}
.slot-win .lights-2 {
	animation: lights-animate 0.4s linear infinite;
	animation-delay: 0.2s;
}
body.modal-open .slot-win .lights-1, body.modal-open .slot-win .lights-2 {
	animation: none;
}

.slot-machine-lights-general {
	position: absolute;
	display: block;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 2;
}
.lights-animate .lights-1-general {
	animation: lights-animate 1.2s linear infinite;
}
.lights-animate .lights-2-general {
	animation: lights-animate 1.2s linear infinite;
	animation-delay: 0.6s;
}

.slot-machine-wrapper {
	position: absolute;
	display: block;
	top: 12%;
	left: 0;
	width: 100%;
	height: 100%;
}
#root {
	position: absolute;
	display: block;
	left: 22%;
	top: 22%;
	width: 56%;
	height: 56%;
	max-height: 56%;
	background: #ffffff;
}
#root:before {
	content: "";
	position: absolute;
	display: block;
	left: 100%;
	top: 100%;
	top: 0;
	left: 0;
	z-index: 5;
}

#root .App {
	position: relative;
	display: block;
	min-height: 22vh;
}
#root .App canvas {
	position: relative;
	overflow: hidden;
	background: #ffffff;
	z-index: 6;
}
#root .App > div {
	overflow: hidden;
}
#root .App > div.slot-button-wrapper {
	overflow: initial;
}
.slot-button-wrapper {
	position: absolute;
	width: 100%;
	bottom: -32%;
	left: 0%;
	text-align: center;
	z-index: 11;
}

.playbutton {
	position: relative;
	padding: 0;
	border: none;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	background: url(../images/play-btn-bg.png) center no-repeat;
	background-size: contain;
	/*	-webkit-filter: blur(0px); */
	border: none;
	box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.4);
	z-index: 3;
}
.playbutton img {
	position: relative;
	width: 100%;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}
.playbutton {
	animation: heartBeat 2s linear infinite;
}
.playbutton:hover {
	animation: none;
	transform: scale(1);
	transition: all 0.2s;
}
.playbutton.disabled {
	cursor: default;
	animation: none;
}

/*.playbutton img {	*/
.playbutton.disabled img {
	transform: scale(1);
	transition: all 0.2s;
	animation: rotate-animate 10s linear infinite;
}
#spins-left {
	position: absolute;
	top: 0;
	top: calc(50% - 20px);
	left: 0;
	width: 100%;
	height: 100%;
	height: 40px;
	line-height: 40px;
	vertical-align: top;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	font-size: 27px;
	font-weight: 800;
	color: #ffffff;
	-webkit-backface-visibility: hidden;
	transform: scale(1);
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1921px) {
	.slot-machine {
		width: 50%;
	}
}

@media (min-width: 1200px) and (max-width: 1599px) {
	.playbutton {
		width: 96px;
		height: 96px;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
    .slot-machine {
		width: 50%;
	}
    .playbutton {
		width: 96px;
		height: 96px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.slot-machine {
		width: 70%;
	}

    .playbutton {
		width: 96px;
		height: 96px;
	}
}

@media (max-width: 767px) {
    .slot-machine {
		width: 100%;
	}
    .playbutton {
		width: 72px;
		height: 72px;
	}
	.playbutton:not(.disabled):hover {
		animation: heartBeat 2s linear infinite;
	}
    #spins-left {
		font-size: 22px;
	}
}