:root {
  --bgc: #243665; --c: #8bd8bd;
}

/* body */
body, tbody {
  font-size: 3rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: var(--bgc);
  color: var(--c);
}

/* menu content */
menu-content {
  width: 95%;
  display: block;
  font-size: 5rem;
  position:absolute;
  background-color: var(--bgc);
  border: 1px solid;
  padding: 1rem;
  box-shadow: 1rem 1rem #111;
  z-index: 1;
}

@media only screen and (min-width: 1024px) {
  menu-content {
    width: 52rem;
    font-size: 3rem;
  }
}

/* menu button */
menu-button::after {
  font-size: 5rem;
  cursor: pointer;
  content: '\2630';
}

@media only screen and (min-width: 1024px) {
  menu-button::after {
    font-size: 3rem;
  }
}

/* menu item */
menu-item {
  display: block;
  padding-bottom: 1rem;
}
@media only screen and (min-width: 1024px) {
  menu-item {
    padding-bottom: 0;
  }
}
menu-item[data-type="number-of-dice"]::after {
  content: attr(data-state);
}

/* menu item trigger */
menu-item-trigger {
  cursor: pointer;
}

.theme-color {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 1px solid white;
}
.bgc-001 { background-color: #243665; }
.c-001   { background-color: #8bd8bd; }
.bgc-002 { background-color: #4a274f; }
.c-002   { background-color: #f0a07c; }
.bgc-003 { background-color: #3c1a5b; }
.c-003   { background-color: #fff748; }
.bgc-004 { background-color: #707070; }
.c-004   { background-color: #ffdf6c; }
.bgc-005 { background-color: #000000; }
.c-005   { background-color: #ffffff; }

/* dice */
a-die {
  font-size: 20rem;
}

a-die, .one::after   { content:'\2680'; }
a-die, .two::after   { content:'\2681'; }
a-die, .three::after { content:'\2682'; }
a-die, .four::after  { content:'\2683'; }
a-die, .five::after  { content:'\2684'; }
a-die, .six::after   { content:'\2685'; }

/* button */
button {
  background-color: var(--bgc);
  color: var(--c);
  border-color: var(--c);
  font-size: 8rem;
  width: 100%;
  height: 12rem;
  margin: 2rem 0;
  cursor: pointer;
}

button:focus {
  outline: none;
}
/* stats */
table, th, td {
  border: 1px solid var(--c);
}

table {
  width: 100%;
}

th, td {
  padding: 0 1rem 0 1rem;
}

td:nth-child(2) {
  text-align: right;
}

/* lay-out */
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hidden {
  display: none;
}
