/* base styles */

html
{
	font-size: 16px;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

*, *:before, *:after
{
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}

body
{
	background: rgba(255,255,255,1.0);
	color: rgba(0,0,0,1.0);
	/* cursor: url('../img/ui/cursor-hand.svg'), auto;
	cursor: -webkit-image-set(url('../img/ui/cursor-hand-2x.svg') 2x), auto; */
}

a
{
	color: rgba(0,0,0,1.0);
	/* cursor: url('../img/ui/cursor-active.svg'), auto;
	cursor: -webkit-image-set(url('../img/ui/cursor-active-2x.svg') 2x), auto; */
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

hr
{
	border: none;
	border-top: solid 1px #000000;
}

img
{
	display: block;
}



/* global slide styles */
#content
{
	position: absolute;
	width: 100%;
	height: 100%;
	pointer-events: auto;
	z-index: 3;
	overflow-y: scroll;
	overflow-x: hidden;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
}

*[id^='slide-']
{
	position: relative;
	width: 100%;
	height: 100%;
	scroll-snap-align: start;
	z-index: 2;
}

items
{
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

[class*='bg-']
{
	position: absolute;
	width: 100%;
	height: 100%;
}

*[id^='slide-'] p
{
	width: 100%;
}

*[id^='slide-'] img
{
	margin-left: auto;
	margin-right: auto;
}

.bg-white-60
{
	background: rgba(255,255,255,0.60);
}

.bg-white-80
{
	background: rgba(255,255,255,0.80);
}

.bg-white-100
{
	background: rgba(255,255,255,1.0);
}

.bg-blue
{
	background: rgba(34,34,238,1.0);
}

.bg-sand-100
{
	background: rgba(255,255,248,1.0);
}

.bg-sand-80
{
	background: rgba(255,255,248,0.80);
}

.bg-sand-60
{
	background: rgba(255,255,248,0.60);
}

.bg-pale-green-100
{
	background: rgba(248,255,248,1.0);
}

.bg-pale-green-80
{
	background: rgba(248,255,248,0.80);
}

.bg-pale-green-60
{
	background: rgba(248,255,248,0.60);
}

.bg-pale-periwinkle-100
{
	background: rgba(248,248,255,1.0);
}

.bg-pale-periwinkle-80
{
	background: rgba(248,248,255,0.80);
}

.bg-pale-periwinkle-60
{
	background: rgba(248,248,255,0.60);
}

p.main, p.offset, p.arrow
{
	font-family: 'concrette-m-thin';
	font-size: 2.375rem;
	text-align: center;
}

p.main, p.offset
{
	line-height: 140%;
}

p.main
{
	padding: 0 10rem;
}

p.offset
{
	padding: 0 10rem 0 20rem;
}

p.arrow
{
	position: absolute;
	left: 1.25rem;
	bottom: 1.25rem;
	width: 2.5rem;
	text-align: center;
}

p.lefty
{
	text-align: left;
}

p.reverse
{
	color: rgba(255,255,255,1.0);
}

p.subheading
{
	font-size: 1rem;
	font-family: 'pp-neue-montreal-medium';
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
	margin-bottom: 1.25rem;
}



/* slide-specific styles */

#slide-people
{
	display: none;
}

#slide-02, #slide-03, #slide-04, #slide-05, #slide-06, #slide-07, #slide-08, #slide-09, #slide-10
{
	z-index: 1;
}

#slide-01, #slide-02, #slide-04, #slide-05, #slide-06, #slide-07, #slide-08, #slide-09, #slide-10, #slide-extra
{
	-webkit-backdrop-filter: blur(1rem);
	backdrop-filter: blur(1rem);
}

#slide-first, #slide-01, #slide-people
{
	z-index: 3;	
}

#slide-last
{
	background: rgba(255,102,0,1.0);
	mix-blend-mode: multiply;
}

img.squiggle
{
	position: absolute;
	left: 0.625rem;
	top: 0.625rem;
	width: 10rem;
	height: auto;
}

#blocker-left
{
	position: absolute;
	top: 0;
	left: 0;
	right: auto;
	width: 3.75rem;
	height: 100%;
	background: rgba(255,255,255,1.0);
}

#blocker-right
{
	position: absolute;
	right: 0;
	left: auto;
	width: 3.75rem;
	height: 100%;
	background: rgba(255,255,255,1.0);
}

#ben
{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);	
}

#ben
{
	right: 0;
	left: auto;
}

*[id^='champ']
{
	position: absolute;
	display: flex;
	align-items: baseline;
}

#ben img, *[id^='champ'] img
{
	width: 12.5rem;
	height: auto;
}

#ben p, *[id^='champ'] p, #slide-people p
{
	font-family: 'pp-neue-montreal-regular';
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.02rem;
	padding: 0;
	text-align: left;
}

#slide-people p
{
	position: absolute;
	left: 1.25rem;
	top: 1.25rem;
	color: rgba(255,255,255,1.0);
}


#ben p
{
	margin-top: 0.625rem;
}

*[id^='champ'] p
{
	transform-origin: 0.3125rem center;
	transform: rotate(-90deg);
	margin-left: 0.625rem;
}

img.finish
{
	position: absolute;
	right: 7.5rem;
	left: auto;
	top: 50%;
	transform: translateY(-50%);
	height: 15rem;
	width: auto;
}

img.extra
{
	position: absolute;
	right: 5rem;
	bottom: 5rem;
	height: 10rem;
	width: auto;
}

p.top
{
	position: absolute;
	top: 5rem;
	bottom: auto;
	text-align: center;
	left: 50%;
	transform: translateX(-50%);
}

p.bottom
{
	position: absolute;
	top: auto;
	bottom: 5rem;
	text-align: center;
	left: 50%;
	transform: translateX(-50%);
}

.clients
{
	position: absolute;
	bottom: 5rem;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	padding: 0 10rem;
}

.clients p
{
	font-family: 'pp-neue-montreal-regular';
	font-size: 0.875rem;
	text-align: center;
	text-transform: uppercase;
	text-spacing: 0.02em;
	margin-bottom: 1.25rem;
}

.clients hr
{
	margin-bottom: 2.5rem;
}

img.handy
{
 	height: 8rem;
	width: auto;
	margin-bottom: 1.25rem;
}

img.down, img.up
{
	height: 3.75rem;
	width: auto;
}

img.up
{
	margin-bottom: 1.25rem;
}

img.down
{
	margin-top: 1.25rem;
}

img.perspective
{
	height: 8.75rem;
	width: auto;
	margin-top: 1.25rem;
}

div.socials, div.logos
{
	margin: 2.5rem auto 0 auto;
	width: fit-content;
}

div.logos img
{
	display: inline;
	width: auto;
	vertical-align: middle;
}

div.logos img:not(:first-child)
{
	margin-left: 2.5rem;
}

img.h28
{
	height: 1.75rem;
}

img.h24
{
	height: 1.5rem;
}

img.h20
{
	height: 1.25rem;
}

div.socials img
{
	display: inline;
	height: 2.5rem;
	width: auto;
}

div.socials a:not(:first-child)
{
	margin-left: 1.25rem;
}



/* fade transition champ and people styles */

*[id^='champ']
{
	opacity: 0;
	animation: fade 18s linear infinite forwards;
}

*[id^='person']
{
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	animation: fade 24s linear infinite forwards;
}

#champ-02, #person-02
{
	animation-delay: 6s;
}

#champ-03, #person-03
{
	animation-delay: 12s;
}

#person-04
{
	animation-delay: 18s;
}

@keyframes fade
{
	0% {opacity: 0;}
	10% {opacity: 1;}
	30% {opacity: 1;}
	40% {opacity: 0;}
}


/* other element styles */

#underlay
{
	background: rgba(255,255,255,1.0);
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 0;
}

#underlay img
{
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
}

#sides
{
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

#sides lefty, #sides righty
{
	position: absolute;
	top: 50%;
	font-size: 0.75rem;
	font-family: 'pp-neue-montreal-medium';
	letter-spacing: 0.02rem;
	text-transform: uppercase;
}

#sides lefty
{
	transform: translateX(-50%) translateY(-50%) rotate(-90deg);
	left: 2.5rem;
}

#sides righty
{
	transform: translateX(50%) translateY(-50%) rotate(90deg);
	right: 2.5rem;
}

#overlay
{
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 5;
	pointer-events: none;
}

img.envelope
{
	position: absolute;
	right: 1.25rem;
	bottom: 1.25rem;
	width: 2.5rem;
	height: auto;
}

img.envelope:hover
{
	rotate: -20deg;
}

#overlay a
{
	pointer-events: auto;
}



/* form styles */

#contact, #reply
{
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 6;
	pointer-events: auto;
	background: rgba(255,255,255,0.96);
	padding: 0 10rem;
	overflow: auto;
}

#contact items, #message items
{
	background: rgba(255,255,255,1.0);
	border: 1px solid rgba(0,0,0,1.0);
	border-radius: 0.625rem;
	padding: 2.5rem;
}

form
{
	margin: 0;
	padding: 0;
}

input[type=text], input[type=number], input[type=email], input[type=tel], textarea, select
{
	color: rgba(0,0,0,1.0);
	background-color: rgba(248,255,248, 1.0);
	font-family: 'pp-neue-montreal-regular';
	font-size: 1rem;
	font-weight: inherit;
	letter-spacing: 0;
	padding: 0.625rem;
	border-radius: 0.3125rem;
	border: 1px solid rgba(119,221,153, 0.24);
	-webkit-appearance: none;
	-moz-appearance: none;
	text-align: left;
	text-align: -moz-left;
	text-align: -webkit-left;
	width: 100%;
}

textarea
{
	height: 10rem;
	resize: none;
	line-height: 150%;
}

input[type="submit"]
{
	font-size: 1rem;
	font-family: 'pp-neue-montreal-medium';
	font-weight: inherit;
	color: rgba(255,255,255,1.0);
	letter-spacing: 0.02rem;
	text-transform: uppercase;
	background-color: rgba(34,34,238,1.0);
	box-shadow: 4px 4px rgba(119,221,153,1.0);
	padding: 0.625rem 1.25rem;
	text-align: center;
	margin-top: 1.25rem;
	border: 0;
}

input[type="submit"]:disabled
{
		opacity: 0.4;
}

input[type="submit"]:hover
{
	background-color:  rgba(119,221,153,1.0);
	box-shadow: 4px 4px rgba(34,34,238,1.0);
}

input[type="submit"]:active
{
	background-color: rgba(34,34,238,1.0);
	box-shadow: 0px 0px;
}

p.heading
{
	font-size: 1rem;
	font-family: 'pp-neue-montreal-medium';
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: left;
	margin-bottom: 2.5rem;
}

p.label, p.alert
{
	font-family: 'pp-neue-montreal-regular';
	font-size: 1rem;
	letter-spacing: 0;
}

p.label
{
	margin-bottom: 0.3125rem;
}

p.label:not(:first-child)
{
	margin-top: 1.25rem;
}

p.alert
{
	display: none;
	color: rgba(255,102,0,1.0);
	margin-top: 0.3125rem;
}



/* loader styles */

#preloader, *[id^='warning']
{
	width: 100%;
	height: 100%;
	position: fixed;
	background: rgba(255,255,255, 1.0);
}

#preloader
{
	z-index: 9;
}

#warning-wait
{
	display: none;
	z-index: 7;
}

#warning-rotate
{
	display: none;
	z-index: 8;
}

#preloader p, *[id^='warning'] p
{
	font-family: 'pp-neue-montreal-medium';
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;

	-webkit-animation: blink 0.8s;
	-webkit-animation-iteration-count: infinite;
	-moz-animation: blink 0.8s;
	-moz-animation-iteration-count: infinite;
	-o-animation: blink 0.8s;
	-o-animation-iteration-count: infinite;
}

#preloader img
{
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: auto;
	filter: blur(0.625rem);
	opacity: 0.16;
}

@-webkit-keyframes blink {
	0% {
			opacity: 1;
	}
	50% {
			opacity: 0;
	}
	100% {
			opacity: 1;
	}
}

@-moz-keyframes blink {
	0% {
			opacity: 1;
	}
	50% {
			opacity: 0;
	}
	100% {
			opacity: 1;
	}
}

@-o-keyframes blink {
	0% {
			opacity: 1;
	}
	50% {
			opacity: 0;
	}
	100% {
			opacity: 1;
	}
}