:root {
	--bg: #FFF;
	--fg: #825679;
	--listbg: #F0EEF4;
	--listfg: #17313E;
	--accentbg: #825679;
	--accentfg: #f1f4f9;
	--font: "Roboto", "Helvetica Neue", Arial, sans-serif;
}
body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--fg);
	margin: 0;
	display: flex;
	justify-content: center;
}
/* modified from https://codepen.io/andrewmillen/pen/RwqBMrO */
.juicy {
	transition: filter .2s;
	letter-spacing: 1px;
	box-shadow: inset 0 0.375em 0.5em 0.25em rgba(0, 0, 0, 0.2), 0 0.125em 0.375em rgba(0, 0, 0, 0.5);
	position: relative;
}
.juicy:hover {
	filter: brightness(1.3);
}
.juicy:before {
	content: '';
	display: block;
	background: linear-gradient(#FFF, transparent);
	opacity: .4;
	width: calc(100% - 0.875em);
	border-radius: 2em 2em 0.5em 0.5em;
	top: 8%;
	z-index: 2;
	filter: blur(1px);
	position: absolute;
	height: 35%;
	left: .437em;
}
.juicy:after {
	content: '';
	display: block;
	background: linear-gradient(transparent, #FFF);
	opacity: .5;
	width: calc(100% - 1.25em);
	border-radius: 0.75em;
	bottom: 10%;
	filter: blur(5px);
	position: absolute;
	height: 30%;
	left: .437em;
}
#bgstripes {
	background: var(--fg);
	opacity: .1;
	mask-image: url("/assets/bg.svg");
	mask-size: 15px;
	mask-repeat: repeat;
	position: fixed;
	z-index: -100;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

#sidebar {
	width: 200px;
	margin: 0 12px;
	padding-top: 20px;
}
#logo {
	background: var(--accentbg);
	mask-image: url("/assets/logo.svg");
	mask-size: contain;
	mask-repeat: no-repeat;
	width: 100%;
	aspect-ratio: 1.17;
}
#searchbox {
	margin: 10px 0;
	display: flex;
}
#searchbox input {
	display: inline-block;
	height: 16px;
	border-radius: 22px;
	border: solid 2px var(--fg);
	background: none;
	padding: 1px 1px 1px 6px;
	min-width: 0;
	width: 100%;
	margin-right: 2px;
	flex-grow: 1;
	flex-shrink: 1;
	font-family: var(--font);
	color: var(--fg);
	box-shadow: inset 0 0.2em 0.3em 0em rgba(0, 0, 0, 0.1), 0 0.125em 0.375em rgba(0, 0, 0, 0.2);
}
#searchbox a {
	display: inline-block;
	height: 22px;
	width: 22px;
	border-radius: 22px;
	background: var(--fg);
	flex-grow: 0;
	flex-shrink: 0;
	box-shadow: inset 0 0.2em 0.3em 0em rgba(0, 0, 0, 0.2), 0 0.125em 0.375em rgba(0, 0, 0, 0.2);
}
#searchbox .arrow {
	border-color: var(--bg);
	height: 6px;
	width: 6px;
	margin: 7px 6px;
	border-width: 2px 2px 0 0;
	border-style: solid;
	transform: rotate(45deg);
}

#pluginlistwrap {
	width: 800px;
	height: 100vh;
	overflow: scroll;
}
.entry {
	margin: 6px 0;
	display: flex;
	border-radius: 8px;
	background: var(--listbg);
	color: var(--listfg);
	overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.screenshot {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top left;
	width: 30%;
	flex-grow: 0;
	flex-shrink: 0;
}
.details {
	width: 100%;
	padding-left: 4px;
}
.pluginheader {
	background: linear-gradient(90deg, var(--accentbg) 0%, transparent 200%);
	color: var(--accentfg);
	line-height: 1;
	margin-left: -4px;
	padding-left: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.title {
	font-size: 48px;
	font-weight: 200;
	letter-spacing: -3px;
	font-style: italic;
	display: inline-block;
}
.developer {
	opacity: .8;
	font-weight: 300;
	font-size: 24px;
	letter-spacing: -1px;
	margin-left: 8px;
	display: inline-block;
}
.icons {
	margin-top: 4px;
}
.icon {
	display: inline-block;
	background: var(--listfg);
	height: 20px;
	width: 20px;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
}
.linux { mask-image: url("/assets/supported/linux.svg"); }
.windows { mask-image: url("/assets/supported/windows.svg"); }
.macos { mask-image: url("/assets/supported/macos.svg"); }
.clap { mask-image: url("/assets/supported/clap.svg"); }
.vst3 { mask-image: url("/assets/supported/vst3.svg"); width: 30px; margin-right: 2px; }
.audiounit { mask-image: url("/assets/supported/audiounit.svg"); width: 24px; margin-right: 2px; }
.opensource { mask-image: url("/assets/supported/opensource.svg"); margin-right: 2px; }
.description {
	min-height: 79px;
}
.price {
	display: block;
	background: var(--accentbg);
	height: 25px;
	width: 90px;
	text-align: center;
	border-radius: 25px;
	color: var(--accentfg);
	align-content: center;
	text-decoration: none;
	margin: 10px auto;
	font-weight: 600;
}

#screenshotview {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100;
	transition: background-color .8s;
	background-color: transparent;
	pointer-events: none;
}
#screenshotview.open {
	background-color: #000c;
	pointer-events: all;
}
#screenshotviewfg {
	box-shadow: 0 2px 8px #000;
	margin-top: -200vh;
	transition: margin-top .8s;
}
#screenshotview.open #screenshotviewfg {
	margin-top: 0;
}

.todo {
	color: #ee4444;
	font-weight: bold;
}
