/*WHEEL*/
#wheel {
	width: 35rem;
	height: 35rem;
	border-radius: 50%;
	position: relative;
	overflow: hidden;
	border: 8px solid #fff;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px, rgba(0, 0, 0, 0.05) 0px 3px 0px;
	transform: rotate(0deg);
	max-height: 100dvw;
}

#inner-wheel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	-webkit-transition: all 6s cubic-bezier(0, .99, .44, .99);
	-moz-transition: all 6 cubic-bezier(0, .99, .44, .99);
	-o-transition: all 6s cubic-bezier(0, .99, .44, .99);
	-ms-transition: all 6s cubic-bezier(0, .99, .44, .99);
	transition: all 6s cubic-bezier(0, .99, .44, .99);
}

#wheel div.sec {
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;

	border-width: 17rem 5.52rem 0;
	/* radius top, half base sides */

	border-color: #19c transparent;

	/* origin at the base of the triangle */
	transform-origin: 5.52rem 16.9rem;
	/* x = half base, y = radius */

	left: calc(50% - 5.52rem);
	/* center base horizontally */
	top: 0;
	/* align at top */

	opacity: 1;
}

#wheel div.sec:nth-child(1) {
	transform: rotate(0deg);
	/* border-color: #16a085 transparent; */
	border-color: #EF627A transparent;

}

#wheel div.sec:nth-child(2) {
	transform: rotate(36deg);
	/* border-color: #2980b9 transparent; */
	border-color: #FAA24F transparent;
	
}


#wheel div.sec:nth-child(3) {
	transform: rotate(72deg);
	/* border-color: #34495e transparent; */
	border-color: #FED94C transparent;

}

#wheel div.sec:nth-child(4) {
	transform: rotate(108deg);
	/* border-color: #f39c12 transparent; */
	border-color: #76E3BB transparent;

} 

#wheel div.sec:nth-child(5) {
	transform: rotate(144deg);
	/* border-color: #d35400 transparent; */
	border-color: #71C0FF transparent;
}

#wheel div.sec:nth-child(6) {
	transform: rotate(180deg);
	/* border-color: #c0392b transparent; */
	border-color: #5F96FF transparent;

}

#wheel div.sec:nth-child(7) {
	transform: rotate(216deg);
	/* border-color: #8e44ad transparent; */
	border-color: #9275FF transparent;

}

#wheel div.sec:nth-child(8) {
	transform: rotate(252deg);
	/* border-color: #27ae60 transparent; */
	border-color: #9B9B9A transparent;
}

#wheel div.sec:nth-child(9) {
	transform: rotate(288deg);
	/* border-color: #e67e22 transparent; */
	border-color: #FAA1BA transparent;
}

#wheel div.sec:nth-child(10) {
	transform: rotate(324deg);
	/* border-color: #e74c3c transparent; */
	border-color: #FFC766 transparent;
}


#wheel div.sec .fa {
	margin-top: -100px;
	color: rgba(0, 0, 0, 0.2);
	position: relative;
	z-index: 10000000;
	display: block;
	text-align: center;
	font-size: 36px;
	margin-left: -15px;
	text-shadow: rgba(255, 255, 255, 0.1) 0px -1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 0px;
}

#wheel div.sec .img {
	margin-top: -17rem;
	z-index: 10000000;
	display: block;
	text-align: center;
	margin-left: -3rem;

	/* Background image is set programatically */
	/*background-image: url('../images/Amaru-slide-grande-4.svg');*/
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

	width: 6rem; 
	height: 9rem;

}

#spin {
	width: 200px;
	height: 200px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -100px 0 0 -100px;
	border-radius: 50%;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 0px;
	z-index: 1000;
	background: #fff;
	cursor: pointer;
	font-family: 'Exo 2', sans-serif;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}


#spin:after {
	content: "Apreta para girar la ruleta";
	text-align: center;
	line-height: 20px;
	color: #232222;
	/* text-shadow: 0 2px 0 #fff, 0 -2px 0 rgba(0, 0, 0, 0.3); */
	position: relative;
	z-index: 100000;
	width: 200px;
	height: 200px;
	display: flex;
	/* border: 1px solid red; */
	font-size: 1.2rem;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	font-weight: bold;
}

#spin:before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 20px 28px 20px;
	border-color: transparent transparent #ffffff transparent;
 top: 195px;
    left: 80px;
	transform: rotate(180deg);
}

#spin.show-image:after {
  content: "";
}

#inner-spin {
	width: 180px;
	height: 180px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -90px 0 0 -90px;
	border-radius: 50%;
	background: red;
	z-index: 999;
	box-shadow: rgba(255, 255, 255, 1) 0px -2px 0px inset, rgba(255, 255, 255, 1) 0px 2px 0px inset, rgba(0, 0, 0, 0.4) 0px 0px 5px;

	background: rgb(255, 255, 255);
	/* Old browsers */
	background: -moz-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(234, 234, 234, 1) 100%);
	/* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(234, 234, 234, 1)));
	/* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(234, 234, 234, 1) 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(234, 234, 234, 1) 100%);
	/* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(234, 234, 234, 1) 100%);
	/* IE10+ */
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(234, 234, 234, 1) 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=1);
	/* IE6-9 fallback on horizontal gradient */
}

#spin:active #inner-spin {
	box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 5px inset;
}

#spin:active:after {
	font-size: 15px;
}

#shine {
	width: 250px;
	height: 250px;
	position: absolute;
	top: 0;
	left: 0;
	background: -moz-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.99) 1%, rgba(255, 255, 255, 0.91) 9%, rgba(255, 255, 255, 0) 100%);
	/* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(1%, rgba(255, 255, 255, 0.99)), color-stop(9%, rgba(255, 255, 255, 0.91)), color-stop(100%, rgba(255, 255, 255, 0)));
	/* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.99) 1%, rgba(255, 255, 255, 0.91) 9%, rgba(255, 255, 255, 0) 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.99) 1%, rgba(255, 255, 255, 0.91) 9%, rgba(255, 255, 255, 0) 100%);
	/* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.99) 1%, rgba(255, 255, 255, 0.91) 9%, rgba(255, 255, 255, 0) 100%);
	/* IE10+ */
	background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.99) 1%, rgba(255, 255, 255, 0.91) 9%, rgba(255, 255, 255, 0) 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=1);
	/* IE6-9 fallback on horizontal gradient */


	opacity: 0.1;

}

/*ANIMATION*/
@-webkit-keyframes hh {

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

	50% {
		transform: rotate(7deg);
		-webkit-transform: rotate(7deg);
	}
}

@keyframes hh {

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

	50% {
		transform: rotate(7deg);
		-webkit-transform: rotate(7deg);
	}
}

.spin {
	-webkit-animation: hh 0.1s;
	/* Chrome, Safari, Opera */
	animation: hh 0.1s;
}