@font-face {
	font-family: Standard;
	src: url("fonts/standard-book-webfont.woff2") format("woff2");
}
@font-face {
	font-family: StandardBold;
	src: url("fonts/standard-bold-webfont.woff2") format("woff2");
}
@font-face {
	font-family: StandardItalic;
	src: url("fonts/standard-book-italic-webfont.woff2") format("woff2");
}
@font-face {
	font-family: StandardBoldItalic;
	src: url("fonts/standard-bold-italic-webfont.woff2") format("woff2");
}
strong, b, em {
	font-family: StandardBold;
	font-weight: normal;
}
i {
	font-family: StandardItalic;
	font-style: normal;
}
html{
	color: #ffffff;
	font-size: 20px;
	margin: 0;
	padding: 0;
}
/* Start auto-resizing */
@media screen and (min-width: 240px){
	html{
		font-size: 1vw;
	}
}
/* Stop auto-resizing */
@media screen and (min-width: 1000px){
	html{
		font-size: 10px;
	}
}
body {
	background-color: #ffd900;
	color: black;
	font-family: Standard;
	font-size: 4rem;
	display: flex;
	margin: 0 auto;
	justify-content: center;
	align-items: flex-start;
	padding: 1em 0;
}
section {
	margin: 24rem 0;
}
header{
	display: grid;
	margin: 0 auto;
	padding: 12rem 0;
	grid-template-columns: auto;
	grid-template-rows: auto;
	align-items: center;
	justify-items: center;
}
header p {
	text-align: center;
}
img {
	width: 100%;
	height: auto;
}
img.press {
	mix-blend-mode: multiply;
	filter: grayscale(100%);
}

#fly {
	position: fixed;
	top: 50vh;
	left: 0;
	width: 100%;
	background-image: url("fly.gif");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 10px;
	z-index: 99;
	offset-path: path('M0 300C1.5 159.985 69.5106 183.452 154.064 183.452C236.902 178.856 294.681 53.8638 209.367 83.9777C133.285 120.676 166.19 205.338 236.902 213.799C305.875 222.053 312.574 157.661 328.889 106.821C345.82 54.0581 370.867 13.7526 428.473 2.03607C473.965 -7.21664 534.556 71.326 750 30');
	animation: buzz 20s alternate infinite;
}
@keyframes buzz
{
  0% { offset-distance: 0%; }
  50% { offset-distance: 100%; }
  100% { offset-distance: 100%; }	
}

#page-content {
	position: relative;
	max-width: 20em;
}
h1 {
	font-family: StandardBold;
	font-size: 6rem;
	font-weight: normal;
	letter-spacing: 0.03em;
	transform: rotate(.3deg);
	margin: 0;
	align-self: center;
}
h2, h3, h4 {
	font-weight: normal;
	font-family: StandardBold;
}
h5 {
	font-weight: normal;
	font-family: Standard;
	font-size: 2.5rem;
}
main{
	text-align: center;
}
p {
	text-align: justify;
	hyphens: none;
}
a {
	color: black;
}
a.button {
	color: #ffd900;
	background: black;
	border-radius: 0.8rem;
	padding: 0.65em 0.5em 0.5em 0.5em;
	display: inline-block;
	line-height: 1em;
	margin: 0 0.125em;
	outline: solid 3px black;
	outline-offset: .3rem;
	border-color: transparent;
	border: none;
	text-decoration: none;
	transition: .25s;
}
a.button:hover, a.button:focus {
	background: #ffd900;
	color: black;
}
p.download {
	font-size: 3rem;
	margin: 9rem 0;
	text-align: center;
}
p.webbie-quote {
	text-align: center;
	font-size: 2.5rem;
}
#contact p {
	margin: 0;
}
#soundcloud {
	mix-blend-mode: multiply;
	filter: grayscale(100%);
}
blockquote {
	font-family: StandardItalic;
	font-size: 12rem;
	margin: 0;
}
.webbie {
	margin: 24rem 0;
}
ol {
	padding-inline-start: 0;
}
ol li {
	text-align: left;
	margin-left: 80px;
	padding-left: 3rem;
}
ul li {
	text-align: left;
	line-height: 1.5;
	padding-left: 3rem;
}
figcaption {
	font-size: 1rem;
	letter-spacing: 0;
}
.track-detail {
	font-size: 2rem;
	vertical-align: middle;
}
#sticker {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 200px;
	height: auto;
	z-index: 4;
}
#sticker-img {
	width: 100%;
	height: 200px;
	background-image: url("YACHT-Sticker-2024.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	animation: tilt-shaking 1s linear infinite;
}
@keyframes tilt-shaking {
	0% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(5deg);
	}
	50% {
		transform: rotate(0eg);
	}
	75% {
		transform: rotate(-5deg);
	}
	100% {
		transform: rotate(0deg);
	}
}
#custom-substack-embed {
	margin: 0 0 24rem 0;
}
.custom-substack-widget {
	max-width: 793.4px !important;
	outline: solid 3px black;
	outline-offset: .3rem;
}
input{
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 0.2em;
	border: 2px solid black;
	font-size: 4rem;
	line-height: 1.5em;
	padding: 0.25em 0.5em 0.25em 0.5em;
	font-family: inherit;
	flex: 0 1 100em;
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	-o-user-select: text;
	user-select: text;
}
input {
	font-family: Standard;
}
.custom-substack-widget button, .custom-substack-widget input {
	font-size: 3rem !important;
}
.custom-substack-widget button {
	font-family: StandardBold;
	font-weight: normal !important;
}
#contact {
	margin-bottom: 24rem;
}
#contact h4 {
	font-size: 2.5rem;
	font-family: StandardBold;
	font-weight: normal;
	margin: 0;
}
#contact p {
	font-size: 2rem;
	line-height: 2;
	text-align: center;
}
#contact b {
	font-size: 1rem;
}
#contact-grid {
	display: grid;
	grid-gap: 1rem;
}
#contact-grid > div {
	grid-row: 1;
}
#socials{
	display: flex;
	flex-direction: row;
	justify-content: space-around; 
	margin: 0 0 12rem 0;
}
#socials a:hover {
	color: red;
	transition: 0.3s;
}
#logos{
	margin: 1em auto;
	display: grid;
	grid-gap: 1rem;
	grid-template-columns: 1fr auto auto 1fr;
	align-items: center;
	justify-items: center;
	position: relative;
}
#logos a{
	color: transparent;
	border: none;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: contain;
	display: block;
	width: 9rem;
	height: 9rem;
}
a#parisbynight{
	grid-column: 2;
	background-image: url("logo-paris-by-night.png");
}
a#yacht{
	grid-column: 3;
	background-image: url("logo-yacht.png");
}
footer p{
	text-align: center;
	color: #000;
	margin: 1em auto;
	font-size: 1rem;
}
footer h4 {
	text-align: center;
}
#subliminal {
	display: none;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	animation: blink 12s steps(5, start) infinite;
	transform: rotate(3deg);
	opacity: 1;
	background: url("subliminal.png") no-repeat center center;
	background-size: 75vw;
	mix-blend-mode: multiply;
}
@keyframes blink {
	0% {
		visibility: hidden;
	}
	25% {
		visibility: hidden;
	}
	50% {
		visibility: hidden;
	}
	90% {
		visibility: hidden;
	}
	100% {
		visibility: initial;
	}
}

#viewer{
	width: 100%;
	height: 100%;
	display: grid;
	place-content: center;
	background: rgba(0,0,0,0.75);
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0;
	pointer-events: none;
	transition: 250ms opacity ease;
	z-index: 100;
}
#viewer #image{
	display: block;
	width: 100vw;
	height: 56.25vw;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	max-width: 100vw;
	max-height: 56.25vw;
	transform: scale(0);
	transition: 500ms transform ease;
	cursor: pointer;
}
body.viewer{
	overflow: hidden;
	pointer-events: none;
}
body.viewer #viewer{
	opacity: 1;
	pointer-events: all;
}
body.viewer #viewer #image{
	transform: scale(1);
}
.hidden{
	position: absolute;
	visibility: hidden;
	pointer-events: none;
	z-index: -1;
	margin: 0;
}
@media (max-width: 850px) {
	#sticker, #sticker-img {
		height: 100px;
		width: 100px;
	}
	p.download, #socials {
		font-size: 6rem;
	}
	#page-content {
		max-width: 22em;
	}
	ul {
		padding-inline-start: 5rem;
	}
	ol li {
		margin-left: 6rem;
	}
	#contact p, #contact h4 {
		font-size: 3rem;
	}
	#contact b {
		font-size: 2rem;
	}
}
