:root {
  --bg-img: url("/img/skynew.png");
  --box-bg: beige;
  --box-border: solid rgb(233, 181, 86) 0.15rem;
  --font: Noto Sans, Arial, sans-serif;
  --box-border-radius: 0.25rem;
  --a-col: rgb(0, 102, 204);
  --a-visited: #551a8b;
  --outline: none;
  --name-col: rgb(75, 201, 201);
  --name-shadow: 3px 3px 0px #262055;
  --font-col: black;
  --box-margin: auto;
  --box-padding: 1rem;
  --name-align: center;
  --quiz-dir: row;
  --listing-gap: 0.5rem;
  --smart-line-height: calc(1em + 0.5rem);
  --old-gif: none;
}

body {
  background-image: var(--bg-img);
  font-family: sans-serif;
}

.updates {
  max-height: 40rem;
}

.statuses {
  padding-top: 1rem;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin: var(--box-padding);
}

.unmade {
  color: rgb(207, 74, 74);
}

textarea {
  font-size: inherit;
  font-family: inherit;
}

/* 
.mdarea {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: stretch;
    gap: var(--listing-gap);
}
 */
.mdtext,
#copyhtml {
  width: 80vw;
  max-width: 40rem;
}

#html-output {
  display: none;
}

main {
  font-size: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 50rem; /* Look at me changing the max width again, fancy */
  background: var(--box-bg);
  padding: var(--box-padding);
  margin: var(--box-margin);
  border-radius: var(--box-border-radius);
  border: var(--box-border);
  font-family: var(--font);
  outline: var(--outline);
  color: var(--font-col);
}

.oldgif {
  max-width: 10rem;
  display: var(--old-gif);
}

/* smart lineheight*/
* {
  line-height: var(--smart-line-height);
}

/* good margin */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

img {
  align-self: auto;
}

/* so that they're not clickable elsewhere */
a {
  align-self: flex-start;
  color: var(--a-col);
}

a:visited {
  color: var(--a-visited);
}

.name {
  color: var(--name-col);
  -webkit-text-stroke-width: thin;
  text-align: var(--name-align);
  /*-webkit-text-stroke-color: rgb(71, 71, 71);*/
  text-shadow: var(--name-shadow);
}

.namelink {
  text-decoration-line: none;
}

.pixel {
  /* mmm crispy pixels */
  image-rendering: pixelated;
}

.stamps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

/* for freezeframe overlay*/
.ff-overlay {
  /* !important isn't good practice but it resets otherwise*/
  width: 2rem !important;
  filter: opacity(0.7);
}

.quiz {
  display: flex;
  flex-direction: var(--quiz-dir);
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
  gap: var(--listing-gap);
}

.memes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
}

.smallimg {
  max-width: 30rem;
}

.quizbox {
  background: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  max-width: 10rem;
}

pre {
  background: black;
  color: white;
  border-radius: 0.25rem;
  padding: 2rem;
}

select[data-choose-theme] {
  width: 10rem;
}

html[data-theme="oldweb"] {
  --bg-img: url(/img/starsa.gif);
  --font-col: white;
  --box-bg: none;
  --box-border: none;
  --font: serif;
  --a-col: #9393ff;
  --a-visited: violet;
  --name-col: rgb(147, 147, 255);
  --name-shadow: 0;
  --font-col: white;
  --box-margin: 0;
  --box-padding: 0;
  --name-align: 0;
  --quiz-dir: column;
  --listing-gap: 0;
  --smart-line-height: normal;
  --old-gif: block;
}

html[data-theme="pink"] {
  --bg-img: url(/img/pink.png);
  --box-bg: white;
  --box-border: thin dashed #a19e9e;
  --outline: 0.2rem solid white;
  --name-col: #e2a8db;
}

.date {
  padding-top: 1rem;
}

.extensions a:link {
  text-decoration: none;
}

ul {
  padding-left: 1rem;
}

#swatchClock * {
  color: initial;
  text-decoration: none;
}

#friday {
  display: none;
}

/* avoid jump from revealing content*/

.thoughts summary {
  font-weight: bold;
}
.thoughtspage {
  width: 40rem;
}
