@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800&display=swap');
*{
	margin:0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;

}
.div p{
	font-size:8px;font-weight: 900;
}
body{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #fff;
	
}
a{
	position: relative;
	display: inline-block;
	padding: 15px 30px;
	border:2px solid #111;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 600;
	font-size: 20px;

}
a:before{
content: '';
position: absolute;
top: 6px;
left: -2px;
width: calc(100% + 4px);
height: calc(100% - 12px);
background:#fff;
transition: 0.5s ease-in-out;
transform: scaleY(1);
transition-delay: 0.5s;
}

a:hover:before{
transform: scaleY(0);
}

a:after{
content: '';
position: absolute;
left: 6px;
top: -2px;
height: calc(100% + 4px);
width: calc(100% - 12px);
background:#fff;
transition: 0.5s ease-in-out;
transform: scaleX(1);
}
a:hover:after{
transform: scaleX(0);
}

a span{
	position: relative;
	z-index: 3;
	color: black;
}
h2{
	position: relative;
	font-size: 2.5em;
	font-weight: 900;
	color:black;
	z-index: 1;
	overflow: hidden;
}
h2 span{
	color:	#F57F17;
}
h2:before{
	content: '';
	position: absolute;
	left:-20%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent 0%, #FFFFFF 5%, #FFFFFF 100%);
	animation: animate 4.4s linear forwards;
}
@keyframes animate
{
	0%{
		left:-20%;
	}
	100%{
		left:100%;
	}
} 
