/**
 * 
 */
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,900');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	margin: 0px;
	text-align: center;
	color: #fff;
	font-family: 'Roboto';
	font-size: 42px;
	font-weight: 100;
	overflow: hidden;
	animation: background-change 5s linear infinite;
	/* Rainbow border */
	border-top: 8px solid transparent;
	border-image: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%);
	border-image-slice: 1;
}

.content {
	display: block;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.ring {
	width: 450px;
	height: 450px;
	padding-top: 150px;
}
.ring i {
	position: absolute;
	inset: 0;
	border: 2px solid #fff;
	transition: 0.5s;
	z-index: 1;
}
.ring i:nth-child(1){
	border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
	animation: ring 6s linear infinite;
}
.ring i:nth-child(2){
	border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
	animation: ring 4s linear infinite;
}
.ring i:nth-child(3){
	border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
	animation: ring 10s ease-in-out infinite;
	animation-direction: reverse;
}
.ring:hover > i {
	border: 4px solid var(--color);
	filter: drop-shadow( 0 0 20px var(--color) );
}

@keyframes ring {
	0% {
		transform: rotate( 0deg );
	}
	100% {
		transform: rotate( 360deg );
	}
}

.brand-hero {
	position: absolute;
	top: -52%;
	left: -20px;
	height: 200%;
	z-index: 1;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
	text-align: center;
	writing-mode: vertical-lr;
	font-size: 5vw;
	line-height: 1;
	color: rgba( 200, 200, 200, .2 );
	line-height: 1;
	text-shadow: 2px -1px 6px rgba( 0, 0, 0, 0.1 );
}

.brand {
	position: relative;
	z-index: 999;
	display: inline-block;
	font-weight: bold;
	margin-left: -60px;
	text-shadow: 2px -1px 6px rgba( 0, 0, 0, 0.2 );
}

.brand-services {
	position: relative;
	z-index: 999;
	display: inline-block;
	width: 180px;
	text-align: left;
	height: 36px;
	vertical-align: 4px;
	text-shadow: 2px -1px 6px rgba( 0, 0, 0, 0.2 );
}
.brand-services > div {
	width: 400px;
	font-size:0px;
	opacity:0;
	margin-left:-40px;
	position:absolute;
	font-weight:300;
	box-shadow: 0px 50px 20px -20px rgba(0,0,0,0.3);
}	
.brand-services > div:nth-child(1) {
	animation: drop-in 5s linear infinite 0s;
}
.brand-services > div:nth-child(2) {
	animation: drop-in 5s linear infinite 1s;
}
.brand-services > div:nth-child(3) {
	animation: drop-in 5s linear infinite 2s;
}
.brand-services > div:nth-child(4) {
	animation: explode 5s linear infinite 3s;
}

.get-in-touch {
	position: relative;
	z-index: 999;
	width: 400px;
	margin-top: 25px;
	padding: 10px 20px;
	background-color:#fff;
	font-weight: bold;
	box-shadow: 0 0 3em rgba(0,0,0,.15);
	clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
	animation: color-change 5s linear infinite;
	cursor: pointer;
	text-shadow: 2px -1px 6px rgba( 0, 0, 0, 0.2 );
}

@keyframes color-change {
	0% {color: #F44336}
	20% {color: #0094ff}
	40% {color: #b200ff;}
	60% {color: #8BC34A;}
	80% {color: #F44336;}
	100% {color: #f49b36;}
}

@keyframes background-change {
	0% {background: #F44336}
	20% {background: #0094ff}
	40% {background: #b200ff;}
	60% {background: #8BC34A;}
	80% {background: #F44336;}
	100% {background: #f49b36;}
}

@keyframes drop-in {
	0% {
		font-size:0px;
		opacity:0;
		margin-left:-30px;
		margin-top:0px;
		transform: rotate(-25deg);
	}
	3% {
		opacity:1;
		transform: rotate(0deg);
	}
	5% {
		font-size:inherit;
		opacity:1;
		margin-left:0px;
		margin-top:0px;
	}
	20% {
		font-size:inherit;
		opacity:1;
		margin-left:0px;
		margin-top:0px;
		transform: rotate(0deg);
	}
	27% {
		font-size:0px;
		opacity:0.5;
		margin-left:20px;
		margin-top:100px;
	}
	100% {
		font-size:0px;
		opacity:0;
		margin-left:-30px;
		margin-top:0px;
		transform: rotate(15deg);
	}
}

@keyframes explode {
	0% {
		font-size:0px;
		opacity:0;
		margin-left:-30px;
		margin-top:0px;
		transform: rotate(-25deg);
	}
	3% {
		opacity:1;
		transform: rotate(0deg);
	}
	5% {
		font-size:inherit;
		opacity:1;
		margin-left:0px;
		margin-top:0px;
	}
	30% {
		font-size:inherit;
		opacity:1;
		margin-left:0px;
		margin-top:0px;
		transform: rotate(0deg);
	}
	37% {
		font-size:1500px;
		opacity:0;
		margin-left:-1000px;
		margin-top:-800px;
	}
	100% {
		font-size:0px;
		opacity:0;
		margin-left:-30px;
		margin-top:0px;
		transform: rotate(15deg);
	}
}

footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	color: white;
	text-align: center;
	background: #fff;
	height: 50px;
}

footer::before {
	content: '';
	position: absolute;
	bottom: 50px;
	left: 0;
	width: 100%;
	height: 250px;
	/* background: linear-gradient( 45deg, #8614cd, #ff0057 ); */
	clip-path: polygon( 100% 0, 0 100%, 100% 100% );
	background: #fff;
}

footer > div {
	margin-top: -50px;
	font-size: 28px;
	font-weight: 400;
	clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
	animation: color-change 5s linear infinite;
	text-shadow: 2px -1px 6px rgba( 0, 0, 0, 0.2 );
}

.legal {
	position: absolute;
	width: 100%;
	display: none;
	height: 100vw;
	background: #fff;
	color:  rgba(107, 107, 107, 0.5);
}

.expand {
	display: block;
	animation-duration: 1s;
	animation-fill-mode: both;
	animation-name: bounce-in;
}

.legal > div {
	width: 400px;
	margin: 100px auto;
	text-align: left;
	border:1px solid white;
}

.legal > div > h3,
.legal > div > h4 {
	display: inline;
	margin-left: -50px;
	margin-bottom: -260px;
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
	text-align: center;
	writing-mode: vertical-lr;
	text-shadow: 2px -1px 6px rgba( 0, 0, 0, 0.2 );
}

.contact input[type="text"], .contact input[type="email"] {
	outline:0;
	display: block;
	margin-top: 15px;
	padding: 15px;
	border: 1px solid #dfe0e0;
	width: 400px;
}
.contact input[type="text"]:focus, .contact input[type="email"]:focus {
	border: 1px solid #c6c7c7;
}
.contact textarea {
	outline:0;
	resize: none;
	margin-top: 15px;
	padding: 15px;
	border: 1px solid #dfe0e0;
	width: 400px;
	height: 200px;
}
.contact textarea:focus {
	border: 1px solid #c6c7c7;
}
.contact input[type="submit"] {
	display: block;
	margin-top: 15px;
	padding: 15px;
	border: 0;
	background-color: #518acb;
	font-weight: bold;
	color: #fff;
	cursor: pointer;
	width: 150px;
}
.contact input[type="submit"]:hover {
	background-color: #3670b3;
}

@keyframes bounce-in {
	from,
	60%,
	75%,
	90%,
	to {
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}
	from {
		opacity: 0;
		transform: translate3d(0, 3000px, 0) scaleY(5);
	}
	60% {
		opacity: 1;
		transform: translate3d(0, -20px, 0) scaleY(0.9);
	}
	75% {
		transform: translate3d(0, 10px, 0) scaleY(0.95);
	}
	90% {
		transform: translate3d(0, -5px, 0) scaleY(0.985);
	}
	to {
		transform: translate3d(0, 0, 0);
	}
}
