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

body, html {
	margin: 0;
	font-family: 'Source Sans Pro', sans-serif;
}

body {
	height: 100%;
	font-size: 1.2em;
}

a {
	color: #fff;
}

figure {
	margin: 0;
}

header {
	height: 100vh;
}

header nav {
	width: 100%;
	overflow: auto;
	position: fixed;
	z-index: 4;
}

header ul {
	margin: 0;
	padding: 0 40px;
}

header li {
	display: inline-block;
}

header li a {
	display: block;
	padding: 20px 30px;
	text-decoration: none;
	color: #fff;
}

header li a:hover {
	color: #fff;
	text-decoration: underline;
}

#to-english {
	float: right;
}

.index-img {
	height: 100vh;
	width: 100%;
	position:fixed;
	top: 0;
	left: 0;
	z-index: 1;
	color: #fff;
	background-color: #0ea5e9;
}

.img-text {
	position: absolute;
	top: 15%;
	left: 15%;
	
}

.img-text h1{
	font-size: 5.5em;
	font-weight: 600;
	margin-top: 0;
	text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
}

.img-text h2{
	font-size: 2.5em;
	text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.3);
	font-weight: 100;
}

.portrait {
	max-height: 100vh;
	width: 50%;
	position: absolute;
	bottom: -4%;
	right: 0;
}

.portrait svg{
	width: 100%;
}

.st8, .st9 {
	transition: 0.5s ease;
}

.closed-eye {
	display: none;
}

.text-marker {
	color: #f43f5e;
	/*color: #FF3B3F;*/
}


u {
	text-decoration: none;
	border-bottom: 4px solid #000;
}

article {
	background-color: #3f3f46;
	transition: background-color 1s;
	position: relative;
	z-index: 10;
}

#home {
	
}

#about {
	width: 100%;
	background-color: #3f3f46;
	color: #fff;
	position: relative;
	height: auto;
}

.container {
	display: grid;
	grid-template-columns: 2fr 3fr;
	padding: 120px 20px; 
}

.left-big-img {
	grid-column-start: 1;
    grid-row-start: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.left-big-img img {
	width: 100%;
	max-width: 300px;
}

#about h3{
	font-size: 3em;
	margin: 0;
	color: #f43f5e;
	padding-bottom: 20px;
}

#about p:first-of-type {
	margin-top: 0;
}

#about p:last-of-type {
	margin-top: 0;
}

.text-box {
	
}

.sub-text-box {
    width: 45%;
    float: left;
}

.sub-text-box:nth-of-type(2){
    float: right;
}

.sub-text-box h2 {
    margin: 0;
    color: #f43f5e;
    display: inline-block;
}

#citreamedia {
    padding: 100px 0;
    text-align: center;
}

#citreamedia img {
    width: 50%;
    margin: 0 auto;
}

#projects {
	background-color: #3f3f46;
	overflow: hidden;
	
}

#projects h3 {
	font-size: 3em;
	margin: 0;
	padding-bottom: 40px;
	color: #f43f5e;
	text-align: center;
}

.project-box {
	margin: 80px auto;
	overflow: auto;
	width: 65%;
	max-width: 800px;
	margin-top:  10%;
	-webkit-transition: margin-top 1s, opacity 1s;
	transition: margin-top 1s, opacity 1s;
	opacity: 0;
}

.project-box-img {
	width: 50%;
	float: left;
	position: relative;
	overflow: hidden;
}

.img-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -100%;
	right: 0;
	background-color: #f43f5e;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.overlay-transition{
	-webkit-transition: 0.5s ease;
	transition: 0.5s ease;
}


.img-overlay-text {
	width: 86%;
	color: white;
	font-size: 1.2em;
	position: absolute;
	overflow: hidden;
	left: 7%;
	top: 50%;
	-ms-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	
}

.img-overlay-text p {
	margin-top: 0;
}

.project-box img {
	width: 100%;
	display: block;
}

#timelapse {
    overflow: auto;
}

.timelapse-box {
    margin: 80px auto;
    width: 65%;
    margin-top: 10%;
    -webkit-transition: margin-top 1s, opacity 1s;
    transition: margin-top 1s, opacity 1s;
    opacity: 0;
}

#timelapse h3 {
    font-size: 3em;
    margin: 0;
    padding: 1em;
    text-align: center;
	color: #f43f5e;
	padding-bottom: 40px;
}

.timelapse-video {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

#contact {
	position: relative;
	background-color: #3f3f46;
	color: #fff;
	height: 80vh;
}

#contact a {
	color: #fff;
}

.contact-width {
	width: 60%;
	margin: 0 auto;
	position: absolute;
	top: 60%;
	left: 0;
	right: 0;
	
	-webkit-transition: top 1s, opacity 1s;
	transition: top 1s, opacity 1s;
	-ms-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	opacity: 0;
}

.contact-info-box {
	width: 45%;
	margin: 0 auto;
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 0;
	-ms-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}

.contact-box {
	width: 45%;
	margin: 0 auto;
	display: inline-block;
	line-height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}

.contact-info-box  h3{
	color: #f43f5e;
	font-size: 1.5em;
}

.shared-input {
	width: 45%;
	display: inline-block;
}

.shared-input-box {
}

.shared-input:nth-of-type(3){
	float: right;
}

.label-box {
	height: 1em;
	position: relative;
	margin-top: 10px;
	
}

.label {
	
	-webkit-transition: top 0.3s, left 0.3s, font-size 0.3s;
	transition: top 0.3s, left 0.3s, font-size 0.3s;
	position: absolute;
	top: 23px;
	left: 3px;
	pointer-events: none;
}

.textarea-label-box {
	height: 1em;
	position: relative;
	margin-top: 10px;
}

.textarea-label {
	-webkit-transition: top 0.3s, left 0.3s, font-size 0.3s;
	transition: top 0.3s, left 0.3s, font-size 0.3s;
	position: absolute;
	top: 23px;
	left: 3px;
	pointer-events: none;
}

#lastname {
	position: absolute;
	left: -1000%;
}

.contact-box input[type=text], .contact-box input[type=email] {
	width: 100%;
	position: relative;
	height: 25px;
	font-size: 1em;
	font-family: 'Source Sans Pro', sans-serif;
	background-color: rgba(0,0,0,0);
	z-index: 10;
	border: none;
	border-bottom: 1px solid #999;
	color: #fff;
}

.contact-box input[type=text]:focus, .contact-box input[type=email]:focus{
	outline: none;
}



.contact-box textarea {
	max-width: 100%;
	width: 100%;
	height: 80px;
	resize: none;
	font-size: 1em;
	font-family: 'Source Sans Pro', sans-serif;
	background-color: rgba(0,0,0,0);
	border: none;
	border: 1px solid #999;
	outline: none;
	color: #fff;
}

.contact-box button[type=submit]{
	display: block;
	width: 125px;
	height: 50px;
	font-family: 'Source Sans Pro', sans-serif;
	background-color: #f43f5e;
	border: 1px solid #fff;
	margin: 0 auto;
	cursor: pointer;
	font-size: 1em;
	color: #fff;
}

footer {
	height: 30vh;
}

#footer-box {
	position: fixed;
	width: 100%;
	z-index: 0;
	bottom: 0;
	left: 0;
	background-color: #0ea5e9;
	height: 31vh;
	text-align: center;
	color: #fff;
	padding-top: 10vh;
}

.z-index {
	z-index: 2 !important;
}

#footer-text {
	
}

#footer-box a, #footer-box p {
	position: relative;
	margin: 0;
	font-size: 1.2em;
	text-decoration: none;
}

#footer-box p {
	margin-top: 10vh;
}

#to-language {
	font-size: 0.8em !important;
	color: #ddd;
	margin-top: 1em !important;
	text-decoration: none;
	display: block;
}

.margin-80{
	margin: 80px 0;
	margin-right: 5%;
	opacity: 1;
}

.top45 {
	top: 45%;
	opacity: 1;
}

.top0 {
	top: 0;
}

@media screen and (max-width: 1300px){
	.portrait {
		width: 33%;
	}
	
	.img-overlay-text {
	    font-size: 0.9em;
	}
}

@media screen and (max-width: 1000px){
	.img-text {
		left: 10%;
	}
	
	
}

@media screen and (max-width: 800px){
	nav ul {
		padding: 0;
		text-align: center;
	}
	
	nav li a {
		padding: 15px 15px;
	}
	
	#timelapse-nav {
	    display: none;
	}
	
	#to-english {
		display: none;
	}
	
	article {
		height: auto !important;
		padding: 50px 0;
	}
	
	.portrait {
		width: 50%;
		left: 50%;
		transform: translate(-50%, 0);
	}
	
	.img-text h1{
		font-size: 3em;
	}
	
	.img-text h2 {
		font-size: 2em;
	}
	
	#about div {
		display: block;
		position: static;
		transform: none;
		margin: 0 auto;
	}

	#about h3 {
		text-align: left;
	}

	.container {
		display: block;
	}
	
	.text-box {
		display: block;
		position: static;
		width: 85%;
		margin: 0;
		float: none;
	}
	
	.sub-text-box {
	    width: 100%;
	    float: none !important;
	}
	
	.float-top {
	    margin-top: 0;
	    margin-bottom: 0;
	}
	
	h3 {
		text-align: center;
		padding-bottom: 50px;
		margin: 0;
	}
	
	.text-box p {
		
	}
	
	.left-big-img {
		width: 60%;
		margin-top: 40px !important;
	}
	
	.project-box {
		width: 100%;
	}
	
	.project-box-img {
		width: 80%;
		margin: 0 auto;
		float: none;
	}
	
	.timelapse-box {
	    width: 100%;
	}
	
	#timelapse h3 {
	    padding: 0;
	    padding-bottom: 40px;
	}
	
	.contact-width {
		position: static;
		display: block;
		width: 100%;
		transform: none;
	}
	
	.contact-info-box {
		width: 85%;
		display: block;
		position: static;
		transform: none;
	}
	
	.contact-info-box h3 {
		padding: 25px 0;
		color: #f43f5e;
		font-size: 3em;
		text-align: center;
	}
	
	.contact-box {
		width: 80%;
		display: block;
		position: static;
		transform: none;
	}
	
	.label-box {
	}
	
	.shared-input {
		display: block;
		width: 100%;
		float: none !important;
	}
}

@media screen and (max-width: 500px){
	
	.img-text h1{
		font-size: 2.2em;
	}
	
	.img-text h2 {
		font-size: 1.2em;
	}
	
	
}

@media screen and (max-width: 350px){
    .portrait {
        width: 40%;
    }
}

@media screen and (max-width: 800px) and (orientation: landscape){
	.portrait {
		display: none;
	}
	
	footer {
		height: 40vh;
	}
	
	#footer-box {
		height: 41vh;
	}
}

@media screen and (max-width: 600px) and (orientation: landscape){
	.img-text h1 {
		font-size: 2.7em;
	}
}


