@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Notable&display=swap');
:root {
	--fontbody: 'Jost', sans-serif;
	--fonthead: 'Notable', sans-serif;
	transition: all 0.3s ease;
}

::selection {
  color: var(--bg);
  background: var(--accb);
}

@media (prefers-color-scheme: dark) {
  :root {
	--acc: #E25C34;
	--accb: #3B9DDB;
	--txt: #f0e9dc;
	--bg: #071016;
	--card: #0A2333;
}
.toggle {
	--acc: #29a0ba;
	--accb: #F99331;
	--txt: #181818;
	--bg: #FFF3EB;
	--card: #ffffff;
}

}

@media (prefers-color-scheme: light) {
  :root {
	--acc: #E25C34;
	--accb: #3B9DDB;
	--txt: #262424;
	--bg: #FFF3EB;
	--card: #ffffff;
}
.toggle {
	--acc: #E25C34;
	--accb: #3B9DDB;
	--txt: #f0e9dc;
	--bg: #181818;
	--card: #262424;
}
}

body {
	margin: 0;
	background-color: var(--bg);
	color: var(--txt);
	font-family: var(--fontbody);
	font-size: 1rem;
}

h1, h2, h3 {
	font-family: var(--fonthead);
	letter-spacing: 3px;
	font-variant: small-caps;
	margin-bottom: 0;
}

h1 {
	margin-top: 0;
	font-size: 3rem;
}

h1::first-letter, h2::first-letter {
	color:var(--acc);
}

h2 {
	margin-top: 0;
	font-size: 2.3rem;
}

a {
	text-decoration: none;
	color: var(--accb);
	transition: all 0.3s ease;
	font-weight: bold;
	border-bottom: 2px solid var(--acc);
	box-shadow: inset 0 0 0 var(--acc);
	display: inline-block;
	line-height: 0.9;
}

a:hover {
	box-shadow: inset 0 -2rem 0 var(--acc);
	color: var(--txt);
}

.accent {
	color: var(--acc);
}

a.big {
	font-variant: small-caps;
	font-size: 1.4rem;
	line-height: initial;
	border-bottom: 0;
	transition: all 0.5s ease;
	padding: 0 0.5rem;
}

a:hover {
	box-shadow: inset 0 -4rem 0 var(--acc);
	color: var(--txt);
}

.btn, .sidebar a {
	line-height: 1;
	font-weight: bold;
	font-variant: small-caps;
	font-size: 1.2rem;
	padding: 7px;
	border-width: 3px 0;
	border-style: solid;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn {
	border-color: var(--accb);
	background: var(--bg);
	color: var(--accb);
	box-shadow: inset 0 0 0 var(--accb);
}

a.btn:hover {
	box-shadow: inset 0 -2.5rem 0 var(--acc);
	color: var(--txt);
	border-color: var(--acc);
}

.title {
	margin-bottom: 0;
}

.subtitle {
	font-size: 1.5rem;
	margin-top: 0;
	color: var(--accb);
	font-variant: small-caps;
}

.bg-img-container {
	position: sticky;
	top: 100px;
	z-index: -9;
	height: 100%;
	width: 100%;
	margin-bottom: -50vh;
}

.bg-img-sticky {
	height: 70vh;
	width:  calc(100%);
	margin: 100px 0 100px 0;
	background-image: url(https://64.media.tumblr.com/de1ceb190cb6b11fa2018938459063ca/8db260160fab823e-6c/s2048x3072/da78928ccd67c45a70ed72132eedda02fee83f8a.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	border-width: 4px 0;
	border-color: var(--acc);
	border-style: solid;
}

.row {
	display: flex;
	flex-flow: row wrap;
}

.center {
	justify-content: center;
	text-align: center;
}

.poster .col {
	flex: 1 0 25%;
	padding: 1rem;
}

.poster img {
	max-width: 100%;
	max-height: 350px;
	margin-bottom: -0.5rem;
	border-width: 4px 0;
	border-color: var(--acc);
	border-style: solid;}

aside {
	flex: 0 0 15%;
	
}

.sidebar img {
	max-width: 150px;
	margin: 0 auto;
}

.sidebar {
	position: sticky;	
	top: 25px;
	display: flex;
	flex-flow: column wrap;
}

.sidebar ul {
	display: flex;
	text-align: center;
	flex-flow: column wrap;
	list-style: none;
	padding-left: 0;
}

.sidebar a {
	display: block;
	margin: 10px 20px 0;
	border-color: var(--acc);
	background: var(--card);
	color: var(--acc);
	box-shadow: inset 0 0 0 var(--acc);
}

.sidebar a:hover {
	box-shadow: inset 0 -2.5rem 0 var(--acc);
	color: var(--txt);
}

main {
	flex: 0 0 57%;
}

.main-content {
	background: var(--card);
	padding: 1rem 1.5rem;
	border-width: 4px 0;
	border-style: solid;
	border-color: var(--acc);
	min-height: 60vh;
}

.btn-row {
	display: flex; justify-content: space-between; margin-top: 2rem;
}

footer {
	margin: 1rem 0 2rem;
}

@media (max-width: 960px) {
	
	aside {flex: 0 0 25%;}

	main {flex: 1 0 50%;}
	
	.main-content {padding: 1rem;}
}

@media (max-width: 768px) {
	.row {flex-direction: column;}

	.row.poster {flex-direction: row;}

	.poster .col {flex: 0 0 40%;}

	.bg-img-container {position: relative; top: 0; margin-bottom:-50px;}

	.bg-img-sticky {margin: 0 ; height: 30vh;}
	
	main, aside {flex: 0 0 100%;}
	
	.main-content {padding: 1rem;}
	
	footer {text-align: center; padding: 1rem;}

	.sidebar {position: relative; top: 0; margin-right: 0; margin-top: -26px;}

	.sidebar ul {flex-flow: row wrap; justify-content: center;}

	.sidebar a {width: 100px; margin: 5px 5px}
}