html{
	font-family: Arial, sans-serif;
	font-size: 95%;
}
body{
	margin: 0 0 100px;
}
#skiplink{
	color: black;
	background-color: white;
	position: absolute;
	transform: translateY(-100%);
}
#skiplink:focus{
	transform: translateY(0%);
}
header{
	padding: 5px 20px;
}
header nav{
	margin: 0;
	font-weight: normal;
}
header nav{
	margin: 10px 0 0 0;
	font-size: 1rem;
}
#flex{
	display: flex;
	flex-direction: row;
	border-width: 0;
}
#sidebar{
	min-width: 200px;
	flex-shrink: 0;
	border-width: 0;
}
#sidebar ul{
	margin: 10px 0;
	padding: 0;
}
#sidebar li{
	list-style: none;
}
#sidebar a, #cache a, header a{
	text-decoration: none;
}
header a, #sidebar a{
	color: black;
}
#sidebar a{
	display: block;
	padding: 0 20px;
	line-height: 1.5;
}
header a:hover, #sidebar a:hover, #cache a:hover{
	background-color: whitesmoke;
}
.sb_curritem{
	font-weight: bold;
	font-style: italic;
}
main{
	max-width: 1000px;
	margin: 10px 20px;
}
img, svg{
	max-width: 100%;
}
figure{
	display: inline-block;
}
#meta{
	color: gray;
	font-style: italic;
	font-size: 0.8em;
}
pre, code{
	font-family: monospace, monospace;
}
.handwriting path, svg.logo{
	fill: black;
}



.div-sidebar {
    background-color: #EBEBEB;
    padding: 0.5em;
    border: 1px solid black;
    border-radius: 10px;
	align-content: center;
	text-align: center;
	position: fixed;
	left: 5px;
	top: 10px;

}
.div-credits {
    background-color: #EBEBEB;
    padding: 0.5em;
    border: 1px solid rgb(153, 0, 255);
    border-radius: 2px;
    position: fixed;
    top: 10px;
    right: 1%;
}


.parallax {
  /* The image used */
  background-image: url("../background_light.png");

  /* Set a specific height */
  min-height: 400px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: 2000px;
}

.titleblock {
	padding-top: 2%;
	text-align: center;
	color: #7acb71;
	font-size:300%;
	text-shadow: 2px 2px #333;
}

.titleparablock {
	text-align: center;
	color: #ffffff;
	font-size:150%;
	text-shadow: 2px 2px #333;
	position: relative;
  top: -2em;
}


@media (max-width: 779px) {
	.div-sidebar {
		width: 20%;
		font-size: 70%;
	}
	.maincontent
	{
		position:  relative;
		left: -10%;
	}
	.titleblock {
		text-align: right;
		padding-right: 5%;
		padding-top: 40%;
		font-size: 150%;
	}
	.titleparablock {
		text-align: right;
		padding-right: 5%;
		font-size: 70%;
	}
} 

@media(prefers-color-scheme: dark){
	body{
		background-color: #2F2F2F;
	}
	a:link{
		color: #9CEFEF;
	}
	a:visited{
		color: #D39CEF;
	}
	body, header a:link, header a:visited, #sidebar a{
		color: white;
	}
	header a:hover, #sidebar a:hover, #cache a:hover{
		background-color: #444444;
	}
	.handwriting path, svg.logo{
		fill: white;
	}
	
	
    .div-sidebar {
        background-color: #232323;
        padding: 0.5em;
        border: 1px solid white;
        border-radius: 10px;
		position: fixed;
		left: 5px;
		top: 10px;
    }
    .div-credits {
        background-color: #232323;
        padding: 0.5em;
        border: 1px solid rgb(153, 0, 255);
        border-radius: 2px;
		position: fixed;
		top: 10px;
	}

	.parallax {
	/* The image used */
	background-image: url("../background_dark.png");

	/* Set a specific height */
	min-height: 400px;

	/* Create the parallax scrolling effect */
	background-attachment: fixed;
	background-position: top;
	background-repeat: no-repeat;
	background-size: 2000px;
	}
	
}

/*@media screen and (max-width: 600px) {
	#flex{
		flex-direction: column;
	}
	#sidebar a{
		line-height: 2em;
	}
}*/

/*in case the browser doesn't
 *support the "hidden" attribute
 */
.aimsg{
	speak: never;
	position: absolute;
	left: -999em;
}