@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aleo:ital,wght@0,100..900;1,100..900&display=swap');

html {
	background-color: #edf2f4;
	scroll-behavior: smooth;
}
html.front {
	background-color: #000;
}

/* TYPOGRAPHY */
code, pre {
  font-family: monospace; 
  font-size: 1.15rem;
}
body {
	font-family: "Aleo", serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	color: #2b2d42;
	font-size: 1.3rem;
	/* background: #000; */
}
h1,h2,h3,h4,h5,h6,.btn {
	font-family: "Poppins", sans-serif;
	font-weight: 900;
	font-style: normal;
	text-transform: uppercase;
	color: #2b2d42;
	margin: 0;
}
h1 {
	font-size: 3rem;
	line-height: 3.1rem;
}
h2 {
	font-size: 2.5rem;
	line-height: 2.6rem;
}
h3 {
	font-size: 2rem;
	line-height: 2.1rem;
}
.statement {
	font-size: 1.2rem;
}
.btn {
	font-size: 1rem;
}
.caption {
	font-size: 1.1rem;
	text-align: center;
}
video::cue {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 2rem;
}
p, ul {
	margin: 1rem 0;
}
section {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}
/* END OF TYPOGRAPHY */

/* LINKS */
a {
	color:#D10590;
}
a:visited {
	color: #2b2d42;
}
header a,
header a:visited {
	text-decoration: none;
}
div.card a,
div.card a:visited {
	color: #2b2d42;
	text-decoration: none;
}
div.card .btn a,
div.card .btn a:visited {
	color: #edf2f4;
	text-decoration: none;
}

footer h3.y a,
footer h3.y a:visited {
	color: #2b2d42;
	text-decoration: none;
}
footer h3.m a,
footer h3.m a:visited {
	color: #edf2f4;
	text-decoration: none;
}
/* END OF LINKS */

/* HEADER */
.logo {
	width: 75px;
	height: auto;
	display: inline;
}
header h1 {
	display: inline;
	font-size: 4rem;
	margin: 0;
}
main#intro div.lockup {
	display: flex;
	column-gap: 20px;
	margin: 0 0 1.5rem 0;
	align-items: center;
}
.lockup {
	display: flex;
	column-gap: 20px;
	margin: 4rem 0 1.5rem 0;
	align-items: center;
}
/* END OF HEADER */

/* COLORS BARS */
#colors1 {
	position: absolute;
	top: 0;
	right: 0px;
	display: grid;
	width: 400px;
	height: 50px;
	grid-template-columns: 1fr 1fr 1fr .5fr;
	grid-template-areas:
	"y c m k";
}
#colors1.front {
	position: fixed;
}
#colors3 {
	position: absolute;
	top: 0;
	right: 0px;
	display: grid;
	width: 50px;
	height: 400px;
	grid-template-rows: .5fr 1fr 1fr 1fr;
	grid-template-areas:
	"k" 
	"c" 
	"y" 
	"m";
}
#colors4 {
	position: absolute;
	top: 0;
	left: 0px;
	display: grid;
	width: 10px;
	height: 200px;
	grid-template-rows: 1fr 1fr 1fr 1fr;
	grid-template-areas:
	"c" 
	"m" 
	"y" 
	"k";
}
#colors5 {
	position: absolute;
	top: 0;
	left: 0px;
	display: grid;
	width: 400px;
	height: 50px;
	grid-template-columns: .5fr 1fr 1fr 1fr;
	grid-template-areas:
	"y c m k";
}

.y {
	grid-area: y;
	background-color: #FFE419;
}
.c {
	grid-area: c;
	background-color: #19ECFF;
}
.m {
	grid-area: m;
	background-color: #F52DBC;
	color: #edf2f4;
}
.k {
	grid-area: k;
	background-color: #2b2d42;
	color: #edf2f4;
}
/* END OF COLOR BARS */

/* FOOTER */
#colors2 {
	display: grid;
	width: 100%;
	height: 50px;
	grid-template-columns: 1fr 1.25fr 2.25fr 1fr;
	grid-template-areas:
	"k c y m";
}
footer {
	/* margin-top: 50px; */
	position: relative;
	background: #edf2f4;
	padding-top: 50px;
}
footer h3 {
	text-align: center;
	font-size: .9rem;
	line-height: .8rem;
	padding: 15px 0;
}
/* END OF FOOTER */

/* SPACING & LAYOUT */
header {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
}
img.viewport-header  {
	width: 200px;
	filter: drop-shadow(1px 1px 6px rgb(0 0 0 / .1));
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
main {
	width: 90vw;
	margin: auto;
}
html.front main {
	/* width: 90vw;
	margin: auto; */
	position: relative;
	margin-top: 100vh;
	margin-top: 100dvh;
	margin-right: auto;
	margin-left: auto;
	width: 100vw;
	padding: 20px 5vw;
	background: #edf2f4;
}
#more {
	display: block;
	position: relative;
	top: -70px;
	width: 40px;
	padding: 10px;
	margin: auto;
	filter: drop-shadow(1px 1px 6px rgb(0 0 0 / .1));
	rotate: 180deg;
}
.narrow {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
html.front main.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.sbs {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 1.5rem;
	margin: 1.5rem auto 0;
	grid-gap: 2rem;
}
.sbs-prism {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 1.5rem;
	margin: 1.5rem auto 0;
	grid-gap: .5rem;
}
h2.work {
	/*margin-left: 1rem;*/
	margin-bottom: .5rem;
}
#projects {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 1.25rem;
	margin-top: 1.5rem;
}
.card {
	/*padding: 0 0 1rem 0;*/
	padding: 1rem;
	background: #ffffff;
	border-radius: 30px;
	border: 1px solid #e6e6e6;
	box-shadow: 0px 1px 6px #00000021;
}
.card img {
	border: 1px solid #e6e6e6;
	box-shadow: 0px 1px 6px #00000021;
}
.card h3 {
	margin: .75rem .75rem .25rem .75rem;
}
.card p {
	margin: 0 .75rem .75rem .75rem;
}
.btn {
	background-color: #2b2d42;
	border-radius: 20px;
	color: #edf2f4;
	padding-top: 0.6rem;
	padding-right: 1rem;
	padding-bottom: 0.6rem;
	padding-left: 1rem;
	text-decoration: none;
	width: fit-content;
	/*margin-top: 1.25rem;*/
}
video {
	border-radius: 20px;
}
div.card img {
	border-radius: 20px;
	width: 100%;
}
.uxdemo {
	/*box-shadow: 0px 1px 6px #00000021;*/
	border-radius: 20px;
	width: 100%;
}
.nav {
	display: grid;
	grid-template-columns: .955fr .725fr;
	grid-gap: 1.1rem;
}
.prev {
	text-align: left;
}
.next {
	text-align: right;
}
/* END OF SPACING & LAYOUT */

/* VIDEO EMBEDS */
.video-container,
.sc-video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 2rem;
}
.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.sc-video-container iframe,
.sc-video-container object,
.sc-video-container embed,
.sc-video-container video {
	position: absolute;
	top: 5%;
	left: 5%;
	width: 90%;
	height: 90%;
}
.sd {
	padding-bottom: 75%;
}

.sq {
	padding-bottom: 100%;
}

.vt {
	padding-bottom: 178%;
}
.other1 {
	padding-bottom: 43.75%;
}
.other2 {
	padding-bottom: 35.7%;
}
p.after-video {
	margin-top: -1rem;
}
section.wide p.after-video {
	margin-top: -2.5rem;
}
section.after-video {
	margin-top: -3rem;
}
div.after-video {
	margin-top: -2.5rem;
}
/* END OF VIDEO EMBEDS */

/* LAYOUT ADJUSTMENTS */
@media only screen and (max-width: 699px) {
	.logo {
		width: 50px;
	}
	body {
		font-size: .9rem;
	}
	header h1, h1 {
		font-size: 2rem;
		line-height: 2rem;
	}
	h2 {
		font-size: 1.75rem;
		line-height: 1.75rem;
	}
	h3 {
		font-size: 1.5rem;
		line-height: 1.5rem;
	}
	main#intro div.lockup {
		margin: 0 0 .75rem 0;
	}
	.lockup {
		margin: 2rem 0 .75rem 0;
	}
	#colors1 {
		right: 0;
		width: 200px;
		height: 25px;
	}
	#colors3 {
	width: 15px;
	}
	#colors5 {
		height: 25px;
	}
	section {
		margin-top: 1.75rem;
		margin-bottom: 1.75rem;
	}
	.sbs {
		grid-gap: 1rem;
	}
	h2.work {
		/*font-size: 1.5rem;*/
	}
	h3 {
		font-size: 1rem;
		line-height: 1.1rem;
	}
	.card h3 {
		margin: .6rem 0 0 0;
	}
	.card p {
		margin: .3rem 0 .5rem 0;
	}
	.btn {
		font-size: .6rem;
	}
	.caption {
		font-size: .8rem;
	}
	p.after-video {
		margin-top: -1.5rem;
	}
	footer h3 {
		font-size: .75rem;
		padding: 18px 0;
	}
	video {
		border-radius: 10px;
	}
	div.card img,
	.btn {
		border-radius: 10px;
	}

}
@media only screen and (min-width: 700px) {
	#colors3 {
	width: 20px;
	}
	#more {
		top: -80px;
		width: 70px;
	}
	img.viewport-header {
		width: 300px;
	}
	.statement {
		font-size: 2rem;
	}
	
	
}
@media only screen and (min-width: 1000px) {
	main {
		width: 80vw;
		/* margin: auto; */
	}
	#colors3,
	#colors4 {
	width: 50px;
	}
	footer h3 {
		font-size: 1rem;
		padding: 40px 0;
	}
	#projects {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	
}
@media only screen and (min-width: 1300px) {
	.sbs, .sbs-prism {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	#projects {
		grid-gap: 2.5rem;
	}
}
@media only screen and (min-width: 2000px) {
	main {
		width: 1900px;
		/* margin: auto; */
	}
}
@media (orientation: landscape) {
  video#loop-v {display: none;}
  video#loop {
	  object-fit: cover;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		position: fixed;
		top: 0;
		left: 0;
		max-width: revert;
		border-radius: 0;
		opacity: 80%;
	}
}
/* Vertical/Mobile */
@media (orientation: portrait) {
  video#loop {display: none;}
  video#loop-v {
	  object-fit: cover;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		position: fixed;
		top: 0;
		left: 0;
		max-width: revert;
		border-radius: 0;
		opacity: 80%;
	}
}

/* END OF LAYOUT ADJUSTMENTS */

/* DARK MODE */
@media (prefers-color-scheme: dark) {

}
/* END OF DARK MODE */