@charset "UTF-8";
/* CSS Document */

@font-face {
	font-family: 'AmaticSC-Regular';
	src: url('https://fonts.googleapis.com/css?family=Amatic+SC');
	src: url('../resources/fonts/AmaticSC-Regular.ttf');
}

@font-face {
	font-family: 'OratorStd';
	src: url("https://use.typekit.net/cgd8gjz.css");
	src: url('../resources/fonts/OratorStd.otf');
}

@font-face {
	font-family: 'PTSans';
	src: url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow');
	src: url('../resources/fonts/PTSans.ttc');
}

/* < OVERRIDES > */

html {
	scroll-behavior: smooth;
}

body {
	background: rgba(255, 255, 255, 1.0);
}

a {
	color: black;
}

a:link {
	color: black;
	/*padding: 14px 25px;*/
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

a:hover {
	color: black;

}

.nav-item {
	margin-left: 10;
	margin-right: 10;
}

.navbar-brand {
	height: 100%;
}

.container-fluid {
	padding: 0px 0px;
}

.navbar {
	-webkit-transition: all 0.6s ease-out;
	-moz-transition: all 0.6s ease-out;
	-o-transition: all 0.6s ease-out;
	-ms-transition: all 0.6s ease-out;
	transition: all 0.6s ease-out;
	height: 130px;
}

.nav-link {
	size: 50pt;
	font-weight: bold;
}

.navbar.scrolled {
	background-color: rgba(255, 255, 255, 0.5);
}

/* </ OVERRIDES > */

.hero_img {
	size: 200px 280px;
}

.hero_text {
	font-family: 'AmaticSC-Regular';
	font-size: 80px;
	text-align: center;
	/*background-color: lightgreen;*/
}

.cacto_nav {
	font-family: 'OratorStd';
	font-size: 20px;
	text-align: center;
	color: black;
}

.lrg-logo {
	content: url("../resources/cacto_brand.png");
	margin-left: 30px;
    margin-top: 20px;
}

.sml-logo {
	content: url("../resources/cacto.png");
	margin-left: 30px;
	margin-top: 20px;
	height: 90px;
}

.cacto_buttons {
	font-family: 'AmaticSC-Regular';
	font-size: 50px;
	text-align: center;
	width: 200px;
	height: 100px;
	margin: 5px 5px;
	/*background-color: lightgreen;*/
}

.cacto_buttons_sec {
	font-family: 'AmaticSC-Regular';
	font-size: 50px;
	text-align: center;
	width: 647px;
	height: 86px;
	margin: 5px 5px;
	/*background-color: lightgreen;*/
}

.v2d {
	background-image: url('../resources/2d-background.png');
	background-repeat: no-repeat;
	background-position: center;
	background-origin: content-box, content-box;
	/*background-color: lightblue;*/
}

.v3d {
	background-image: url('../resources/3d-background.png');
	background-repeat: no-repeat;
	background-origin: content-box, content-box;
	/*background-color: lightyellow;*/
}

.illustration {
	background-image: url('../resources/illustration-background.png');
	background-repeat: no-repeat;
	background-position: center;
	background-origin: content-box, content-box;
	/*background-color: lightgreen;*/
}

.bw {
	background-image: url('../resources/bw-background.png');
	background-repeat: no-repeat;
	background-position: center;
	background-origin: content-box, content-box;
	/*background-color: lightgray;*/
}

/* < SECTIONS > */

/* IMAGES GRID */

.imageGrid {
	line-height: 0;
}

.imageGrid .tile {
	width: 15%;
    min-height: 20em;
    line-height: 1.2;
    display: inline-block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    color: white;
    cursor: hand;
    margin: 5px 5px;
}

.imageGrid .tile:before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	z-index: 0;
	position: absolute;
}

.imageGrid .tile:hover:before {
	background-color: rgba(15, 15, 15, 0.7);
}

.imageGrid .tile .textWrapper {
	text-align: center;
	vertical-align: middle;
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: .75em;
}

.content {
	text-align: center;
	vertical-align: middle;
	width: 80%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: 'PTSans';
}

.content-title {
	font-size: 2vw;
}

.content-subtitle {
	font-size: 1.1vw;
}

.video {
	width: 100%;
	height: calc(80vw * (9 / 16));
	max-height: calc(80vw * (9 / 16));
}

.imageGrid .tile .textWrapper .content {
	display: none;
}

.imageGrid .tile:hover .textWrapper .content {
	display: block;
}

.imageGrid .tile:hover .textWrapper .content h2 {
	margin: 0;
}

/* END IMAGES GRID */


.section {
	height: 100vh;
	width: 100vw;
	max-height: calc(100vw * (9/16));
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow: hidden;
}

.section-title {
	font-family: 'OratorStd';
	font-size: calc(14px + 1.5vw);
}

.section-p-text {
	font-family: 'PTSans', sans-serif;
	font-size: calc(10px + 0.5vw);
	padding-right: 10%;
	padding-left: 10%;
}

.work-section {
	padding-top: 80pt;
	/* background-color: rgb(173, 216, 230); */
	text-align: center;
	overflow: hidden;
	height: auto;
	max-height: initial;
}

.work-videos-grid {
	padding-top: 10pt;
}

.work-videos-col {
	/*height: 100pt;*/
	border-color: black;
	border-width: 1pt;
	border-style: solid;
}

.whyweexist-section {
	background-color: white;
	text-align: center;
	/* position: relative; */
}

.wwe-text {
	/* margin-top: calc(130px + 10vh); */
	padding-top: 10%;
}

.wwe-images {
	display: block;
	position: relative;
	width: 100%;
	height: 54%;
}

.wwe-img {
	position: absolute;
	width: 100%;
	transform: scale(1.1);
	left: 0px;
	--marginTop: calc(60% / 3.05);
	margin-top: calc(var(--marginTop) / 1.2);
}

.wwe-gif {
	position: relative;
	width: 98%;
	max-height: auto;
	left: auto;
	right: auto;
}

.method-section {
	text-align: center;
	overflow: hidden;
	/* background-color: lightcyan; */
}

.method-text {
	padding-top: 10%;
	height: 55%;
	background-color: rgba(244, 207, 148, 1);
}

.method-button {
	width: 100%;
	margin-top: -100px;
}

#method-popup {
	display: block;
	position: fixed;
	height: 100%;
	width: 100%;
	z-index: 10000;
}

.method_inner_popup {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 80vw;
	/* margin-left: -300px; */
	background: #FFF;
	padding: 20px;
	transform: translate(-50%, -50%);
}

.method-content {
	text-align: center;
	vertical-align: middle;
	width: 80%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#dismiss_method_popup {
	position: absolute;
	right: -15px;
	top: -15px;
	height: 40px;
	width: 40px;
	cursor: pointer;
}

.method-img {
	display: block;
	width: 100%;
	max-height: 30%;
}

.method-gif {
	display: block;
	width: 100%;
	max-height: auto;
	text-align: center;
	margin-top: 0pt;
}

.team-section {
	position: relative;
}

.team-text {
	padding-top: 10%;
	height: 50%;
	left: 50%;
	text-align: center;
}

.team-video {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	max-height: 100%;
	z-index: -1;
	background-color: rgba(196, 228, 224, 1);
}

.contact-video {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	max-height: 100%;
	z-index: -1;
	background-color: rgba(196, 228, 224, 1);
}

.contact-section {
	text-align: center;
	overflow: hidden;
	position: relative;
}

.contact-video {
	transform: translate(-50%, -50%);
	z-index: -1;
	background-color: #3374B1;
}

.contact-text {
	padding-top: 21%;
	height: 50%;
	color: white;
	z-index: 10000;
}

.popcorn-cactus {
	--cactoHeight: 30vw;
	--cactoWidth: calc(var(--cactoHeight) * 1.48110);
	position: absolute;
	height: var(--cactoHeight);
	text-align: center;
	margin-left: calc(50% - (var(--cactoWidth) / 2));
	margin-top: calc(var(--cactoHeight) * -1);
	z-index: 100;
}

.gradient {
	--gradientHeight: 10vw;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(34, 34, 34), rgb(34, 34, 34), rgb(34, 34, 34));
	width: 100%;
	height: var(--gradientHeight);
	position: relative;
	display: block;
	margin-top: calc(var(--gradientHeight) * -1);
	z-index: 99;
}

/* </ SECTIONS > */

/* < VIDEO BACKGROUND > */

.header {
	position: relative;
	width: 100%;
	height: 100%;
}

#video-background {
	/*  making the video fullscreen  */
	position: fixed;
	right: 0;
	bottom: 0;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	overflow: hidden;
}

.showreel_gif {
	width: 300px;
	height: 241px;
	margin-bottom: 0px;
	margin-top: auto;
}

/* Videos Popup */
#popup {
	position: fixed;
	height: 100%;
	width: 100%;
	display: none;
	z-index: 10000;
}

#dismiss_popup {
	position: absolute;
	right: -15px;
	top: -15px;
	height: 40px;
	width: 40px;
	/* background: url('../resources/close.png') no-repeat center; */
	cursor: pointer;
}

.inner_popup {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 80vw;
	/* margin-left: -300px; */
	background: #FFF;
	padding: 20px;
	transform: translate(-50%, -50%);
}

.popup_image {
	display: none;
}

#content_popup .popup_image {
	display: block;
}

.navigation_arrow {
	width: 50px;
	height: 50px;
	position: absolute;
	cursor: pointer;
}

.nav_arrow_left {
	top: calc(-25px + 50%);
	left: calc(-25px - 5vw);
}

.nav_arrow_right {
	top: calc(-25px + 50%);
	left: calc(-25px + 85vw);
}

/* END */


/* DEBUG */

.debug {
	width: 100%;
	height: 100px;
	background-color: orange;
	color: white;
	content: 'THIS SCREEN SIZE max-width: >768px';
}

/* JARALAX */
/*
.whov:hover { 
	background-color: #00695c!important;
}*/
/*
.secondbase {
	background-color: rgba(255,255,255,.6); 
	margin-top: -90px;
}

.full-bg-img { 
	padding: 10% 0;
}*/

/* </ VIDEO BACKGROUND > */

@media (max-width: 1500px) {
	.method-section {
		max-height: calc(100vw * 0.9);
	}
	
	.method-text {
		/* padding-top: 10vh; */
		height: 50vw;
	}

	.method-button {
		margin-top: -200px;
    	margin-bottom: 100px;
	}
}

@media (max-width: 1000px) {
	.method-section {
		max-height: calc(100vw * 0.9);
	}
	
	.method-text {
		/* padding-top: 10vh; */
		height: 50vw;
	}

	.method-button {
		margin-top: -140px;
    	margin-bottom: 140px;
	}

	.method-button-image {
		width: 70px;
    	height: 70px;
	}
}

@media (max-width: 800px) {
	.method-section {
		max-height: calc(100vw * 0.9);
	}
	
	.method-text {
		/* padding-top: 10vh; */
		height: 70vw;
	}

	.method-button {
		margin-top: -170px;
		margin-bottom: 70px;
	}
}

/* iPads */
@media (max-width: 768px) {
	.debug::after {
		display: block;
		content: 'THIS IS AN IPAD SCREEN SIZE max-width: 768px';
	}

	.navbar {
		height: 100px;
	}

	.cacto_nav {
		padding-left: 10pt;
		padding-right: 10pt;
	}

	.method-section {
		max-height: calc(100vw * 0.9);
	}
	
	.method-text {
		/* padding-top: 10vh; */
		height: 70vw;
	}

	.imageGrid .tile {
		width: 23%;
    	min-height: 20em;
	}
}

/* Large desktop */
@media (max-width: 650px) {

	.method-section {
		max-height: calc(100vw * 0.9);
	}

	.method-text {
		/* padding-top: 10vh; */
		height: 70vw;
	}

	.section-p-text {
		padding-right: 5vw;
		padding-left: 5vw;
	}

	.imageGrid .tile {
		width: 30%;
    	min-height: 20em;
	}

	.debug::after {
		display: block;
		content: 'THIS IS AN LARGE DESKTOP SCREEN SIZE max-width: 650px';
	}
}

@media (max-width: 600px) {
	.cacto_buttons .cacto_buttons_sec {
		font-size: 40px;
	}

	.whyweexist-section {
		max-height: calc(100vw * 0.6);
	}

	.method-section {
		max-height: calc(100vw * 0.9);
	}

	.debug::after {
		display: block;
		content: 'THIS SIZE max-width: 600px';
	}

	.method-button {
		margin-top: -100px;
    	margin-bottom: 10px;
	}
}

/* Landscape phone to portrait tablet */
/* iPhone 8 Plus */
@media (max-width: 540px) {
	.sml-logo {
		height: 50px;
		margin-left: 10px;
    	margin-top: 10px;
	}

	.cacto_buttons_sec {
		width: 200px;
		height: 180px;
	}

	.whyweexist-section {
		max-height: calc(100vw * 0.9 + -3px);
		padding-top: 50px;
	}

	.method-section {
		max-height: 115vw;
	}

	.method-text {
		height: 98vw;
		/* padding-top: 100px; */
	}

	.team-section {
		background-color: rgba(191, 223, 219, 1);
		max-height: 100vw;
	}

	.team-text {
		padding-top: 100px;
		height: unset;
	}

	.team-video {
		z-index: unset;
		transform: unset;
		height: unset;
		top: unset;
	}

	.contact-text {
		padding-top: 15%;
	}

	.bw {
		background-image: url('../resources/illustration-background.png');
	}

	.debug::after {
		display: block;
		content: 'THIS IS AN iPhone 8 Plus SCREEN SIZE max-width: 540px';
	}
}

/* iPhone 8 */
@media (max-width: 375px) {
	/* .imageGrid .tile {
		width: 100%;
	} */

	.team-section {
		max-height: 115vw;
	}

	.method-section {
		max-height: 155vw;
	}

	.method-text {
		height: 135vw;
		/* padding-top: 100px; */
	}

	.debug::after {
		display: block;
		content: 'THIS IS AN iPhone 8 SCREEN SIZE max-width: 375px';
	}
}

/* Landscape phones and down */
/* iPhone SE */
@media (max-width: 320px) {

	/* .whyweexist-section {
		max-height: calc(100vw * 0.8);
	}

	.method-section {
		max-height: 100vw;
	}

	.method-text {
		height: 70%;
	} */

	.method-section {
		max-height: 155vw;
	}

	.method-text {
		height: 135vw;
		/* padding-top: 100px; */
	}

	.debug::after {
		display: block;
		content: 'THIS IS AN iPhone SE SCREEN SIZE max-width: 320px';
	}
}