@import 'reset.css';

:root {
    --primary: #000000; 
    --secondary: #797979; 
}

.pri { color: var(--primary); }
.sec { color: var(--secondary); }

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: #797979;
    font-size: 22px;
    padding: 0;
    margin: 0;
	cursor: url("../img/cursor.png") 24 24, auto;
}

a {
    text-decoration: none;
    color: inherit;
	cursor: url("../img/cursor-hover.png") 24 24, auto;
}

a, img { /*f@ck IE*/
    border:none;
    outline:none
}

.anim-fast {
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: 0.2s;
}
.anim {
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}
.anim-slow {
    -webkit-transition: 5s ease-in-out;
    -moz-transition: 5s ease-in-out;
    transition: 5s ease-in-out;
}
.gpu {    
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

sup { 
    vertical-align: bottom; 
    font-size: 0.6em;
    position: relative;
    top: -1em;
}

*::-webkit-scrollbar {
    width: 8px;
    background: #dddddd;
    box-shadow: 0 -5px 10px black;
}
*::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 20px;
}

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: white;
    z-index: 1000;
}
.loading img {
    position: absolute;
    left: calc( 50% - 64px );
    top: calc( 50% - 64px );
}
#content_cover {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: white;
    z-index: 9;
	pointer-events: none;
}

.row {
    width: 100%;
    max-width: 960px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}
.row.full { max-width: 100%; }
.row.centered { 
    justify-content: center; 
    align-items: center;
}
.col {
    position: relative;
    margin: 0;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
}
.col-2 { max-width: 50%; }
.col-3 { max-width: 33.333333%; }
.col-2-3 { max-width: 66.666667%; }
.col-4 { max-width: 25%; }
.col-3-4 { max-width: 75%; }
.col-5 { max-width: 20%; }
.col-4-5 { max-width: 80%; }


gap { display: block; height: 30px; }

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

p { margin-top: 5px; }
em { font-style: italic; }
img { 
    max-width: 100%;
    object-fit: contain;
}

#wrapper {
    width:  100%;
    min-height: 100vh;
}
.content {
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    perspective-origin: 50% 50%;
    overflow: hidden;
    z-index: 1;
}

section {
    position: relative;    
	min-height: 100vh;
	box-sizing: border-box;
	padding: 30px;
}

#video_bg {
	position: absolute;
    right: 0;
    bottom: 0;
    max-height: 100%;
    z-index: -1;
}

#we_are {
	border-bottom: 2px solid black;
	max-width: 200px;
	padding: 0.5em 1em 0 1em;
	font-size: 1.2em;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;
}

.letters {
	margin: 10vmin 0 0 5vmin;
	display: table;
	position: relative;
	z-index: 10;
}
.letter {
    text-align: center;
    margin-bottom: 2vmin;
	position: relative;
	transform-style: preserve-3d;
}
.letter img {
	max-width: 8vmin;
	object-fit: contain;
	display: inline-block;
}
.letter span {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	min-width: 350px;
	padding: 1vmin 0;
	left: 10vmin;
	text-align: left;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transition: 0.2s all ease-out;
	transition: 0.2s all ease-out;
}
.letter span:hover {
	transform: rotateY(10deg);
	color: black;
}
.letter span:before {
	content: "";
	position: relative;
	display: inline-block;
	margin-right: 10px;
	width: 15vmin;
	height: 0.5vmin;
	border-top: 1px solid #797979;
	left: 0;
}

.video_play {
	text-align: center;
    width: 400px;
    height: 400px;
    position: absolute;
    right: 355px;
    top: 10px;
    text-align: right;
    padding-top: 280px;
}
.video_play img {
	margin-right: 25px;
}

.layers {
	position: absolute;
	left: 45%;
	bottom: 10%;
	transform-style: preserve-3d;
	transform: rotateX(80deg) rotateZ(10deg);
	transform-origin: 50% 50%;
	width: 200px;
	height: 400px;
}
.layers div {
	position: absolute;
	width: 200px;
	height: 200px;	
	transform-style: preserve-3d;
	transition: 0.2s;
}
.layers div:hover {
	background: rgba(219, 219, 219, 0.7) !important;
}
.layers span {
	display: block;
	width: 100%;
	transform: rotateX(-90deg) translateY(-15px);	
	position: absolute;
	padding-left: 20px;
	color: white;
	bottom: 0px;
	transition: 0.2s;
}
.layers span:hover {
	color: black;
	padding-left: 30px;
}
.layers div:nth-child(1){
	background: rgba(0, 0, 0, 0.8);
	top: 0;
	z-index: 7;
	transform: translateZ(0px) translateY(100px);
}
.layers div:nth-child(2){
	background: rgba(0, 0, 0, 0.6);
	top: 50px;
	z-index: 6;
	transform: translateZ(-50px) translateY(50px);
}
.layers div:nth-child(3){
	background: rgba(0, 0, 0, 0.4);
	top: 100px;
	z-index: 5;
	transform: translateZ(-100px) translateY(0px);
}

/* Slider */
.slider_container {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 60%;
	max-width: 600px;
	height: 100vh;
	clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
	z-index: 2;
}
.slider_container-border {
	position: absolute;
	background: black;
	right: 2px;
	bottom: 0;
	width: 60%;
	max-width: 600px;
	height: 100vh;
	clip-path: polygon(100% 0, 0% 100%, 100% 100%);
	z-index: 1;
}
.slider_container img {
    object-fit: cover;
	object-position: bottom;
    width: 900px;
    height: 100vh;
	animation: slideHorizontal 10s linear alternate-reverse;
}
.slider_container .slide {
	overflow: hidden;
}
@keyframes slideHorizontal {
	  0% { margin-left: -50%;}
	  100% { margin-left: 0%; }
}


.bx-wrapper {
	border: 0;
	box-shadow: none;
	background: transparent;
}
.bx-wrapper, .bx-viewport {
	height: 100%;
	margin: 0;
	padding: 0;
}
.bx-wrapper img {
	max-width: initial;
}


/* Responsive */
@media only screen and (max-width:1024)
{
	.col {
		max-width: 100%;		
	}
}
