:root {
  color-scheme: light dark;
  supported-color-schemes: light dark;
}

body {
  text-align: center;
  font-family: -apple-system, ui-sans-serif, system-ui, Arial, Helvetica, sans-serif;
  color: #333;
  margin-bottom: 40px;
}

#root_link {
  position: absolute;
  top: 20px;
  left: 20px;
}

#root_link a {
  color: hsl(210, 75%, 45%);
  font-size: 16px;
}

a {
  text-decoration: none;
  color: hsl(210, 75%, 45%);
}

a:hover {
  text-decoration: underline;
}

h1 {
  display: inline-block;
  background-color: #b0d0ff;
  padding: 6px 12px;
  border-radius: 12px;
}

h2 {
  display: inline-block;
  font-size: 15pt;
  font-weight: 600;
  padding: 4px 8px;
  border-bottom: 1px solid #888;
  margin-bottom: 0px;
}

ul {
  display: inline-block;
  list-style-type: none;
  padding-left: 0;
  margin: 10px;
}

/*  ul.projects li { background-color: #f8f8f8; padding: 5px; margin: 3px 0px; text-align: left; padding-left: 35px; }*/

ul li {
  margin: 16px 0px;
  text-align: left;
}

ul li i {
  margin-right: 5px;
}

i.fa-laptop-code {
  margin-left: -3px;
}

ul.feeds {
}

ul.feeds img {
  width: 24px;
  border-radius: 4px;
  vertical-align: middle;
  position: relative;
  bottom: 2px;
  margin-right: 6px;
}

ul.opensource {
  margin-left: 40px;
}

ul.opensource img {
  width: 20px;
  opacity: 0.75;
  vertical-align: middle;
  position: relative;
  bottom: 2px;
  margin-right: 4px;
}

ul.opensource .description {
  margin-left: 28px;
  font-size: 10pt;
  color: #666;
  margin-top: 5px;
  display: inline-block;
  margin-bottom: 2px;
}

ul.blog-posts li {
  text-align: center;
}

ul.blog-posts .date {
  font-size: 10pt;
  margin-left: 2px;
  position: relative;
  bottom: 1px;
}

footer {
  font-size: 10pt;
  margin: 25px 0;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #ddd;
  }

  a {
    color: hsl(210, 80%, 60%);
  }

  #root_link a {
    color: hsl(210, 80%, 60%);
  }

  h1 {
    background-color: hsl(215, 65%, 50%);
  }

  h2 {
    border-bottom-color: #666;
    padding-bottom: 5px;
  }

  ul.opensource .description {
    color: #888;
  }

  ul.opensource img {
    filter: invert();
  }
}

@media only screen and (max-width: 480px) {
  #root_link {
    position: static;
    text-align: left;
    margin-top: 15px;
  }

  ul.opensource {
    margin-left: 30px;
  }
}

/*  ul.projects2 li { padding: 5px; margin: 3px 0px; text-align: left; padding-left: 35px; }*/

/*ul.projects .skythread { background: url(/images/2/split.png) no-repeat center left / auto 20px; }
ul.projects .stats { background: url(/images/2/graph-bar.png) no-repeat center left / auto 20px; }
ul.projects .directory { background: url(/images/2/book-contact-2.png) no-repeat center left / auto 20px; }*/

/*ul.projects2 span { display: inline-block; width: 28px; height: 28px; background-color: #eee; border-radius: 14px; padding: 5px; box-sizing: border-box; }
ul.projects2 span img { width: 16px; opacity: 0.8; }*/

/*article a.github-card {
  display: block;
  position: relative;
  width: 480px;
  text-align: left;
  border: 1px solid #bbb;
  border-radius: 8px;
  margin: 30px auto 20px;
  padding: 15px 20px 14px;
  color: #333;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  background-color: #fdfdfd;
}
article a.github-card:hover {
  text-decoration: none;
  background-color: #f8f8f8;
  border-color: #aaa;
}
article a.github-card:hover img {
  box-shadow: none;
}
article a.github-card:visited {
  color: #333;
}
article a.github-card h2 {
  font-size: 12pt;
  margin: 0;
  padding: 0;
}
article a.github-card p {
  text-indent: 0;
  line-height: 150%;
}
article a.github-card p.description {
  font-size: 11pt;
  color: #666;
  font-weight: 300;
  margin: 10px 0 4px;
}
article a.github-card p.stats {
  font-size: 10pt;
  color: #333;
  font-weight: 300;
  margin: 10px 0 4px;
}
article a.github-card p.stats img {
  width: 14px;
  vertical-align: text-bottom;
}
article a.github-card p.stats img.star {
  vertical-align: text-top;
}
article a.github-card p.stats span {
  margin-right: 8px;
  margin-left: 2px;
}
article a.github-card p.stats .lang-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0;
  margin-left: 8px;
}
article a.github-card p.stats .lang-dot.ruby {
  background-color: #d05050;
}
article a.github-card p.stats .lang-dot.javascript {
  background-color: #f6dc0b;
  border: 1px solid #e6cc00;
}
article a.github-card p.stats .lang-dot.swift {
  background-color: #f08238;
}
article a.github-card p.stats .language {
  font-weight: 400;
  color: #666;
}
article a.github-card .gh-logo {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 16px;
  opacity: 0.6;
}*/
