@font-face {
	font-family: 'Bizzarrini';
	src: url('/fonts/Bizzarrini-V0_4-VF.ttf');
}



body {
	overflow-x: hidden;

}
#content {
	font-family: var(--bodyfont);
	margin: 0;padding: 0;
}
#firstsection {
	max-width: 100%;
	margin: auto;
}
#linedrawingcanvas {
	display: none;
	position: absolute;
	top: 0; left: 0;
	pointer-events: none;
	z-index: -1000;
}

#introduction {
	max-width: 500px;
	margin: 3rem auto;
	padding: 0 .5rem;
}
.introductionmarquee {
	font-family: var(--smallheadingfont);
	font-weight: bold;
}
p.introductionbodytext:not(:first-child) {
	margin: 1rem 0;
	font-family: "Bizzarrini", serif;
	font-variation-settings: 'opsz' 12;
	font-size: 1.2rem;
	line-height: 1.2;
	/* text-align: center; */
}
#introduction h1 {
	text-align: left;
	font-family: var(--smallheadingfont);
	font-size: 1.7rem;
	font-weight: bold;
	margin-top: .25rem;
}
#introduction p {
}
#introduction .categorylink {
	color: white;
}
#moreaboutme {
	margin-top: 2rem;
	padding: 1rem;
	background-image: url('/images/homepage/parchmentbg.jpg');
	background-size: 100% 100%;
}
#moreaboutme * {
	font-family: 'Times New Roman', Times, serif;
	line-height: 1;
	margin: .3rem 0;
	/* text-shadow: 2px 2px 2px gray ; */
}
#moreaboutme h1 {
	color: red;
	font-size: 2rem;
	letter-spacing: -.05em;
}
#moreaboutme p {
	color: black;
}
#moreaboutme p a {
	color: blue;
}
.categorylink a {
	color: white;
	font-style: italic;
	text-decoration-color: white;
}
#introduction .categorylink:nth-child(3n) {
	background: var(--yellow);
}
#introduction .categorylink:nth-child(3n+1) {
	background: var(--red);
}
#introduction .categorylink:nth-child(3n+2) {
	background: var(--blue);
}

#abouttext {
	background: var(--bgcolor);
	padding: .5rem;
	border-radius: var(--mainradius);
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}
#abouttext a {
	font-variation-settings: 'opsz' 10, 'wght' 500;
	font-style: italic;
}
#marqueetitle {
	position: absolute;
	top: 100px;
	left: 0;
	fill: black;
	font-family: "Taters Fried";
	pointer-events: none;
}

#secondsection {
	max-width: 750px;
	margin: auto;
	padding: 0 .8rem;
}

#secondsection p:not(.caption) {
	max-width: 400px;
	margin: auto;
	margin-top: 1rem;
}

#facewithspeech {
	display: grid;
	grid-template-columns: 3fr 2fr;
}
#facedrawn {
	animation: wiggle .4s steps(2) infinite alternate;
}
@keyframes spin3d {
	from{transform: perspective(600px) rotateY(-20deg);}
	to{transform: perspective(600px) rotateY(20deg);}

}
#facewithspeech > *:nth-child(2) {
	height: auto;
	animation: wiggle .4s steps(2) infinite alternate;
	transform-origin: center 25%;
}
#speechbox svg {
	position: absolute;
	top: 0;
	left: 0;
}
.starcontainer {
	position: fixed;
	z-index: -999999;
	max-width: 5vw;
}
.star {
	pointer-events: none;
	opacity: 1;
	animation: wiggle .2s steps(2) infinite alternate;
}
@keyframes wiggle {
	from {transform: rotate(5deg)}
	to   {transform: rotate(-5deg)}
}

#backgroundwords {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
a:hover {
	animation: freakout .5s infinite alternate;
}

.linkimage {
	width: 100%;
	max-width: 500px;
	opacity: 0;
	position: fixed;
	top: 50%;
	left: 50%;
	--t: translate(-50%, -50%);
	--s: 10deg;
	transform: var(--t);
	/* animation: freakout .5s infinite; */
	z-index: -10;
	box-shadow: 0 0 1rem rgba(0,0,0,0.5);
	transition: .05s;
}
a:hover + .linkimage {
	opacity: 1;
}
@keyframes freakout {
	0%{transform: var(--t) skew(-10deg, -10deg)}
	25%{transform: var(--t) skew(10deg, 10deg)}
	50%{transform: var(--t) skew(-10deg, 10deg)}
	75%{transform: var(--t) skew(10deg, -10deg)}
	100%{transform: var(--t) skew(-10deg, -10deg)}
}



