/* start light mode styling */
	:root {
		--text: darkslategrey;
		--border: lightgrey;
		--accent: teal;
		--bg: #dce3e1;
		--gradientTop: white;
		--gradientBottom: rgb(240, 248, 255, .8);
	}
	header {
		background: url('images/dark_gothic_forest_dithered.png');
		background-position: left bottom;
	}
/* end light mode styling */


/* start dark mode styling */
	@media (prefers-color-scheme: dark) {
		:root {
			--text: white;
			--border: #5a7678;
			--accent: #74C365;
			--bg: rgb(0,60,60,.8);
			--gradientBottom: rgb(0, 50, 60);
			--gradientTop: darkslategrey;
			a:link { color: lightblue; }
		}
		header {
			background: url('images/dark_gothic_forest_dithered.png') position center bottom;
			background-position: left bottom;
		}
	}
/* end dark mode styling */

@font-face {
  font-family: 'IBM XGA-AI 12x20';
  src: url(https://xounaut.neocities.org/WebPlus_IBM_XGA-AI_12x20.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}

* { 
	box-sizing: border-box;
}
html {
  font-size: 20px;
}
body {
	padding: 10px;
	font-family: 'IBM XGA-AI 12x20';
	color: var(--text);

	/* page background pattern */
	background-image:  url('images/dark_forest.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	height: 100vh; 
  width: 100vw;
  overflow: hidden;
}


.container {
	max-width: 65rem;
	margin: 5vw auto 12px auto;
	border: 6px ridge var(--border);
	outline: 3px solid var(--gradientTop);
	outline-offset: 4px;
	border-radius: 10px;
	display: flex;
	flex-wrap: wrap;
	padding: 5px;
	gap: 5px;

	/* container background pattern */
	background-color: var(--gradientBottom);
	background-image:  repeating-radial-gradient( circle at 0 0, transparent 0, var(--gradientBottom) 9px ), repeating-linear-gradient( var(--bg), var(--bg));
}
/* these control the column widths */
.small { flex: 1 1 9%;}
.large { flex: 1 1 82%; }
.full { flex: 1 1 100%; }
.half { flex: 1 1 49%; }


header {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 120px; /* change banner height here*/
	border: 2px ridge var(--border);
	border-radius: 5px;
	position: relative;
}
header span {
	font-size: 2.5rem;
	position: absolute;
	bottom: 0;
	right: 10px;
	margin: 10px;
	font-weight: bold;
	text-shadow: 1px 1px var(--text),
		-1px 1px var(--text),
		1px -1px var(--accent),
		-1px -1px var(--accent);
	color: var(--gradientTop);
}


nav {
	border: 2px ridge var(--border);
	border-radius: 5px;
	padding: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
}
nav div {
	text-align: center;
	font-size: 1.25rem;
	margin: 5px 5px 10px 5px;
}
nav a {
	display: block;
	margin: 5px;
	background: linear-gradient(to right,var(--bg),var(--gradientBottom));
	border-radius: 5px;
	padding: 2px 7px;
	text-decoration: none;
}
nav a:link, nav a:visited { 
	color: var(--text);
}
nav a:hover, nav a:focus {
	background: linear-gradient(to right,var(--bg), var(--gradientBottom), var(--gradientTop));
}

/* optional button styling like in the preview */
div.small > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}


section {
	border: 2px ridge var(--border);
	border-radius: 5px;
	background: linear-gradient(var(--gradientTop),var(--gradientBottom));
	padding: 5px;
}


footer {
	text-align: center;
	margin-bottom: 5vw;
	font-size: 0.8rem;
}
footer a { 
	text-decoration: none;
}


h1, h2, h3, h4, h5, h6, p  { 
	margin: 5px;
	line-height: 1.2;
}
h1 { 
	font-size: 1.4rem;
	letter-spacing: 2px;
	font-weight: normal;
	text-align: center;
	border-bottom: 2px ridge var(--border);
	padding-bottom: 5px;
}
h2 { 
	font-size: 1.25rem;
	font-weight: normal;
	text-align: center;
}
h3 { 
	font-size: 1.1rem;
}
h4 { 
	font-size: 1rem;
	color: var(--accent);
	padding-left: 12px;
}

/* prevents overflow on smaller screens */
img { max-width: 100%; }
pre { overflow-x: auto; }


a:hover, a:focus {
	font-style: italic;
}
a:visited {
	color: var(--accent);
}

.border { /* .rope from https://maxbittker.github.io/broider/ */
  border: 7px solid transparent;
  border-image:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAtklEQVQ4T7VV2xHAIAjTzToao3Wz9vigFyMoZ7V/VIghPKzlwFcPYJYG9BJ57JJbpKKNl+uZ2uxvPh+oOpgzBuA/CzIw9jd7CBoBWhZbQJGhl1nH1NOINWXmU00N1EvZ6xBkyhp3mnpFmIEyIbdQrNcW0IwUqUKNnKKpY12X+xQviFqs0VQDcARXOkExhrPvsYp2AxKYjmnUYr8KFbXXMihqHBUIN1dq9nkf8E5Nzf6uV+DIc/ICR9UIJTV+2f0AAAAASUVORK5CYII=") 7 /  7px / 0 round;
	background-color: rgb(255, 255, 255, 87%);
	padding: 18px 36px;
}

.main-border { /* .rope from https://maxbittker.github.io/broider/ */
    border-image:  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAACZUlEQVR4AeycgW7CMAxEgf//Z4bEBMq15GZ8BUYfQoyr44vzalloQpwOxcdZHsX0j18uxztXCy4DrW6wt/UADd9xgL4aqJspLh6uN27n6ndxLYgOVSJNDdAmQE0HqBJp6pObEUd56H4SPmrc+ev6tHb7u/pdXP3p0PAdBChAwwTCds90aLiE77IDaPh+AhSgYQJhu0WH6ueq6n7d/Op+1fXd+lz+Ami1QNaPBAA68mgrgLYRjgYWqJsZLj5u93nK1e/ieiILVBPQcwIAnfMpRwFaRjZPOLn/983T/xy9LdSZtLW+bbzRG+VHh4ZBAxSgYQJhu3aH6gzR+jT+bq31pXUbaLqg/+4H0PAdBChAwwTCdnQoQMMEwnZ06I6Aho/6Gjs6NMwZoAANEwjb0aEADRMI29GhAA0TCNvRoQANEwjb0aEADRMI231bh4bx1O0AWmc2zQDoFE89CNA6s2kGQKd46kGA1plNMwA6xVMPArTObJrRBqrf75zu9gHB9Her9EhtoGq4dw3QcAcAdGugW88Ynbmq9Xwad9rla/xwOAyXqv5D8kXQoRcIySdAkzQvXgC9QEg+F0B1hrjNdL1qzXczurpe/TRftdanWtdX9QJo1YD1IwGAjjzaCqBthKOB/e07nTGqR7ulqq5fOvSu6Ix12u3mzkOHOoLFOECLwNxygDpCxbgF6maOi2s9OoPerbU+PY/Gf/XDPxbow0wCqwQAuorl+YsAfZ7daiZAV7HcL+pMVX1feX0H0CuH2CtAYyivRgC9coi9WqDdz4laqc6gd2utr6st0O4Ge8sHaPiOAzQM9AcAAP//MhV99QAAAAZJREFUAwC2/5Bm5XMAsgAAAABJRU5ErkJggg==") 28 /  28px / 0 round;
    border-width:  28px;
    border-style:  solid;
}

.widget-slot {
  max-height: min(70vh, 600px);
  min-height: 280px;
  width: 100%;

  overflow: auto;
}


lastfm-tracks {
  display: block;
  width: 250px;
  box-sizing: border-box;
  border: 0; /* put border on the slot instead */
}