/* Adapted from MVP.css v1.13 - https://github.com/andybrewer/mvp */
/*
Licenses for TwemojiMozilla.ttf: https://github.com/mozilla/twemoji-colr/blob/master/LICENSE.md#license-for-the-visual-design
Derived from: https://twemoji.twitter.com/
Source: https://xem.github.io/unicode13/emoji.html 
*/

@font-face {
  font-family: "Twemoji from xem.github.io";
  src: url("https://static.classicmacdemos.com/fonts/Twemoji.ttf") format("truetype");
  unicode-range: U+00A9-E007F;
  /* @see https://github.com/mozilla/twemoji-colr/issues/56 */
}

/* FindersKeepers by Giles Booth / license : Creative Commons Attribution
https://www.pentacom.jp/pentacom/bitfontmaker2/gallery/?id=3809 */
@font-face {
    font-family: "FindersKeepers";
    src: url("https://static.classicmacdemos.com/fonts/FindersKeepers.ttf") format("truetype");    
}

:root {
    --active-brightness: 0.85;
    --border-radius: 3px;
    --box-shadow: 2px 2px 10px;
    --box-shadow-tiny: 2px 2px 4px;
    --color-accent: #ddd;
    --color-bg: #fff;
    --color-bg-secondary: #e9e9e9;
    --color-link: blue;
    --color-secondary: #920de9;
    --color-secondary-accent: #920de90b;
    --color-shadow: #bbb;
    --color-table: #bbb;
    --color-button: #ddd;
    --color-borders: #000;
    --color-text: #000;
    --color-text-secondary: #999;
    --font-family: -apple-system, BlinkMacSystemFont, "Twemoji from xem.github.io", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --hover-brightness: 1.2;
    --justify-important: center;
    --justify-normal: left;
    --line-height: 1.2;
    --button-height: 1.0;
    --width-card: 285px;
    --width-card-tiny: 244px;
    --width-card-medium: 460px;
    --width-card-wide: 800px;
    --width-content: 1080px;
    --width-headers: 800px;
    --width-nav: 600px;
}

.text {
    font-family: "FindersKeepers";
    font-size: 18pt;
    line-height: 1.0;
    font-weight: normal;
    text-wrap: pretty;
}

.icons {
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
}

.icons img,
.icons span {
    padding: 0.1rem;
}

.text a,
.icons a {
    color: var(--color-text);
    text-decoration: none;
}

/* Sticky nav */
main {
    margin-top: 60px;
}
nav {
    position: fixed;
}

/* Layout */
body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-family);
    line-height: var(--line-height);
    margin: 0;
    overflow-x: hidden;
    padding: 0;
}

footer,
header {
    margin: 0 auto;
    max-width: var(--width-headers);
}

footer {
    margin-bottom: 10px;
}

section {
    display: flex;
    flex-wrap: wrap;
    justify-content: var(--justify-important);
}

article {
    width: 95%;
}

section img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

section aside {
    border: 1px solid var(--color-borders);
    border-radius: var(--border-radius);
    margin: 0.5rem;
    padding: 0.5rem;
    width: var(--width-card);
}

section aside.tiny {
    border: 1px solid var(--color-borders);
    border-radius: var(--border-radius);
    margin: 0.2rem;
    padding: 0.5rem;
    width: var(--width-card-tiny);
}

section aside h1 a,
section aside h2 a,
section aside h3 a,
section aside h4 a {
    font-weight: bold;
}

section aside h1,
section aside h2,
section aside h3,
section aside h4 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
}

[hidden] {
    display: none;
}

main {
    max-width: var(--width-content);
    margin-left: auto;
    margin-right: auto;
}

header,
footer {
    text-align: var(--justify-important);
}

header a b,
header a em,
header a i,
header a strong {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

section header {
    padding-top: 0;
    width: 100%;
}

ul {
    padding-left: 1rem;
}

.embed {
    border: 1px solid var(--color-borders);
    border-radius: var(--border-radius);
    margin: 0.5rem;
    padding: 0.5rem;
}

/* Nav */
nav {
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--color-accent);
    border-bottom: 1px solid;
    border-color: var(--color-borders);
    height: 50px;
    overflow: auto;
    z-index: 99;
}

.navbar {
    max-width: var(--width-nav);
    align-items: center;
    display: flex;
    font-weight: bold;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 5px;
    padding-left: 10px; 
    padding-right: 10px;
}

.sitename {display: block;}  
@media screen and (max-width: 600px) {
    .sitename {display: none;}    
}

details {
    margin: 1.3rem 0;
}

details summary {
    cursor: pointer;
}

p {
    width: 100%;
}

/* Links */
main a {
    color: var(--color-link);
    font-weight: normal;
    text-decoration: underline;
}

nav a {
    text-decoration: none;
    color: var(--color-text);
}

a:active {
    filter: brightness(var(--active-brightness));
}

a:hover {
    filter: brightness(var(--hover-brightness));
}

a b,
a i,
/* button, */
input[type="submit"] {
    border-radius: var(--border-radius);
    white-space: nowrap;
    display: inline-block;
    font-size: medium;
    font-weight: bold;
    line-height: var(--button-height);
    margin: 0.3rem 0;
    padding: 0.3rem 0.3rem;
}

a b,
input[type="submit"] {
    background-color: var(--color-button);
    border: 1px solid var(--color-borders);
    color: var(--color-text);
}

a em,
a i {
    border: 1px solid var(--color-borders);
    border-radius: var(--border-radius);
    color: var(--color-text);
    display: inline-block;
}

.wide {
    width: var(--width-card-medium);
}

.center {
    display: flex;
    justify-content: center;    
}

/* Slider */

.the-control,
.slider,
.background {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  text-align: left;
  width: 184px;
}

.slider,
.background {
  position: absolute;
}

.the-control {
    position: relative;
    top: -4px;
}

.button {
  position: relative;
  top: 5px;
  width: 184px;
  height: 32px;
  margin: 0 auto 0 auto;
  overflow: hidden;
  border-radius: 100px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.slider {
  z-index: 2;
}

.background {
  background-color: #bbb;
  transition: 0.3s ease all;
  z-index: 1;
}

.slider:before,
.slider:after,
.slider span {
  position: absolute;
  top: 2px; /* Vertical location of slider and text */
  width: 92px;
  height: 16px; /* Height of the slider */
  text-align: center;
  line-height: 1;
  padding: 6px 0px;
  border-radius: 100px;
  transition: 0.3s ease all;
}

.slider:before {
  content: ""; /* Text that moves with slider */
  left: 2px; /* Starting (left) position of slider */
  background-color: #ddd; /* Color of slider */
}

.slider:after {
  content: "Discs";
  right: 0px; /* Horizontal location of "Right" */
}

.slider span {
  color: #000; /* Color of "Left" when unselected */
  z-index: 1;
}

.checkbox:checked + .slider span {
  color: #000; /* Color of "Left" when unselected */
}

.checkbox:checked + .slider:before {
  left: 90px; /* Ending (right) position of slider */
}

.game-card {
    display:inline-block;
    width:240px;
    border: 1px solid var(--color-bg-secondary);
    border-radius: var(--border-radius);
    margin: 0.2rem;
    padding: 0.2rem;
}

.game-card a {
    text-decoration: none;
    color: var(--color-text);
}
.game-card:hover {
    border: 1px solid var(--color-borders);
}
.game-card img {
    float: left; 
    padding-right: 1.0rem;
}

.magazine-card {
    display:inline-block;
    width: var(--width-card-tiny);
    border: 1px solid var(--color-bg-secondary);
    margin: 0.2rem;
    text-align: center;
}

.magazine-card a {
    text-decoration: none;
    color: var(--color-text);
}
.magazine-card:hover {
    border: 1px solid var(--color-borders);
}
.magazine-card img {
    padding-top: 1.0rem;
}
.homebutton {
    text-align: center;
}

