:root {
  --size-scaler: 1.0;
  --base-size: calc(1.0em*var(--size-scaler));
  --font-style:'';
  --bg-col: #f1f1f1;
  --fg-col: white;
  --font-col: black;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-style);
    padding: 20px;
}

.theme-a {
    background: var(--bg-col, white);
    color: var(--font-col, black);
}

.access {
    float:left;
    width:30%;
    height: 3em;
    font-size: 1.25em;
}

.basic {
    font-size: calc(var(--base-size, 1.0em)*1.0);
    width: 100%;
}


/* Header/Blog Title */
.header {
    padding: 30px;
    text-align: center;
    background: var(--fg-col, white);
    max-width: 1250px;
    margin: 0 auto;
}

h1 {
    font-size: calc(var(--base-size, 1.0em)*2.0);
}

h2 {
    font-size: calc(var(--base-size, 1.0em)*1.5);
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
    float: left;
    width: 75%;
}

/* Right column */
.rightcolumn {
    float: left;
    width: 25%;
    padding-left: 20px;
}

/* Fake image */
.fakeimg {
    background-color: #aaa;
    width: 100%;
    padding: 20px;
}

/* Add a card effect for articles */
.card {
    background-color: var(--fg-col, white);
    padding: 20px;
    margin-top: 20px;
}

.cardHeader {
    width: 100%;
    display: flex;
}

.row {
    margin: 0 auto;
    max-width: 1250px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.by {
    font-size: calc(var(--base-size, 1.0em)*0.8);
}

ul.by{
/*    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;*/
    margin: 0;
    padding: 0;
}
.by li {
/*    display: block;*/
/*    flex: 0 1 auto;*/
    list-style-type: none;
}

/* Make it so the by line is closer to the bottom of the card h2*/
.cardTitle{
    margin-bottom: 2px;
}

/*Content Warning Format*/
p.cw {
    color: red;
    margin-top:10px;
}
img.cw{
    width: 100%;
    font-size: calc(var(--base-size, 1.0em)*0.8);
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
    margin: 0 auto;
    max-width: 1250px;
}



@media (prefers-color-scheme: dark) {
  :root {
    --bg-col: black;
    --fg-col: #2e3436;
    --font-col: lightgrey;
  }
  a:link {
      color: lightskyblue;
  }
  a:visited {
      color: #6d4b8d;
  }
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
/*@media screen and (min-width: 320px) {*/
/*@media only screen and (max-width: 768px) {*/
@media only screen and (max-width: 1000px) {
  .leftcolumn, .rightcolumn, .row {
    width: 100%;
    padding: 0;
  }
  :root {
      --base-size: calc(3.0em*var(--size-scaler));
  }
}
