@charset "utf-8";
/* CSS Document */

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	width: 100%;
	height: 100vh;
	background: #ccc url("../img/bg.jpg") center center no-repeat;
	background-size: cover;
	position: relative;
	font-size: 18px;
	font-family: "Helvetica Neue", "Open Sans", Helvetica, Arial, "Lucida Grande", sans-serif;
}
body:after {
	background: rgba(0,0,0,.5);
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

#logo {
	width: 60%;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	fill: transparent;
	animation: fill 1s ease forwards 3.8s;
}

#logo path, #logo polygon {
	stroke: white;
	stroke-width: 3;
}


#logo path:nth-child(17){
	stroke-dasharray: 208px;
	stroke-dashoffset: 208px;
	animation: line-anim 2s ease forwards 0.2s;
}

#logo path:nth-child(16){
	stroke-dasharray: 207px;
	stroke-dashoffset: 207px;
	animation: line-anim 2s ease forwards 0.4s;
}

#logo path:nth-child(15){
	stroke-dasharray: 3587px;
	stroke-dashoffset: 3587px;
	animation: line-anim 2s ease forwards 0.6s;
}

#logo path:nth-child(14){
	stroke-dasharray: 758px;
	stroke-dashoffset: 758px;
	animation: line-anim 2s ease forwards 0.8s;
}

#logo path:nth-child(13){
	stroke-dasharray: 976px;
	stroke-dashoffset: 976px;
	animation: line-anim 2s ease forwards 1.0s;
}

#logo path:nth-child(12){
	stroke-dasharray: 758px;
	stroke-dashoffset: 758px;
	animation: line-anim 2s ease forwards 1.2s;
}

#logo path:nth-child(11){
	stroke-dasharray: 815px;
	stroke-dashoffset: 815px;
	animation: line-anim 2s ease forwards 1.4s;
}

#logo path:nth-child(10){
	stroke-dasharray: 434px;
	stroke-dashoffset: 434px;
	animation: line-anim 2s ease forwards 1.6s;
}

#logo path:nth-child(9){
	stroke-dasharray: 666px;
	stroke-dashoffset: 666px;
	animation: line-anim 2s ease forwards 1.8s;
}

#logo path:nth-child(8){
	stroke-dasharray: 853px;
	stroke-dashoffset: 853px;
	animation: line-anim 2s ease forwards 2.0s;
}

#logo path:nth-child(7){
	stroke-dasharray: 774px;
	stroke-dashoffset: 774px;
	animation: line-anim 2s ease forwards 2.2s;
}

#logo path:nth-child(6){
	stroke-dasharray: 436px;
	stroke-dashoffset: 436px;
	animation: line-anim 2s ease forwards 2.4s;
}

#logo path:nth-child(5){
	stroke-dasharray: 554px;
	stroke-dashoffset: 554px;
	animation: line-anim 2s ease forwards 2.6s;
}

#logo path:nth-child(4){
	stroke-dasharray: 141px;
	stroke-dashoffset: 141px;
	animation: line-anim 2s ease forwards 2.8s;
}

#logo path:nth-child(3){
	stroke-dasharray: 337px;
	stroke-dashoffset: 337px;
	animation: line-anim 2s ease forwards 3.0s;
}

#logo path:nth-child(2){
	stroke-dasharray: 774px;
	stroke-dashoffset: 774px;
	animation: line-anim 2s ease forwards 3.2s;
}

#logo path:nth-child(1){
	stroke-dasharray: 696px;
	stroke-dashoffset: 696px;
	animation: line-anim 2s ease forwards 3.4s;
}

#logo polygon {
	stroke-dasharray: 497px;
	stroke-dashoffset: 497px;
	animation: line-anim 2s ease forwards 2.0s;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    background: rgba(0, 0, 0, 0.50);
    color: #fff;
    z-index: 3;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-left: -25%;
    margin-top: 20px;
	animation: zoomIn 1s ease forwards 4.4s;
	animation-fill-mode: both;
}

.content p {
	font-size: 18px;
}

.content strong {
	font-size: 26px;
}


.no-anim {
	animation: none !important;	
}

#logo.no-anim {
	fill: white !important;	
	top: 30% !important;	
	width: 40% !important;	
}

#logo.no-anim path, #logo.no-anim polygon {
	stroke: none !important;	
	stroke-width: 0 !important;	
	stroke-dasharray: 0 !important;	
	stroke-dashoffset: 0 !important;	
	animation: none !important;	
}

@keyframes line-anim {
	to{
		stroke-dashoffset: 0;
	}
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes fill {
	0% {
		fill: transparent;
		top: 50%;
		width: 60%;
		
	}
	50% {
		fill: white;
		top: 50%;
		width: 60%;
	}
	100% {
		fill: white;
		top: 30%;
		width: 40%;
	}
}

@keyframes fill-sm {
	0% {
		fill: transparent;
		top: 50%;
		width: 80%;

	}
	50% {
		fill: white;
		top: 50%;
		width: 80%;
	}
	100% {
		fill: white;
		top: 30%;
		width: 60%;
	}
}

@media only screen and (max-width: 960px) {
	.content {
		width: 90%;
		margin-left: -45%;
		top: 40%;
	}
	
	#logo {
		width: 80%;
		animation: fill-sm 1s ease forwards 3.8s;
	}
	
	#logo.no-anim {	
		width: 80% !important;	
	}
}
