html {
  --background: #C9B4D2;
  --header: #C8ABD9;
  --text: #000;
  --primary: #da99e3;
  --secondary: #8200DB;
  --accent: #cb5b69;
  --font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html.dark {
  --background: #130021;
  --header: #2D1242;
  --text: #f1def6;
  --primary: #da99e3;
  --secondary: #8c2129;
  --accent: #cb5b69;
  --font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.header > p {
  margin: 0;
}

:root {
  color: var(--text) !important;
}

.header {
  display: flex;
  justify-content: space-between;
  background-color: var(--header);
  padding: 16px 32px 16px 32px;
  font-size: 1.75rem;
}

.header>div {
  display: flex;
  flex-direction: row;
}

a {
  transition: all 0.5s;
  color: var(--header-link-base);
  text-decoration: underline dotted;
}

.header>*>a:hover {
  text-decoration: underline !important;
  color: var(--primary) !important;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.content > .footer {
  position: fixed;
  bottom: 10px;
}

.secondary:hover {
  color: var(--secondary) !important;
}

p.secondary {
  cursor: pointer;
  text-decoration: underline dotted;
}

#cat-image {
  width: calc(25%);
  height: auto;
  border-radius: 1.5rem;
  margin-top: auto;
}

.center {
  margin-top: auto;
  background-color: var(--header);
  border-radius: 1.5rem;
  border-color: rgb(from var(--primary) calc(r * 0.3) calc(g * 0.3) calc(b * 0.3));
  border-width: 2px;
  border-style: solid;
  padding: 12px;
  max-width: 50%;
}

.button-design, .mod-button {
  padding: 10px 0px;
  border-radius: 0.5rem;
  border: 2px solid rgb(from var(--primary) calc(r * 0.5) calc(g * 0.5) calc(b * 0.5));
  background-color: var(--primary);
  color: white;
  font-family: monospace;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  width: 100rem;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
}

body {
  user-select: none;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100vh !important;
}

.content {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-color: #202020;

    font-family: monospace;
    font-weight: bold;
    font-size: 1rem;
    color: white;

    overflow-x: hidden;

    background-image:url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' height='100px' width='100px'>\
      <text x='0' y='19' opacity='20%' font-size='20'>🐈</text>\
      <text x='50' y='19' opacity='20%' font-size='20'>🥺</text>\
      <text x='50' y='69' opacity='20%' font-size='20'>🐈</text>\
      <text x='0' y='69' opacity='20%' font-size='20'>🥺</text>\
    </svg>");
    animation: background-slide 2s linear 0s infinite;
}

@keyframes background-slide {
  from {
    background-position: 0 29px;
  }

  to {
    background-position: 100px 129px;
  }
}

.heading {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bolder;
}

.container {
    display: grid;

    grid-template-rows: 4rem max-content;

    gap: 2rem;
    width: min(50%, 500px);
    aspect-ratio: 16/9;
}

.container > div {
    background-color: #303030;

    padding: 1rem;
    border-radius: 1rem;
}

.icon-input > svg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    aspect-ratio: 1/1;
}

.required {
    color: #EF5552;
}

.stats {
  background-color: #202020;
  padding: 2px 5px;
  user-select: text;
}
