html, body {
	margin: 0;
	height: 100%;
	width: 100%;
	user-select: none;
}
body {
	background-color: black;
	font-family: Lato, Tahoma, Geneva, sans-serif;
	color: #6a6a6a;
	perspective: 2000px;
	overflow: hidden;
}
.cube {
	width: 100%;
	height: 100%;
	position: relative;
	transform-style: preserve-3d;
    transition: transform 1s ease-in-out;
}
.cube > div {
	background-color: #2a2a2a;
	position: absolute;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 100%;
	filter: brightness(1);
	transition: filter 1s ease-in-out;
	backface-visibility: hidden;
}
::-webkit-scrollbar {
	width: 8px;
	background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
	border-radius: 6px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #999;
}
::-webkit-scrollbar-thumb:hover {
	background-color: #BBB;
}
::-webkit-scrollbar-track {
	background-color: #2a2a2a;
}

/****************************************************************************************************/
/*                                               LOGO                                               */
/****************************************************************************************************/
.logo {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: auto;
	margin-bottom: auto;
	-webkit-touch-callout: none;
	  -webkit-user-select: none;
	   -khtml-user-select: none;
	     -moz-user-select: none;
	      -ms-user-select: none;
	          user-select: none;
}
.logo .main {
	font-weight: bold;
}
@media screen and (max-width: 479px) {
	.logo .main {
		font-size: 15px;
	}
}
@media screen and (min-width: 480px) and (max-width: 767px) {
	.logo .main {
		font-size: 30px;
	}
}
@media screen and (min-width: 768px) {
	.logo .main {
		font-size: 50px;
	}
}
.logo .sub {
	font-size: 15px;
}
.logo .sub hr {
	border: 1px solid #555;
}
.logo .sub div {
	margin: 0 20px;
}


/****************************************************************************************************/
/*                                            TRANSITIONS                                           */
/****************************************************************************************************/
.arrow.left, .arrow.right {
	width: 50px;
	height: 75px;
}
.arrow.up, .arrow.down {
	width: 75px;
	height: 50px;
}
.arrow.left {
	margin-left: 50px;
}
.arrow.right {
	margin-right: 50px;
}
.arrow.up {
	margin-top: 50px;
}
.arrow.down {
	margin-bottom: 50px;
}
.arrow {
	cursor: pointer;
	align-self: center;
}

.arrow:before, .arrow:after {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	background-color: #727272;
	transform-origin: right;
	transition: transform .25s linear, background-color .25s ease-in-out;
	position: absolute;
}
.arrow.left:before, .arrow.right:before, .arrow.left:after, .arrow.right:after {
	top: 50%;
}
.arrow.up:before, .arrow.down:before, .arrow.up:after, .arrow.down:after {
	left: 50%;
	margin-left: -50px;
}
.arrow.down:before, .arrow.down:after {
	margin-top: 50px;
}
.arrow.clicked {
	cursor: auto;
}
.arrow.left:before {
	margin-left: -50px;
	transform: rotate(130deg);
}
.arrow.left.clicked:before {
	transform: rotate(180deg) !important;
	background-color: #AAA;
}
.arrow.left:after {
	margin-left: -50px;
	transform: rotate(-130deg);
}
.arrow.left.clicked:after {
	transform: rotate(-180deg) !important;
	background-color: #AAA;
}
.arrow.right:before {
	transform: rotate(50deg);
}
.arrow.right.clicked:before {
	transform: rotate(0deg) !important;
	background-color: #AAA;
}
.arrow.right:after {
	transform: rotate(-50deg);
}
.arrow.right.clicked:after {
	transform: rotate(0deg) !important;
	background-color: #AAA;
}
.arrow.up:before {
	transform: rotate(225deg);
}
.arrow.up.clicked:before {
	transform: rotate(270deg) !important;
	background-color: #AAA;
}
.arrow.up:after {
	transform: rotate(315deg);
}
.arrow.up.clicked:after {
	transform: rotate(270deg) !important;
	background-color: #AAA;
}
.arrow.down:before {
	transform: rotate(130deg);
}
.arrow.down.clicked:before {
	transform: rotate(90deg) !important;
	background-color: #AAA;
}
.arrow.down:after {
	transform: rotate(45deg);
}
.arrow.down.clicked:after {
	transform: rotate(90deg) !important;
	background-color: #AAA;
}
.arrow.left:hover:before {
	transform: rotate(150deg);
	background-color: #AAA;
}
.arrow.left:hover:after {
	transform: rotate(-150deg);
	background-color: #AAA;
}
.arrow.right:hover:before {
	/*animation: ARROW-RIGHT-BOTTOM 1s infinite;*/
	transform: rotate(30deg);
	background-color: #AAA;
}
.arrow.right:hover:after {
	/*animation: ARROW-RIGHT-TOP 1s infinite;*/
	transform: rotate(-30deg);
	background-color: #AAA;
}
.arrow.up:hover:before {
	transform: rotate(245deg);
	background-color: #AAA;
}
.arrow.up:hover:after {
	transform: rotate(295deg);
	background-color: #AAA;
}
.arrow.down:hover:before {
	transform: rotate(110deg);
	background-color: #AAA;
}
.arrow.down:hover:after {
	transform: rotate(65deg);
	background-color: #AAA;
}
/*@keyframes ARROW-RIGHT-BOTTOM {
	0%		{ transform: rotate(30deg); }
	50%		{ transform: rotate(50deg); }
	100%	{ transform: rotate(30deg); }
}
@keyframes ARROW-RIGHT-TOP {
	0%		{ transform: rotate(-30deg); }
	50%		{ transform: rotate(-50deg); }
	100%	{ transform: rotate(-30deg); }
}*/


/****************************************************************************************************/
/*                                             PROJECTS                                             */
/****************************************************************************************************/
.title {
	color: #cfcfcf;
	font-size: 40px;
	font-weight: bold;
}
.content {
	padding: 0% 1%;
	min-width: 75%;
	overflow-y: auto;
	max-height: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.content > * {
	flex-shrink: 0;
}
.filters {
	display: flex;
	flex-wrap: wrap;
}
.filters > div {
	border: 1px solid #222;
	text-transform: uppercase;
	box-shadow: 1px 1px 0 rgba(0,0,0,.25);
	margin: 3px;
	padding: 8px 13px;
	background-color: #313131;
	color: #999;
	cursor: pointer;
	border-radius: 3px;
	font-size: .85em;
}
.filters > div:hover {
	background-color: #666;
}
.projects {
	display: flex;
	flex-wrap: wrap;
}
.projects > div {
	position: relative;
}
.projects > div > div {
	padding-bottom: 58.888%;
}
.projects > div > div > div {
	cursor: pointer;
	margin: 3%;
	color: white;
	background-color: #777;
	box-shadow: 8px 8px 8px rgba(0,0,0,.20); /*box-shadow: 8px 8px 0 rgba(0,0,0,.15);*/
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-size: cover;
	/*transition: transform .25s linear;*/
}
.projects > div > div > div:hover {
	/*transform: scale(1.05);*/
}
.projects > div > div > div > .name {
	height: 10%;
	background-color: #bbb;
	color: #444;
	padding-left: 5%;
}
.projects > div > div > div > .infos {
	overflow-y: auto;
	height: 90%;
}
.projects > div > div > div > .infos > div {
	background-color: rgba(32, 32, 32, .9);
	height: 0%;
	overflow: hidden;
	transition: height .25s linear;
}
.projects > div > div > div:hover > .infos > div {
	height: 100%;
}
@media screen and (max-width: 767px) {
	.projects > div {
		width: 100%;
	}
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
	.projects > div {
		width: 50%;
	}
}
@media screen and (min-width: 1024px) and (max-width: 1919px) {
	.projects > div {
		width: 33.333%;
	}
}
@media screen and (min-width: 1920px) {
	.projects > div {
		width: 25%;
	}
}

.project {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	width: 100%;
	height: 100%;
	background-color: white;
}
.project_overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	pointer-events: none;
}
.pointable {
	pointer-events: auto;
}

/****************************************************************************************************/
/*                                              COLORS                                              */
/****************************************************************************************************/
.salmon {
	color: #BD8F8B;
}
.blue {
	color: #469DFF;
}
.red {
	color: #FA573E;
}
.orange {
	color: #BD6B09;
}
