.canvasBox {
	width: 100vw;
	height: 100vh;
	position: fixed;
}

.box {
	width: 200px;
	height: 200px;
	position: absolute;
	left: 50%;
	top: -50%;
	transform: translate(-50%, -200%);
	overflow: hidden;
	border: 0.1rem solid rgba(100, 156, 155, 0.2);
	z-index: 11;
}

.line {
	height: calc(100% - 2px);
	width: 100%;
	background: linear-gradient(180deg, rgba(0, 255, 51, 0) 43%, rgb(100, 156, 155) 211%);
	border-bottom: 3px solid #649c9b;
	transform: translateY(-100%);
	animation: radar-beam 2s infinite alternate;
	animation-timing-function: cubic-bezier(0.53, 0, 0.43, 0.99);
	animation-delay: 1.4s;
}

.box:after,
.box:before,
.angle:after,
.angle:before {
	content: '';
	display: block;
	position: absolute;
	width: 3vw;
	height: 3vw;
	z-index: 12;
	border: 0.2rem solid transparent;
}

.box:after,
.box:before {
	top: 0;
	border-top-color: #649c9b;
}

.angle:after,
.angle:before {
	bottom: 0;
	border-bottom-color: #649c9b;
}

.box:before,
.angle:before {
	left: 0;
	border-left-color: #649c9b;
}

.box:after,
.angle:after {
	right: 0;
	border-right-color: #649c9b;
}

@keyframes radar-beam {
	0% {
		transform: translateY(-100%);
	}

	100% {
		transform: translateY(0);
	}
}

.msg {
	text-align: center;
	padding: 10px 0;
}

.box2 {
	width: 300px;
	height: 200px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 20;
}

.track {
	position: absolute;
	bottom: -100px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 20;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mask {
	position: absolute;
	z-index: 10;
	background-color: rgba(0, 0, 0, 0.55);
}

.mask1 {
	top: 0;
	left: 0;
	right: 0;
}

.mask2 {
	right: 0;
}

.mask3 {
	right: 0;
	left: 0;
	bottom: 0;
}

.mask4 {
	left: 0;
}

.error {
	color: #fff;
	padding: 20px;
	font-size: .3rem;
	background-color: #333333;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 275px;
	border-radius: 10px;
}

.error .on1 {
	font-size: .4rem;
}