@import url("reset.css");
@import url("pico.css");
@import url("colors.css");
@import url("variables.css");


body {
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: var(--text-primary-color);
  font-family: var(--font ), monospace;
  display: flex;
  flex-direction: column;
  text-transform: lowercase;
}

body > main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav button {
    background: var(--primary);
    color: var(--crust);
    font-weight: 600;
    border: none;
    text-transform: lowercase;
}
nav button:hover {
  background: var(--mauve);
}

nav li.logo {
    font-size:100%;
    font-weight: 800;
    font-size: 120%;
    font-family: "maple";
}

nav li > a:hover {
  color: var(--green);
}
nav > ul#user-info, nav > ul#user-info > li {
    padding: 0;
}


nav details.dropdown ul {
    width: auto;
    right: auto!important;
    margin-right: 96px;
    padding: 6px;
    background-color: var(--crust);
}

nav details.dropdown ul li {
    min-width: 164px;
    font-size: 80%;
    padding: 8px 12px;
    
}

nav details.dropdown ul li a {
    border-radius: 6px;
    cursor: pointer;
}

details.dropdown > summary:not([role]):focus {
    box-shadow: 0 0 0 var(--pico-outline-width) var(--surface0);
}
details.dropdown > summary + ul li:first-of-type {
    margin-top: 6px;
}

details.dropdown > summary + ul li:last-of-type {
    margin-bottom: 6px;
}

nav details.dropdown > summary:not([role]) {
    background-color: var(--surface3);
    height: 48px;
    border: none;
}

details.dropdown[open] > summary + ul {
    transform: scaleY(1) translateX(-64px);
}

nav details > summary::after {
    height: 1rem;
}




a {
  text-decoration: none;
  color: inherit;
}




.content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  padding-top: 48px;
}

.content-container[data-path="/"] {
  justify-content: center
}

.webhelp-content {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  background-color: var(--base);
}
div.webhelp-content h3.category {
        margin-top: var(--pico-typography-spacing-vertical);
}
div.webhelp-content h3.category:first-of-type {
  margin-top: 0;
}

.overlay {
  width: 100%;
}
.overlay h3 {
  text-align: center;
}

.overlay form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}

code, kbd, pre, samp {
  background-color: var(--base);
}


.underlay {
  height: auto;
  max-height: 200px;
}

.play-button img {
  width: 100%;
  max-width: 300px;
  filter:hue-rotate(-120deg);
}
.play-button img:hover {
  filter: hue-rotate(50deg);
}

form.search input[type="submit"] {
  background-color: var(--lavender);
  color: var(--base);
}

footer {
  justify-content: center;
  align-items: center;
}

footer p {
  margin: 0;
  text-align: center;
  color: var(--subtext0);
}

footer p a {
  text-decoration: underline;
  color: var(--text);
  
}

#hide-header-footer {
  order: -1;
}

td, th {
  background-color: unset;
}

table  {
  width: 100%;
  background-color: var(--base);
  border-radius: 12px;
  overflow: hidden;
}


table th {
  background-color:var(--header-background);
  color:var(--table-header-text-color);
}
table tr {
  background-color: var(--table-cell-color);
}
table tr:nth-child(even) {
  background-color: var(--table-cell-alt-color);
}
table td {
  padding:12px;
  text-align:left;
  color:var(--table-cell-text-color)
}
