﻿body,
div,
span,
a {
	box-sizing: border-box;
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: stretch;
	-webkit-align-items: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	-webkit-align-content: flex-start;
	-ms-flex-line-pack: start;
	align-content: flex-start;
	border: 0 solid black;
	margin: 0;
	padding: 0;
}

body {
	background-color: #ffffff;
	height: 100vh;
	width: 100vw;
	min-height: 520px;
	font-family: 'Open Sans', sans-serif;
}

.flex-row {
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
}

.flex-grow {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.main {
	padding: 10px;
	-webkit-transition: padding 0.4s ease;
	transition: padding 0.4s ease;
}

.left {
	background-color: #26253a;
	max-width: 480px;
}

.right {
	background-color: #454d66;
}

	.right-top {
		padding: 5px;
		-webkit-box-pack: end;
		-webkit-justify-content: flex-end;
		-ms-flex-pack: end;
		justify-content: flex-end;
	}

	.right-middle {
		margin: 40px 0px 60px;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
		-webkit-box-align: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}

	.right-bottom {
		height: 70px;
	}

.face {
	background-image: url('../images/homepage/face.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	min-height: 300px;
	width: 100%;
	margin-bottom: 10px;
}

.name {
	color: white;
	font-size: 40px;
	letter-spacing: -1px;
	font-weight: 300;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

	.name-first {
		margin-right: 2px;
	}

	.name-last {
		font-weight: 600;
	}

.circle {
	background-color: #26253a;
	border-radius: 50%;
	cursor: pointer;
	margin: 5px;
	height: 38px;
	width: 38px;
	top: 2px;
}

	.circle:before,
	.circle:after {
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		content: "";
		border-radius: 50%;
		position: absolute;
		top: -2px;
		height: 100%;
		width: 100%;
	}

	.circle:before {
	    background-color: white;
		-webkit-transition: background-color 0.3s ease;
		transition: background-color 0.3s ease;
	}

	.tile:after {
		opacity: 0;
		-webkit-transition: opacity 0.3s ease;
		transition: opacity 0.3s ease;
	}

		.tile:hover:after {
			opacity: 1;
		}

	.circle.linkedin:before {
	    background-image: url('../images/homepage/cta-dim-01.svg');
	}

		.circle.linkedin:hover:before {
		    background-color: #0077b5;
		    background-image: url('../images/homepage/cta-01.svg');
		}

	.circle.facebook:before {
	    background-image: url('../images/homepage/cta-dim-02.svg');
	}

		.circle.facebook:hover:before {
		    background-color: #3d5a98;
		    background-image: url('../images/homepage/cta-02.svg');
		}

	.circle.twitter:before {
	    background-image: url('../images/homepage/cta-dim-03.svg');
	}

		.circle.twitter:hover:before {
		    background-color: #55acee;
		    background-image: url('../images/homepage/cta-03.svg');
		}

	.circle.email:before {	
	    background-image: url('../images/homepage/cta-dim-04.svg');
	}

		.circle.email:hover:before {
		    background-color: #ff6767;
		    background-image: url('../images/homepage/cta-04.svg');
		}

.tile {
	-webkit-transition: background-color 0.3s ease;
	transition: background-color 0.3s ease;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

	.tile:hover {
		-webkit-transition: background-color 0.15s ease;
		transition: background-color 0.15s ease;
	}

.tile:before,
.tile:after {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	content: "";
	position: absolute;
	height: 100%;
	width: 100%;
	-webkit-transform: scale(0.9);
	-ms-transform: scale(0.9);
	transform: scale(0.9);
	-webkit-transition: transform 0.3s ease;
	transition: transform 0.3s ease;
}

	.tile:after {
		opacity: 0;
		-webkit-transition: transform 0.3s ease, opacity 0.3s ease;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}

	.tile:hover:before,
	.tile:hover:after {
		-webkit-transform: scale(1);
		-ms-transform: scale(1);
		transform: scale(1);
	}

	.tile:hover:after {
		opacity: 1;
	}

.tile.microsoft:hover {
	background-color: #0e4a7f;
}

	.tile.microsoft:before {
		background-image: url('../images/homepage/logos-dim-01.svg');
	}

	.tile.microsoft:after {
		background-image: url('../images/homepage/logos-01.svg');
	}

.tile.skype:hover {
	background-color: #00aff0;
}

	.tile.skype:before {
		background-image: url('../images/homepage/logos-dim-02.svg');
	}

	.tile.skype:after {
		background-image: url('../images/homepage/logos-02.svg');
	}

.tile.xbox:hover {
	background-color: #59c659;
}

	.tile.xbox:before {
		background-image: url('../images/homepage/logos-dim-03.svg');
	}

	.tile.xbox:after {
		background-image: url('../images/homepage/logos-03.svg');
	}

.tile.office:hover {
	background-color: #ea471b;
}

	.tile.office:before {
		background-image: url('../images/homepage/logos-dim-04.svg');
	}

	.tile.office:after {
		background-image: url('../images/homepage/logos-04.svg');
	}

.tile.sony:hover {
	background-color: #fcae00;
}

	.tile.sony:before {
		background-image: url('../images/homepage/logos-dim-05.svg');
	}

	.tile.sony:after {
		background-image: url('../images/homepage/logos-05.svg');
	}

.tile.bt:hover {
	background-color: #004896;
}

	.tile.bt:before {
		background-image: url('../images/homepage/logos-dim-06.svg');
	}

	.tile.bt:after {
		background-image: url('../images/homepage/logos-06.svg');
	}

.tile.tmobile:hover {
	background-color: #db28a4;
}

	.tile.tmobile:before {
		background-image: url('../images/homepage/logos-dim-07.svg');
	}

	.tile.tmobile:after {
		background-image: url('../images/homepage/logos-07.svg');
	}

.tile.virgin:hover {
	background-color: #5d256b;
}

	.tile.virgin:before {
		background-image: url('../images/homepage/logos-dim-08.svg');
	}

	.tile.virgin:after {
		background-image: url('../images/homepage/logos-08.svg');
	}

.tile.nike:hover {
	background-color: #ff6600;
}

	.tile.nike:before {
		background-image: url('../images/homepage/logos-dim-09.svg');
	}

	.tile.nike:after {
		background-image: url('../images/homepage/logos-09.svg');
	}

.tile.toyota:hover {
	background-color: #c12144;
}

	.tile.toyota:before {
		background-image: url('../images/homepage/logos-dim-10.svg');
	}

	.tile.toyota:after {
		background-image: url('../images/homepage/logos-10.svg');
	}

@media (max-width: 600px) {

	body {
		background-color: #26253a;
		height: auto;
	}

	.main {
		padding: 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -webkit-flex-direction: column-reverse;
			-ms-flex-direction: column-reverse;
    	flex-direction: column-reverse;
	}

	.left {
		max-width: none;
		min-height: 360px;
	}

	.right {
		max-width: none;
		min-height: 480px;
	}

	.face {
		min-height: 200px;
	}

}

.rotate-wrapper{
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.rotate-sentence {
	color: #26253a;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	-webkit-transition: transform 0.3s ease;
	transition: transform 0.3s ease;
}

.rotate-words-static {
	width: 75px;
}

.rotate-words-moving {
	width: 120px;
}

	.rotate-words-moving::after {
	    content: "";
	    border-bottom: 1px solid white;
	    border-left: 1px solid white;
	    border-right: 1px solid white;
	    height: 5px;
	    margin-top: 19px;
	}

	.rotate-words-moving::before {
	    content: "";
	    width: 120px;
	    height: 30px;
	    position: absolute;
	    background-color: #454d66;
	    top: 25px;
	    z-index: 1;
	}

.rotate-words-moving span {
	position: absolute;
	opacity: 0;
	overflow: hidden;
	color: #ffffff;
	width: 120px;
	text-align: center;
	-webkit-animation: rotateWord 18s linear infinite 0s;
	-ms-animation: rotateWord 18s linear infinite 0s;
	animation: rotateWord 18s linear infinite 0s;
}

	.rotate-words-moving span:nth-child(2) { 
	    -webkit-animation-delay: 3s; 
		-ms-animation-delay: 3s; 
		animation-delay: 3s;
	}

	.rotate-words-moving span:nth-child(3) { 
	    -webkit-animation-delay: 6s; 
		-ms-animation-delay: 6s; 
		animation-delay: 6s;
	}

	.rotate-words-moving span:nth-child(4) { 
	    -webkit-animation-delay: 9s; 
		-ms-animation-delay: 9s; 
		animation-delay: 9s;
	}

	.rotate-words-moving span:nth-child(5) { 
	    -webkit-animation-delay: 12s; 
		-ms-animation-delay: 12s; 
		animation-delay: 12s;
	}

	.rotate-words-moving span:nth-child(6) { 
	    -webkit-animation-delay: 15s; 
		-ms-animation-delay: 15s; 
		animation-delay: 15s;
	}

@-webkit-keyframes rotateWord {
    0% { opacity: 0; }
    2% { opacity: 0; -webkit-transform: translateY(-30px); }
	5% { opacity: 1; -webkit-transform: translateY(0px);}
    17% { opacity: 1; -webkit-transform: translateY(0px); }
	20% { opacity: 0; -webkit-transform: translateY(30px); }
	80% { opacity: 0; }
    100% { opacity: 0; }
}

	@-ms-keyframes rotateWord {
	    0% { opacity: 0; }
	    2% { opacity: 0; -ms-transform: translateY(-30px); }
		5% { opacity: 1; -ms-transform: translateY(0px);}
	    17% { opacity: 1; -ms-transform: translateY(0px); }
		20% { opacity: 0; -ms-transform: translateY(30px); }
		80% { opacity: 0; }
	    100% { opacity: 0; }
	}

	@keyframes rotateWord {
	    0% { opacity: 0; }
	    2% { opacity: 0; -webkit-transform: translateY(-30px); transform: translateY(-30px); }
		5% { opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px);}
	    17% { opacity: 1; -webkit-transform: translateY(0px); transform: translateY(0px); }
		20% { opacity: 0; -webkit-transform: translateY(30px); transform: translateY(30px); }
		80% { opacity: 0; }
	    100% { opacity: 0; }
	}

@media (min-width: 601px) {

	.rotate-sentence {
		-webkit-transform: scale(1.2);
		-ms-transform: scale(1.2);
		transform: scale(1.2);
	}

}