@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap");
:root {
  --lp: #ffcdd2;
  --lr: #f87680;
  --lm: #e92832;
  --li: #9a191c;
  --lt: #531313;
  --rt: #09243d;
  --ri: #125490;
  --rm: #1786e7;
  --rr: #67b3f3;
  --rp: #BBDEFB;
}

* {
  box-sizing: border-box;
  font-family: "Roboto Mono";
}

.mousemenu {
  color: #ccc;
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 0.25rem;
  z-index: 999;
  display: grid;
}
.mousemenu .top {
  display: grid;
  align-items: center;
  grid-auto-flow: column;
}
.mousemenu box {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 1rem;
  border-radius: 0.25rem;
}

body {
  background: #1e1e1e;
  display: grid;
  justify-content: center;
  height: 100vh;
  padding: 0;
  margin: 0;
}

.content {
  display: grid;
  align-content: center;
  padding: 4rem 0;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto;
  margin-bottom: 2rem;
}
.nav .title {
  color: #aaa;
  width: min-content;
}
.nav .title .top {
  font-size: 3rem;
  line-height: 3rem;
}
.nav .title .bottom {
  font-size: 1rem;
  color: #555;
  text-align: right;
}
.nav .buttons {
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
  align-content: center;
}
.nav .buttons .button {
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  transition: 0.25s background, 0.25s color;
  user-select: none;
  cursor: pointer;
}
.nav .buttons .button .icon {
  color: #555;
}
.nav .buttons .button .text {
  color: #aaa;
}
.nav .buttons .button:hover {
  background: rgba(0, 0, 0, 0.25);
  color: #ccc;
  cursor: pointer;
}

.tips {
  text-align: center;
  margin-top: 2rem;
  color: #444;
}

.fingerbuttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
  gap: 2rem;
}
.fingerbuttons .title {
  color: #aaa;
  margin-bottom: 1rem;
  text-align: center;
}
.fingerbuttons .left, .fingerbuttons .right {
  background: #222;
  border-radius: 0.25rem;
  padding: 2rem;
}
.fingerbuttons .buttons {
  display: grid;
  grid-auto-flow: column;
  gap: 2rem;
  justify-items: center;
}
.fingerbuttons .buttons .button {
  background: #333;
  color: transparent;
  display: grid;
  justify-content: center;
  align-content: center;
  font-size: 2.5rem;
  border-radius: 0.5rem;
  text-align: center;
  padding: 1rem;
  height: min-content;
  cursor: pointer;
  transition: 0.125s background, 0.125s color;
  user-select: none;
  height: 5rem;
  width: 5rem;
}
.fingerbuttons .buttons .button.active {
  color: rgba(0, 0, 0, 0.75);
}
.fingerbuttons .buttons .button:hover {
  color: rgba(0, 0, 0, 0.25);
}
.fingerbuttons .buttons .button:hover.active {
  color: rgba(0, 0, 0, 0.75);
}
.fingerbuttons .buttons .button.li, .fingerbuttons .buttons .button.lr, .fingerbuttons .buttons .button.ri, .fingerbuttons .buttons .button.rr {
  margin-top: 0.5rem;
}
.fingerbuttons .buttons .button.lp, .fingerbuttons .buttons .button.rp {
  margin-top: 1.5rem;
}
.fingerbuttons .buttons .button.lt, .fingerbuttons .buttons .button.rt {
  margin-top: 4rem;
}
.fingerbuttons .buttons .button:hover {
  background: #444;
  cursor: pointer;
}

keyboard {
  background: #222;
  display: grid;
  width: 100%;
  justify-content: center;
  border-radius: 0.25rem;
  padding: 1rem;
  gap: 0.5rem;
}
keyboard row {
  display: grid;
  grid-auto-flow: column;
  width: min-content;
  gap: 0.5rem;
  justify-content: space-between;
  width: 100%;
}
keyboard row key {
  position: relative;
  border-radius: 0.5rem;
  font-size: 1rem;
  width: 5rem;
  height: 5rem;
  background: #333;
  color: #111;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: 0.25s background;
  cursor: pointer;
  user-select: none;
}
keyboard row key[fontSize="2"] {
  font-size: 1.25rem;
}
keyboard row key[size="1.25"] {
  width: 6.25rem;
}
keyboard row key[size="1.5"] {
  width: 7.5rem;
}
keyboard row key[size="1.75"] {
  width: 8.75rem;
}
keyboard row key[size="2"] {
  width: 10rem;
}
keyboard row key[size="2.1"] {
  width: 10.5rem;
}
keyboard row key[size="2.25"] {
  width: 11.25rem;
}
keyboard row key[size="2.5"] {
  width: 12.5rem;
}
keyboard row key[size="2.75"] {
  width: 14.75rem;
}
keyboard row key[size="6.25"] {
  width: 31.25rem;
}
keyboard row key[size="6.5"] {
  width: 33.5rem;
}
keyboard row key[size="4"] {
  width: 22rem;
}
keyboard row key[size="5"] {
  width: 27rem;
}
keyboard row key[homing=yes]::after {
  content: "";
  position: absolute;
  background: #222;
  height: 0.25rem;
  top: 4rem;
  left: 1.5rem;
  width: 2rem;
  border-radius: 0.25rem;
}
keyboard row key:hover {
  background: #444;
}

.screenshotBottom {
  color: #aaa;
  display: grid;
  grid-template-columns: auto 1fr;
  margin-top: 1rem;
  gap: 1rem;
  align-items: center;
}
.screenshotBottom .fingers {
  display: grid;
  grid-auto-flow: column;
  gap: 1rem;
}
.screenshotBottom .fingers .finger {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: 0.5rem;
}
.screenshotBottom .fingers .finger .box {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
}
.screenshotBottom .fingers .finger .text {
  font-size: 0.75rem;
}
.screenshotBottom .url {
  text-align: right;
}

#notificationCenter {
  width: 350px;
  z-index: 99999999;
  display: grid;
  gap: 1rem;
  position: fixed;
  right: 1rem;
  top: 1rem;
}
#notificationCenter .history {
  display: grid;
  gap: 1rem;
}
#notificationCenter .notif {
  user-select: none;
  position: relative;
  background: #333;
  color: #ccc;
  display: grid;
  grid-template-columns: min-content auto min-content;
  border-radius: 0.5rem;
  border-width: 0.25rem;
}
#notificationCenter .notif .icon {
  color: #ccc;
  opacity: 0.5;
  padding: 1rem 1rem;
  align-items: center;
  display: grid;
  font-size: 1.25rem;
}
#notificationCenter .notif .message {
  padding: 1rem 1rem 1rem 0;
}
#notificationCenter .notif .message .title {
  color: #ccc;
  font-size: 0.75em;
  opacity: 0.5;
  line-height: 0.75rem;
}
#notificationCenter .notif.good {
  background-color: #388E3C;
}
#notificationCenter .notif.bad {
  background-color: var(--li);
}
#notificationCenter .notif:hover {
  cursor: pointer;
}
#notificationCenter .notif:hover::after {
  opacity: 1;
}
#notificationCenter .notif::after {
  transition: 0.125s;
  font-family: "Font Awesome 5 Free";
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  font-weight: 900;
  content: "\f00d";
  position: absolute;
  width: 100%;
  height: 100%;
  color: var(--bg-color);
  font-size: 2.5rem;
  display: grid;
  /* align-self: center; */
  align-items: center;
  text-align: center;
  border-radius: 0.5rem;
}

.lp {
  background: var(--lp) !important;
}

.lr {
  background: var(--lr) !important;
}

.lm {
  background: var(--lm) !important;
}

.li {
  background: var(--li) !important;
}

.lt {
  background: var(--lt) !important;
}

.rp {
  background: var(--rp) !important;
}

.rr {
  background: var(--rr) !important;
}

.rm {
  background: var(--rm) !important;
}

.ri {
  background: var(--ri) !important;
}

.rt {
  background: var(--rt) !important;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}