@import url("./action_man_font.css");
/* Basic HTML reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background-color: #cb2222;
  color: #000000;
  -webkit-text-fill-color: #000000;
}

::-moz-selection {
  background-color: #cb2222;
  color: #000000;
  -webkit-text-fill-color: #000000;
}

::-webkit-selection {
  background-color: #cb2222;
  color: #000000;
  -webkit-text-fill-color: #000000;
}

*::-webkit-scrollbar {
  width: 8px;
  background: #222;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #333 40%, #444 100%);
  border-radius: 6px;
  border: 2px solid #222;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #444 40%, #666 100%);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[instructions] {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #0761d7d6;
  display: grid;
  place-items: center;
}

[instructions] * {
  font-family: "Action Man", "Comic Sans MS", "Comic Sans", cursive, sans-serif;
}

[instructions] [info_wrap] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-height: 600px) {
  [instructions] [info_wrap] {
      zoom: 0.5;
  }
}

[instructions] [content] {
  height: calc(100% - 40px);
}

[instructions] [tabs] {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: -1.5rem;
}

[instructions] [content] [tabs] button {
  background: none;
  border: 1px solid #000;
  border-bottom: none;
  padding: 5px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  cursor: pointer;
  font-size: 22px;
  position: relative;
  width: 100px;
  color: black;
}

[instructions] [info] {
  background: #b9edfd;
  width: 300px;
  height: 500px;
  border-radius: 8px;
  border: 2px solid #10548d;
}

[instructions] [info][tab=info] [info_tab] {
  pointer-events: none;
}

[instructions] [info][tab=info] [user_tab] {
  opacity: 0.3;
}

[instructions] [info][tab=user] [user_tab] {
  pointer-events: none;
}

[instructions] [info][tab=user] [info_tab] {
  opacity: 0.3;
}

[instructions] [demo] {
  width: 300px;
  height: 500px;
  background: #03115b26;
  border-radius: 8px;
}

[instructions] [draw] {
  border: 1px solid black;
  border-radius: 4px;
  background-color: white;
  /* cursor: none; */
}

[instructions] [draw_wrap] {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  position: relative;
  border-top: 1px solid black;
}

[instructions] [draw_ui] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

[instructions] [logo] svg {
  overflow: visible;
}

[instructions] [logo] svg * {
  font-family: "Action Man";
  font-weight: 700;
  font-size: 1.4px;
}

[instructions] [logo] path {
  fill: transparent;
}

[instructions] [logo] textPath {
  --text-line: #6000ff;
  fill: #60ff07;
  text-shadow: -2px 0px 0px var(--text-line),
      2px 0px 0px var(--text-line),
      0px -2px 0px var(--text-line),
      -2px 3px 0px var(--text-line),
      -2px 6px 0px var(--text-line);
}

[instructions] [draw_ui_color] {
  display: block;
  width: 100%;
}

[instructions] [draw_ui_pen] {
  font-size: 18px;
  font-weight: bold;
  padding: 5px;
}

[instructions] [info][tab=info] [draw_wrap] {
  display: none;
}

[instructions] [info][tab=user] [how_to] {
  display: none;
}

[instructions] [how_to] {
  border-top: 1px solid black;
  padding: 1rem;
  color: #000;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

[instructions] [draw_btn],
[instructions] [how_to_btn] {
  display: block;
  width: 100%;
  background: #fff679;
  border: 2px solid #e5602f;
  border-radius: 4px;
  padding: 0.25rem;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  color: #e5602f;
  line-height: 1;
  cursor: pointer;
}

[instructions] [draw_btns] {
  padding-top: .5rem;
  display: flex;
  gap: 1rem;
}

[instructions] [use_touch] {
  display: flex;
  border: 2px solid #09094d33;
  border-radius: 12px;
  padding: .2rem .8rem;
  background: #7272eb44;
  margin: 0;
  cursor: pointer;
  gap: .5rem;
  align-items: center;
  transition: background 200ms ease-out;
}

[instructions] [use_touch] span {
  flex: 1;
  user-select: none;
}

[instructions] [use_touch]:before {
  content: "";
  color: white;
  font-size: 30px;
  line-height: 0.65;
  display: block;
  border: 1px solid black;
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
  border-radius: 4px;
  user-select: none;
}

[instructions] [use_touch_input] {
  display: none;
}

[instructions] [use_touch_input]:checked+[use_touch]{
  background-color: #72eb9844;
}

[instructions] [use_touch_input]:checked + [use_touch]:before {
  background-color: black;
  content: "+";
}