body {
  font-family: serif;
  margin: auto;
  /*width: 100%;*/
  max-width: 1024px;
  background: #fffffc;
}

p{
  font-size: 1.2rem;
  line-height: 2rem;
}

figure {

}

figure > img {
  max-width: 800px;
  text-align: left;
}

figure > figcaption {
  text-align: right;
  margin-left: 600px;
}


.author{
  font-size: 1.625rem;
}

a {
  color: #0000ee;
}

a:visited {
  color: #551a8b;
}

/*
#page {
  width: 80%;
  margin: auto;
}
*/
@media print {
  body {
    text-align: left !important;
  }
  nav {
    display: none !important;
  }
  #main-body {
    text-align: left !important;
  }

  footer {
    display: none;
  }

  #page {
    width: auto;
    margin: auto;
  }

  figure
  {
    width: auto;
    text-align: center;
    margin: auto;
  }

  figure > img {
    width: 100%;
    margin: auto;
  }

  figure > figcaption {
    margin: auto;
  }

}

@media only screen and (min-width: 1920px) {
  #page {
    /*width: 60%;*/
    margin: auto;
  }
}

@media only screen and (max-width: 1024px) {
  #page {
    /*width: auto;*/
    padding-left: 1em;
    padding-right: 1em;
    margin: auto;
  }

  figure
  {
    width: auto;
    text-align: center;
    margin: auto;
  }
  figure > img {
    width: 100%;
    margin: auto;
  }

  figure > figcaption {
    text-align: center;
    margin: auto;
  }
}

header {
  text-align: center;
}

header > #site-title
{
    font-size: 3rem;
  font-family: sans-serif !important;
  font-weight: bold;
  margin: 0;
}
header > #site-subtitle
{
  font-family: sans-serif !important;
  font-style: normal !important;
  font-weight: 100;
}



nav {
  text-align: center;
  padding-bottom: 2rem;
}

body {
  text-align: left;
}

footer {
  padding-top: 8rem;
  text-align: center;
}

hr {
  width: 80%;
  background-color: gray;
  height: 1px;
  border: 0;
}


/*
    Pride Flags from http://barchok.com/flags.html

     */
.lgbt {
  background: linear-gradient(
    180deg,
    #fe0000 16.66%,
    #fd8c00 16.66%,
    33.32%,
    #ffe500 33.32%,
    49.98%,
    #119f0b 49.98%,
    66.64%,
    #0644b3 66.64%,
    83.3%,
    #c22edc 83.3%
  );
}

.nonbinary {
  background: linear-gradient(
    180deg,
    #fff430 25%,
    #ffffff 25%,
    50%,
    #9c59d1 50%,
    75%,
    #181818 75%
  );
}

.pf {
  display: inline-block;
  width: 20%;
  margin: 1rem;
  height: 0.75rem;
}

/*

Darkmode stuff.  This one's for you, Subject.

*/

@media (prefers-color-scheme: dark) {
  body {
    background: #282828;
    color: #fff;
  }
  a {
    /* color: #6DA8EE; */
    color: #b6ddff;
  }
  a:visited {
    /* color: #3D8AE8; */
    color: #6da8ee;
  }
  .blog-article {
    border: 1px solid white;
  }
  hr {
    background-color: #dddddd;
  }
  .blog-article-details {
    color: #d3d3d3;
  }

  a[href^="http"]::after,
  a[href^="https://"]::after
  {
    content: "";
    width: 11px;
    height: 11px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    color: #ffffff;
  }
}

@media (prefers-color-scheme: light) {
  a[href^="http"]::after,
a[href^="https://"]::after
  {
    content: "";
    width: 11px;
    height: 11px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='black' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
  }
}

article blockquote {
  padding-left: 0.5em;
  padding-right: 0.5em;

  /*border: 0.2em dotted black;*/
  /* border-left: 0.5em solid #4f46e5;
  padding-left: 0.5em; */
}


/* AlertBox Things */
.alert {
  position: relative;
  padding-left: .75rem;
  border-left: 1rem solid transparent;
}

/* .alert-warning {
    /* border-color: #fff3cd; */
  /* color: #856404; */
  /* background-color: #fff3cd; */
  /* border-color: #ffeeba; */
/* } */

.alert-info {
    border-color: #17a2b8;
}

.alert-primary {
    border-color: #007bff;
}

.alert-secondary {
    border-color: #6c757d;
}

.alert-good {
    border-color: #28a745;
}

.alert-warning {
    border-color: #ffc107;
}

.alert-bad {
    border-color: #dc3545;
}

/* Tables */

figure > table
{
    width: 100%;
}

figure > table > thead > tr {
    background-color: #ccc;
    padding: none;
    margin: none;
}

figure > table > thead > tr >td {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid black;
    margin: none;
    padding: none;
}


/* figure > table tr:nth-of-type(odd) {
    background-color:#282828;
} */
