/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Manrope:wght@200..800&display=swap');

:root {
	--numrows: 3;
	--numcols: 3;
	--brand-color: rgba(210,35,42,1.00);
	--red: #bf1d18;
	--bkgrd: #F5F5F5;
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
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: var(--bkgrd);
	color: #34312d;
	font-family: "DM Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 400;
	font-size: 100%;	
	line-height: 1.8em;
}

h1, .h1 {
	margin: 0;
	font-size: min(10vw, 4em);
	line-height: 1.3em;
	font-weight: 400;
	text-align: center;
	color: black;
}

h2, .h2 {
	margin: 0;
	font-size: min(10vw, 3.5em);
	color: rgba(129,130,133,1.00);
	line-height: 1em;
	font-weight: 400;
	text-align: center;
	font-style: italic;
}

h1 + h2 {
	margin-bottom: 1em;
}

h3 {
	font-weight: 600;
	font-size: 1.8em;
	color: rgba(210,35,42,1.00);
}

hr.evo {
	background-color: var(--red)!important;
	width: 45px!important;
	height: 6px!important;
	border: none!important;
	border-radius: 3px!important;
	margin: 0 auto 1.5em 0;
}
hr.evo-full {
	background-color: var(--red)!important;
	height: 6px!important;
	border: none!important;
	border-radius: 3px!important;
	margin: 0;
}

a{
	font-weight: 600;
	color: var(--red);
	text-decoration: none;
}

img, svg {vertical-align: top;}

.tbl{display: table}
.tr{display: table-row}
.td{display: table-cell; vertical-align: top;}


/* --------------------------- SITE HEADER ------------------------------ */


header{
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	gap: 4em;
	background-image: linear-gradient(
		 0deg,
		 rgba(245,245,245,0) 0%,
		 rgba(245,245,245,.4) 7%,
		 rgba(245,245,245,.6) 14%,
		 rgba(245,245,245,.85) 23%,
		 rgba(245,245,245,1) 35%
	);
	position: sticky;
	top: 0;
	left: 0;
	z-index: 16;
	padding: 2em 6em 4em 6em;
	transition: all 0.5s;
}
body.home header {
	position: fixed;
}

header nav{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	font-size: 1.1em;
	font-weight: 500;
	color: rgba(128,130,133,1.00);
	text-transform: uppercase;
	line-height: 1.4em;
}
nav div{
	flex: 1 1 auto;
	position: relative;	
	perspective: 1000px;
	z-index: 2;
}
nav div a,
nav div label{
	display: block;
	text-align: center;
	padding:0.81em 1em;
	white-space: nowrap;
	text-decoration: none;
	color: inherit;
	font-weight: 600;
	transition: all 0.5s;
}
nav div label {
	display: inline-block;
	background-color: var(--red);
	border-radius: 6px;
	color: white;
	margin: 0em 0 0em 4em;
}
nav > div:hover{
	z-index: 3;
}
nav > div:hover > div{
	transform: translateX(-50%);
	left: 50%;
	opacity: 1;
}
nav div div {
	position: absolute;
	top: 100%;
	left: -10000px;
	transform: translateX(-50%);
	transform-origin: top center;
	background-color: white;
	border-radius: 6px;
	filter: drop-shadow(0 0 2em rgba(0,0,0,0.2));
	min-width: 90%;
	z-index: 2;
	transition: opacity 0.5s;
	opacity: 0;
	font-size: 90%;
	line-height: 1.2em;
}

nav div div a{
	text-align: left;
	color: rgba(180,180,180,1.00);
}
nav div div a::first-line{
		font-size: 120%;
		font-weight: 900;
}
nav div div a:hover{
	color: black;;
}


.header-logo{
	flex: 0 1 0;
	white-space: nowrap;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}
.header-logo a{
	text-decoration: none;
}
.header-logo img{
	flex: 1 1 auto;
	margin: 0.5em;
	transition: all 0.5s;
}
.header-logo img:nth-of-type(1){
	flex: 1 1 auto;
	width: min(150px, 13vw);
	height: auto;
}
.header-logo img:nth-of-type(2){
	width: min(150px, 13vw);
	height: auto;
}


.header-nav-container{
	flex: 1 1 0;
}
.phone-icon{
	height: 1.2em;
	vertical-align: middle;
}
.phone-number{
	font-weight: 800;
	color: black;
}

.reqst-call{
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	color: white;
	padding: 0 28em 0 4em;
	margin: 0 -1em 0 0;
	text-align: left;
	height: 2.2em;
	line-height: 2.1em;
	transition: all 0.5s;
}
.reqst-call:before{
	content: "";
	background-color: black;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	transform: skewX(30deg);
}

.smpl-rqst-container{
	display: block;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	right: -25em;
	z-index: 16;
	text-align: center;
	width: 25em;
	transition: all 0.5s;
}
.smpl-rqst-container:has(#smplRqstFlag:checked) {
	right: 0em;
}

.reqst-btn{
	display: block;
	position: relative;
	width: 100%;
	height: 2.2em;	
	line-height: 2.1em;
	margin: 0 -0.55em 0 calc(0.55em + 3px);
	color: white;
	text-decoration: none;
	text-transform: uppercase;
}

.reqst-btn:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background-color: rgba(210,35,42,1.00);
	transform: skewX(30deg);
}
.reqst-btn:after{
	content: 'Request a Sample';
}

#smplRqstFlag:checked + iframe + label:after{
	content: 'Close Request';
}

.smpl-rqst-flag{
	position: fixed;
	left: -10000px;
}
/*
.smplmsg-lrg-screen{
	display: block;
}
.smplmsg-sm-screen{
	display: none;
}
*/
#sampleList{
	height: clamp(100px, 16vh, 212px);
	overflow-y: auto;
	overflow-x: visible;
	padding: 0 1em;
	background-image: linear-gradient(45deg, #505050, transparent);
}
/*
.sample-form{
	width: 100%;
	background-color: black; rgba(210,35,42,1.00);
	border-left: 1px solid rgba(245,245,245,0.5);
	color: white;
	text-align: left;
	padding: 0;
	text-transform: none;
	line-height: 1.4em;
	max-height: 0;
	overflow: hidden;
	transition: all 1s;
}
.sample-form > div{
	padding: 1em;
}
.sample-form input:not([type=submit]){
	border: none;
	border-bottom: 1px solid white;
	background-color: transparent;
   width: calc(100% - 0.8em);
	padding: 0.3em 0.1em;
	margin: 0.4em;
	font-family: inherit;
	color: white;
}
.sample-form input[type=submit]{
	margin-top: 1em;
	background-color: rgba(245,245,245);
	background-color: #D2232A;
	color: rgba(210,35,42,1.00);
	color: white;
	border: none;
	border-radius: 0.25em;
	font-weight: 600;
	font-size: 120%;
}
.sample-form input::placeholder{
	color: rgba(245,245,245,0.5);
}
.sample-form .bgm-captcha-container{
	font-size: 80%;
	display: block;
}
.sample-form .csz{
	display: flex;
	justify-content: space-between;
	gap: 0.1em;
	flex-wrap: nowrap;
	margin-bottom: 1em;
}
.sample-form .csz input:nth-of-type(1){
	flex: 3 1 0;
}
.sample-form .csz input:nth-of-type(2){
	flex: 1 1 0;
}
.sample-form .csz input:nth-of-type(3){
	flex: 2 1 0;
}
*/

#sampleList > div{
	position: relative;
}
#sampleList > div > div{
	font-size: 2em;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(-70%, -50%);
	opacity: 0;
	transition: all 0.5s;
	cursor: default;
}
#sampleList > div:hover > div{
	opacity: 1;
}
.smpl-rqst-flag + iframe{
	vertical-align: top;
	transition: all 0.5s;
	display: block;
	border-radius: 6px 0 0 6px;
	filter: drop-shadow(0 0 15px rgba(0,0,0,0.3));
	height: 70vh;
}

.confirmation-marker{
	position: fixed;
	z-index: 20;
	color: white;
	animation-name: showConfirm;
	animation-duration: 1.25s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-in-out;
	width: 5em;
	text-align: center;
	line-height: 1.2em;
	pointer-events: none;
}
@keyframes showConfirm {
	0%{
		display: block; 
		transform: translate(-50%, -120%) scale(1); 
		opacity: 1;
	}
	100%{
		transform: translate(-50%, -120%) scale(1.5); 
		opacity: 0;
		display: none;
	}
}
.confirmation-marker:before{
	content: "Added to Sample Request";
	font-weight: 700;
	text-shadow: 0 0 2px black, 0 0 0.25em black, 0 0 0.5em black;
}

@media screen and (min-aspect-ratio: 1/1) and (orientation: landscape) and (min-width: 800px){
	
	header.smashed {padding-top: 0.5em; padding-bottom: 0.5em; height: 5.5em;}
	header.smashed + .smpl-rqst-container{ 
		top: 5.5em;
		filter: drop-shadow(0 0.5em 0.5em rgba(0,0,0,0.3));
	}
	header.smashed .reqst-call{ opacity: 0; }
	header.smashed .header-logo img{width: 80px!important;}
}

.mobile-nav{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: white;
	border-bottom: 2px solid rgba(0,0,0,1);
	align-items: center;
	justify-content: space-between;
	z-index: 5;
	display: none;
	padding: 0.5em;
}
.mobile-nav a{text-decoration: none;}
.mobile-nav figure{
	margin: 0;
	text-align: left;
}
.mobile-nav img{
	height: 45px;
	width: auto;
	display: inline-block;
	vertical-align: middle;
}
.nav-label {
	width: 4.7em;
	display: inline-block;
	vertical-align: middle;
	padding: 0.5em 1em;
	transition: all 0.5s;
	flex: 0 0 0;
}

.nav-label hr{
	border: none;
	background-color: rgba(0, 0, 0, 1.00);
	height: 4px;
	transition: all 0.3s;
}


.nav-switch{
	position: fixed;
	top: 0;
	left: -1000px;
}

#nav_switch:checked + label + div hr:nth-of-type(1){
	transform: translateY(12px) rotate(45deg);
	transform-origin: center center;
}
#nav_switch:checked + label + div hr:nth-of-type(2){
	opacity: 0;
}
#nav_switch:checked + label + div hr:nth-of-type(3){
	transform: translateY(-12px) rotate(-45deg);
	transform-origin: center center;
}
#nav_switch:checked + label + div + header{
	transform: translateY(0);
}
#nav_switch:checked + label{
	left: 0;
}


/* -------------------- MAILCHIMP INCLUDE ---------- */


#mailchimp_reveal{
	position: fixed;
	left: -100px;
	top: 100px;
}

.mailchimp-container{
	position: fixed;
	top: 0;
	width: 100%;
	height: 100dvh;
	background-color: rgba(0,0,0,0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 17;
	
	opacity: 0;
	left: -10000px;
	transition: opacity 0.5s 0s, left 0s 0.5s;
	
	> div {
		width: calc(100% - 2em);
		max-width: 40em;
		padding: 1em;
		background-color: white;
		border-radius: 5px;
		position: relative;
	}
	input {
		font-family: inherit;
		font-size: inherit;
	}
	
}

.mc-show {
	width: 100%;
	max-width: 15em;
	margin: 0 auto;
	color: rgba(210,35,42,1.00);
	font-size: 1.5em;
	font-weight: 600;
	font-style: italic;
	text-align: center;
	cursor: pointer;
}
#mailchimp_reveal:checked + .mailchimp-container {
	opacity: 1;
	left: 0;
	transition: opacity 0.5s 0s, left 0s 0s;
}
#mc_close {
	border: none;
	background-color: transparent;
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 2.5em;
	line-height: 0.8em;
	color: rgba(150,0,0,1);
	border-radius: 3px;
	transition: all 0.5s;
}
#mc_close:hover {
	color: white;
	background-color: rgba(150,0,0,1);
}

/* ------------------ ABOVE THE FOLD --------------- */

.closing-label{
	position: fixed;
	top: 0;
	left: -10000px;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0);
	z-index: 3;
}

.evo-ss-container{
	position: relative;
	width: 100%;
	height: 100dvh;
}
.evo-ss-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 40em;
	height: 75dvh;
	background-image: linear-gradient(90deg, white 70%, rgba(245,245,245,0));
	padding: 15em 5em 0 6em;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	pointer-events: none;
	.slogan {
		font-family: "Manrope", sans-serif;
		color: black;
		font-size: 2.5em;
		line-height: 1.2em;
		font-weight: 900;
      letter-spacing: 0.02em;
      transform: scaleY(0.9);
      -webkit-text-stroke-width: 1px;
      -webkit-text-stroke-color: black;	}
	.sub-slogan {
		color: #34312d;
		font-size: 1.2em;
		line-height: 1.4em;
		font-weight: 800;
		padding: 1.5em 0 4em 0;
	}
	a {
		display: inline-block;
		text-align: center;
		padding: 0.81em 1em;
		white-space: nowrap;
		text-decoration: none;
		font-weight: 600;
		background-color: var(--red);
		border-radius: 6px;
		color: white;
		margin-bottom: 1em;
		pointer-events: none;
	}

}

.section-header{
	
	width: 35em;
	padding: 3em 0 0 6em;
	
	.slogan {
		font-family: "Manrope", sans-serif;
		color: black;
		font-size: 2.5em;
		line-height: 1.2em;
		font-weight: 900;
      letter-spacing: 0.02em;
      transform: scaleY(0.9);
      -webkit-text-stroke-width: 1px;
      -webkit-text-stroke-color: black;	}
	.sub-slogan {
		color: #34312d;
		font-size: 1.2em;
		line-height: 1.4em;
		font-weight: 800;
		padding: 1.5em 0 4em 0;
	}

}

.choices{
	padding: 0em 6em 3em 6em;
	text-align: center;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 1.5em;
	filter: drop-shadow(0 0 10em rgba(0,0,0,0.2));
}

.choice {
	margin: 0;
	padding: 0;
	text-align: left;
	flex: 1 1 0;
	background-color: white;
	color: black;
	display: flex;
	flex-direction: column;
	
	a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-top: auto;
		font-weight: 800;
	}	
	img {
		width: 100%;
		aspect-ratio: 1.7;
		object-fit: cover;
		object-position: center;

	}	
	p {
		line-height: 1.4em;
	}
	.product-name {
		font-size: 3.7em;
		line-height: normal;
		font-weight: 900;
		font-family: Manrope, sans-serif;
        letter-spacing: 0.02em;
        transform: scaleY(0.9);
        -webkit-text-stroke-width: 1px;
        -webkit-text-stroke-color: black;	}
	.sub-name {
		font-weight: 600;
		font-size: 1.1em;
	}
	.text {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		padding: 1em 2em 2em 2em;
	}
}





/*
.choice-cards{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	column-gap: 4em;
	flex-wrap: wrap;
	margin-top: 3em;
}
.choices figure{
	flex: 1 1 300px;
	margin: 0;
	text-align: center;
	position: relative;
	cursor: pointer;
}
.choices figure > div{
	display: inline-block;
	background-color: black;
}
.choices figure:nth-of-type(even) > div{
	background-color: rgba(210,35,42,1.00);
}
.choices figure img, .choices figure svg{
	max-width: clamp(300px, 40vw, 421px);
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center;
}

.choices figcaption{
	padding: 2em 0 2em 0;
	text-align: center;
}
.caption-major{
	color: black;
	font-size: 2.2em;
	font-weight: 600;
	margin-bottom: 0.7em;
}
.caption-minor{
	list-style-type: none;
	margin: 0;
	padding: 0;
	line-height: 1.4em;
}
*/




/* --------------------- CONTACT PAGE ------------------------------- */

.contact-header{
	padding: 4em 2em;
	background-color: white;
	line-height: 1.6em;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 2em;
	flex-wrap: wrap;
	background-image: linear-gradient(0deg, rgb(220, 220, 220), rgb(245,245,245));
	position: relative;
	font-size: 1.2em;
}

.contact-form-container{
	flex: 2 1 calc(66% - 2em);
	height: 100%;
	position: relative;
	z-index: 2;
}
.contact-map-container{
	flex: 1 1 34%;
	min-width: 300px;
	position: relative;
	border-top: 5px solid rgba(210,35,42,1);
}

/* --------------------- DESIGNER PAGE ----------------------------- */

.EVO-BP-headers{
	font-size: 1.2em;
	padding: 3em;
	width: 1500px;
    max-width: 100%;
    margin: 0 auto;	
}
.EVO-BP-container{
	position: relative;
	width: 100%;
	height: 95vh;
	margin: 0 auto;
	text-align: center;
	padding: 0 0 3em 0;
	background-image: linear-gradient(0deg, rgb(220, 220, 220), rgb(245,245,245));	
}


/* ---------------- DOCS PAGE ----------------------- */

section.docs{
	background-color: white;
	text-align: center;
	background-image: linear-gradient(0deg, rgb(220, 220, 220), rgb(245,245,245));
	position: relative;
	padding: 0 0 4em 0;
}
.categories-container{
	width: 1600px;
   max-width: 100%;
	margin: 0 auto;
	text-align: center;
}
.category-container{
	display: inline-block;
	position: relative;
	margin: 0 1.5em 2em 1.5em;
	text-align: center;
}
.category-container .cat-title {
	width: 100%;
	font-size: clamp(1.5em, 2vw, 2em);
	margin: 1em 0;
	border-bottom: 2px black solid;
	text-align: left;
}
.category-container > div {
	display: inline-block;
	margin: auto 1em;
}

.docs-headline{
    max-width: calc(100% - 2em);
    font-size: clamp(2em, 3vw, 3em);
    color: black;
    font-weight: 400;
    padding: 0.3em;
    margin: 1.5em auto 0.5em auto;
    text-align: center;
}
.docs-container > div figure {
	width: 200px;
	height: auto;
	display: table;
	margin: auto;
	text-align: center;
}
.docs-container > div figcaption {
	caption-side: bottom;
	text-align: center;
	width: 100%;
	line-height: 1.2em;
	white-space: nowrap;
}
.docs-container > div img {
	height: clamp(12em, 25vw, 17.5em);
	margin: 0 auto;
}


/* --------------------- PATTERN RANDOMIZER ---------------------------- */

body.has-randomizer .print-header {
	display: none;
}
body.has-randomizer .print-footer {
	display: none;
}

.randomizer-container {
	width: 100%;
	max-height: 80dvh;
	aspect-ratio: 1.4;
	position: relative;
	aspect-ratio: 1.4;
}
.randomizer {
	display: grid;
	grid-template-rows: 1fr;
	grid-template-columns: 3fr 1fr;
	height: 100%;
}
.randomizer .preview-container {
	background-color: black;
	padding: 2em;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-width: 0;
	min-height: 50dvh;
}
.preview {
	display: grid;
	grid-template-rows: repeat(var(--numrows), 1fr);
	grid-template-columns: repeat(var(--numcols), 1fr);
	max-width: 100%;
}
.preview > div {
	aspect-ratio: 1;
	background-image: linear-gradient(30deg, black, gray);
	background-size: cover;
}

.preview-2-sizer{
	aspect-ratio: 1;
	height: 100%;
	min-width: 0;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}
.preview-2 {
	aspect-ratio: 1;
	width: 100%;
	height: auto;
   max-width: 100%;	
   max-height: 100%;
	min-width: 0;
	min-height: 0;
	background-image: url('../images/randomizer/environments/blank-tile-strip.webp');
	background-repeat: repeat;
	background-size: 100%;
}


.randomizer .controls {
	background-color: rgba(210,35,42,1.00);
	color: white;
	padding: 4em 2em;
	text-align: left;
	margin: 0!important;
	font-size: 80%;
	line-height: 1.5em;
	min-width: 350px;
}
.randomizer .controls form{
	margin: 0!important;
}
.randomizer .controls form p{
	margin: 0!important;
}

.form-head {
	color: white;
	font-size: 150%;
	text-align: center;
	padding-bottom: 1em;
}
#gridSize,
#areaWidth,
#areaHeight {
	width: 3em;
	text-align: center;
	font-family: inherit;
	font-size: inherit;
	border: none;
	border-radius: 3px;
}
#rotations,
#chckrRot{
	border: none;
	border-radius: 3px;
	width: 2em;
	height: 2em;
}
.randomizer table {
	width: 100%;
}
.randomizer table td:nth-of-type(2) {
	text-align: right;
}
.randomizer button{
	display: inline-block;
	font-family: inherit;
	font-size: inherit;
	margin: 1em auto;
	border :none;
	background-color: rgba(245,245,245,0.5);
	color: black;
	border-radius: 3px;
	padding: 0.5em 2em;
	font-weight: bold;
	text-transform: uppercase;
}


.environments {
	position: fixed;
	top: 0;
	left: -10000px;
	opacity: 0;
	width: 100%;
	height: 100dvh;
	z-index: 20;
	background-color: rgba(0,0,0,0.9);
}

.environments .controls-container{
	position: absolute;
	bottom: 0.25em;
	left: 50%;
	transform: translateX(-50%);
	font-size: 2em;
	padding: 0 0.5em 0 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.environments .controls-container .btn-container {
	display: flex;
	align-items: center;
	filter: drop-shadow(0 0 0.5em black);
}
.environments .controls-container button {
	background-color: transparent;
	border: none;
	color: white;
	font-size: inherit;
	font-weight: inherit;
	padding: 0 1em;
	height: 1em;
}
.environments .controls-container button img{
	width: 30px;
	height: 30px;
	filter: invert(1);
	color:rgba(20,118,41,1.00)
}
.env-closer {
	position: absolute;
	top: 0.2em;
	right: 0.2em;
	font-size: 4em;
	color: red; 
	background-color: transparent;
	border: none;
	line-height: 0.7em;
}

.environments.show{
	left: 0;
	opacity: 1;
	border: none;
	line-height: 0.7em;
}
.environments .env-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
	overflow: hidden;
	max-width: 1300px;
	width: calc(100% - 50px);
	container-type: inline-size;
}
.env-container .base{
	display: block;
	position: relative;
	height: auto;
	width: 100%;
}
.env-container .overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.env-container .floor{
	position: absolute;
	bottom: 0;
	left: 0;
	mix-blend-mode: multiply;
	display: grid;
	contain: layout paint size;
	background-image: url('../images/randomizer/environments/blank-tile-strip.webp');
}
.env-container .floor .tile {
	aspect-ratio: 1 / 1; 
	background-image: linear-gradient(30deg, black, gray);
	background-size: cover;
}



.environment-1 {
	perspective: 37cqw;
}
.environment-1 .floor {
	width: 200%;
	height: 400%;
	transform-origin: center bottom;
	transform: translate(-40%,1%) rotate3d(1,0,0,92deg) rotateZ(1.9deg);
	background-size: 34% auto;
	opacity: 1;
}

.environment-2 {
	perspective: 62cqw;
}
.environment-2 .floor {
	width: 700%;
	height: 1000%;
	transform-origin: center bottom;
	transform: translate(-26%,2%) rotate3d(1,0,0,86deg) rotate(-2deg) skew(-5deg);
	background-size: 18% auto;
	opacity: 1;
}



/* ---------------- BGM overides -------------------- */

.BGM-CMS-form h1{
	font-size: 2em;
	text-align: left;
}
.randomizer .BGM-form-vB .inpField.File:after {
	position: absolute;
	top: 50%;
	left: 5px;
	transform: translateY(-50%);
}
#bgm-ss-enunciator {
	left: 0px!important;
	bottom: 0px!important;
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 7px;
	padding: 1em 5em 0 6em; 
	background-image: linear-gradient(90deg, white 70%, rgba(245,245,245,0));
	width: 35em;
	height: 25dvh;
}
#bgm-ss-enunciator > div {
	background-color: var(--red)!important;
	width: 35px!important;
	height: 5px!important;
	border: none!important;
	border-radius: 3px!important;
	opacity: 0.3;
}
#bgm-ss-enunciator > div.selected {
	opacity: 1;
}

/* ----------------- MEDIA QUERIES ------------------ */

@media screen and (max-width: 1400px){
	header{padding: 3em 2em 2em 2em;}
}
@media screen and (max-width: 1000px){
	.reqst-call{display: none;}
}

@media screen and (max-aspect-ratio: 1), 
screen and (orientation: portrait),
screen and (max-width: 800px){

	body{ padding-top: calc(2em + 45px)}
	.mobile-nav{display: flex; z-index: 20;}
	header{
		height: 100vh;
		width: max(35vw, 375px);
		flex-wrap: nowrap;
		flex-direction: column;
		justify-content: space-between;
		padding: 1em;
		transform: translateX(-110%);
	}
	nav div{
		flex: 1 1 100%;		
	}
	nav div a{
		text-align: left;
		padding: 0;
	}
	header .header-logo{
		order: 2;
		flex: 1 1 100%;
	} 

	nav div div{
		position: relative;
		top: auto;
		left: auto;
		opacity: 1;
		font-size: 80%;
		transform: none;
		border: none;
		padding: 0 1em;
	}
	
	header .header-logo img{
		width: 250px!important;
		max-width: 100%!important;
		height: auto!important;
	}
	header .header-logo img:last-of-type{
		display: none;
	}
	header .header-nav-container{
		padding-top: calc(2em + 40px);
		order: 1;
		flex: 1 1 100%;
	}
	header > .reqst-call{ display: none;}
	.reqst-btn{
		position: relative;
		order: 3;
		white-space: normal;
		margin-right: 0;
		padding: 0.5em;
		height: auto;
		margin: 0;
		text-align: center;
		max-height: 4.5em;
		flex: 0 0 auto;
	}
	.reqst-btn{
		background-color: #D2232A;
	}
	#smplRqstFlag:checked + form + .reqst-btn:before{
		content: '\00D7';
		top: 50%;
		right: 0.5em;
		font-size: 2.5em;
		color: white;
		width: 1em;
		height: 1em;
		line-height: 1em;
		text-align: center;
		transform: translateY(-50%);
		left: auto;
		z-index: 1;
	}
	.smpl-rqst-container{ 
		top: auto; 
		bottom: 0; 
		left: 0; 
		margin-left: 0;
		width: 100%;
		display: flex;
		flex-direction: column-reverse;
	}
	.evo-ss-container{
		position: relative;
		width: 100%;
		min-height: 400px;
	}
/*
	.smplmsg-lrg-screen{
		display: none;
	}
	.smplmsg-sm-screen{
		display: block;
	}
*/
	.contact-header:has(.randomizer){
		padding: 0;
	}
	.randomizer-container {
		width: 100%;
		height: auto;
		max-height: none;
		aspect-ratio: auto;
	}
	.randomizer {
		grid-template-rows: 1fr auto;
		grid-template-columns: 1fr;
	}
	.randomizer .controls {
		padding: 1em 2em;
	}
	.randomizer .controls form #optFiles {
		width: 100%;
	}
	.randomizer .preview {
		width: 100%;
		aspect-ratio: 1;
	}
}
