@charset "UTF-8";
/* CSS Document */
/*==========*/
/*script inspired by TokyoWeb - https://codepen.io/tokyoweb*/
/*https://alvarotrigo.com/blog/animated-backgrounds-css/*/
/*https://codepen.io/alvarotrigo/pen/GRvYNax*/
/*==========*/
.context {
	width: 100%;
	position: absolute;
	top: 50vh;
}
.context h1 {
	text-align: center;
	color: #fff;
	font-size: 50px;
}
.area {
	background: #4e54c8;
	/*background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);*/
	width: 100vw; /*viewport width*/
	height: 100vh; /*viewport height*/
}
.polygons {
	position: absolute;
	top: 0;
	left: 0%;
	width: 100%;
	height: 100%;
	overflow: hidden;
	/*border: 1px solid orange;*/
	padding: 0;
}
.polygons li {
	position: absolute;
	display: block;
	list-style: none;
	/* width: 20px;
    height: 20px; */
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	width: 400px;
	height: 460px;
	/*background: rgba(128, 24, 155, 0.2);*/
	background: rgba(255, 255, 255, 0.2);
	animation: animatePolygons 15s ease infinite;
	bottom: -200px;
}
.polygons li:nth-child(1) {
	left: 25%;
	width: 80px;
	height: 92px;
	animation-delay: 0s;
}
.polygons li:nth-child(2) {
	left: 10%;
	width: 20px;
	height: 23px;
	animation-delay: 2s;
	animation-duration: 12s;
}
.polygons li:nth-child(3) {
	left: 70%;
	width: 20px;
	height: 23px;
	animation-delay: 4s;
}
.polygons li:nth-child(4) {
	left: 40%;
	width: 60px;
	height: 69px;
	animation-delay: 0s;
	animation-duration: 18s;
}
.polygons li:nth-child(5) {
	left: 65%;
	width: 20px;
	height: 23px;
	animation-delay: 0s;
}
.polygons li:nth-child(6) {
	left: 75%;
	width: 110px;
	height: 127px;
	animation-delay: 3s;
}
.polygons li:nth-child(7) {
	left: 35%;
	width: 150px;
	height: 173px;
	animation-delay: 7s;
}
.polygons li:nth-child(8) {
	left: 50%;
	width: 25px;
	height: 25px;
	animation-delay: 15s;
	animation-duration: 45s;
}
.polygons li:nth-child(9) {
	left: 20%;
	width: 15px;
	height: 17px;
	animation-delay: 2s;
	animation-duration: 35s;
}
.polygons li:nth-child(10) {
	left: 85%;
	width: 150px;
	height: 173px;
	animation-delay: 0s;
	animation-duration: 11s;
}
/* ********************** */
	/*set 2 of polygons*/
	/* ********************** */
.area2 {
	background: #4e54c8;
	/*background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);*/
	width: 100vh;
	height: 100vh;
}
.polygons2 {
	position: relative;
	top: 0;
	left: 0%;
	width: 100%;
	height: 100%;
	overflow: hidden;
	/*border: 1px solid yellow;*/
	padding: 0;
}
.polygons2 li {
	position: relative;
	display: block;
	list-style: none;
	/* width: 20px;
    height: 20px; */
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	width: 400px;
	height: 460px;
	/*background: rgba(128, 24, 155, 0.2);*/
	background: rgba(255, 255, 255, 0.6);
	animation: animatePolygons2 15s linear infinite;
	top: 100vh;
}
.polygons2 li:nth-child(1) {
	left: 25%;
	width: 80px;
	height: 92px;
	animation-delay: 0s;
}
.polygons2 li:nth-child(2) {
	left: 10%;
	width: 20px;
	height: 23px;
	animation-delay: 2s;
	animation-duration: 12s;
}
.polygons2 li:nth-child(3) {
	left: 70%;
	width: 20px;
	height: 23px;
	animation-delay: 4s;
}
.polygons2 li:nth-child(4) {
	left: 40%;
	width: 60px;
	height: 69px;
	animation-delay: 0s;
	animation-duration: 18s;
}
.polygons2 li:nth-child(5) {
	left: 65%;
	width: 20px;
	height: 23px;
	animation-delay: 0s;
}
.polygons2 li:nth-child(6) {
	left: 75%;
	width: 110px;
	height: 127px;
	animation-delay: 3s;
}
.polygons2 li:nth-child(7) {
	left: 35%;
	width: 150px;
	height: 173px;
	animation-delay: 7s;
}
.polygons2 li:nth-child(8) {
	left: 50%;
	width: 25px;
	height: 25px;
	animation-delay: 15s;
	animation-duration: 45s;
}
.polygons2 li:nth-child(9) {
	left: 20%;
	width: 15px;
	height: 17px;
	animation-delay: 2s;
	animation-duration: 35s;
}
.polygons2 li:nth-child(10) {
	left: 85%;
	width: 150px;
	height: 173px;
	animation-delay: 0s;
	animation-duration: 11s;
}
@keyframes animatePolygons {
0% {
transform: translateY(0) translateX(-100%) rotate(0deg);
opacity: .5;
border-radius: 0;
}
100% {
transform: translateY(-1000px) translateX(1440%) rotate(1440deg);
opacity: 0;
border-radius: 50%;
}
}
@keyframes animatePolygons2 {
0% {
transform: translateY(0) translateX(-100%) rotate(0deg);
opacity: .3;
border-radius: 0;
}
100% {
transform: translateY(-1440px) translateX(-1000%) rotate(1440deg);
opacity: 0;
border-radius: 50%;
}
}
