:root {
  --col-bg: black;
  --col-fg: white;
}

@media (prefers-color-scheme: light) {
  :root {
    --col-bg: white;
    --col-fg: black;
  }
}

:root {
  background: var(--col-bg);
  color: var(--col-fg);
  font-family: Karla, sans-serif;
  font-size: x-large;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height:1.414em;
}

* {
  box-sizing: border-box;
  font-size: inherit;
  font-weight: inherit;
}

body {
  margin: 0;
  padding: 0;
}

h1 { font-size: 2.828rem; }
h2 { font-size: 2.000rem; }
h3 { font-size: 1.414rem; }
h4 { font-size: 1.000rem; }
h5 { font-size: 0.841rem; }
h6 { font-size: 0.707rem; }

h1, h2, h3, h4, h5, h6, legend, label {
  font-weight: 500;
}

small {
  font-size: 0.75em;
  font-weight: 500;
  color: color-mix(in srgb, var(--col-fg), transparent 30%);
}

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

input:focus,
select:focus,
textarea:focus,
button:focus,
.btn:focus {
    outline: none;
}

.main {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  > * {
    margin: 1rem;
  }
}

.btn, button {
  border: 2px solid var(--col-fg);
  background: var(--col-fg);
  color: var(--col-bg);
  margin: 1em;
  padding: 0.25em 0.5em;
  cursor: pointer;
  text-decoration: none;
  &:active {
    background: var(--col-bg);
    color: var(--col-fg);
  }
}

input {
  background: transparent;
  padding: 0.5em 0px;
  color: inherit;
  border: none;
  border-radius: 0;
  border-bottom: 2px solid var(--col-fg);
}

.entry-list {
  > a {
    cursor: pointer;
    text-decoration: none;
  }
  > * {
    padding: 1em;
    border-top: 1px solid color-mix(in srgb, var(--col-fg), transparent 50%);
    &:hover {
      background: color-mix(in srgb, var(--col-fg), transparent 90%);
    }
  }
}

/*
.accountListDeleteButton {
  display: none;
  cursor: pointer;
  float: right;
  &:hover {
    stroke: #F00 !important;
  }
}
#accountSelectList > * {
  padding: 1em;
  border-top: 1px solid #FFF8;
  cursor: pointer;
  &:hover {
    background: #FFF2;
    > .accountListDeleteButton {
      display: inline-block;
    }
  }
}
*/
