/* Overrides ------- */

@font-face {
 font-family: "1980";
 src: url("../fonts/1980-BlackWide3rdGen-2023-03-25.woff2") format("woff2");
 font-weight: 800;
 font-style: normal;
}

body {
	background: #D8D8E5;
}

h1, section {
	margin: 0; padding: 0;
}

main h2, main h3 {
	font-family: "1980", sans-serif;
	font-weight: 800;
	font-style: normal;
	font-size: 2rem;
	line-height: 2rem;
	margin-top: 0;
	margin-bottom: 0.5rem;
	color: #000;
	letter-spacing: 0;
}

#pro h3 {
	color: #fff;
}

img {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

/* Nav bar ----------- */

body > nav {
	background: #fff;
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	position: fixed;
	top: 0;
	width: 100%;
	font-size: 1rem;
	display: flex;
	font-weight: 500;
	z-index: 10;
}

body > nav ul {
	margin-left: 0.5rem;
	white-space: nowrap;
}

body > nav ul li a, #time {
	padding: 0.5rem;
}


#time:after {
	content: "100%"
}

body > nav ul li {
	list-style: none;
	display: inline;
}

body > nav li a {
	display: inline-block;
}

body > nav li img {
	width: 1.0rem;
	height: 1.0rem;
	vertical-align: -0.1rem;

}

body > nav a:link, #filters a:link {
	text-decoration: none;
	color: #000;
}

body > nav a:hover {
	color: #fff;
	background: #000;
	border-radius: 0.2rem;
	box-shadow: none;
}

#time {
	flex: 1;
	text-align: right;
}

#appstore {
	position: absolute;
	top: 3rem;
	right: 1rem;
}

/* Main ----------- */

main {
	margin-top: 2rem;
}

main section {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-size: 1.3rem;
	position: relative;
	border: none;
	padding: 0;
	margin: 0;
	max-width: none;
	align-self: auto;
}

section div {
	border-radius: 1rem;
	border: 1px solid #000;
	margin: 2rem;
	padding: 1.5rem 2rem;
	max-width: 20em;
}

section ul li {
	list-style: none;
	line-height: 1.5em;
}

/* Sections =============================== */

/* TOP ------ */

#top {
	background: #D8D8E5;
}

section div.twoup {
	border: none;
	margin: 0;
	padding: 0;
	max-width: 100%;
	display: flex;
	align-items: center;
}

#combo {
	align-self: center;
	margin-top: 5vh;
	min-height: 80vh;
}

#combo img {
	max-height: 70vh;
	rotate: -3deg;
	z-index: 0;
	margin-left: 2rem;
}

#combo #tag {
	margin-left: -2rem;
	background: #FCFCF2;
	width: 100%;
	order: 1;
	z-index: 1;
	max-width: 22rem;
	align-self: start;
	margin-top: 10vh;
	position: relative;
}

h1 {
	font-weight: 300;
	letter-spacing: -0.05em;
	font-size: 4rem;
	line-height: 1.1;
}

h1 strong {
	font-weight: 500;
}

h1 em {
	font-style: normal;
	color: #32D076;
}

#tools {
	align-self: center;
	background: #FFE4AB;
}


/* Quality */

#view {
	background: url('../../images/2024/swing-2024-10-17.webp') center/cover;
	align-items: end;
	justify-content: flex-end;
}

#view div:before {
	content: "";
	background: url("../../images/2023/heart.svg") center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 1rem;
	height: 1rem;
	display: block;
	z-index: 2;
	position: absolute;
	top: 30vh;
	left: 10vw;
	rotate: 4deg;
}

#view div {
	background: #DBFF8E;
}

#view, #core {
	background-size: cover;
}

/* Filters */

#filters {
	background: #FFB490;
	justify-content: center;
	overflow: hidden;
}

#filters h4 {
	letter-spacing: 0;
}

#filters div {
	background: #AFFFF4;
	position: relative;
	margin-top: 20vh;
	z-index: 1;
}

#filters, #top {
	background-image: url('../../images/2023/sprinkles.svg');
	background-attachment: fixed;
}

@keyframes ticker {
	0% {
		transform: translate3d(0%, 0, 0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

@keyframes blink {
	0% {
		transform: scale(1, 1);
	}
	98% {
		transform: scale(1, 1);
	}
	99% {
		transform: scale(1, 0.1);
	}
	100% {
		transform: scale(1, 1);
	}
}

#filters #wrap {
	margin: 0;
	padding: 0;
	border: none;
	width: 100%;
	max-width: 100%;
}

#filters ul {
	white-space: nowrap;
	margin-bottom: 20vh;
	margin-top: -3rem;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	animation-name: ticker;
	animation-duration: 50s;
	animation-direction: alternate;
	rotate: -4deg;
}

#filters ul li {
	list-style: none;
	display: inline-block;
	margin: 0;
}

#filters ul a {
	display: block;
	margin: 0 auto;
	border-radius: 5px;
	width: 8rem;
	height: 9.5rem;
	border: 1px solid #000;
	box-shadow: #000 2px 3px;
	overflow: hidden;
	margin-right: 1rem;
	position: relative;
}

#filters li h4 {
	background: #FCFCF2;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1rem;
	min-width: 7rem;
	padding: 0.25rem 0.5rem;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	z-index: 1;
	position: absolute;
	bottom: 0;
}

#filters li img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	background: #FFCCB2;
	z-index: 0;
}

#filters a:hover {
	border: 1px solid #56f;
	box-shadow: #56f 2px 3px;
	color: #56f;
}

#filters a:hover img {
	opacity: 0.5;
}

/* Pro */

#pro .left {
	align-self: start;
}

#pro {
	background: #223;
	color: #fff;
	position: relative;
}

#pro > h2 {
	position: fixed;
	top: 0rem;
	left: 2rem;
	margin: 0;
	padding: 4rem 0 0 0;
	font-family: "Grand";
	font-weight: 500;
	letter-spacing: -0.03em;
	font-size: 3rem;
	color: rgba(240,240,255, 0.5);
	z-index: 2;
}

#pro h2 span {
	color: rgba(255,255,255,1);
}

#pro div {
	border: 1px solid #7F0FD9;
	background: #191E22;
}

#pro > div {
	align-self: end;
	margin: 3rem 0;
}

#procopy {
	padding-top: 10vh;
	align-items: start;
}

#procopy #diffusion, #procopy #diffusion img, #procopy #slider {
	width: 46vw;
	height: 30vw;
	max-width: 46vw;
}

#procopy #diffusion, #procopy #diffusion img {
	border: none;
	background: none;
	margin: 0;
	display: block;
	position: relative;
}

#procopy #diffusion {
	margin: 2rem;
	padding: 0;
}

#procopy #diffusion img {
	position: absolute;
	top: 0;
	left: 0;
}

#procopy #slider {
	padding: 0;
	margin: 0;
	position: relative;
	top: 50px;
	left: 20px;
	border: 1px solid rgba(255,255,255,0.25);
	border-radius: 0.3rem;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.75);
	overflow: clip;
	background: rgba(255,255,255, 0.05);
}

#procopy #slider img {
	position: absolute;
	top: -51px;
	left: -21px;
}

#diffusion p {
	letter-spacing: 0.15em;
	font-weight: 500;
	font-size: 0.5rem;
	color: #fff;
	opacity: 0.75;
	text-transform: uppercase;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.75);
	margin: 0.5rem 1rem;
	text-align: right;
	position: absolute;
	bottom: 0;
	right: 0;
}

#pro .twoup {
	position: relative;
	border: none;
	background: none;
	border-radius: 0;
}

#pro .twoup img {
	margin: 0;
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.screen {
	mix-blend-mode: screen;
}

#export h3 span {
	display: inline-block;
	font-family: "Grand";
	font-weight: 800;
	font-size: 0.7rem;
	line-height: 1.5rem;
	background: linear-gradient(0deg, rgba(97,0,159,1) 0%, rgba(144,1,217,1) 100%);
	padding: 0 0.6rem 0 0.6rem;
	border-radius: 1rem;
	text-transform: uppercase;
	vertical-align: middle;
}

#pro #export img {
	max-width: 516px;
	max-height: 280px;
	min-width: 258px;
	min-height: 140px;
	margin-left: 2rem;
}

#pro #features {
	align-self: center;
	font-size: 1rem;
	max-width: 30rem;
}

#pro li {
	margin: 0.5rem 0;
}

/* Core */

#core {
	background: url('../../images/2024/susan-2024-10-17.webp') center/cover;
	justify-content: flex-end;
}

#core div {
	background: #fac;
	align-self: end;
}

/* About */

#about {
	background: #ffe;
	background-image: url('../../images/2023/dots.svg');
	background-attachment: fixed;
	align-items: center;
	padding-top: 4rem;
	min-height: auto;
}

#cta {
	max-width: 30rem;
	text-align: center;
	background: #B7FF82;
}

#cta img {
	margin-top: 1rem;
}

/* Who */

#who {
	position: relative;
	background: #EFFFFF;
}

/* Badges */

#tag:before, #filters div:before, #filters div:after, #who:before {
	text-align: center;
	line-height: 4.2rem;
	color: #fff;
	font-size: 0.7rem;
	font-family: "1980", sans-serif;
	font-weight: 800;
	letter-spacing: 0.1em;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 4rem;
	height: 4rem;
	display: block;
	z-index: 2;
	position: absolute;
	top: -1.5rem;
	right: -1.5rem;
	rotate: 20deg;
}

#tag:before {
	content: "NEW";
	background-image: url("../../images/2023/starburst.svg");
}


#filters div:before {
	content: "";
	background-image: url("../../images/2023/eyes-botleft.svg");
	rotate: -3deg;
	right: -7rem;
	top: 10rem;

	animation-iteration-count: infinite;
	animation-timing-function: linear;
	animation-name: blink;
	animation-duration: 8s;
}

#filters div:after {
	content: "WOW";
	background-image: url("../../images/2023/starburst-wow.svg");
	rotate: -10deg;
	right: -2rem;
	top: 2rem;
}

#who:before {
	content: "";
	background-image: url("../../images/2023/ben192-2023-03-25.png");
	rotate: -3deg;
	left: -2.5rem;
	top: 0rem;
	border-radius: 50%;
	border: 1px solid #000;
}

#help {
	background: #6EEEFF;
	padding: 1em 2em;
	border-radius: 4em;
	margin-bottom: 5rem;
	font-weight: 500;
	border: 1px solid #000;
}

#help:link {
	text-decoration: none;
	color: #000;
}

#help:hover {
	background: #8Effff;
}

/* Order */
#top { z-index: 6; }
#view { z-index: 4; }
#filters { z-index: 6; }
#pro { z-index: 3; }
#core { z-index: 6; }
#about { z-index: 7; }
footer { z-index: 8; position: relative; }

/* ----------------- Mobile-ish ------------------ */
@media (max-width: 45rem) {
	body > nav {
		font-size: 0.7rem;
	}

	body > nav li img {
		width: 0.7rem;
		height: 0.7rem;
	}

	h1 {
		font-size: 3rem;
		letter-spacing: -0.03em;
	}

	main h2, main h3 {
		font-size: 1.7rem;
		margin-bottom: 0.2rem;
	}

	section {
		overflow: hidden;
	}

	section div {
		margin: 1rem;
		padding: 1rem 1.5rem;
	}

	section div.twoup {
		flex-direction: column;
	}


	#combo {
		justify-content: center;
		margin-top: 3rem;
	}

	#combo #tag {
		width: auto;
		order: 0;
		margin: 2rem 1rem -2rem 1rem;
	}

	#view div {
		z-index: 3;
	}

	#pro {
		z-index: 6;
	}

	#pro > div {
		margin: 3rem 1rem;
	}

	#pro > h2 {
		font-size: 2rem;
		left: 1rem;
		padding: 3.5rem 0 0 0;
		position: absolute;
	}

	#pro > div, #pro .left {
		align-self: center;
	}

	#pro > div div {
		margin: 1rem 0;
	}

	#procopy #diffusion, #procopy #diffusion img, #procopy #slider {
		width: 80vw;
		height: 53.3vw;
		max-width: 80vw;
	}

	#procopy #slider {
		top: 30px;
		left: 20px;
	}

	#procopy #slider img {
		top: -31px;
		left: -21px;
	}
/*

	#pro, #procopy #diffusion {
		background-position: 0 7rem;
		background-size: 100%;
	}
 */

	#procopy #diffusion {
		margin: 1rem 0;
		width: 100%;
		max-width: none;
		min-height: 15rem;
	}

	#pro #export img {
		margin: 0 1rem;
		width: 100%;
		height: 100%;
		max-width: 400px;
	}

	#pro #features {
		font-size: 0.8rem;
	}


	#core, #view {
		background-size: cover;
		background-attachment: scroll;
	}

	#who {
		margin: 2rem;
		font-size: 1rem;
	}

	/* decorations */
	#tag:before, #filters div:before, #filters div:after, #who:before {
		width: 3rem;
		height: 3rem;
		font-size: 0.5rem;
		line-height: 3.2rem;
	}

	#tag:before {
		right: -1rem;
		top: -1rem;
	}

	#filters div:before {
		right: 1rem;
		top: auto;
		bottom: -1rem;
	}

	#filters div:after {
		right: -0.5rem;
		top: -1.5rem;
	}

	#who:before {
		left: -1.5rem;
		top: 1rem;
	}

	#view div:before {
		top: 10vh;
		left: 12vw;
	}
	#view div:after {
		top: 90vh;
		left: 80vw;
	}
}
