@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+P+One&family=Monomaniac+One&family=Tangerine:wght@400;700');

:root {
  color-scheme: light dark;
  --font-family: "Mochiy Pop P One", Tahoma, Verdana, sans-serif;
  --font-size: 3vmin;
}
@media screen and (max-width: 640px) {
  :root {
    --font-size: 4.5vmin;
  }
}

* {
  font-family: var(--font-family);
  font-size: var(--font-size);
  background-color: transparent;
}

a { text-decoration: none; }

/* Theme color */
:root[data-theme="dark"] {
  --border-color: #ddd;
  a:link { color: rgb(188, 188, 255); }
  a:visited { color: rgba(250, 195, 195, 0.5); }
  a:hover { color: rgb(134, 134, 250); }
}
:root[data-theme="light"] {
  --border-color: #333;
  background-color: #ccc;
  a:link { color: rgb(55, 55, 255); }
  a:visited { color: rgba(10, 10, 10, 0.5); }
  a:hover {
    filter: blur(1px) contrast(200%) brightness(25%);
  }
}

/* Theme color */
:root[data-theme="dark"] {
  *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #444;
    border-radius: 3px;
  }

  *::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
  }
}
:root[data-theme="light"] {
  *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 3px;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 3px;
  }
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: auto;
}

#app {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.container {
  text-align: center;
  max-width: 100%;
}

.inner-section {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

section {
  margin: 0 auto;
  overflow-x: auto;
}

.area {
  margin: 0 1rem;
}

.clock {
  max-width: 7em;
}

.smoke #app {
  opacity: 0.6;
}

.title {
  font-size: 1.8em;
  letter-spacing: 0.1em;
}
.title.little {
  scale: 0.8;
}
.title span {
  margin: 0 0.5em;
}

.m-b-md {
  letter-spacing: 0.1em;
}

.link-area {
  margin: 0.5em 2em;
  max-width: 30em;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.8em;
}

.links a {
  margin: 0.3em 0;
  text-decoration: none;
  font-size: 0.8em;
  letter-spacing: 0.1em;
}
.links a + a {
  margin-left: 0.8em;
}

.ib {
  display: inline-block;
}
.ib.small {
  cursor: default;
}

small, small > * {
  font-size: 0.8em;
}

.small {
  scale: 0.9;
  color: rgb(from currentColor r g b / 0.7);
}

.small:hover {
  display: inline-block;
  color: inherit;
}

.fit {
  text-fit: shrink;
}

button {
  background: initial;
  border: 0;
}

button:enabled {
  cursor: pointer;
}

.button {
  padding: 0.2em 0.5em;
  margin: 0.2em;
}

.muted {
  opacity: 0.6;
}

canvas.graph {
  margin: 0.4em 0 0 0;
  padding: 0;
  min-width: 10%;
  max-width: 26em;
  height: 1.5em;
}