/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

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

@font-face {
  font-family: CutiveMono;
  font-weight: normal;
  src: url("./CutiveMono-Regular.ttf");
}
button {
  letter-spacing: inherit;
  word-spacing: inherit;
}

button,
details > summary {
  cursor: pointer;
}

b,
strong {
  font-weight: bolder;
}

i,
em {
  font-style: italic;
}

:root {
  background-color: #000;
  color: #fff;
  color-scheme: dark;
  font-family: CutiveMono;
  font-size: 16px;
  font-weight: normal;
}

a {
  text-decoration: none;
  color: #f33;
  transition: opacity 0.1s ease-out;
}
a:hover, a:focus {
  opacity: 0.7;
}

::selection {
  background: #fff;
  color: #000;
}

* {
  box-sizing: border-box;
  image-rendering: pixelated;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 128, 128, 0.25) rgba(128, 128, 128, 0.1);
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-track {
  background: rgba(128, 128, 128, 0.1);
}
*::-webkit-scrollbar-thumb {
  background-color: rgba(128, 128, 128, 0.52);
  border-radius: 2px;
  border: 1px solid rgba(128, 128, 128, 0.1);
}
*::-webkit-scrollbar-corner {
  background: rgba(128, 128, 128, 0.1);
}

@keyframes progress {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 180vw;
  }
}
html,
body {
  margin: 0;
}

html {
  width: 100%;
}

body {
  min-width: 100%;
}

progress {
  position: relative;
  width: 90%;
  height: 2rem;
  margin: 5%;
  margin-top: 45vh;
  appearance: none;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
  border-radius: 0.5rem;
  border: none;
  overflow: hidden;
  appearance: none;
}
progress::-webkit-progress-bar {
  background-color: transparent;
}
progress::-webkit-progress-value, progress::-moz-progress-bar {
  background-color: #000;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 75%);
  background-size: 200% 100%;
  animation: progress 1s linear infinite;
}

progress + main {
  display: none;
}

noscript {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  height: 100svh;
  overflow: hidden;
}

#overlay,
#dither {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#dither {
  background-image: url("./dither.png");
  opacity: 0.5;
}
@media (resolution >= 2dppx) {
  #dither {
    image-rendering: auto;
  }
}

iframe {
  border: none;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  flex: auto;
}
iframe::selection {
  background: transparent;
}

.solitairota {
  background-color: black;
}

.sfx {
  display: none;
}