#home-header
{
	position: relative;
	overflow: hidden;
	background-color: #FFF;

	transition: background-color 1s .4s;
}

#home-header.show
{
	background-color: #F9F9F9;
}

	#home-header-circle
	{
		position: absolute;
		top: 0px;
		left: 0px;
		width: 70%;
		margin-left: -35%;
		margin-top: -35%;
		padding-top: 70%;
		background-color: #000;
		border-radius: 50%;
		transform: translateX(84%) translateY(7%);
		transition: opacity 1s .7s;
		opacity: 0;

		background: -moz-radial-gradient(center, ellipse cover, rgba(118,72,253,1) 0%, rgba(249,249,249,1) 70%);
		background: -webkit-gradient(radial, center center, 0px, center center, 70%, color-stop(0%, rgba(118,72,253,1)), color-stop(70%, rgba(249,249,249,1)));
		background: -webkit-radial-gradient(center, ellipse cover, rgba(118,72,253,1) 0%, rgba(249,249,249,1) 70%);
		background: -o-radial-gradient(center, ellipse cover, rgba(118,72,253,1) 0%, rgba(249,249,249,1) 70%);
		background: -ms-radial-gradient(center, ellipse cover, rgba(118,72,253,1) 0%, rgba(249,249,249,1) 70%);
		background: radial-gradient(ellipse at center, rgba(118,72,253,1) 0%, rgba(249,249,249,1) 70%);
	}

	#home-header.show #home-header-circle
	{
		opacity: 1;
	}

	#home-header-mask
	{
		position: relative;
		width: 100%;
		margin-top: -4.65%;
	}

		#home-header-mask path
		{
			fill: white;
		}

	#home-header-inside
	{
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		min-height: 720px;
	}

		#home-header-title
		{
			position: absolute;
			bottom: 165px;
			left: 0px;
		}

			#home-header-title span
			{
				display: block;
				opacity: 0;
				transform: translateY(50px);
				transition: transform .6s, opacity .4s;
				transition-delay: .2s;
			}

				.show #home-header-title span
				{
					opacity: 1;
					transform: translateY(0px);
				}

				#home-header-title span:nth-child(2) { transition-delay: .3s; }
				#home-header-title span:nth-child(3) { transition-delay: .4s; }

		
		#home-header-scroll
		{
			position: absolute;
			padding: 10px;
			bottom: 48px;
			right: 0px;
			cursor: pointer;
			opacity: 0;

			font-size: 15px;
			color: #999;

			transition: color .3s, opacity 1s 1s;
		}

		#home-header-scroll.change-transition {
			transition: color .3s, opacity 1s;
		}

		#home-header-scroll.show
		{
			opacity: 1;
		}

		#home-header-scroll.hide
		{
			opacity: 0;
		}

			@keyframes lineanimation 
			{
				0%   { transform: scaleY(0); transform-origin: top center; }
				15%  { transform: scaleY(0); }
				40%  { transform: scaleY(1); transform-origin: top center; }
				70%  { transform: scaleY(1); transform-origin: bottom center; }
				95%  { transform: scaleY(0); }
				100% { transform: scaleY(0); transform-origin: bottom center; }
			}

			#home-header-scroll:after
			{
				content: '';
				position: absolute;
				right: -13px;
				bottom: 15px;
				height: 100px;
				border-right: 1px solid #C8C8C8;
				animation: lineanimation 2.5s infinite;
			}


#home-profile
{
	overflow: hidden;
	padding-bottom: 110px;
	pointer-events: none;
}

	#home-profile .page-left
	{
		margin-top: 346px;
	}

	#home-profile-img, #home-profile-img-mobile
	{
		position: relative;
		padding-top: 143.824701195219%;
		overflow: hidden;
	}

	#home-profile-img-mobile
	{
		display: none;
	}

		#home-profile-img img, #home-profile-img-mobile img
		{
			position: absolute;
			top: 0px;
			width: 100%;
			pointer-events: auto;

			opacity: 0;
			transform: scale(1.1);

			transition: transform .7s .9s, opacity .7s .9s;
		}

		.show #home-profile-img img, .show #home-profile-img-mobile img
		{
			opacity: 1;
			transform: scale(1);
			transform-origin: center top;

		}

		#home-profile-img img, 
		#home-profile .page-title, 
		#home-profile .page-text
		{
			pointer-events: auto;
		}

		#home-profile .page-title,
		#home-profile .page-text p,
		#home-projects-title .page-title,
		#home-contact .page-title, 
		#home-contact .page-text
		{
			opacity: 0;
			transform: translateY(50px);
			transition: transform .5s, opacity .5s;
		}

		#home-projects-title .page-title,
		#home-contact .page-title
		{
			transition-delay: .3s;
		}

		#home-profile .page-title,
		#home-contact .page-text
		{
			transition-delay: .5s;
		}

		#home-profile .page-text p:nth-child(1)
		{
			transition-delay: .7s;
		}

		#home-profile .page-text p:nth-child(2)
		{
			transition-delay: .9s;
		}

		#home-profile .page-text p:nth-child(3)
		{
			transition-delay: 1.1s;
		}

		#home-profile .page-text p:nth-child(4)
		{
			transition-delay: 1.3s;
		}

		#home-profile.show .page-title,
		#home-profile.show .page-text p,
		#home-projects-title.show .page-title,
		#home-contact.show .page-title, 
		#home-contact.show .page-text
		{
			opacity: 1;
			transform: translateY(0px);
		}

		
#home-projects-title
{
	overflow: hidden;
	padding-bottom: 160px;
}

#home-projects
{
	position: relative;
	overflow: hidden;
	clear: both;
	z-index: 1;
	background-color: #f5f5f5;
}

#home-contact
{
	min-height: 760px;
}

	#home-contact-address
	{
		margin-top: -15px;
	}



@media screen and (max-width: 1439px) 
{
	#home-header-inside
	{
		min-height: 600px;
	}

		#home-header-title
		{
			bottom: 140px;
		}

	#home-profile
	{
		padding-bottom: 100px;
	}

		#home-profile .page-left
		{
			margin-top: 292px;
		}


	#home-projects-title
	{
		padding-bottom: 100px;
	}

	#home-contact
	{
		min-height: 670px;
	}
}

@media screen and (max-width: 1279px)
{
	#home-header-inside
	{
		min-height: 500px;
	}

	#home-header-title
	{
		bottom: 120px;
	}

	#home-profile
	{
		padding-bottom: 85px;
	}

		#home-profile .page-left
		{
			margin-top: 238px;
		}

	#home-projects-title
	{
		padding-bottom: 85px;
	}

	#home-contact
	{
		min-height: 560px;
		max-height: 700px;
	}

	#home-header-title span,
	#home-profile .page-title,
	#home-profile .page-text p,
	#home-projects-title .page-title,
	#home-contact .page-title, 
	#home-contact .page-text
	{
		transform: translateY(30px);
	}
}

@media screen and (max-width: 1023px)
{
	#home-header-inside
	{
		min-height: 400px;
	}

	#home-header-title
	{
		bottom: 100px;
		font-size: 45px;
	}

	#home-header-scroll
	{
		display: none;
	}

	#home-profile
	{
		padding-bottom: 70px;
	}

		#home-profile .page-left
		{
			margin-top: 202px;
		}


	#home-projects-title
	{
		padding-bottom: 70px;
	}

	#home-contact
	{
		min-height: 450px;
		max-height: 560px
	}
}

@media screen and (max-width: 768px)
{
	#home-header-mask
	{
		width: 132%;
	}

		#home-header-circle
		{
			width: 86%;
			margin-left: -43%;
			margin-top: -43%;
			padding-top: 83%;
		}

		#home-header-title
		{
			bottom: 20%;
		}

	#home-profile
	{
		padding-bottom: 35px;
	}

		#home-profile .page-left
		{
			display: none;
		}

		.page-left, .page-right
		{
			padding-right: 0px;
			width: 100%;
		}

			.page-title
			{
				text-align: left;
			}

	#home-projects-title
	{
		padding-bottom: 57px;
	}

	#home-contact
	{
		min-height: auto;
		height: 448px !important;
	}

		#home-contact .page-title, #home-contact-address .page-text
		{
			text-align: center;
		}

		#home-contact-address
		{
			margin-top: 15px;
		}
}

@media screen and (max-width: 656px)
{
	#home-header-title
	{
		font-size: 35px;
	}
}


@media screen and (max-width: 543px)
{
	#home-header-inside
	{
		min-height: auto;
	}

		#home-header-title
		{
			bottom: 14%;
			font-size: 25px;
		}

	.project-thumb
	{
		width: 100%;
	}

	#home-contact
	{
		height: 337px !important;
	}

		#home-contact .page-title
		{
			margin-top: 62px;
		}

		#home-contact .page-text
		{
			margin-top: 37px;
		}

		#home-contact-address
		{
			margin-top: 0px;
		}
}

@media screen and (max-width: 400px)
{
	#home-profile-img-mobile
	{
		display: block;
		margin: 10px 0px 35px;
	}
}


@media screen and (max-width: 359px)
{
	#home-header-title
	{
		font-size: 21px;
	}
}