html {
  box-sizing: border-box;
  background-color: #f1f2f3;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
	width: 1200px;
	margin: auto;
}
.center{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.main{
    border-radius: 3px;
    padding: 30px 0;
	min-height: 200px;
	margin: 20px auto;
    overflow: hidden;
	background: #ffffff;
	text-align: center;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
}
.ipts{
	margin-bottom: 25px;
	font-size: 14px;
	color: #333;
}
.ipts input{
	margin-right: 25px;
	margin-left: 5px;
	outline: none;
	height: 36px;
	border: 1px solid #ddd;
	padding: 0 10px;
	width: 150px;
	border-radius: 5px;
	font-size: 14px;
	color: #666;
}
.handle{
	margin-top: 25px;
	user-select: none;
}
.handle button{
	margin: 0 20px;
	height: 40px;
	padding: 0 45px;
	color: #fff;
	background-color: #409EFF;
	border: none;
	border-radius: 4px;
	outline: none;
	cursor: pointer;
}
.handle .reset{
	background-color: #67C23A;
}
button img {
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin-left: 10px;
}
/*-------提示---------*/
.ts{
	margin: 20px 0;
}
.ts .title{
	font-size: 18px;
	color: #333;
	margin: 20px 0;
	font-weight: bold;
}
.ts p{
	color:#666;
	margin: 0;
	padding: 0;
	line-height: 30px;
	background: #ffffff;
	padding: 10px;
}
.ts p span{
	color:#F16F5C;
}

/* ------------ 效果 ------------ */
#coin{
	position: relative;
	width: 300px;
	height: 300px;
	margin: 20px auto;
	transform-style: preserve-3d;
}
#middle{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.coin-img {
	width: 100%;
	height: 100%;
}
.coin-img-filp {
	transform: rotateY(180deg);
}
.coin-middle {
	width: 300px;
	height: 300px;
	transform: translateZ(1px);
	position: absolute;
}
.coin-front,.coin-back {
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	overflow: hidden;
	mask-image: radial-gradient(white, black);
}
.coin-front:after,.coin-back:after {
	content: "";
	position: absolute;
	left: -200px;
	bottom: 100%;
	display: block;
	height: 250px;
	width: 800px;
	background: #fff;
	opacity: 0.3;
	animation: shine linear 3s infinite;
}
.coin-front {
	transform: translateZ(17px);
}
.coin-back {
	transform: translateZ(0);
}
.coin-shadow {
	position: absolute;
	width: 300px;
	height: 20px;
	border-radius: 50%;
	background: #000;
	box-shadow: 0 0 100px 100px #000;
	opacity: 0.125;
	transform: rotateX(90deg) translateZ(330px) scale(.5);
}
.coin-spin{
	animation: flipSpin 6s linear infinite;
}
.coin-facade{
	animation: flipFacade 1.5s ease-out forwards;
}
.coin-reverse{
	animation: flipReverse 1.5s ease-out forwards;
}
@keyframes flipSpin{
	0% {
		transform: perspective(1000px) rotateY(0deg);
	}
	100% {
		transform: perspective(1000px) rotateY(360deg);
	}
}
@keyframes flipFacade{
	from {
		transform: perspective(1000px) rotateY(0);
	}
	to {
		transform: perspective(1000px) rotateY(1800deg);
	}
}
@keyframes flipReverse{
	from {
		transform: perspective(1000px) rotateY(0);
	}
	to {
		transform: perspective(1000px) rotateY(1980deg);
	}
}
@keyframes shine{
	0%,15% {
		transform: translateY(600px) rotate(-40deg);
	}
	50% {
		transform: translateY(-200px) rotate(-40deg);
	}
}