@font-face {
	font-family: Regular;
	src: url(/fonts/CrimsonText-Regular.ttf);
}

@font-face {
	font-family:Bold;
	src: url(/fonts/CrimsonText-Bold.ttf);
	font-weight: bold;
}

@font-face {
	font-family:Title;
	src: url(/fonts/LibreBaskerville-Bold.ttf);
}

body {
	font-family: "Regular", serif;
	font-weight: 300;
	color: #c8c1c0;
	background-color: #2B292E;
	font-size: 1.3em;
	line-height: 1.1em;
	
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Title", sans-serif;
	margin: 0;
}

h2 {font-size: 2.3em; line-height: 1.2em;}
h3 {font-size: 1.5em; line-height: 1.2em;}
h4 {font-size: 0.75em; line-height: 1.2em;}

p {
	margin: 0;
}

ul {
	margin: 0;
}

a {
	color: #C1A355;
}

a:hover {
	background-color: #C1A355;
	color: #2B292E;
}

div.bkg {
	background-color: #4E3D40;
}

div.bkg-deer {
	background-image: url("/img/bkgdeer/1.png");
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: 400px;
}

div.bkg-deer3 {
	background-image: url("/img/bkgdeer/3.png");
	background-repeat: no-repeat;
	background-position: right bottom;
}

div.bkg-deer4 {
	background-image: url("/img/bkgdeer/4.png");
	background-repeat: no-repeat;
	background-position: left bottom;
}

div.centercontainer {
	width: 1000px;
	margin: 20px auto;
}

div.nav {
	width: 200px;
	padding: 20px;
	margin-right: 20px;
	border-radius: 10px;
	
	float:left;
	position: fixed;
	top: 20px;
}

div.nav > div.title {
	display: flex;
}

div.nav > div.title > img {
	width: 100px;
	margin-right: 10px;
}

div.nav > div.title > h3 {
	font-size: 1.1em;
	line-height: 1.1em;
}

div.nav > h3 {
	font-size: 1.1em;
	margin-top: 20px;
	margin-left: 5px;
	margin-bottom: 5px;
}

div.nav > ul {
	padding-left: 20px;
	list-style: none;
}

div.content {
	width: 730px;
	min-height: 450px;
	padding: 20px;
	margin-left: 260px;
	
	border-color: #4E3D40;
	border-style: solid;
	border-width: 5px;
	border-radius: 10px;
}

div.content > article {
	width: 730px;
}

div.content > h2 {
	font-size: 3em;
	line-height: 1.5em;
	margin-bottom: 10px;
}

div.icongrid {
	width: 750px;
	margin: auto 0;
	display: flex;
	flex-wrap: wrap;
}

div.icongrid > a {
	margin-right: 20px;
	margin-bottom: 20px;
	
	background-color: #4E3D40;
	border-style: solid;
	border-width: 5px;
	border-color: #4E3D40;
	border-radius: 10px;
}

div.icongrid > a:hover {
	background-color: #C1A355;
	border-style: solid;
	border-width: 5px;
	border-color: #C1A355;
	border-radius: 10px;
}

div.icongrid > a > img {
	width: 220px;
	height: 150px;
	object-fit: cover;
	border-radius: 5px;
	opacity: 1.0;
}

div.icongrid > a:hover > img {
	opacity: 0.6;
	filter: grayscale(100%);
	mix-blend-mode: multiply;
}

div.icongrid > a > p {	
	font-size: 1.3em;
	font-weight: 500;
	
	padding-top: 2px;
	padding-bottom: 8px;
	
	text-align: center;
}

div.linkbuttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 10px;
}

div.linkbuttons > a {
	background-color: #4E3D40;
	width: 88px;
	height: 31px;
}

div.linkbuttons > a:hover {
	background-color: #C1A355;
}

div.linkbuttons > a > img {
	opacity: 1.0;
}

div.linkbuttons > a:hover > img {
	opacity: 0.6;
	filter: grayscale(100%);
	mix-blend-mode: multiply;
}

.textbreakline {
	background-color: #4E3D40;
	padding-left: 25px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 20px;
	
	width: 750px;
	position: relative;
	left: -20px;
}

p.caption {
	font-size: 0.8em;
	font-style: italic;
	line-height: 1.1em;
}

article > p.date {
	margin-top: -20px;
	font-size: 0.8em;
	font-style: italic;
}

article > img {
	width: 100%;
}

article > * {
	margin-bottom: 20px;
}

div.code {
	white-space: pre-wrap;
	font-family: monospace;
	tab-size: 20px;
	background-color: #181719;
}

span.spoiler {
	background-color: #c8c1c0;
}

span.spoiler:hover {
	background-color: inherit;
}