@font-face {
	font-family: 'BozonLight';
	src: url('../fonts/Bozon-Light.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'BozonRegular';
	src: url('../fonts/Bozon-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'BozonDemi';
	src: url('../fonts/Bozon-DemiBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'BozonExtra';
	src: url('../fonts/Bozon-ExtraBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

:root {
  interpolate-size: allow-keywords;
}

html {
	padding: 0;
	margin: 0;
	border: 0;
	scroll-behavior: smooth;
	width: 100%;
	min-height: 100vh;
}

body {
	padding: 0;
	margin: 0;
	border: 0;

	width: 100%;
	min-height: 100vh;
	
	background-color: rgba(255,255,255,1.00);
	color: rgba(0,0,0,1.00);
	font-family: 'BozonRegular';
	font-weight: normal;
	font-size: clamp(85%, 1vw, 100%);	
	line-height: 2em;
	
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

h1, .h1 {
	margin: 0;
	font-family: 'BozonExtra', sans-serif;
	font-size: min(10vw, 2.5em);
	line-height: 1.3em;
	font-weight: 700;
	text-align: left;
	color: rgba(61,61,62,1.00);
}

h2, .h2 {
	margin: 0;
	font-family: 'BozonDemi', sans-serif;
	font-size: min(10vw, 3.5em);
	color: rgba(158,159,173,1.00);
	line-height: 1em;
	font-weight: 600;
	text-align: center;
	font-style: italic;
}

h1 + h2 {
	margin-bottom: 1em;
}

h3 {
	font-weight: 600;
	font-size: 1.8em;
	color: rgba(251,172,30,1.00);
}

a{
	font-weight: 600;
	color: rgba(251,172,30,1.00);
	text-decoration: none;
}

p {
	font-size: 1.2em;
	font-weight: 500;
	color: rgba(106,103,103,1.00);
}

img, svg {vertical-align: top;}

.tbl{display: table}
.tr{display: table-row}
.td{display: table-cell; vertical-align: top;}


/* --------------------------- SITE HEADER ------------------------------ */

header{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	position: sticky;
	height: 200px;
	top: calc(-200px + 3.15em);
	background-color: black;
	background-image: url("../images/fusion/fusion-icon.svg");
	background-position: left top;
	background-repeat: no-repeat;
	background-size: auto 100%;
	padding: 1em 1em 0 1em;
	text-align: right;
	z-index: 10;
}

.title-container {
	position: relative;
	width: 100%;
}
.title {
	width: 100%;
}
.title #icon-element-header {
	width: 748.6px;
	flex: 0 0 auto;
}
.title .logo-title {
	width: 360px;
}


nav {
	align-self: flex-end;
	width: calc(100% - 6em);
	height: 3.15em;
	padding: 0;
	margin: 0 auto;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 1em;
	position: relative;
}
nav a {
	display: flex;
	align-items: center;
	text-decoration: none;
	padding: 0;
	height: 100%;
	color: rgba(254,214,54,1.00);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	transition: all 0.25s;
	line-height: 1em;
	text-align: center;
	outline: none!important;
}
nav a:hover,
nav a:target{
	color: white;
	transform: scale(130%);
	outline: none!important;
}
#navcontrol {
	position: fixed;
	top: 0;
	left: -10000px;
}
.mobile-nav-banner{
	display: none;
}

#header-logo {
	width: 40em;
	max-width: 100%;
	filter: drop-shadow(0 0 30px white);
}

.social-container > a {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5em;
	height: 2.5em;
	z-index: 1;
	padding: 5px;
	margin: 3px 7px;
	border-radius: 5px;
	background-color: rgba(251,172,30,1.00);
}
.social-container img {
	max-height: 100%;
	max-width: 100%;
	filter: grayscale(1) brightness(1.8);
}

/* ----------------------------------- FOOTER STYLES ------------------------------------------ */

footer {
	margin-top: auto;
	background-color: black;
	background-image: linear-gradient(90deg, black 40%, rgba(254,214,54,0.75));
	padding: 2em;
	display: flex;
	align-items: center;
	justify-content: space-between;
	column-gap: 2em;
}
.footer-logo img{
	width: 480px;
}
.footer-contact {
	display: flex;
	flex-direction: column;
	color: black;
	line-height: 415%;
	filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.7));
}
.footer-contact .phone{
	font-family: 'BozonLight';
	font-size: 600%;
	color: white;
}
.footer-contact .email {
	font-family: 'BozonLight';
	font-size: 280%;
	color: white;
}

footer .copyright {
	font-size: 80%;
	background-color: rgba(62,62,62,1.00);
	color: white;
	text-align: center;
	padding: 1em;
	line-height: 1.4em;
}
footer .copyright a {
	color: white;
	text-decoration: none;
}
	
footer #square-logo {
	width: 25em;
	max-width: 100%;
}
	


/* -------------------------- ALL PAGE STYLES ------------------------ */

section {
	position: relative;
	z-index: 1;
	background-color: rgba(255,255,255,1);
}
.inner section{
	padding: clamp(2em, 4vw, 6em);
}



/* --------------------------- HOME PAGE ----------------------------- */

.btn-EPT {
	font-family: inherit;
	font-size: inherit;
	background-color: transparent;
	border: none;
	transition: all 1s;
	font-weight: 600;
   color: rgba(251, 172, 30, 1.00);
}
.btn-EPT:hover{
	color: blue;
}
.invius-ss-container{
	position: relative;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	aspect-ratio: 3.2;
	height: 37em;
	min-height: 500px;
	overflow: hidden;
}

.invius-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	view-timeline-name: --ss_container;
}

.invius-slide > img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	object-fit: cover;
	object-position: center;
	animation-timeline: --ss_container;
	animation-name: parallax_vA;
	animation-fill-mode: backwards;
	animation-duration: 1ms;
	animation-range: 0% 200%;
}

.invius-slide > div {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-family: 'BozonDemi',sans-serif;
	font-size: 4.5em;
	filter: drop-shadow(0 0 0.1em rgba(0,0,0,1)) drop-shadow(0 0 0.5em rgba(0,0,0,1));
	width: 100%;
	padding: 0 1em;
	line-height: normal;
	text-align: center;
}

@keyframes parallax_vA {
	from { transform: translateY(-40%)}
	to { transform: translateY(40%)}
}


.ss-animate .invius-slide:last-child {
	animation-name: slide-in;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
}
.ss-animate > div > div > svg {
	width: 5em;
	background-color: white;
	padding: 0.2em;
}


.invius-slide:last-child > div {
	animation-name: text-in;
	animation-delay: 0.5s;
	animation-duration: 2s;
	animation-fill-mode: forwards;
	opacity: 0;
}

@keyframes slide-in {
	0% {transform: translateX(-101%)}
	100% {transform: translateX(0%)}	
}
@keyframes text-in {
	0% { top: 55%; left: 50%; opacity: 0;	}
	100% { top: 50%; left: 50%; opacity: 1;	}
}

/*

.color-info {
	background-image: url('../images/color-background.webp');
	background-position: bottom left;
	background-size: contain;
	background-repeat: no-repeat;
	
	padding: clamp(2em, 4vw, 6em);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2em;
	flex-wrap: wrap;
}
.color-info > div {
		flex: 1 1 500px;
	}

.color-info .content-container {
		display: flex;
		align-items: center;
		justify-content: center;
}
.color-info .content-container > div {
			background-color: rgba(226,224,223,1.00);
			padding: 4em;
			width: 100%;
			max-width: 45em;
		}
		
.color-info .content-container .title {
			font-size: 4em;
			font-family: 'BozonExtra', sans-serif;
			line-height: normal;
			padding-bottom: 0.3em;
			color: rgba(62,61,64,1.00);
			text-align: center;

			span {
				font-family: 'BozonRegular', sans-serif;
				color: rgba(251,172,30,1.00);
			}
		}
.color-info .content-container .subtitle {
			font-size: 1.5em;
			line-height: 1.2em;
			font-family: 'BozonRegular', sans-serif;
			color: rgba(139,137,136,1.00);
			text-align: center;
		}
.color-info .content-container p {
			font-size: 100%;
			line-height: 1.1em;
		}
	
.color-info .sample-container {
		display: flex;
		align-items: center;
		justify-content: center;
		padding-bottom: 5em;
		position: relative;
}
		.color-info .sample-container a {
			position: absolute;
			width: 35%;
			max-width: 17em;
			margin: 0;
			padding: 0;
			display: table;
		}
		.color-info .sample-container a:nth-of-type(2){
			position: relative;
		}
		.color-info .sample-container a:nth-of-type(1){
			transform: rotate(-15deg) translateY(2em);
			transform-origin: 50% min(85vw, 50em);
		}
		.color-info .sample-container a:nth-of-type(3){
			transform: rotate(15deg) translateY(2em);
			transform-origin: 50% min(85vw, 50em);
		}
		.color-info .sample-container a > img {
			width: 100%;
			height: auto;
		}
		.color-info .sample-container a > figcaption {
			display: table-caption;
			text-align: center;
			caption-side: top;
			font-family: 'BozonDemi', sans-serif;
			font-size: 1.4em;
		}
		.color-info .sample-container a:nth-of-type(1) > figcaption {
			transform: rotate(15deg) translateX(-3em);
		}
		.color-info .sample-container a:nth-of-type(3) > figcaption {
			transform: rotate(-15deg) translateX(3em);
		}
		
	
	
	
.color-info .tagline-container {
		flex: 1 1 100%;
		font-size: 3.1em; 
		line-height: normal;
		letter-spacing: 0.03em;
		font-family: 'BozonExtra', sans-serif;
		text-align: center;
		color: white;
		filter: drop-shadow(0 0 0.5em black) drop-shadow(0 0 0.5em black);
		margin-top: 1em;
	}


.fab-container {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
} 

	.fab-container > div {
		flex: 1 1 500px;
	}
	
	.fab-container .fab-img-container {	
		position: relative;
	}
	.fab-container .fab-img-container img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
	
	@media screen and (max-width: 1000px) {
		.fab-container .fab-img-container{
			max-height: 400px;
		}
	}

	.fab-container .fab-img-container iframe {
		position: absolute;
		top: 0;
		left: -10000px;
		width: 100%;
		height: 100%;
		z-index: 2;
		transition: opacity 1s ease;
		opacity: 0;		
	}
	
	.fab-container .fab-bullet-container {
		
		padding: clamp(2em, 4vw, 6em);
		display: flex;
		flex-direction: column;
		justify-content: center;
		background-image: url("../images/logo-invius-notext.svg");
		background-position: bottom 2em right 2em;
		background-size: clamp(100px, 12vw, 150px) auto;
		background-repeat: no-repeat;
		background-color: rgba(255,255,255,0.8);
		background-blend-mode: lighten;
	}
		.fab-container .fab-bullet-container .head {
			text-align: left;
			font-family: "BozonDemi", sans-serif;
			font-size: 1.9em;
		}
		.fab-container .fab-bullet-container ul{
			padding: 0;
		}
		.fab-container .fab-bullet-container li {
			padding: 0 0 1em 3em;
			list-style: none;
			background-image: url('../images/icon-checkmark.svg');
			background-position: top 0.4em left;
			background-size: 2em auto;
			background-repeat: no-repeat;
			line-height: 1.2em;
		}
		.fab-container .fab-bullet-container li::first-line {
			font-size: 1.5em;
			font-family: 'BozonDemi', sans-serif;
			position: relative;
			top: -10px;
			line-height: normal;
		}
*/
	
.iframe-container {
	position: fixed;
	top: 0;
	left: -10000px;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0,0,0,0.5);
	z-index: 5;
	opacity: 0;
	transition: opacity 1s ease;
}
	
.iframe-container iframe{
	width: 100%;
	max-width: 1000px;
	aspect-ratio: 1.5;
}


/*

.area-banner {
	
	padding: 5em;
	position: relative;
	min-height: 500px;
	overflow: hidden;
	background-color: black;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
	.area-banner:before{
		content: "";
		display: block;
		position: absolute;
		top: 0;
		left: -150%;
		width: 400%;
		height: 100%;
		background-image: url("../images/area-background.webp");
		background-position: -25% 0;
		transform: skewX(-30deg);
		opacity: 0.4;
	}
	
	.area-banner > div {
		flex: 1 1 0;
		position: relative;
	}
	
	.area-banner .head {
		color: white;
		margin-bottom: 1em;
		font-size: 4em;
		font-family: 'BozonExtra', sans-serif;
		font-weight: 900;
		line-height: normal;
		text-align: center;
	}
	.area-banner .figure-container {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 2em;
		flex-wrap: wrap;
		text-align: center;
}
		.area-banner .figure-container a {
			flex: 1 1 20em;
			margin: 0;
			padding: 0;
			display: block;
}
			.area-banner .figure-container a img{
				width: 100%;
				height: 100%;
				max-width: 21em;
			}
			
			.area-banner .figure-container a figcaption {
				font-size: 1.6em;
				color: rgba(150,150,150,1.00);
				text-align: center;
				padding: 1em;
			}
		
		
	


.maximize-container {
	
	padding: clamp(2em, 4vw, 6em);
	position: relative;
	background-image: linear-gradient(0deg, rgba(158,159,173,0.50), white 70%);
}
	.maximize-container :before{
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-image: url('../images/logo-invius-notext.svg');
		background-position: left 2em top;
		background-repeat: no-repeat;
		background-size: auto 100%;
		background-blend-mode: lighten;
		opacity: 0.05;
	}
	
	.maximize-container div {
		position: relative;
	}
	
	.maximize-container p {
		color: black!important;
		max-width: 100%;
		width: 49em;
		margin: 1em auto;
		line-height: 1.2em;
		text-align: center;
	}
	.maximize-container .head {
		font-size: 4em;
		font-family: 'BozonExtra', sans-serif;
		line-height: normal;
		padding-bottom: 0.3em;
		color: rgba(62,61,64,1.00);
		text-align: center;
		z-index: 2;
	}
	.maximize-container .subhead {
		color: rgba(158,159,173,1.00);
		font-size: 2.5em;
		text-align: center;
	}
	.maximize-container .img-container {
		text-align: center;
		padding: 2em;
}
		.maximize-container .img-container img {
			filter: drop-shadow(0 0 50px rgba(0,0,0,0.3));
			max-width: 100%;
		}
	
	


.graphic-container {
		padding: clamp(2em, 4vw, 6em) clamp(2em, 4vw, 6em) 0 clamp(2em, 4vw, 6em);

	.graphics {
		width: 100%;
		max-width: 1500px;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 2em;
		flex-wrap: wrap;
		text-align: center;
	}
	
	figure {
		flex: 1 1 10em;
		height: 13.5em;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
	}
	figure > img {
		width: 100%;
		max-width: 10em;
		height: auto;
	}
	figcaption {
		display: flex;
		align-items: center;
		text-align: center;
		font-size: 1.5em;
		line-height: 1.2em;
		height: 2.4em;
		vertical-align: middle;
	}
}

*/


/* ------------------------------- GALLERY PAGE ----------------------- */

.inv-gallery-container{
	
	padding-bottom: 6em;
	background-image: linear-gradient(0deg, rgba(158, 159, 173, 0.20), white 50%);
}

.inv-gallery-container .BGM-gallery-alt2-group-container {

		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		gap: 1em;
		flex-wrap: wrap;
}
		.inv-gallery-container .BGM-gallery-alt2-group-container figure {
			flex: 1 1 400px;
			width: 100%;
			aspect-ratio: 1;
			cursor: zoom-in;
			position: relative;
		}
		
		.inv-gallery-container .BGM-gallery-alt2-group-container .BGM-gallery-alt2-cat-header>div {
			font-size: 1.6em;		
		}
		

	@media screen and (max-width: 900px) {
		.BGM-gallery-alt2-group-container {
			grid-template-columns: 1fr 1fr 1fr!important;
		}	
	}
	
	@media screen and (max-width: 600px) {
		.BGM-gallery-alt2-group-container {
			grid-template-columns: 1fr 1fr!important;
		}	
	}
	@media screen and (max-width: 400px) {
		.BGM-gallery-alt2-group-container {
			grid-template-columns: 1fr!important;
		}	
	}
	
	
	.inv-gallery-container .BGM-gallery-alt2-image {
		width: 25%;
	}
	



/* ------------------------ DOCS PAGE --------------------------------- */

.documents {
	text-align: center;
	padding-bottom: 6em;
	background-image: linear-gradient(0deg, rgba(158, 159, 173, 0.20), white 50%);
}
	
.documents h3 {
		margin-top: 0;
	}
.documents img {
		max-width: 250px;
		width: 100%;
		margin: 0 auto;
		filter: drop-shadow(0 0 100px rgba(0,0,0,0.2));
	}
.documents figure {
	margin: 0;
}
.documents figcaption {
		filter: drop-shadow(0 0 2px white);
		color: rgba(61,61,62,1.00);
	}
.documents .categories-container {
		width: 100%;
	}
.documents .category-container {
		display: inline-flex;
		align-items: flex-start;
		justify-content: center;
		margin: 1em;
		padding: 1em;
		flex-wrap: wrap;
		flex-direction: column;
	}
.documents .cat-title {
		text-align: left;
		border-bottom: 2px solid #3E3E3F;
		width: 100%;
	}
	
	
		


/* --------------------------- VISUALIZER PAGE --------------------------- */

.invius-visualizer {
	padding-bottom: 6em;
	background-image: linear-gradient(0deg, rgba(158, 159, 173, 0.20), white 50%);	
}


/* ------------------------------- FAQ ------------------------------------ */


.inv-faq-container{
	margin: 2em auto;
	width: 100%;
	max-width: 1200px;
}


/* ------------------------------ CONTACT PAGE -------------------------*/


section.contact {
	
	padding: 0;
	background-image: linear-gradient(0deg, rgba(158, 159, 173, 0.20), white 70%);	
	
	.contact-container {
/*
		display: grid;
		grid-template-rows: 1fr auto;
		grid-template-columns: 1fr 1fr;
*/
		padding: clamp(2em, 4vw, 6em);
		display: block;
	}
	
	.contact-container > div {
		flex: 1 1 600px;
	}
		
	.map-container {
		display: contents;
	}
	.BGM-contact-form {
		padding: 0;
	}
	.BGM-contact-form > div > div{
		margin: 0;
	}
	.BGM-map-address-container {
		grid-column: 1 / 3;
		position: relative;
		border-color: rgba(251,172,30,1.00);
	}
	.BGM-map-address-container:hover {
		opacity: 1;
	}
	.BGM-map-address-container a{
		color: rgba(251,172,30,1.00);
	}
}

/* -------------------------- MEDIA QUERIES --------------------------- */

@media screen and (max-aspect-ratio: 1), 
screen and (orientation: portrait),
screen and (max-width: 800px){

	body {
		padding-top: 3.2em;
	}
	#navcontrol {
		left: 0;
	}
	.mobile-nav-banner {
		display: block;
	}
	.mobile-nav-banner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 13;
		width: 100%;
		padding: 5px 10px;
		font-family: 'BozonExtra',sans-serif;
		font-weight: 900;
		font-size: 2em;
		color: rgba(251,172,30,1.00);
		background-color: rgba(0, 0, 0, 1.00);
		pointer-events: none;
		height: 1.6em;
	}
	 .mobile-nav-button{
		width: 25px;
		height: 18px;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		cursor: pointer;
		background-image: linear-gradient(0deg, transparent calc(50% - 1px), white calc(50% - 1px), white calc(50% + 1px), transparent calc(50% + 1px));
		pointer-events: all;
		transition: all 0.5s;
	}
	.mobile-nav-button:before {
		content: '';
		display: block;
		border: none;
		width: 100%;
		height: 2px;
		background-color: white;
		transition: all 0.5s;
	}
	.mobile-nav-button:after {
		content: '';
		display: block;
		border: none;
		width: 100%;
		height: 2px;
		background-color: white;
		transition: all 0.5s;
	}
	#navcontrol:checked + label + header{
		transform: translateX(0%)
	}
	#navcontrol:checked + label .mobile-nav-button {
		background-image: none;
		pointer-events: none;
	}
	#navcontrol:checked + label .mobile-nav-button:before {
		transform: translateY(8px) rotate(45deg);
		background-color: red;
	}
	#navcontrol:checked + label .mobile-nav-button:after {
		transform: translateY(-8px) rotate(-45deg);
		background-color: red;
	}
	
	nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 250px;
		height: 100vh;
		display: block;
		z-index: 12;
		padding-top: 5em;
		background-image: url("../images/logo-invius-notext.svg");
		background-position: bottom 1em center;
		background-size: calc(100% - 2em);
		background-repeat: no-repeat;
		transform: translateX(-105%);
		transition: all 0.5s;
	}
	nav a {
		display: block;
		text-align: left;
		padding: 0.5em;
		height: auto;
	}
	
	#navcontrol:checked + label + header > nav {
		transform: translateX(0);
	}
}

