.main {
	width: 310px;
}

.slots {
	font-size: 100px;
	line-height: 100px;
	font-family: arial, helvetica, sans-serif;
	text-align: center;
	overflow: hidden;
	height: 100px;
	float: left;
	border: 1px solid #ccc;
	background-color: #fff;
	position: relative;
}

.number-wrapper {
	margin-top: 0;
	width: 100px;
}

.number-wrapper:after,
.number-wrapper:before {
	content: " ";
	display: block;
	height: 50px;
	left: 0;
	position: absolute;
	width: 100%;
}

.number-wrapper:after {
	bottom: 0;
	background: rgba(255, 255, 255, 0);
	background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #cccccc 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, #cccccc));
	background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #cccccc 100%);
	background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #cccccc 100%);
	background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #cccccc 100%);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #cccccc 100%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cccccc', GradientType=0);
}

.number-wrapper:before {
	top: 0;
	background: #cccccc;
	background: -moz-linear-gradient(top, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, #cccccc), color-stop(100%, rgba(255, 255, 255, 0)));
	background: -webkit-linear-gradient(top, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
	background: -o-linear-gradient(top, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
	background: -ms-linear-gradient(top, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
	background: linear-gradient(to bottom, #cccccc 0%, rgba(255, 255, 255, 0) 100%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#cccccc', endColorstr='#ffffff', GradientType=0);
}

input {
	background: #5CCD00;
	background: -moz-linear-gradient(top, #5CCD00 0%, #4AA400 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5CCD00), color-stop(100%, #4AA400));
	background: -webkit-linear-gradient(top, #5CCD00 0%, #4AA400 100%);
	background: -o-linear-gradient(top, #5CCD00 0%, #4AA400 100%);
	background: -ms-linear-gradient(top, #5CCD00 0%, #4AA400 100%);
	background: linear-gradient(to bottom, #5ccd00 0%, #4aa400 100%);
	filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#5CCD00', endColorstr='#4AA400', GradientType=0);
	padding: 10px 15px;
	color: #fff;
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 16px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #459A00;
	margin-left: 10px;
	margin-top: 0;
}

input:hover {
	cursor: pointer;
}

.button {
	float: left;
}


/* Mixins */

@-moz-keyframes spin
/* Firefox */

{
	from {
		background-position: 0, 0 0;
	}
	to {
		background-position: 0, 0 -1580px;
	}
}

@-webkit-keyframes spin
/* Safari and Chrome */

{
	from {
		background-position: 0, 0 0;
	}
	to {
		background-position: 0, 0 -1580px;
	}
}

@-ms-keyframes spin
/* IE */

{
	from {
		background-position: 0, 0 0;
	}
	to {
		background-position: 0, 0 -1580px;
	}
}

@-o-keyframes spin
/* Opera */

{
	from {
		background-position: 0, 0 0;
	}
	to {
		background-position: 0, 0 -1580px;
	}
}

@keyframes spin {
	from {
		background-position: 0, 0 0;
	}
	to {
		background-position: 0, 0 -1580px;
	}
}

#equation {
	position: absolute;
	left: 50%;
	margin-left: -50px;
	top: 50%;
	margin-top: -80px;
}

#equation span {
	display: inline-block;
	vertical-align: middle;
	margin-right: 12px;
}

#equation .spinner {
	height: 140px;
	margin: 10px;
	margin-right: 12px;
	background-color: #FFF;
	background-position: 0;
	border-radius: 5px;
	box-shadow: inset 0 0 5px #000;
	position: relative;
	-webkit-animation: spin 3s linear 0s infinite;
	-moz-animation: spin 3s linear 0s infinite;
	-o-animation: spin 3s linear 0s infinite;
	-ms-animation: spin 3s linear 0s infinite;
	animation: spin 3s linear 0s infinite;
}

#equation .spinner:before {
	content: '';
	position: absolute;
	z-index: -1;
	top: -10px;
	left: -10px;
	width: 120px;
	height: 160px;
	border-radius: 10px;
	background-color: #333;
	background-image: -webkit-linear-gradient(#666 0%, #333 60%, #666 100%);
	background-image: -moz-linear-gradient(#666 0%, #333 60%, #666 100%);
	background-image: -ms-linear-gradient(#666 0%, #333 60%, #666 100%);
	background-image: -o-linear-gradient(#666 0%, #333 60%, #666 100%);
	box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.2);
}

#equation .drink {
	background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.6) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.6) 100%), url("http://media.balsamiq.com/img/hashtaghot/drinks.jpg");
	background-image: -moz-linear-gradient(rgba(0, 0, 0, 0.6) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.6) 100%), url("http://media.balsamiq.com/img/hashtaghot/drinks.jpg");
	background-image: -ms-linear-gradient(rgba(0, 0, 0, 0.6) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.6) 100%), url("http://media.balsamiq.com/img/hashtaghot/drinks.jpg");
	background-image: -o-linear-gradient(rgba(0, 0, 0, 0.6) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.6) 100%), url("http://media.balsamiq.com/img/hashtaghot/drinks.jpg");
	width: 80px;
	background-size: 80px auto;
	background-position: 0, 0 20px;
}

#equation .drink:before {
	width: 100px;
}

#equation.zero .drink {
	background-position: 0, 0 -1580px;
}

#equation.one .drink {
	background-position: 0, 0 -1680px;
}

#equation.two .drink {
	background-position: 0, 0 -1780px;
}

#equation.three .drink {
	background-position: 0, 0 -1880px;
}

#equation.four .drink {
	background-position: 0, 0 -1980px;
}

#equation.five .drink {
	background-position: 0, 0 -2080px;
}

#equation.six .drink {
	background-position: 0, 0 -2180px;
}

#equation.seven .drink {
	background-position: 0, 0 -2280px;
}

#equation.done .spinner {
	-webkit-animation: none;
	-moz-animation: none;
	-o-animation: none;
	-ms-animation: none;
	animation: none;
	-webkit-transition: background-position 2s ease-out 0s;
	-moz-transition: background-position 2s ease-out 0s;
	-o-transition: background-position 2s ease-out 0s;
	-ms-transition: background-position 2s ease-out 0s;
	transition: background-position 2s ease-out 0s;
}

#shoulder {
	position: absolute;
	top: 30px;
	left: -100px;
	width: 80px;
	height: 100px;
	border-radius: 10px;
	background-color: #333;
	background-image: -webkit-linear-gradient(#666 0%, #333 60%, #666 100%);
	background-image: -moz-linear-gradient(#666 0%, #333 60%, #666 100%);
	background-image: -ms-linear-gradient(#666 0%, #333 60%, #666 100%);
	background-image: -o-linear-gradient(#666 0%, #333 60%, #666 100%);
	box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.2);
}

#arm {
	position: relative;
	top: 10px;
	left: 10px;
	cursor: pointer;
	width: 60px;
	height: 80px;
	border-radius: 10% / 50%;
	background-color: #666;
	background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.3) 0%, transparent 15%, rgba(255, 255, 255, 0) 50%, transparent 85%, rgba(0, 0, 0, 0.3)), -webkit-linear-gradient(top, #333 0%, #666 10%, #999 30%, rgba(255, 255, 255, 0.8) 60%, #999 70%, #666 90%, #333 100%);
	background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0.3) 0%, transparent 15%, rgba(255, 255, 255, 0) 50%, transparent 85%, rgba(0, 0, 0, 0.3)), -moz-linear-gradient(top, #333 0%, #666 10%, #999 30%, rgba(255, 255, 255, 0.8) 60%, #999 70%, #666 90%, #333 100%);
	background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0.3) 0%, transparent 15%, rgba(255, 255, 255, 0) 50%, transparent 85%, rgba(0, 0, 0, 0.3)), -ms-linear-gradient(top, #333 0%, #666 10%, #999 30%, rgba(255, 255, 255, 0.8) 60%, #999 70%, #666 90%, #333 100%);
	background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.3) 0%, transparent 15%, rgba(255, 255, 255, 0) 50%, transparent 85%, rgba(0, 0, 0, 0.3)), -o-linear-gradient(top, #333 0%, #666 10%, #999 30%, rgba(255, 255, 255, 0.8) 60%, #999 70%, #666 90%, #333 100%);
}

#arm:before {
	content: '';
	position: absolute;
	top: -40px;
	left: 16px;
	width: 16px;
	height: 70px;
	border-radius: 8px;
	box-shadow: 0px 2px 0px #333;
	background-color: #999;
	-webkit-transform: rotate(-10deg);
	-moz-transform: rotate(-10deg);
	transform: rotate(-10deg);
	background-image: -webkit-linear-gradient(left, #666 0%, rgba(255, 255, 255, 0.7) 50%, #666 100%);
	background-image: -moz-linear-gradient(left, #666 0%, rgba(255, 255, 255, 0.7) 50%, #666 100%);
	background-image: -ms-linear-gradient(left, #666 0%, rgba(255, 255, 255, 0.7) 50%, #666 100%);
	background-image: -o-linear-gradient(left, #666 0%, rgba(255, 255, 255, 0.7) 50%, #666 100%);
	background-image: linear-gradient(to right, #666666 0%, rgba(255, 255, 255, 0.7) 50%, #666666 100%);
	-webkit-transition: all 0.5s ease-in-out 0s;
	-moz-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	-ms-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}

#arm:after {
	content: '';
	position: absolute;
	top: -70px;
	left: -4px;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background-color: #760209;
	border: 2px solid #5d0207;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-image: -webkit-radial-gradient(50% 40%, closest-corner, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
	background-image: -moz-radial-gradient(50% 40%, closest-corner, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
	background-image: -ms-radial-gradient(50% 40%, closest-corner, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
	background-image: -o-radial-gradient(50% 40%, closest-corner, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
	-webkit-transition: all 0.5s ease-in-out 0s;
	-moz-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	-ms-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}

#arm.clicked:before {
	top: -20px;
	left: 20px;
	-webkit-transform: rotate3d(100, 10, 0, 180deg);
	-moz-transform: rotate3d(100, 10, 0, 180deg);
	transform: rotate3d(100, 10, 0, 180deg);
	-webkit-transform-origin: 0% 100%;
	-moz-transform-origin: 0% 100%;
	transform-origin: 0% 100%;
	-webkit-transition: all 0.5s ease-in-out 0s;
	-moz-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	-ms-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}

#arm.clicked:after {
	top: 90px;
	-webkit-transition: all 0.5s ease-in-out 0s;
	-moz-transition: all 0.5s ease-in-out 0s;
	-o-transition: all 0.5s ease-in-out 0s;
	-ms-transition: all 0.5s ease-in-out 0s;
	transition: all 0.5s ease-in-out 0s;
}