
html {
  background-color: #000;
}

body {
	padding: 0;
	margin: 0;
	color: white;
	font-size: 1em;
	line-height: 1.5;
	font-family: "Noto Sans"
}

main {
	display: grid;
	padding: 0;
	margin: 0;
	grid-template-columns: 1fr min(45rem, 90%) 1fr;
}

main > * {
  grid-column: 2;
}

a,
a:visited { text-decoration: none; color: #ac94ee; }
a:hover { text-decoration: none; color: red; }
a:hover,
a:active,
a:focus { text-decoration: underline; color: #ea943e; }

@font-face {
	font-family: sazanami gothic;
	src: url('/assets/fonts/SazanamiGothicRegular.ttf') format('truetype');
}

.metaBanner {
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}

.bannerImage {
  width: 100%;
}

.vnText {
  font-family: sazanami gothic;
  text-shadow: -0.1em -0.1em #000;
}
.vnText a,
.vnText a:visited {text-decoration: none; color: white;}
.vnText a:hover,
.vnText a:active,
.vnText a:focus { text-decoration: none; color: red; }

.titleText {
  color: white;
  text-decoration: none;
  position: absolute;
  top: 30px;
  left: 40px;
  font-size: 2.5em;
}
.titleText:hover { color: red }
@media (max-width: 435px) {
	.titleText { 
		font-size: 2.0em;
		transform: translate(-50%, 0%); 
		left: 50%;
		text-wrap: nowrap;
	}
}

.navContainer {
  font-size: 1.5em;
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.navContainer ul { 
	list-style-type: none; 
}
.navContainer li {
	float: left;
	margin-left: 28px; 
}

/* Blog Page / Home Page */

.postEntry {
	display: flex;
	flex-direction: row wrap;
	align-items: center;
	list-style-type: none; 
	height: auto;
	width: auto;
}
.postEntry:hover { background-color: #111; }
@media (max-width: 435px) {
	.postEntry{ 
		margin-top: 15px;
	}
}

.postThumb {
	display: flex;
	flex-direction: flex-start;
	align-items: center;
	margin-top: 6px;
}
.postEntry img { 
	width: 60px;
	height: 60px;
	object-fit: cover;
}
.postText {
	display: flex;
    flex-direction: row;
	align-items: baseline;
    flex-grow: 1;
	font-size: 1.0em;
}
.postDate {
	white-space: nowrap;
	font-size: 0.8em;
	margin-left: 20px;
	margin-right: 18px;
	color: darkgray;
}
@media (max-width: 435px) {
	.postDate { 
		max-width: 100px;
		text-wrap: auto;
	}
}
.postTitle {
	margin: 0;
	flex: 1;
    word-break: break-word;
}

/* Post Page */

.postImage {
	padding: 3%;
}
.postImage img {
	width: 100%;
	height: auto;
}

.postEndLinks {
	display: flex;
    flex-direction: row;
	justify-content: space-evenly;
	margin: 20px;
}

.row {
	display: flex;
    flex-direction: row;
	align-items: baseline;
	flex-grow: 1;
	max-width: 300px;
}

.grayText {
	color: gray
}

