/*
Theme Name: netscape
Theme URI: https://example.com/netscape-theme
Author: Chris Burgdorff
Author URI: https://example.com
Description: A retro 90s style WordPress theme.
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netscape
Tags: retro, 90s, fun
*/


html.wp-theme-netscape,
.wp-theme-netscape body {
	margin: 0;
	padding: 0;
}

.wp-theme-netscape #player {
	position: fixed;
	top: 0;
	left: calc(100vw/2 - 150px);
	width: 300px;
	height: 54px;
	z-index: 777;
}

.wp-theme-netscape h1,
.wp-theme-netscape h2,
.wp-theme-netscape h3,
.wp-theme-netscape h4,
.wp-theme-netscape h5,
.wp-theme-netscape h6 {
	text-shadow: 0 0 12px #777;
}

.wp-theme-netscape h1 {
	font-size: 170%;
}
.wp-theme-netscape .page h1,
.wp-theme-netscape .single h1 {
	margin-bottom: 0.5em;
}

.wp-theme-netscape .page h1 a,
.wp-theme-netscape .single h1 a {
	text-decoration: none;
}

.wp-theme-netscape header h1 {
	font-size: 245%;
}

.wp-theme-netscape h2 {
	font-size: 120%;
}

.wp-theme-netscape h2 a {
	text-decoration: none;
}

.wp-theme-netscape h3 {
	font-size: 100%;
}

.wp-theme-netscape h4 {
	font-size: 70%;
}

.wp-theme-netscape .wrapper {
	display: flex;
}

.wp-post-image:not(.attachment-post-thumbnail) {
	width: 150px;
	height: 150px;
}

.wp-theme-netscape 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;
}

.wp-theme-netscape nav.theme-navigation .separator:last-child,
.wp-theme-netscape aside.sidebar .separator:last-child {
	display: none;
}

.wp-theme-netscape nav.theme-navigation .sidebar-widget {
	margin-bottom: 2.5em;
}

.wp-theme-netscape .sidebar ul,
nav.theme-navigation ul {
	list-style: none;
	padding: 0;
}

.wp-theme-netscape .sidebar ul li,
nav.theme-navigation ul li {
	margin: 0 0 1em 0;
}

.wp-theme-netscape nav.theme-navigation h2 a {
	text-decoration: none;
}

.wp-theme-netscape nav.theme-navigation h2 a img {
	width: 95%;	
}

.wp-theme-netscape header {
	margin-top: 2em;
}

.wp-theme-netscape header img {
	max-width: 99%;
	border-radius: 4px;
	box-shadow: none !important;
}

.wp-theme-netscape main {
	/*width: calc(100% - 500px);*/
	margin: 0;
}

.wp-theme-netscape .page main .wp-post-image,
.wp-theme-netscape .single main .wp-post-image {
	float: left;
	margin: 1em 0;
	max-height: 640px;
	border-radius: 8px;
}

.wp-theme-netscape .page main .related-post-img img,
.wp-theme-netscape .single main .related-post-img img {
	min-width: initial;
}

.wp-theme-netscape .page article a img,
.wp-theme-netscape .single article a img {
	border: 1px solid rgba(0, 0, 0, 0);
}

.wp-theme-netscape .page article a img:hover,
.wp-theme-netscape .single article a img:hover {
	border: 1px solid red;
}

.wp-theme-netscape span.date,
.wp-theme-netscape span.tags,
.wp-theme-netscape span.meta {
	display: block;
}

.wp-theme-netscape .post-edit-link,
.wp-theme-netscape .commentmetadata,
.wp-theme-netscape a.view-article,
.wp-theme-netscape span.date,
.wp-theme-netscape span.author,
.wp-theme-netscape span.comments,
.wp-theme-netscape span.category,
.wp-theme-netscape span.tags,
.wp-theme-netscape span.meta {
	text-transform: uppercase;
	font-size: 77.7%;
	margin-bottom: 0.5em;
}

.wp-theme-netscape .separator {
	border-bottom: 2px groove #444;
	margin: 1em 0;
}

.wp-theme-netscape .high {
	margin: 1.777em 0;
}

.wp-theme-netscape #comments ul {
	list-style: none;
}

.wp-theme-netscape .comment-author img {
	float: left;
}

.wp-theme-netscape #commentform label {
	display: inline-block;
	min-width: 100px;
}

.wp-theme-netscape ::-webkit-scrollbar-track:window-inactive,
.wp-theme-netscape ::-webkit-scrollbar-track-piece:window-inactive {
	background: #111;		
}

.wp-theme-netscape 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;	
}

.wp-theme-netscape aside.sidebar .sidebar-widget {
	/*margin-bottom: 2.5em;*/
}

.wp-theme-netscape .pagination {
	padding: 1em 0;
	border: none;
}

.wp-theme-netscape footer {
	margin: 2em 0;
	font-size: 70%;
}

.wp-theme-netscape img.gif-icon {
	width: 48px;
	vertical-align: middle;
	margin: -6px 5px 0 0px;
}

.mobile-nav-open-button {
	display: none;
}

.wp-theme-netscape .column {
	max-width: 45%;
	float: left;
}

/**
 * Related posts
 */

.wp-theme-netscape .related-posts {
	display: block;
	padding: 1em 0;
	margin: 1em 0;
	color: #606060;
}

.wp-theme-netscape .tag-guestbook .related-posts {
	display: none;
}

.wp-theme-netscape .related-post {
	float: left;
	width: 25%;
	margin-right: 7%;
	text-align: left;
	font-size: 80%;
}

.wp-theme-netscape .related-post a {
	text-decoration: none;
	font-weight: bold;
}

.wp-theme-netscape .related-post a:hover {
	text-decoration: underline;
}

.wp-theme-netscape .related-post-img {
	height: 12vw;
	overflow: hidden;
	margin-bottom: 0.5em;
}

.wp-theme-netscape .related-post .related-post-img img {
	height: 90%;
	width: 98%;
	border-radius: 2px;
	border: 4px groove #999;
	opacity: 0.92;
}

.wp-theme-netscape .related-post .related-post-img img:hover {
	border: 4px groove #ccc;
	opacity: 1;
}

/**
 * Home
 */
.wp-theme-netscape .small-and-gray {
	font-size: 77%; 
	color: #ccc;
}

pre.code {
	display: inline-block;
	color: #9cf;
}

/**
 * Marquee
 */
.wp-theme-netscape .marquee {
	display: inline-block;
	width: 100%;
	min-width: 360px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.wp-theme-netscape .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;
}

.wp-theme-netscape .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); }
} 

.wp-theme-netscape .margin {
	margin: 1em 0;
}

.wp-theme-netscape iframe {
	width: 100%;
}

.wp-theme-netscape .vimeo-iframe {
	width: 75%;
}

.wp-theme-netscape .vimeo-iframe iframe {
	max-width: 850px;
	max-height: 400px;
}

.wp-theme-netscape 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;
}

.wp-theme-netscape blockquote p {
	margin: 0;
}

.wp-theme-netscape .gallery-item {
	display: inline-block;
	margin: 16px;
}

.wp-theme-netscape .gallery-item img {
	border-radius: 4px;
}

/**
 * Blink
 */
.wp-theme-netscape .blink {
  animation: back-to-the-90s-blinker 1s linear infinite;
}

@keyframes back-to-the-90s-blinker {
  50% {
    opacity: 0;
  }
}

/**
 * WordPress
 */
 
.wp-theme-netscape .alignleft {
	float: left;
	margin: 0 1em 0 0;
}

.wp-theme-netscape .alignright {
	float: right;
	margin: 0 0 0 1em;
}

.wp-theme-netscape .aligncenter {
	float: center;
	margin: 0 auto;
}

.wp-theme-netscape .wp-post-image {
	max-width: 100%;	
}

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

.wp-theme-netscape .comment .avatar {
	margin-right: 1em;
}

.wp-theme-netscape .bypostauthor,
.wp-theme-netscape .gallery-caption,
.wp-theme-netscape .sticky {}

.wp-theme-netscape .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;
}

.wp-theme-netscape .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%;
}

/* === Page Grid === */
#page {
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  margin: 0 auto;
	overflow-y: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

/* Left sidebar */
.left-sidebar {
  grid-column: 1 / 2;
}

/* Main content */
.site-main {
  grid-column: 2 / 3;
}

/* Right sidebar */
.right-sidebar {
  grid-column: 3 / 4;
}

/* Header and footer locked to middle */
.site-header,
.site-footer {
  grid-column: 2 / 3;
}



/* Optional: left/right columns if you want to fill them later */
#page::before,
#page::after {
  content: "";
}

/* Default: hidden on mobile */
.mobile-nav {
  display: none;
}

/* When toggled open */
.mobile-nav.is-open {
  display: block;
}

/* Hit Counter */
/* Geocities retro hit counter */
.geo-counter{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: linear-gradient(#f2e9c9, #d9c69a);
  border: 3px ridge #7a4b00;
  box-shadow: 0 4px 0 #6a3f00, inset 0 2px 0 rgba(255,255,255,0.6);
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  color: #000;
  border-radius: 6px;
  line-height: 1;
  user-select: none;
	margin-bottom: 1em;
}

/* small label on left */
.geo-label{
  background: repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0) 0 4px,
      rgba(0,0,0,0.03) 4px 8px
  );
  padding: 4px 6px;
  font-size: 11px;
  color: #fff;
  background-color: #bb2b2b;
  border: 2px outset #ffb2b2;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

/**
 *the digits area
 */
.geo-digits{
  display: inline-block;
  padding: 6px 10px;
  background: linear-gradient(#000 0%, #333 100%);
  color: #0f0;
  font-size: 18px;
  letter-spacing: 2px;
  border: 3px groove #999;
  box-shadow: inset 0 0 12px rgba(0,255,0,0.12), 0 3px 0 rgba(0,0,0,0.6);
  border-radius: 4px;
  text-shadow: 
     0 1px 0 rgba(0,0,0,0.8),
     0 -1px 6px rgba(0,255,0,0.15);
  font-variant-numeric: tabular-nums;
  min-width: 80px;
  text-align: center;
}

/* optional tiny animated sparkle for extra 90s drama */
.geo-digits::after{
  content: " ✶";
  font-size: 10px;
  margin-left: 6px;
  opacity: 0.8;
  animation: sparkle 2s linear infinite;
  color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 12px #9aff9a;
}
@keyframes sparkle {
  0%,100% { transform: translateY(0); opacity: 0.8;}
  50% { transform: translateY(-3px); opacity: 0.2;}
}


/**
 * Mobile
 */
@media screen and (max-width: 900px) {
	#page {
		display: block;
	}

	.wrapper {
    height: auto;       /* let content decide height */
    overflow: auto;  /* don’t clip */
    display: block;     /* you already had this */
  }

	.wp-theme-netscape .wrapper {
		display: block;
		margin-bottom: 5em;
		line-height: 1.25;
	}
	
	.wp-theme-netscape main {
		padding: 1em;
	}
	
	.wp-theme-netscape footer,
	.wp-theme-netscape main,
	.wp-theme-netscape nav.theme-navigation,
	.wp-theme-netscape aside.sidebar {
		display: block;
		float: left;
		position: static;
		width: 88% !important;
		height: auto;
		overflow: visible;
		border: none !important;
		margin: 0;
	}
	
	.wp-theme-netscape #player {
		top: auto;
		bottom: 0;
	}
	
	.wp-theme-netscape .mobile-nav-open-button {
		display: block;
		padding: 0 1em;
		cursor: pointer;
		padding: 1em 0 0 1em;
	}
	
	.wp-theme-netscape nav.theme-navigation {
		height: 0;
		padding: 0 1em;
		overflow: hidden;
	}
	
	.wp-theme-netscape .logo-container {
		text-align: center;
	}
	
	.wp-theme-netscape .logo-container img {
		float: right;
		max-width: 50%;
	}
	
	.wp-theme-netscape .vimeo-iframe {
		width: 100%;
	}
	
	.wp-theme-netscape .hide-in-mobile {
		display: none;
	}
	
	.wp-theme-netscape .hide-in-mobile .separator:first-child {
		display: none;
	}
	
	.wp-theme-netscape h1 {
		text-align: center;
	}	
	
	.wp-theme-netscape img.gif-icon {
		margin: -6px 5px 0 -20px;
	}
	
	.wp-theme-netscape .related-post {
		width: 100%;
	}
	
	.wp-theme-netscape .related-post-img {
		height: 50vw;
	}
	
	.wp-theme-netscape .column {
		max-width: 100%;
	}
}

body.wp-theme-netscape {
  background-image: url('img/stars-background.gif');
  background-repeat: repeat;
  background-position: top left;
  background-attachment: scroll;
  font-family: Arial, sans-serif;
  color: #00ff00; /* neon green text */
}

.wp-theme-netscape a { 
 color: #cfb9ff; 
}
.wp-theme-netscape h1,h2,h3,h4,h5,h6 { 
	font-family: "Times New Roman", serif;
  color: #ff00ff;
  background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /*animation: rainbow 3s infinite linear;*/
}

@keyframes rainbow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}


/* Links: default blue/purple, but make them BLINK */
a {
  color: blue;
  text-decoration: underline;
  font-weight: bold;
}
a:visited {
  color: purple;
}

/*
.wp-theme-netscape h1 a,h2 a,h3 a,h4 a,h5 a,h6 a { color: #fda5d8; }
.wp-theme-netscape nav h2 a { 
 color: #dcff79; 
}
.wp-theme-netscape nav a,
.wp-theme-netscape .related-posts a { 
 color: #fda5d8; 
}
 */
.wp-theme-netscape .mobile-nav-open-button strong {
 color: #fda5d8; 
}
.wp-theme-netscape .mobile-nav-open-button:active strong {
 color: #dcff79; 
}			
.wp-theme-netscape pre.code { 
 color: #99ccff; 
}			
.wp-theme-netscape main {
 width: calc(100% - 500px);
}

.wp-theme-netscape aside.sidebar {
 border-left: 2px groove #000;
}

.wp-theme-netscape nav {
 border-right: 2px groove #000;
}

.wp-theme-netscape .separator {
 border-bottom: 2px groove #000;
}

img {
  border: 5px ridge lime;
  box-shadow: 0 0 20px magenta;
}

/* Marquee styling */
.marquee {
  font-size: 24px;
  color: yellow;
  padding: 5px;
  font-weight: bold;
}

.wrapper {
  display: flex;

}

.wrapper nav,
.wrapper aside {
  width: 250px;
  flex-shrink: 0;
  overflow-y: auto;
}

.wrapper main {
  flex: 1;
	width: auto;
}

@media (max-width: 768px) {
  .wrapper nav,
  .wrapper aside {
    display: none;
  }
}


.posts-header {
	font-family: "Times New Roman", serif;
	font-size: 28px;
  color: yellow;
  padding: 5px;
  font-weight: bold;
	display: inline;
}

.gif-normal {
	width: 28px;
	border: none;
	box-shadow: none;
}

.comments-link, .edit-link {
	margin-left: 1rem;
}



