:root {
  --ev-c-white: #ff00ff;
  --ev-c-white-soft: #ff00c0;
  --ev-c-white-mute: #c000ff;

  --ev-c-black: #400040;
  --ev-c-black-soft: #400030;
  --ev-c-black-mute: #300040;

  --ev-c-gray-1: #800080;
  --ev-c-gray-2: #800060;
  --ev-c-gray-3: #600080;

  --ev-c-text-1: rgba(255, 245, 255, 0.86);
  --ev-c-text-2: rgba(245, 235, 245, 0.6);
  --ev-c-text-3: rgba(235, 245, 235, 0.38);

  --ev-button-alt-border: transparent;
  --ev-button-alt-text: var(--ev-c-text-1);
  --ev-button-alt-bg: var(--ev-c-gray-3);
  --ev-button-alt-hover-border: transparent;
  --ev-button-alt-hover-text: var(--ev-c-text-1);
  --ev-button-alt-hover-bg: var(--ev-c-gray-2);
}

:root {
  --color-background: var(--ev-c-black);
  --color-background-soft: var(--ev-c-black-soft);
  --color-background-mute: var(--ev-c-black-mute);

  --color-text: var(--ev-c-text-1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  font-weight: normal;
}

ul {
  list-style: none;
}

body {
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  font-family: Barlow, Tahoma, Verdana, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201422%20800'%20opacity='0.3'%3e%3cdefs%3e%3clinearGradient%20x1='50%25'%20y1='0%25'%20x2='50%25'%20y2='100%25'%20id='oooscillate-grad'%3e%3cstop%20stop-color='hsl(206,%2075%25,%2049%25)'%20stop-opacity='1'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='hsl(331,%2090%25,%2056%25)'%20stop-opacity='1'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20stroke-width='1'%20stroke='url(%23oooscillate-grad)'%20fill='none'%20stroke-linecap='round'%3e%3cpath%20d='M%200%20448%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20448'%20opacity='0.05'%3e%3c/path%3e%3cpath%20d='M%200%20420%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20420'%20opacity='0.11'%3e%3c/path%3e%3cpath%20d='M%200%20392%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20392'%20opacity='0.18'%3e%3c/path%3e%3cpath%20d='M%200%20364%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20364'%20opacity='0.24'%3e%3c/path%3e%3cpath%20d='M%200%20336%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20336'%20opacity='0.30'%3e%3c/path%3e%3cpath%20d='M%200%20308%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20308'%20opacity='0.37'%3e%3c/path%3e%3cpath%20d='M%200%20280%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20280'%20opacity='0.43'%3e%3c/path%3e%3cpath%20d='M%200%20252%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20252'%20opacity='0.49'%3e%3c/path%3e%3cpath%20d='M%200%20224%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20224'%20opacity='0.56'%3e%3c/path%3e%3cpath%20d='M%200%20196%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20196'%20opacity='0.62'%3e%3c/path%3e%3cpath%20d='M%200%20168%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20168'%20opacity='0.68'%3e%3c/path%3e%3cpath%20d='M%200%20140%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20140'%20opacity='0.75'%3e%3c/path%3e%3cpath%20d='M%200%20112%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%20112'%20opacity='0.81'%3e%3c/path%3e%3cpath%20d='M%200%2084%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%2084'%20opacity='0.87'%3e%3c/path%3e%3cpath%20d='M%200%2056%20Q%20355.5%20-100%20711%20400%20Q%201066.5%20900%201422%2056'%20opacity='0.94'%3e%3c/path%3e%3c/g%3e%3c/svg%3e");
  background-size: cover;
}

h1, h2, h3, h4, h5, h6 {text-align: center; font-family: Optima LT Pro, Verdana, Tahoma, sans-serif; font-weight: bold;}

header, footer {background-color: #0080ff; color: #000000;}

header {width: 100%; position: absolute; top: 0; left: 0; text-transform: lowercase; padding: 0px 100px;}

header h1 {font-size: 5em; text-align: left;}

header h2 {text-align: right;}

footer {position: fixed; bottom: 0; left: 0; max-width: 350px; border: 3px solid;}

a {font-weight: bold;}

a:link {color: #ff00ff;}

a:visited {color: #800080;}

a:hover {color: #ffffff;}

code {
  font-weight: 600;
  padding: 3px 5px;
  border-radius: 2px;
  background-color: var(--color-background-mute);
  font-family: monospace;
  font-size: 85%;
}

#root {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 80px;
}

.text {
  font-size: 28px;
  color: var(--ev-c-text-1);
  font-weight: 700;
  line-height: 32px;
  text-align: center;
  margin: 0 10px;
  padding: 16px 0;
}

main {
  padding-top: 167px;
  display: grid;
  gap: 1em;
  grid-template-columns: 1fr 3fr;
}

main > article:first-child {
  grid-column: 1;
}

main > article:last-child {
  grid-column: 2;
  & > .react-tabs > ul {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    padding-inline-start: 0;
    font-size: smaller;
    & > li {
      text-align: center;
      font-weight: bold;
      cursor: pointer;
      border: 1px solid black;
    }
  }
}

.move-table {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  justify-items: center;
}

.level-list, .boss-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
}

.level-list img:nth-of-type(3n),
.level-list img:nth-of-type(3n + 2),
.boss-list img:nth-of-type(3n),
.boss-list img:nth-of-type(3n + 2) {
  cursor: pointer;
}

.level-list > section, .boss-list section {
  display: grid;
  justify-items: center;
}

.level-list > section {
  grid-template-columns: 1fr 14ex 1fr 1fr;
}

.boss-list section {
  grid-template-columns: 1fr 14ex 1fr;
}

.level-list > .level2, .boss-list > .boss2 {
  grid-row: 2;
}

.level-list > .level3, .boss-list > .boss3 {
  grid-row: 3;
}

.level-list > .level4, .boss-list > .boss4 {
  grid-row: 4;
}

.level-list img, .boss-list img {
  height: 24px;
}

.ending {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ending > div {
  font-size: larger;
  margin: 0 auto;
  text-align: center;
}

.ending > div > span:first-child::after {
  content: " ";
}

.ending > section {
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.ending > section:last-child > img {
  margin-left: auto;
}

.count-icon,
.slam-icon,
.double-icon,
.simple-icon,
.check-icon {
  position: relative;
  cursor: pointer;
}

.count-icon > span {
  position: absolute;
  left: 0px;
  color: gold;
  background-color: black;
  font-weight: bold;
  font-size: 12px;
  line-height: 1;
}

.simple-icon > span {
  position: absolute;
  left: 0px;
  color: red;
  background-color: black;
  font-weight: bold;
  font-size: 12px;
  line-height: 1;
}

.simple-icon.have > span {
  color: green;
}

.generator-settings > span {
  cursor: pointer;
}

.hint-drops {
  display: grid;
  grid-template-columns: 4fr 1fr;
}

.hint-section h3 {
  margin: 0 auto;
  text-align: center;
}

.hint-drops {
  height: 18vh;
}

.hint-drops > *:nth-child(even) {
  cursor: pointer;
}

.runtime-settings > h3 {
  margin: 0 auto;
  text-align: center;
}

.runtime-settings > div {
  display: grid;
  grid-template-columns: 15fr 1fr;
}

.runtime-settings > div > span {
  cursor: pointer;
  text-align: right;
}

.modal-settings > .pool {
  display: grid;
  grid-template-columns: repeat(3, 3fr 1fr);
}

.modal-settings > .pool > h3 {
  margin: 0 auto;
  display: flex;
  grid-column-start: 1;
  grid-column-end: 7;
}

.switchsanity-settings > h4 {
  text-align: center;
}

.switchsanity-settings > section {
  display: grid;
  grid-template-columns: 7fr 1fr;
  height: 27vh;
}

.switchsanity-settings > section > img {
  text-align: right;
  margin-left: auto;
}

.reset {
  display: grid;
  grid-template-columns: 3fr 2fr;
}

main .grid {
  display: grid;
  grid-template-columns: 4fr 2.5fr 0.5fr;
  height: calc(100vh - 3ex);
}

.grid > .checked:nth-of-type(3n + 1) > span:first-child,
.grid > .checked:nth-of-type(3n + 2) {
  /* display: none; */
  text-decoration: line-through;
}

.grid > .checked:nth-of-type(3n + 1)::after {
  /* content: '  ✓'; */
  text-decoration: none;
}

.grid > .checked > span + span {
  text-decoration: none;
}

.not-available
{
  color: #ff0000;
}

.logic-break {
  color: #ffff00;
}

.available {
  color: #00ff00;
}

.grid > :not(.checked).foolish {
  color: red;
}

.grid > :not(.checked).woth {
  color: gold;
}

@media (max-width: 720px) {
  .text {
    font-size: 20px;
  }
}
