/* Default colors */
:root {
	--color: #23011f;
	--background: #edd6fc;
	
	--link: #7b2371;
	--linkhover: #8d94a3;
	
	--formbg:#f4f1e9;
	--formcolor:#212c2c;
	
	--accentbg:#e0c6c6;
	--hr: #bb6060;
}

/* Alternate colors */
/* Replace "dark" with "light" and add your light mode colors here if you want your site to be in dark mode by default */
@media (prefers-color-scheme: dark) {
	:root {
		--color:#c2cbd6;
		--background:#22151f;
		
		--link:#9f67d3;
		--linkhover:#cc8076;
		
		--formbg:#232c2f;
		--formcolor:#DCD7C9;
		
		--accentbg:#382d3a;
		--hr: #815b7e;
	}
}

/* ------ The rest of the code starts here ------- */

* { margin: 0; 
	padding: 0; 
	transition:0.5s ease;
	box-sizing: border-box;
}

#skip a {
	position: absolute;
	display: inline-block;
	left: 0px;
	top: -1000px;
	overflow: hidden;
	transition: top 0.5s ease;
	background: var(--background);
	color: var(--link);
	z-index: 1000;
	padding: 5px;
}

#skip a:focus {
	top: 0;
	transition: top 0.5s ease;
}

#container {
	margin: 1.25rem auto;
	padding: 1.25rem;
}

body {
	color: var(--color);
	background: var(--background);
	font: 1rem sans-serif;
	letter-spacing: .35px;
	margin-bottom: 0.625rem;
}

/* Header */

header {
	font-size: 1.625em;
	text-align: center;
	font-style: italic;
}

/* Header links */

header ul {
	list-style: none;
	margin: 0;
}

header li {
	display: inline-block;
	margin: 0px 10px 0px 0px;
	font-family: Georgia, Times New Roman, serif;
}


img { 
	margin: 0.3125rem; 
	max-width: 80%; 
}

main {
	padding: 1.25rem;
	width: 90%;
	max-width: 50rem;
	margin: auto;
}

a {
	color:var(--link);
}

a:hover {
	color: var(--linkhover);
}

li a {
	text-decoration:none;
}

p {
	margin: 0.625rem 0;
	line-height: 1.5;
	font-size: 1.125rem /*18px*/;

}

main h1 {
	font: 2.1875rem /* 35px */ Georgia, Times New Roman, serif;
	margin: 0.3125rem 0;
}

main h2 {
	font: 1.9375rem /* 31px */ Georgia, Times New Roman, serif;
	margin: 0.625rem 0;
}

main h3 {
	font: 1.75rem /* 28px*/ Georgia, Times New Roman, serif;
	margin: 1rem 0 0.5rem 0;
}

main h4 {
	font: 1.5625rem /* 25px*/ Georgia, Times New Roman, serif;
	font-style: italic;
	margin: 1.25rem 0 0.5rem;
}

main h5 {
	font: 1.375rem /* 22px*/ Georgia, Times New Roman, serif;
	font-style: italic;
	margin: 1.5rem 0 0 0;
}

main input, textarea, select, button { 
	background: var(--formbg);  
	color: var(--formcolor);
	font: 12pt sans-serif; 
	border: 1px solid var(--hr); 
	padding: 0.3125rem; 
	margin: 0.3125rem;
	border-radius: 0.3125rem;
}

main textarea {
	width:90%;
}

input[type="submit"], input[type="reset"] {
	font-size:13pt;
	background:var(--accentbg);
}

input[type="submit"]:hover, input[type="reset"]:hover {
	background:var(--hr);
	cursor:pointer;
}

main table {
	margin: 0.625rem auto;
	padding: 0.3125rem;
	width:100%;
	border-collapse:collapse;
}

main th {
	border-bottom: 0.0625rem solid var(--hr);
	padding: 0.3125rem;
	text-align:left;
}

main td {
	padding: 0.1875rem;
}

main tr:nth-child(2n) {
	background:var(--accentbg);
}

main ul, ol { 
	list-style-position: outside;
	margin: 0.5rem 0 0.5rem 1.25rem;
}

main li {
	margin: 0.3125rem 0;
	line-height:1.5;
}

main ul li ul, main ol li ol {
	margin-left: 0.9375rem;
}

main blockquote {
	padding: 0.625rem;
	border-left: 0.625rem solid var(--hr);
	background:var(--accentbg);
}

main blockquote cite {
	font-size: 0.917rem;
	position:relative;
	right:0;
}

main summary {
	cursor:pointer;
	margin: 0.3125rem 0;
}

main details {
	padding: 0.625rem;
	background:var(--accentbg);
	margin: 0.3125rem 0;
    border-radius: 0.3125rem;
}

main hr {
	border:0.5px solid var(--hr);
    margin:1.25rem auto;
}

main pre {
	padding: 0.625rem;
	background:var(--accentbg);
	margin: 0.625rem auto;
	border-radius: 0.3125rem;
	overflow: auto;
}

footer {
	text-align: center;
	border-top: 0.5px solid var(--hr);
	padding: 0.625rem;
}

#guestbook-frame{
	height: 30rem;
	width: 90%;
	margin: 0.5rem;
	display: block;
}

/* #site-updates {
	max-height: 300px;
	overflow: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--formbg) var(--link);
	font-size: 17px;
	padding: 20px;
	border-style: dashed;
}*/

@media (prefers-color-scheme: dark) {

	main img {
		opacity:0.6;
	}
	
	main img:hover {
		opacity:1;
	}

	main a img:hover {
		opacity:1;
	}
}

/* Start https://www.cursors-4u.com */
* {
	cursor: url(https://cur.cursors-4u.net/nature/nat-3/nat260.cur), auto !important;
}

/* End https://www.cursors-4u.com */
