/* Atom-ng Style Sheet */
:root,
/* Set colours */
:root.light {
    --bgcolor: #343233;
    --invert: #ffffff;
    --fontcolor: #efdab9;
    --linkcolor: #1be1be;
    --visitedcolor: #ae5ee0;
    --preformatted: #ffffff;
    --accent-bg: #2b2b2b;
    --accent-fg: #aecbfa;
    --border: #ffffff;
    --buttonborder: #dcdcdc;
    --construction: #fbbc04;
    --code: #fbbc04;
    --shadow: #472474;
    --shadow2: #ffffff;
    --link: #90ee90;
    --imgshadow: #ffffff;
    --coc: #000000;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bgcolor: #343233;
    --invert: #ffffff;
    --fontcolor: #efdab9;
    --linkcolor: #1be1be;
    --visitedcolor: #ae5ee0;
    --preformatted: #ffffff;
    --accent-bg: #2b2b2b;
    --accent-fg: #aecbfa;
    --border: #ffffff;
    --buttonborder: #dcdcdc;
    --construction: #fbbc04;
    --code: #fbbc04;
    --shadow: #472474;
    --shadow2: #ffffff;
    --link: #90ee90;
    --imgshadow: #ffffff;
    --coc: #000000;
  }
}
:root.dark {
  --bgcolor: #343233;
  --invert: #ffffff;
  --fontcolor: #efdab9;
  --linkcolor: #1be1be;
  --visitedcolor: #ae5ee0;
  --preformatted: #ffffff;
  --accent-bg: #2b2b2b;
  --accent-fg: #aecbfa;
  --border: #ffffff;
  --buttonborder: #dcdcdc;
  --construction: #fbbc04;
  --code: #fbbc04;
  --shadow: #472474;
  --shadow2: #ffffff;
  --link: #90ee90;
  --imgshadow: #ffffff;
  --coc: #000000;
}
/* Prefer border-box */
* {
    box-sizing: border-box;
}
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
/* General body settings */
body {
  margin: 0.5em auto;
  border: 1px solid var(--border);
  max-width: 46em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  padding: 1rem;
  color: var(--fontcolor);
  background-color: var(--bgcolor);
}
/* Clear floats after image containers */
.row {
  float: center;
}
.row::after {
  content: "";
  clear: both;
  display: block;
}
/* Two image containers (use 25% for four, and 50% for two, etc) */
.column {
  float: right;
  width: 1200em;
  min-width: 40em;
  max-width: 49%;
  padding: 4px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Image autoconfig */
img {
  max-width: 100%;
  height: auto;
}
div.gallery {
  margin: 2px;
  width: 200px;
  height: auto;
}
img.gallery {
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
  width: 200px;
  height: auto;
}
img.gallery:hover {
  border: 1px solid #1967d2;
  filter: drop-shadow(1px 1px 1px #1967d2);
}
div.gallery img {
  width: 100%;
  height: auto;
}
div.gallery2 {
  margin: 4px;
  width: 50%;
  height: auto;
}
img.gallery2 {
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
  width: 50%;
  height: auto;
}
img.gallery2:hover {
  border: 1px solid #1967d2;
  filter: drop-shadow(1px 1px 1px #1967d2);
}
div.gallery2 img {
  width: 100%;
  height: auto;
}
div.gallery3 {
  margin: 4px;
  width: 50%;
  height: auto;
}
.center {
  max-width: 100%;
  height: auto;
}
/* Image effects */
img.spin {
  transition: all .6s;
}
svg.spin {
  transition: all .6s;
}
img.spin2 {
  transition: all .6s;
}
svg.spin2 {
  transition: all .6s;
}
/* Image effects */
img.invert:hover {
  animation: invert 4.0s;
  animation-iteration-count: infinite;
}
img.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
img.coc {
  filter: drop-shadow(1px 1px 2px var(--coc));
}
img.shadow {
  filter: drop-shadow(1px 1px 2px var(--imgshadow));
}
svg.shadow {
  filter: drop-shadow(1px 1px 2px var(--invert));
}
img.shadow2 {
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
}
img.thor90 {
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
}
img.thoros {
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
}
.comic {
  min-width: 40em;
  max-width: 1200em;
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
}
.thoros:hover {
  animation: jig 1.0s;
  animation-iteration-count: infinite;
}
img.fly {
  margin-top: -16px;
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
}
img.crbook {
  margin-top: 12px;
}
img.fav {
  margin-bottom: -3px;
}
svg.fav {
  margin-bottom: -3px;
}
img.fav2 {
  margin-bottom: -8px;
}
img.fav3 {
  margin-bottom: -9px;
}
.fly:hover {
  animation: fly 1.0s;
  animation-iteration-count: infinite;
}
.thor90:hover {
  animation: jig 0.4s;
  animation-iteration-count: infinite;
}
img.bubbles:hover {
  animation: shake 4.0s;
  animation-iteration-count: infinite;
}
img.bubbles2 {
  display: flex;
  float: right;
  margin-top: -32px;
  margin-right: 24px;
  position: relative;
}
img.bubbles2:hover {
  animation: shake 4.0s;
  animation-iteration-count: infinite;
}
/* Animations */
@keyframes shake {
  0% { transform: translate(3px, 2px) rotate(0deg); }
  10% { transform: translate(-3px, -2px) rotate(-3deg); }
  20% { transform: translate(6px, 4px) rotate(1deg); }
  30% { transform: translate(-6px, -4px) rotate(0deg); }
  40% { transform: translate(-6px, 6px) rotate(-4deg); }
  50% { transform: translate(8px, -3px) rotate(-2deg); }
  60% { transform: translate(-4px, 2px) rotate(0deg); }
  70% { transform: translate(3px, 6px) rotate(-1deg); }
  80% { transform: translate(3px, 4px) rotate(-4deg); }
  90% { transform: translate(3px, -5px) rotate(6deg); }
  100% { transform: translate(3px, 2px) rotate(0deg); }
}
@keyframes invert {
  0% { filter: invert(0%); }
  1% { filter: invert(0%); }
  2% { filter: invert(2%); }
  3% { filter: invert(2%); }
  5% { filter: invert(10%); }
  10% { filter: invert(20%); }
  15% { filter: invert(30%); }
  20% { filter: invert(40%); }
  25% { filter: invert(50%); }
  30% { filter: invert(60%); }
  35% { filter: invert(70%); }
  40% { filter: invert(80%); }
  45% { filter: invert(90%); }
  50% { filter: invert(100%); }
  55% { filter: invert(90%); }
  60% { filter: invert(80%); }
  65% { filter: invert(70%); }
  70% { filter: invert(60%); }
  75% { filter: invert(50%); }
  80% { filter: invert(40%); }
  85% { filter: invert(30%); }
  90% { filter: invert(20%); }
  95% { filter: invert(10%); }
  100% { filter: invert(1%); }
}
@keyframes jig {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-0.5deg); }
  20% { transform: rotate(-1.0deg); }
  30% { transform: rotate(-1.5deg); }
  40% { transform: rotate(-2.0deg); }
  50% { transform: rotate(0deg); }
  60% { transform: rotate(0.5deg); }
  70% { transform: rotate(1.0deg); }
  80% { transform: rotate(1.5deg); }
  90% { transform: rotate(2.0deg); }
  100% { transform: rotate(0deg); }
}
@keyframes fly {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(2px, -2px) rotate(-1deg); }
  20% { transform: translate(4px, -4px) rotate(-2deg); }
  30% { transform: translate(6px, -6px) rotate(1deg); }
  40% { transform: translate(8px, -8px) rotate(2deg); }
  50% { transform: translate(8px, -8px) rotate(-1deg); }
  60% { transform: translate(6px, -6px) rotate(-2deg); }
  70% { transform: translate(4px, -4px) rotate(1deg); }
  80% { transform: translate(3px, -3px) rotate(2deg); }
  90% { transform: translate(2px, -2px) rotate(-1deg); }
  100% { transform: translate(1px, -1px) rotate(0deg); }
}
/* Adjust top horiz separator */
hr.line {
  width: 100%;
  border: 1px solid var(--fontcolor);
}
hr.smallline {
  width: 100%;
  border: 1px solid var(--fontcolor);
}
/* Style headings */
h1 {
  text-shadow: 1px 1px 1px var(--shadow);
}
h1.title {
  margin-top: 12px;
  margin-bottom: 12px;
}
b {
  text-shadow: 1px 1px 1px var(--shadow);
}
/* Put box around intro/description */
p.intro {
  box-shadow: 1px 1px 2px 0px var(--border);
  padding-left: 16px;
  padding-right: 4px;
  padding-top: 6px;
  padding-bottom: 6px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-weight: 600;
  text-shadow: 1px 1px 1px var(--shadow);
}
#intro a:link {
  color: #ae5ee0;
}
#intro b.link {
  color: #ae5ee0;
}
#intro li.link {
  color: #90ee90;
  font-weight: 600;
}
#intro a:visited,a:active {
  color: #1be1be;
}
p.intro2 {
  background: #24292f;
  box-shadow: 1px 1px 2px 0px var(--border);
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-weight: 600;
  text-shadow: 1px 1px 1px var(--shadow);
}
p.p2 {
  padding-left: 16px;
  padding-right: 10px;
  padding-top: 4px;
  padding-bottom: 12px;
  max-width: 100%;
  overflow: auto;
  color: var(--preformatted);
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--border);
  border-right: 2px solid var(--border);
  border-radius: 5px;
  text-shadow: 1px 1px 1px var(--shadow);
}
p.coc {
  margin-top: 8px;
  margin-bottom: 8px;
}
h1.coc {
  margin-top: 16px;
  margin-bottom: 0px;
}
h2.coc {
  margin-top: 12px;
  margin-bottom: 14px;
}
div.p2 {
  border: 1px solid #ffffff;
  padding-left: 14px;
  padding-right: 12px;
}
div.p3 {
  border: 1px solid var(--invert);
  padding-left: 14px;
  padding-right: 12px;
}
/* Set link colours */
a:link {
  color: var(--linkcolor);
}
b.link {
  color: var(--linkcolor);
}
li.link {
  color: var(--link);
  font-weight: 600;
}
a:visited,a:active {
  color: var(--visitedcolor);
}
/* Set under construction text colours */
.construction {
  color: var(--construction);
}
code {
  color: var(--code);
  font-weight: bold;
  font-size: 1.1em;
}
/* Adjust thorium_bubbles.svg */
.d-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
/* Adjust flying_browser.png */
.d-flex2 {
  display: flex;
  float: right;
}
.d-flex3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.indented {
  margin-left: 28px;
}

.indented label {
  display: block;
}
/* Codeblock Styles */
pre {
  padding: 1rem 1.5rem;
  max-width: 100%;
  overflow: auto;
  color: var(--preformatted);
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--border);
  border-right: 2px solid var(--border);
  border-radius: 5px;
  font-weight: 600;
  text-shadow: 1px 1px 1px var(--shadow);
}
/* Rounded Dark/Light Mode Button */
button {
  font-family: inherit;
  box-shadow: 1px 1px 1px 0px var(--buttonborder);
  border: 1px solid var(--border);
  border-radius: 5px;
  background-color: #828282;
  color: #ffffff;
}
button:hover {
  background-color: #999999;
}
button:active {
  box-shadow: 1px 1px 1px 0px #222222 inset;
  background-color: #888888;
}
.checkbox {
  font-family: inherit;
  outline: 1px solid #000000;
}
#totop {
  display: block;
  position: fixed;
  bottom: 0;
  right: 0;
  margin-right: 0.50em;
  filter: drop-shadow(1px 1px 2px var(--buttonborder));
}
#totop a:link {
  font-size: 2.5em;
  text-decoration: none;
  color: #551a8b;
}
#totop a:visited {
  font-size: 2.5em;
  text-decoration: none;
  color: #551a8b;
}
#totop a:hover {
  font-size: 2.5em;
  text-decoration: none;
  color: #0000ee;
}
#totop a:active {
  font-size: 2.5em;
  text-decoration: none;
  color: #134d9d;
}
/* Scrolling settings */
html {
  overflow-x: scroll;
  overflow-y: scroll;
}
body {
  overflow-x: scroll;
  overflow-y: scroll;
}
/* Width & Height */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
/* Track */
body::-webkit-scrollbar-track {
  background-color: transparent;
}
/* Track Piece */
body::-webkit-scrollbar-track-piece {
  background-color: transparent;
  -webkit-border-radius: 5px;
}
/* Corner */
body::-webkit-scrollbar-corner {
  background-color: transparent;
}
/* Handle */
body::-webkit-scrollbar-thumb { 
  height: auto;
  background-color: #24292f; 
  -webkit-border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 1.0);
}
/* Handle on Hover */
body::-webkit-scrollbar-thumb:hover {
  height: auto;
  background-color: #404040;
  -webkit-border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 1.0);
}
/* Media */
audio.sound {
  border: 1px solid var(--border);
  max-width: 50%;
  border-radius: 28px;
  display: flex;
  float: right;
  box-shadow: 1px 1px 1px 0px var(--border);
}
video.video {
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 3px var(--imgshadow));
  max-width: 100%;
  display: flex;
  margin-top: 6px;
}
iframe.inlineiframe {
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 3px var(--imgshadow));
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 6px;
}
.video2 {
  border: 1px solid var(--border);
  filter: drop-shadow(1px 1px 3px var(--imgshadow));
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 6px;
}
.off {
  object-fit: cover;
}
audio::-webkit-media-controls {
  background-color: var(--accent-fg);
}
audio::-webkit-media-controls-panel {
  background-color: var(--accent-bg);
}
audio::-webkit-media-controls-play-button {
  color: var(--fontcolor);
  border-radius: 50%;
  margin-left: 1px;
  margin-right: 1px
}
audio::-webkit-media-controls-play-button:hover {
  background-color: var(--accent-fg);
}
audio::-webkit-media-controls-mute-button {
  color: var(--fontcolor);
  border-radius: 50%;
  margin-left: 1px;
  margin-right: 1px
}
audio::-webkit-media-controls-mute-button:hover {
  background-color: var(--accent-fg);
}
audio::-webkit-media-controls-volume-slider {
  background-color: var(--accent-fg);
  color: var(--fontcolor);
  border-radius: 28px;
  padding-left: 8px;
  padding-right: 8px;
}
audio::-webkit-media-controls-current-time-display {
  color: var(--fontcolor);
}
audio::-webkit-media-controls-current-time-display:hover {
  color: var(--accent-fg);
}
audio::-webkit-media-controls-time-remaining-display {
  color: var(--fontcolor);
}
audio::-webkit-media-controls-time-remaining-display:hover {
  color: var(--accent-fg);
}
audio::-webkit-media-controls-timeline {
  border-radius: 28px;
  color: var(--fontcolor);
  margin-left: 6px;
  margin-right: -12px
}
audio::-webkit-media-controls-timeline:hover {
  background-color: var(--accent-fg);
}
audio::-webkit-media-controls-timeline-container {
  color: var(--fontcolor);
}
/* Add WebGL Canvas Element */
canvas.glcube {
  border: 1px solid var(--border);
  max-width: 100%;
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
}
/* Add three.js Canvas Element */
canvas.shards {
  border: 1px solid #FFFFFF;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
div.shards {
  margin-top: -8px;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
p.p3 {
  margin-top: 8px;
  margin-bottom: 8px;
}
/* Add Canvas2D Element */
canvas.shadowcubes {
  border: 1px solid var(--border);
  max-width: 100%;
  filter: drop-shadow(1px 1px 1px var(--imgshadow));
}
canvas {
  margin-top: 6px;
  margin-bottom: 6px;
}
canvas.canvas2 {
  margin-top: 6px;
  margin-bottom: 6px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* roboto-regular - latin */
@font-face {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
