/*
Theme Name: Back to The 90s!
Author: Moki-Moki Ios
Author URI: https://mokimoki.net/
Theme URI: https://retrowptheme.com/
Description: This is the full version of Back to The 90s Retro Theme for WordPress. It will make your site look like a real blast from the past! However, under the hood runs a modern HTML5, responsive, SEO-friendly, easily customized, translation ready, crossbrowser compatible code.
Tags: two-columns, three-columns, left-sidebar, custom-menu, custom-logo, featured-image-header, featured-images, theme-options, translation-ready
Version: 1.0.14
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: back-to-the-90s
*/

html.back-to-the-90s,
.back-to-the-90s body {
	margin: 0;
	padding: 0;
}

.back-to-the-90s #player {
	position: fixed;
	top: 0;
	left: calc(100vw/2 - 150px);
	width: 300px;
	height: 54px;
	z-index: 777;
}

.back-to-the-90s h1,
.back-to-the-90s h2,
.back-to-the-90s h3,
.back-to-the-90s h4,
.back-to-the-90s h5,
.back-to-the-90s h6 {
	text-shadow: 0 0 12px #777;
}

.back-to-the-90s h1 {
	font-size: 170%;
}
.back-to-the-90s .page h1,
.back-to-the-90s .single h1 {
	margin-bottom: 0.5em;
}

.back-to-the-90s .page h1 a,
.back-to-the-90s .single h1 a {
	text-decoration: none;
}

.back-to-the-90s header h1 {
	font-size: 245%;
}

.back-to-the-90s h2 {
	font-size: 120%;
}

.back-to-the-90s h2 a {
	text-decoration: none;
}

.back-to-the-90s h3 {
	font-size: 100%;
}

.back-to-the-90s h4 {
	font-size: 70%;
}

.back-to-the-90s .wrapper {
	display: flex;
}

.wp-post-image:not(.attachment-post-thumbnail) {
	width: 150px;
	height: 150px;
}

.back-to-the-90s nav.theme-navigation {	
	position: fixed;
	display: block;
	top: 0;
	left: 0;
	width: 235px;	
	height: 100vh;
	box-sizing: border-box;
	border-right: 4px groove #999;
	padding: 1em 1em 2em 1em;
	overflow: auto;
}

.back-to-the-90s nav.theme-navigation .separator:last-child,
.back-to-the-90s aside.sidebar .separator:last-child {
	display: none;
}

.back-to-the-90s nav.theme-navigation .sidebar-widget {
	margin-bottom: 2.5em;
}

.back-to-the-90s .sidebar ul,
nav.theme-navigation ul {
	list-style: none;
	padding: 0;
}

.back-to-the-90s .sidebar ul li,
nav.theme-navigation ul li {
	margin: 0 0 1em 0;
}

.back-to-the-90s nav.theme-navigation h2 a {
	text-decoration: none;
}

.back-to-the-90s nav.theme-navigation h2 a img {
	width: 95%;	
}

.back-to-the-90s header {
	margin-top: 2em;
}

.back-to-the-90s header img {
	width: 99%;
	border-radius: 4px;
	box-shadow: none !important;
}

.back-to-the-90s main {
	position: relative;
	left: 250px;
	width: calc(100% - 500px);
	margin: 0;
}

.back-to-the-90s main .wp-post-image {
	float: left;
	margin: 0 1em 1em 0;
}

.back-to-the-90s .page main .wp-post-image,
.back-to-the-90s .single main .wp-post-image {
	float: left;
	margin: 1em 0;
	max-height: 640px;
	border-radius: 8px;
}

.back-to-the-90s .page main .related-post-img img,
.back-to-the-90s .single main .related-post-img img {
	min-width: initial;
}

.back-to-the-90s .page article a img,
.back-to-the-90s .single article a img {
	border: 1px solid rgba(0, 0, 0, 0);
}

.back-to-the-90s .page article a img:hover,
.back-to-the-90s .single article a img:hover {
	border: 1px solid red;
}

.back-to-the-90s span.date,
.back-to-the-90s span.tags,
.back-to-the-90s span.meta {
	display: block;
}

.back-to-the-90s .post-edit-link,
.back-to-the-90s .commentmetadata,
.back-to-the-90s a.view-article,
.back-to-the-90s span.date,
.back-to-the-90s span.author,
.back-to-the-90s span.comments,
.back-to-the-90s span.category,
.back-to-the-90s span.tags,
.back-to-the-90s span.meta {
	text-transform: uppercase;
	font-size: 77.7%;
	margin-bottom: 0.5em;
}

.back-to-the-90s .separator {
	border-bottom: 2px groove #444;
	margin: 1em 0;
}

.back-to-the-90s .high {
	margin: 1.777em 0;
}

.back-to-the-90s #comments ul {
	list-style: none;
}

.back-to-the-90s .comment-author img {
	float: left;
}

.back-to-the-90s #commentform label {
	display: inline-block;
	min-width: 100px;
}

.back-to-the-90s ::-webkit-scrollbar-track:window-inactive,
.back-to-the-90s ::-webkit-scrollbar-track-piece:window-inactive {
	background: #111;		
}

.back-to-the-90s aside.sidebar {
	position: fixed;
	top: 0;
	right: 0;	
	width: 225px;
	height: 100vh;
	box-sizing: border-box;
	border-left: 4px groove #999;
	padding: 1em;
	overflow: auto;	
}

.back-to-the-90s aside.sidebar .sidebar-widget {
	margin-bottom: 2.5em;
}

.back-to-the-90s .pagination {
	padding: 1em 0;
	border: none;
}

.back-to-the-90s footer {
	margin: 2em 0;
	font-size: 70%;
}

.back-to-the-90s img.gif-icon {
	width: 48px;
	vertical-align: middle;
	margin: -6px 5px 0 0px;
}

.mobile-nav-open-button {
	display: none;
}

.back-to-the-90s .column {
	max-width: 45%;
	float: left;
}

/**
 * Related posts
 */

.back-to-the-90s .related-posts {
	display: block;
	padding: 1em 0;
	margin: 1em 0;
	color: #606060;
}

.back-to-the-90s .tag-guestbook .related-posts {
	display: none;
}

.back-to-the-90s .related-post {
	float: left;
	width: 25%;
	margin-right: 7%;
	text-align: left;
	font-size: 80%;
}

.back-to-the-90s .related-post a {
	text-decoration: none;
	font-weight: bold;
}

.back-to-the-90s .related-post a:hover {
	text-decoration: underline;
}

.back-to-the-90s .related-post-img {
	height: 12vw;
	overflow: hidden;
	margin-bottom: 0.5em;
}

.back-to-the-90s .related-post .related-post-img img {
	height: 90%;
	width: 98%;
	border-radius: 2px;
	border: 4px groove #999;
	opacity: 0.92;
}

.back-to-the-90s .related-post .related-post-img img:hover {
	border: 4px groove #ccc;
	opacity: 1;
}

/**
 * Home
 */
.back-to-the-90s .small-and-gray {
	font-size: 77%; 
	color: #ccc;
}

pre.code {
	display: inline-block;
	color: #9cf;
}

/**
 * Marquee
 */
.back-to-the-90s .marquee {
	display: inline-block;
	width: 100%;
	min-width: 360px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.back-to-the-90s .marquee span.inner-marquee {
    display: inline-block;
    padding-left: 100%;  /* show the marquee just outside the paragraph */
    animation: back-to-the-90s-marquee 25s linear infinite;
}

.back-to-the-90s .marquee span.inner-marquee:hover {
    animation-play-state: paused
}

@keyframes back-to-the-90s-marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
} 

.back-to-the-90s .margin {
	margin: 1em 0;
}

.back-to-the-90s iframe {
	width: 100%;
}

.back-to-the-90s .vimeo-iframe {
	width: 75%;
}

.back-to-the-90s .vimeo-iframe iframe {
	max-width: 850px;
	max-height: 400px;
}

.back-to-the-90s blockquote {
	background: url('img/quote.png') top left no-repeat;
	background-size: 48px;
	background-position-y: -15px;
	padding: 5px 0 0 52px;
	font-style: italic;
	opacity: 0.777;
	margin-left: 16px;
}

.back-to-the-90s blockquote p {
	margin: 0;
}

.back-to-the-90s .gallery-item {
	display: inline-block;
	margin: 16px;
}

.back-to-the-90s .gallery-item img {
	border-radius: 4px;
}

/**
 * Blink
 */
.back-to-the-90s .blink {
  animation: back-to-the-90s-blinker 1s linear infinite;
}

@keyframes back-to-the-90s-blinker {
  50% {
    opacity: 0;
  }
}

/**
 * WordPress
 */
 
.back-to-the-90s .alignleft {
	float: left;
	margin: 0 1em 0 0;
}

.back-to-the-90s .alignright {
	float: right;
	margin: 0 0 0 1em;
}

.back-to-the-90s .aligncenter {
	float: center;
	margin: 0 auto;
}

.back-to-the-90s .wp-post-image {
	max-width: 100%;	
}

.back-to-the-90s .wp-caption-text {
	text-align: center;
}

.back-to-the-90s .comment .avatar {
	margin-right: 1em;
}

.back-to-the-90s .bypostauthor,
.back-to-the-90s .gallery-caption,
.back-to-the-90s .sticky {}

.back-to-the-90s .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;
}

.back-to-the-90s .screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.size-full,
.size-large {
	max-width: 100%;
}

/**
 * Mobile
 */
@media screen and (max-width: 900px) {
	.back-to-the-90s .wrapper {
		display: block;
		margin-bottom: 5em;
		line-height: 1.25;
	}
	
	.back-to-the-90s main {
		padding: 1em;
	}
	
	.back-to-the-90s footer,
	.back-to-the-90s main,
	.back-to-the-90s nav.theme-navigation,
	.back-to-the-90s aside.sidebar {
		display: block;
		float: left;
		position: static;
		width: 88% !important;
		height: auto;
		overflow: visible;
		border: none !important;
		margin: 0;
	}
	
	.back-to-the-90s #player {
		top: auto;
		bottom: 0;
	}
	
	.back-to-the-90s .mobile-nav-open-button {
		display: block;
		padding: 0 1em;
		cursor: pointer;
		padding: 1em 0 0 1em;
		text-align: center;
	}
	
	.back-to-the-90s nav.theme-navigation {
		height: 0;
		padding: 0 1em;
		overflow: hidden;
	}
	
	.back-to-the-90s .logo-container {
		text-align: center;
	}
	
	.back-to-the-90s .logo-container img {
		float: right;
		max-width: 50%;
	}
	
	.back-to-the-90s .vimeo-iframe {
		width: 100%;
	}
	
	.back-to-the-90s .hide-in-mobile {
		display: none;
	}
	
	.back-to-the-90s .hide-in-mobile .separator:first-child {
		display: none;
	}
	
	.back-to-the-90s h1 {
		text-align: center;
	}	
	
	.back-to-the-90s img.gif-icon {
		margin: -6px 5px 0 -20px;
	}
	
	.back-to-the-90s .related-post {
		width: 100%;
	}
	
	.back-to-the-90s .related-post-img {
		height: 50vw;
	}
	
	.back-to-the-90s .column {
		max-width: 100%;
	}
}