@charset "utf-8";

@media (prefers-color-scheme: light) {
        :root {
          --bgcolor: #fff;
          --textcolor: #000;
          --linkcolor: #00f;
          --visitedlinkcolor: #609;
          --bgaltcolor: #f7f7f7;
          --textaltcolor: #333;
        }
}

@media (prefers-color-scheme: dark) {
        :root {
          --bgcolor: #000;
          --textcolor: #eee;
          --linkcolor: #66f;
          --visitedlinkcolor: #96f;
          --bgaltcolor: #171717;
          --textaltcolor: #aaa;
        }
}

* {
  box-sizing: border-box;
}

body {
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--textcolor);
  background-color: var(--bgcolor);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a:link {
  color: var(--linkcolor);
}
a:visited {
  color: var(--visitedlinkcolor);
}
a:not([href]) {
  color: var(--textcolor);
}
section {
  clear: both;
}

h1 {
  line-height: 1.2;
  padding: 0 0.5em;
  border-bottom: 2pt #000000 solid;
  clear: both;
}
h2 {
  line-height: 1.2;
  padding: 0 0.5em;
  border-bottom: 2pt #999999 solid;
  border-left: 12pt #999999 solid;
  clear: both;
}
h3 {
  line-height: 1.2;
  padding: 0 0.5em;
  border-top: 1pt #cccccc solid;
  border-bottom: 1pt #cccccc solid;
  border-left: 4pt #999999 solid;
  clear: both;
}
h4 {
  line-height: 1.2;
  padding: 0 0.5em;
  border-bottom: 2pt #666666 solid;
  clear: both;
}
h5 {
  line-height: 1.2;
  padding: 0 0.5em;
  border-bottom: 1pt #cccccc solid;
  border-left: 3pt #cccccc solid;
  clear: both;
}
h6 {
  line-height: 1.2;
  padding: 0 0.5em;
  border-top: 1pt #cccccc dotted;
  border-bottom: 1pt #cccccc dotted;
  border-left: 2pt #cccccc solid;
  clear: both;
}

address {
        margin: 1em 4em;
        text-align: right;
        color: var(--textaltcolor);
}

p.floatfigure {
  border: 1px gray solid;
  border-radius: 2.0em;
  margin: 1em 1em;
  padding: 0.5em;
  background: var(--bgaltcolor);
  text-align: center;
  float: right;
}

img.roundedge {
  border-radius: 1.5em;
}

.comment{
  color: var(--textaltcolor);
}

dl dt {
  margin: 1em 0 0 0;
  border-bottom: 0.5pt #7f7f7f dotted;
}

@media screen and (min-width: 768px) {
  body {
    font-size: 1rem;
  }
}
