/*!
Theme Name: Nox Nouveau
Theme URI: http://underscores.me/
Author: Damian Andrzejewski
Author URI: http://damianandrzejewskiart.com
Description: Description
Version: 1.0.001
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: noxnou
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Nox Nouveau is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Destyling has been helped along thanks to the fine work of
Nicolas Cusan https://twitter.com/n_cusan
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Destyle
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# NOX NOUVEAU STUFF

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Destyle
--------------------------------------------- */

/*! destyle.css v2.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */

[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type="radio"] {
  -webkit-appearance: radio;
  appearance: radio;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

button[disabled],
[type="button"][disabled],
[type="reset"][disabled],
[type="submit"][disabled] {
  cursor: default;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 2px dotted ButtonText;
}

/**
 * Remove arrow in IE10 & IE11
 */

select::-ms-expand {
  display: none;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable] {
  outline: none;
}

/* Table */
/* ============================================ */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* Misc */
/* ============================================ */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none; 
}


/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

/* Forms
--------------------------------------------- */

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

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

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.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;
}

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

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

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

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.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;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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


/* # NOX NOUVEAU STUFF */

/* #01 - START */
#body-wrapper{
	min-height: 100vh;
	max-width: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
	-webkit-overflow-scrolling: touch;}

/* #02 - GLOBAL */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Jura', sans-serif;
}
h3{font-size: 1.8em}

/* 03 - MENU */

header{
	display: flex; z-index: 999;
	flex-direction: row;
	justify-content: center;
	position: sticky; top: 0;
	padding: 2vw;
	box-sizing: border-box;
	background: url("/wp-content/themes/noxnou/img/bar-horizontal.svg") center 73% no-repeat,
		 linear-gradient(180deg, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 100%);
	background-size: 89vw auto;
}

#nav-links{position: relative; right: 2.25vw;}
.nav-item a{  display: inline-block; width: 100%; height: 100%;}
.nav-item a embed{pointer-events: none !important;}
#nav-links li{display: inline-block;}
#logo-image{
	width: 16vw; height: auto;
	margin: 0 12.2vw -1.2vw 0vw;
}
.nav-icon{
	position: relative;
	display: inline-block;
	width: 12vw; height: 12vw;
	content: ""; overflow: visible;
	margin: 0 1.7vw
}
.active{position: relative;}

.active::before{
	 content: '';
   display: inline-block;
	 position: absolute;
	 bottom: -3.5vw; left: calc(6.3vw);
   width: 2vw;
   height: 2vw;
   -moz-border-radius: 100%;
   -webkit-border-radius: 100%;
   border-radius: 100%;
	 box-sizing: border-box;
	 border: solid black 0.4vw;
}

/*  04 - MAIN PAGE SECTIONS */
.main-section{min-height: 100vh; padding: 25.3vw 7vw 0 7vw; box-sizing: border-box;}
.main-section:first-of-type{margin-top: -25.3vw;}

/* 05 - PORTFOLIO */
#portfolio-grid{display: grid;
  grid-template-columns: 42.5vw 42.5vw;
	grid-template-rows: max-content max-content max-content max-content;
	grid-gap: 1vw 1vw;
}
.portfolio-item{background: gray; box-sizing: border-box;
  height: 0; padding-bottom: 100%; overflow: hidden;}
.portfolio-item picture *{width: 100%; height: auto; margin: none;}
#portfolio-more{grid-column-start: 1; grid-column-end: span 2; 
/* 	REPLACE THE ABOVE WITH 2 AND AUTO FOR WIDESCREEN MODE */
  padding: 2vw 20vw; background: url("/wp-content/themes/noxnou/img/button-more.svg") center right no-repeat;
	background-size: contain;
  font-family: 'Jura'; font-size: 10vw; text-align: right;
}

/* 06 - ABOUT MEEEE */
#about{
	display: flex;
	background: url("/wp-content/themes/noxnou/img/img-portrait.png") right center no-repeat;
	background-size: cover;
}
#about-text{ box-sizing: border-box;
	display: inline-block;
	margin: 20vh 0 5vh 0;
	background:rgba(255,255,255, 0.75); padding: 3vh
}

#about-text h2{font-size: 2em;}
#about-text p{margin: 2vh 0; line-height: 135%;}

/* 07 - CONTACT FORM
Sidenote: some of the rules are included in Destyle, so mindless copy-paste isn't recommended ;D 
Some of the blame is put on Formidable... */
.contact-form{
}

.contact-field label{
	font-family: 'Jura', sans-serif; font-size: 0.8em;
}

.contact-field input, .contact-field textarea {
	border-right: 2px solid #777;
	border-bottom: 2px solid #777; width: 100%;
	border-bottom-right-radius: 0.5em;
	padding: 0.2em
}

#contact-message{
	resize: none; overflow: auto;
}

#contact-field-submit button[type="submit"]{ border: none;
	padding: 0.5em 1.7em; background: url("/wp-content/themes/noxnou/img/button-more.svg") center right no-repeat;
	background-size: contain;
  width: 100%;
  font-family: 'Jura'; font-size: 3em; text-align: right;
  margin: 5px 0;
}

/* 08 - POST ELEMENTS (or PORT rather huehuehuehue) 
   08-A The Hero and Villain */
#port-hero, #port-villain{margin-bottom: 3vh;}
#port-villain #port-start{text-align: center;}
#port-img{height: auto; width: auto; max-width: 100%;}
#port-title{font-size: 1.5em;}
#port-data{font-size: 0.8em;}

/* 08-B Detail Showcase */
.port-deta-left, .port-deta-right{margin: 0;}
.port-deta-left-img, .port-deta-right-img{width: 100%; margin-bottom: 1vh;}
.port-deta-left-img img, .port-deta-right-img img{max-width: 100%;}
.port-deta-left span, .port-deta-right span{color: rgba(0,0,0,0.7); font-size: 0.9em;}
.port-deta-right span{display: block; text-align: right;}

/* 08-C Comic View
  Basics for viewing the comic... while JS is off.
*/
.port-comic{text-align: center; position: relative;}
.port-comic img{max-width: 100%; height: auto; margin: 0 2vw !important;}
.comic-disclaimer{font-size: 0.8em; font-style: italic;}
.comic-controls{display: none;}

/* But when JS is ON... */
.comic-js{max-height: 100vh; overflow: hidden;}
.comic-js .comic-disclaimer{display: none;}
.comic-js img{max-height: 100vh;}
.comic-js .comic-cage{display: flex;
  transition: transform 0.5s;}
.comic-js .comic-controls{display: flex; position: absolute;
top: 0; left: 0; width: 100%; height: 100%;}
.comic-empty{flex-grow: 1}
.comic-nav{display: inline-flex; justify-content: center; align-items: center; 
  margin: auto; height: 100%; width: 10%; font-size: 5em;
  -webkit-text-stroke: 1px white; user-select: none; cursor: pointer;
}


/* 08-Z Miscellaneous */
#portfolio p{ margin: 1em 0; line-height: 150%;}
#portfolio h3{text-align: center; margin: 2em 0 0.5em 0;}
#portfolio a:not(.portfolio-item, #portfolio-more){color: #3889c7; border-bottom: solid #3889c7 1px; border-radius: 5px;}
#portfolio a:active:not(.portfolio-item, #portfolio-more){color: black; border-bottom: solid black 1px;}
#portfolio a:visited:not(.portfolio-item, #portfolio-more){color: gray; border-bottom: solid gray 1px;}
#portfolio blockquote{line-height: 120%; font-size: 1.2em; color: rgba(0,0,0,0.6);
  padding: 0.8em; border-left: solid rgba(0,0,0,0.6) 1.5px;
  border-radius: 5px;}
#portfolio img:not(.portfolio-item img){max-width: 100%; height: auto; margin: 1em 0;}
/*  ORDERED LISTS */
#portfolio ol, #portfolio ul{width: 100%;
  line-height: 150%;}
#portfolio ol li, #portfolio ul li{position: relative;
	padding: 0.2em; text-indent: -3.8em; margin-left: 3.8em; }
#portfolio ol{ counter-reset: orderedlist;}
#portfolio ol li::before{counter-increment: orderedlist; content: counter(orderedlist);}
#portfolio ul li::before{content: ' ';}
#portfolio ul li::before, #portfolio ol li::before{
	flex-shrink: 0;
	box-sizing: border-box;
	font-family: 'Jura'; font-size: 1.5em; text-align: right; padding: 5px;
	display: inline-block; min-width: 2em; 
	border-top: solid #000 1.5px; border-right: solid #000 1.5px;
	margin-right: 0.5em; border-radius: 0.2em;
}
#portfolio figcaption{font-size: 0.8em; text-align: center;}

/* 09 - SOCIAL MEDIA SHARES */
.port-share{display: block; margin: 1em 0;
  text-align: center;}
.share-encore{font-size: 0.8em; font-family: 'Jura';}
.share-links{margin: 0.5em 0;}
.share-links a{display: inline-block; width: 13vw; height: 13vw; margin: 0 0.5vw; border-bottom: none !important;}
.share-links a img{width: 100%; height: auto;}

/* 10 - Navigation between posts */
#port-navigation{display: flex; width: 100%;
  justify-content: center; align-items: center; margin: 0.5em 0;}
.port-navis{width: 50%; min-height: 100%;}
.port-navis a{display: block; box-sizing: border-box;
  border-bottom: none !important; color: black !important;}
.port-navis .navi-note{font-size: 0.8em;}
.port-navis .navi-title{font-family: 'Jura'; font-size: 1.1em; line-height: 95%;}
#navi-next a{text-align: right; background: url("/wp-content/themes/noxnou/img/button-more.svg") right no-repeat;
  background-size: contain; padding: 3vw 12vw 3vw 1.5vw;
}
#navi-prev a{text-align: left;  background: url("/wp-content/themes/noxnou/img/button-less.svg") left no-repeat;
  background-size: contain; background-size: contain; padding: 3vw 1.5vw 3vw 12vw;
}

/* 0X - WIDESCREEN EDITION */
@media screen and (min-aspect-ratio: 1/1) {
  /* X1 - START	 */
	#body-wrapper{position: relative;}
	
  /* X3 - MENU */
	header{ flex-direction: column; align-items: flex-start; 
		position: fixed; top: 0; left: 0; padding: 3.7vh;
  	background: url("/wp-content/themes/noxnou/img/bar-vertical.svg") 19vh 4.5vh no-repeat;
		background-size: auto 90vh;
	  height: 100%; width: 22vh;}
	#nav-logo{align-self: flex-start}
	#logo-image{
		width: auto; height: 30vh;
		margin: -18.4vh 0 2.4vh 0;
  }
	#nav-links{ bottom: 3vh;
		right: 0; left: 3vh;
	}
	.nav-item{
		display: inline-block; width: 100%; height: 100%;
		margin-bottom: 1vh;
	}
	.nav-icon{
		width: 10vh; height: 10vh;
		margin: 0;
	}
	.active::before{
	 position: absolute; bottom: 5.4vh; left: 13.1vh;
   width: 1.5vh; height: 1.5vh;
	 border: solid black 0.35vh;
  }
	.active[title="Contact"]::before{
		bottom: 4.9vh;
	}
	/*  X4 - MAIN PAGE SECTIONS */
	.main-section{min-height: 100vh; min-width: 100%; padding: 4vw 7vw 4vw calc(4vw + 22vh); box-sizing: border-box;
	  display: flex; flex-direction: column; justify-content: center;}
	.main-section:first-of-type{margin-top: 0;}
	
	/* X5 - PORTFOLIO */
	#portfolio{align-items: center; justify-content: center;}
	#portfolio-grid{display: grid; width: 100%; align-self: center; justify-self: center;
		grid-template-columns: 25% 25% 25% 25%;
		grid-template-rows: max-content max-content max-content;
		grid-gap: 1vw 1vw;
	}
	#portfolio-more{grid-column-start: 1; grid-column-end: span 4; 
		padding: 1vh 12vh; font-size: 6vh;
	}
	
	/* X6 - ABOUT MEEEE */
	#about{	background-size: contain;	}
	#about-text{width: 60%;	margin: 5vh 0;}
	
    /* X7 - CONTACT	 */
	#frm_form_2_container{width: 60%}
	#contact-field-submit button[type="submit"]{padding: 1vh 11vh; font-size: 6vh;
	}
	
	/* X8 - POST ELEMENTS (or PORT rather huehuehuehue) 
		 X8-A The Hero and Villain */
	#port-hero, #port-villain{width: 100%; display: flex; 
		align-items: center;
		margin-bottom: 4vw;}
	#port-villain{flex-direction: column;}
	#port-img{max-height: calc(100vh - 8vw); margin-right: 3vw;}
	#port-villain #port-img{ max-height: calc(100vh - 10vw); margin-right: 0;}
	#port-title{font-size: 2.5em;}
	#port-data{font-size: 0.8em;}
	
	/* 08-B Detail Showcase */
	.port-deta-left, .port-deta-right{display: flex; justify-content: center;
		margin: 2em 0; align-items: center;}
	.port-deta-right{flex-direction: row-reverse;}
	.port-deta-left-img, .port-deta-right-img{width: 50%;}
	.port-deta-left span, .port-deta-right span{
		display: inline-block; width: 50%; padding: 1vh 1vw;
	}
  /* X8-C Comic Showcase */
	.comic-next{background: linear-gradient(-90deg, rgba(255,255,255,1), rgba(255,255,255,0));}
  .comic-previous{background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));}
	
	/* X8-Z Miscellaneous */
	#portfolio p, #portfolio ol, #portfolio ul{padding: 0 12%;width: 100%;}
	#portfolio blockquote{margin: 1em 20%;}
  	#portfolio blockquote p{padding-left: 1em;}
	
	/* 09 - SOCIAL MEDIA SHARES */
	.share-encore{font-size: 0.9em; font-family: 'Jura';}
	.share-links{margin: 1em 0;}
	.share-links a{display: inline-block; width: 4em; height: auto; margin: 0 0.5em}
	.share-links a img{width: 100%; height: auto;}
	
	/* 10 - Navigation between posts */
	.port-navis .navi-note{font-size: 0.8em;}
	.port-navis .navi-title{font-family: Jura; font-size: 2em;}
	#navi-next a{padding: 3vh 12vh 3vh 1.5vh;}
	#navi-prev a{padding: 3vh 1.5vh 3vh 12vh;}

}