
@font-face {
	font-family: "HappyTimes";
	src: url("/static/happy-times.woff");
}


:root {
	color-scheme: light dark;
	--hd-background: white;
	--hd-hover: bisque;
	--hd-text: black;
}

@media(prefers-color-scheme: dark) {
	:root {
		--hd-background: black;
		--hd-hover: #5f5549;
		--hd-text: white;
	}

	a:visited {
		color:  cyan;
	}
	a {
		color: var(--hd-text);	
	}
}

body {
	background-color: var(--hd-background);
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	font-family: 'Verdana', sans-serif;
	font-size: 70%;

	list-style: square;
	
}

article {
	font-size: 110% !important;
}

main {
	width: 600px;
	/* margin-inline: auto; */
	padding-bottom: 6em;
}

footer {
	width: 300px;
	margin-inline: auto;
}

header {
	display: flex;
	& img {
		padding-top: 15em;
	}
	& svg {
		width: 100%;
	}
}

img, .footer-vid {
  max-width: 100%;
  height: auto;
  display: block;
  padding-block: 1em;
}

figure {
	margin: 0;
	padding-bottom: 1em;
}

svg{
	font-family: MyCustom;
	
}

li {
	display: flex;
	padding-block: 2px;
}

.desc {
	margin-left: auto;
	padding-right: 20px;
}

.listing a {
	cursor: url("/static/open.svg"), pointer;
}

/* .sidebar { */
/* 	animation: linear ob 1s; */
/* 	overflow: hidden; */
/* } */

/* @keyframes ob { */
/* 	0% { height: 0; } */
/* 	100% { height: 224px; } */
/* } */

.listing a:hover{
	background-color: var(--hd-hover);
}

.clip {
  -webkit-clip-path: url(#clip);
  clip-path: url(#clip);
  position: absolute;
  z-index: 1;
  max-width: 600px;
  object-fit: cover;
  height: 100%;
  width: 100%;
  opacity: 0;
  
}

.clip.show {
	opacity: 1;
}

figcaption {
	padding-inline: 1px;
}

#fallback {
	filter: brightness(0%);

	animation: brightness-animation 0.5s ease-in-out forwards;
}

@keyframes brightness-animation {
	from {
		filter: brightness(0%);
	}
	to {
		filter: brightness(100%);
	}
}
		
.hd-text {
	font-family: "HappyTimes";
	letter-spacing: -.045em;
}
