/*!
Theme Name: Nidavellir
Theme URI: https://github.com/dgroddick/nidavellir
Author: David Roddick
Author URI: https://davidroddick.com
Version: 1.0.5
Tested up to: 5.4
Requires PHP: 7.1
Text Domain: nidavellir
License: GNU General Public License v2 or later
License URI: LICENSE
Description: A Brutalist WordPress theme
Tags: two-columns, featured-images, threaded-comments, translation-ready, custom-header

Nidavellir is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc.
*/
body {
	margin: 0;
	padding: 0;
	background: #fff;
}

pre {
	font-family: monospace;
	font-size: 1em;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace;
	font-size: 1em; 
}


img {
	border-style: none;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: monospace;
	font-size: 18px;
	font-size: 1rem;
	line-height: 1.5;
}

pre {
	background: #eee;
	font-family: monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#content[tabindex="-1"]:focus {
	outline: 0;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignfull {
	margin: 32px calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}


.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

embed,
iframe,
object {
	max-width: 100%;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

a {
	color: blue;
	font-weight: bold;
	text-decoration: underline;
}

.layout-left {
	display: grid;
	grid-template-columns: 2fr 5fr 3fr;
	grid-template-areas:
		"header header header"
		"nav main main"
		"aside aside aside"
		"footer footer footer";
	grid-gap: .75em;
}

.layout-right {
	display: grid;
	grid-template-columns: 3fr 5fr 2fr;
	grid-template-areas:
		"header header header"
		"main main nav"
		"aside aside aside"
		"footer footer footer";
	grid-gap: .75em;
}

.layout-center {
	display: grid;
	grid-template-columns: 3fr 5fr 3fr;
	grid-template-areas:
		"header header header"
		"nav nav nav"
		"... main ..."
		"aside aside aside"
		"footer footer footer";
	grid-gap: .75em;
}

#masthead, #site-footer, #widget {
	display: flex;
	justify-content: center;
	background-color: #eee;
	border: 1px solid #ccc;
}

#masthead {
	grid-area: header;
	text-align: center;
	position: relative;
	min-height: 350px;
}

#masthead a, p {
	text-decoration: none;
	color: #000;
}

.site-title {
	font-size: 4vw;
}

#site-navigation {
	border: 1px solid #ccc;
	grid-area: nav;
	background-color: #eee;
}

#site-navigation li {
	list-style: none;
}

#site-navigation a:visited {
	color: blue;
}

#content {
	grid-area: main;
	width: 100%;
}

.layout-right > #content {
	overflow: hidden;
}

.layout-left > #content {
	overflow: hidden;
}

section h2 {
	font-size:4vw;
}

#widget {
	grid-area: aside;
	justify-content: left;
}

#site-footer {
    grid-area: footer;
}


@media(max-width: 768px) {
	#container {
		grid-template-columns: 2fr 5fr 3fr;
		grid-template-areas:
			"header header header"
			"nav nav nav"
			"main main main"
			"aside aside aside"
			"footer footer footer";
	}
}