/* FONT IMPORT */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
	--content-background-color: rgb(38, 34, 46, 0.8);
	--sidebar-background-color: rgb(38, 34, 46);
	--background-color: rgb(36, 28, 77, 0.7);

	/* Text Colors: */
	--text-color: #ffffff;
	--sidebar-text-color: #ffffff;
	--link-color: #a4dfff;
	--link-color-hover: #3938b4;

	/* Text: */
	--font: Open Sans, sans-serif;
	--heading-font: Georgia, serif;
	--font-size: 15px;

	/* Other Settings: */
	--margin: 10px;
	--padding: 20px;
	--border: solid 1px #1a1a1a;
	--round-borders: 5px;
	--sidebar-width: 200px;
	--box-shadow: 1px 1px 4px #000;
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
	box-sizing: border-box;
}

body {
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	min-height: 100vh;
	font-size: var(--font-size);
	margin: 0;
	padding: var(--margin);
	color: var(--text-color);
	font-family: var(--font);
	line-height: 1.2;
	background: var(--content-background-color);
	background-image: url("https://bettysgraphics.neocities.org/images/backgrounds/pattern%20239.gif");
	cursor: url("http://www.rw-designer.com/cursor-extern.php?id=138478, auto");
}

::selection {
	/* (Text highlighted by the user) */
	background: #6160cf;
}

mark {
	/* Text highlighted by using the <mark> element */
	text-shadow: 1px 1px 4px var(--link-color);
	background-color: inherit;
	color: var(--text-color);
}

/* Links: */
a,
a:visited {
	text-decoration: none;
	color: var(--link-color-hover);
	transition: 0.5s ease-in-out;
}

a:hover,
a:focus {
	color: var(--link-color-hover);
	text-decoration: none;
	cursor: url(http://www.rw-designer.com/cursor-extern.php?id=138474);
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
	width: 1000px;
	height: 95vh;
	display: grid;
	grid-gap: var(--margin);
	grid-template:
		"header header" auto "leftSidebar main" auto "footer footer" auto / var(
			--sidebar-width
		)
		auto;
	/* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
}

img {
	transition: 0.5s ease-in-out;
}

main img:hover,
aside img:hover {
	transform: scale(1.1, 1.1);
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
	grid-area: header;
	font-size: 1.2em;
}

.header-content {
	width: 100%;
}

.header-title {
	color: var(--link-color);
	font-family: var(--heading-font);
	font-size: 1.5em;
	font-weight: bold;
	background: var(--background-color);
	border: var(--border);
	border-radius: var(--round-borders);
	box-shadow: var(--box-shadow);
	padding: var(--padding);
}

.header-image img {
	width: 50%;
	height: auto;
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

aside {
	grid-area: aside;
	border: var(--border);
	border-radius: var(--round-borders);
	overflow-y: scroll;
	overflow-x: hidden;
	background: var(--sidebar-background-color);
	padding: 5px;
	color: var(--sidebar-text-color);
	text-align: center;
}

.left-sidebar {
	grid-area: leftSidebar;
	box-shadow: var(--box-shadow);
}

.right-sidebar {
	grid-area: rightSidebar;
}

.sidebar-title {
	color: var(--link-color-hover);
	font-family: var(--heading-font);
	font-weight: bold;
	text-align: left;
	margin-bottom: 2px;
	margin-left: 10px;
}

.sidebar-section ul,
.sidebar-section ol {
	padding-left: 1.5em;
}

.sidebar-section {
	padding: 2px;
	margin-bottom: 10px;
}

/* Sidebar Blockquote: */

.sidebar-section blockquote {
	background: #0f0f0f;
	padding: 15px;
	margin: 1em 0;
	border-radius: 10px;
	overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
	margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
	margin-bottom: 0;
}

/* Site Button: */

button {
	text-align: center;
	background: var(--link-color);
	border: var(--border);
	border-radius: var(--round-borders);
	box-shadow: var(--box-shadow);
	padding: 10px 5px 5px 10px;
	color: var(--sidebar-text-color);
	margin: 10px;
}

button:hover {
	box-shadow: inset 0 1px 3px #000000cf;
}

button a {
	font-size: 15px;
	font-weight: bold;
	text-shadow: 0px 0px 2px #000;
}

button a:hover {
	font-size: 15px;
	text-shadow: 0px 0px 2px #000;
	color: var(--link-color-hover);
	text-decoration: none;
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
	text-align: center;
	grid-area: footer;
	border: var(--birder);
	border-radius: var(--round-borders);
	overflow: hidden;
	font-size: 0.75em;
	padding: 15px;
	background: var(--background-color);
	display: flex;
	justify-content: center;
	box-shadow: var(--box-shadow);
	display: block;
}

/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */

nav {
	margin-bottom: 3em;
}

nav .sidebar-title {
	font-family: var(--heading-font);
	font-weight: bold;
	text-align: left;
	padding: 10px;
	margin-top: 10px;
}

nav ul {
	list-style-image: url("https://dogboy0420.neocities.org/strawberry5.gif");
	user-select: none;
	text-align: left;
	border: var(--border);
	border-radius: var(--round-borders);
	padding: 2px;
}

nav ul li {
	margin-bottom: 0px;
	margin-left: 25px;
}

nav > ul li > a,
nav > ul li > strong {
	display: inline-block;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {
	padding: 5px 10px;
}

nav > ul li > a.active,
nav > ul li > details.active summary {
	font-weight: bold;
}

nav ul ul li > a {
	padding-left: 30px;
}

/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */

#statuscafe {
	padding: 0.5em;
	background-color: var(--background-color);
	border-radius: 5px;
	border: var(--border);
}

#statuscafe-username {
	margin-bottom: 0.5em;
}
#statuscafe-content {
	margin: 0 1em 0.5em 1em;
}

main {
	grid-area: main;
	overflow-y: auto;
	line-height: 1.5;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	box-shadow: inset -10px 10px 10px RGB(146, 122, 255, 30%);
	border: var(--border);
	padding: 5px;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
	align-items: flex-start;
	gap: 5px;
}

main section {
	background: var(--background-color);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: var(--border);
	padding: 5px;
}

#heads-up {
	order: 1;
	flex-basis: 60%;
}

#status {
	order: 0;
	flex-basis: 35%;
}

#site-stuff {
	order: 3;
	text-align: center;
	flex-basis: 35%;
}

#site-info {
	order: 2;
	flex-basis: 100%;
}

#friends {
	order: 5;
	flex-basis: 60%;
}

#fanlistings {
	order: 6;
	flex-basis: 60%;
}

#references {
	order: 7;
	overflow-y: scroll;
	overflow-x: hidden;
	flex-basis: 100%;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
	margin: 0.75em 0;
}

main ol,
main ul {
	margin: 0.5em 0;
	padding-left: 1.5em;
}

main ol li,
main ul li {
	margin-bottom: 0.2em;
	line-height: 1.3;
}

main ol {
	padding-left: 2em;
}

main blockquote h1 {
	background: var(--sidebar-text-color);
	margin-bottom: 5px;
}

main blockquote {
	border: var(--border);
	box-shadow: var(--box);
	margin: 1em 0;
	border-radius: var(--round-borders);
	text-align: center;
}

main pre {
	margin: 1em 0 1.5em;
}

main code {
	text-transform: none;
}

main center {
	margin: 1em 0;
	padding: 0 1em;
}

main hr {
	border: 0;
	border-top: var(--border);
	margin: 1.5em 0;
}

/* HEADINGS: */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
	font-family: var(--heading-font);
	margin-bottom: 0;
	line-height: 1.5;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
	margin-top: 0;
}

main h1 {
	font-size: 1.5em;
}

main h2 {
	font-size: 1.4em;
}

main h3 {
	font-size: 1.3em;
}

main h4 {
	font-size: 1.2em;
}

main h5 {
	font-size: 1.1em;
}

main h6 {
	font-size: 1em;
}

/* COLUMNS: */

.two-columns {
	display: flex;
}

.two-columns > * {
	flex: 1 1 0;
	margin: 0;
}

.two-columns > *:first-child {
	padding-right: 0.75em;
}

.two-columns > *:last-child {
	padding-left: 0.75em;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

.image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
}

.full-width-image {
	display: block;
	width: 100%;
	height: auto;
}

.images {
	display: flex;
	width: calc(100% + 5px + 5px);
	margin-left: -5px;
	margin-right: -5px;
}

.images img {
	width: 100%;
	height: auto;
	padding: 5px;
	margin: 0;
	overflow: hidden;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

/* please do not remove this. */

#skip-to-content-link {
	position: fixed;
	top: 0;
	left: 0;
	display: inline-block;
	padding: 0.375rem 0.75rem;
	line-height: 1;
	font-size: 1.25rem;
	background-color: var(--content-background-color);
	color: var(--text-color);
	transform: translateY(-3rem);
	transition: transform 0.1s ease-in;
	z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
	transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
	body {
		font-size: 14px;
	}

	.layout {
		width: 100%;
		grid-template: "header" auto "leftSidebar" auto "main" auto "footer" auto / 1fr;
		/* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
	}

	.right-sidebar {
		display: none;
	}

	aside {
		border-bottom: 1px solid;
		padding: 9px;
		font-size: 0.9em;
	}

	nav {
		padding: 0;
	}

	nav > ul {
		padding-top: 0.5em;
	}

	nav > ul li > a,
	nav > ul li > details summary,
	nav > ul li > strong {
		padding: 0.5em;
	}

	main {
		max-height: none;
		padding: 15px;
	}

	.images {
		flex-wrap: wrap;
	}

	.images img {
		width: 100%;
	}

	footer {
		display: block;
		text-align: center;
	}

	#skip-to-content-link {
		font-size: 1rem;
	}
}
