:root {
  --primary-color: #424242;
  --primary-light-color: #6d6d6d;
  --primary-dark-color: #1b1b1b;
  --secondary-color: #d32f2f;
  --secondary-light-color: #ff6659;
  --secondary-dark-color: hsl(357, 100%, 30%);
  --text-on-p-color: hsl(0, 0%, 95%);
  --text-on-s-color: hsl(0, 0%, 98%);
  --off-white-color: hsl(216, 5%, 95%);
  --off-white-darker-color: hsl(0, 0%, 91%);
  --off-white-lighter-color: hsl(0, 0%, 96%);
  --text-on-light-color: rgb(12, 12, 12);
  --pagination-buttons-text-size: 1.5em;
}

body {
  background-color: var(--off-white-color);
  font-family: Roboto, Helvetica, Arial, sans-serif;
  margin: 0 auto;
  padding: 0 0;
}

p, ul, span, li {
  font-size: 1.2rem;
  word-wrap: break-word;
}

.main-content {
  margin: 0 auto 2em;
  padding: 0 0em;
}

.content {
  max-width: 1200px;
  margin: auto;
}

.main-content>.intro-section, .main-content>.secondary-intro {
  padding: 2em 2em 2em 2em;
}

img {
  max-width: 100%;
  height: auto;
}

/* Top Navigation */

.topnav {
  display: block;
  background-color: var(--primary-dark-color);
  overflow: hidden;
  color: var(--text-on-p-color);
}

.topnav .logo {
  float: left;
  text-align: center;
  font-weight: bold;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a {
  color: var(--text-on-p-color);
  float: right;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  text-shadow: 2px 2px var(--secondary-light-color);
}

.topnav a:visited {
  color: var(--text-on-p-color);
}

.nav-content {
  max-width: 1200px;
  margin: auto;
}

@media all and (max-width: 1000px) {
  .topnav .nav-content {
    text-align: center;
  }
  .topnav .navbar-items {
    clear: both;
    overflow: auto;
  }
  .topnav .nav-content .navbar-items a {
    display: inline-block;
    float: none;
  }
  .topnav .nav-content .logo {
    display: inline-block;
    float: none;
    font-size: 2em;
  }
}

/* Intro Section */

.intro-section {
  background-color: var(--off-white-darker-color);
}

/* Links */

.content a:link, .content a:visited {
  color: var(--secondary-dark-color);
}

.content a:hover {
  color: var(--secondary-color);
}

.postlist.pagination-buttons a:link, .postlist.pagination-buttons a:visited {
  color: var(--primary-dark-color);
}

/* Widgets */

.post-list-widget {
  max-width: 15em;
}

.post-list-widget ul {
  margin: 0;
  padding: 0;
}

.post-list-widget li {
  list-style-type: none;
  margin-top: 10px;
  border-top: 1px solid var(--text-on-p-color);
  padding-top: 10px;
}

.post-list-widget li:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

/* Blockquote */

blockquote {
  background-color: var(--off-white-darker-color);
  border-left: 10px solid var(--secondary-color);
  color: var(--text-on-light-color);
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
  color: var(--secondary-color);
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

blockquote p {
  display: inline;
}

/* Grid */

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Layout */

.layout-flex-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.full-size .post-info {
  display: none;
}

.layout-flex-container.main-page {
  justify-content: left;
  flex-direction: row;
  flex-wrap: wrap;
}

.layout-flex-container>div {
  margin: 10px 0 0 10px;
  padding: 0 20px 0 0;
}

.layout-flex-container>.left-column {
  margin-top: 20px;
  margin-right: 5px;
  min-width: 200px;
  flex-shrink: 3;
  flex-basis: 1;
}

.layout-flex-container>.right-column {
  flex-shrink: 1;
  flex-basis: 3;
}

.desktop {
  display: none;
}

.post-info p {
  display: inline;
  font-weight: 400;
  line-height: 1.3;
}

.post-info p:not(:last-child):after {
  content: " | ";
}

/* On Desktop */

@media all and (min-width: 1000px) {
  .layout-flex-container {
    flex-direction: row;
    justify-content: center;
  }
  .mobile {
    display: none;
  }
  .desktop {
    display: block;
  }
  .desktop .post-info p {
    display: block;
  }
  .desktop .post-info p:not(:last-child):after {
    content: "";
  }
}

/* Pagelist */

.post-preview {
  display: block;
  padding: 10px 20px 10px 20px;
  margin-bottom: 10px;
  background-color: var(--off-white-darker-color);
  border-radius: 10px;
}

/* Footer */

.footer {
  background-color: var(--primary-dark-color);
  color: var(--text-on-p-color);
  justify-content: center;
}

.footer-text {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  height: 10vh;
}

.footer a {
  text-decoration: underline;
  color: var(--text-on-p-color);
}

/* Post Comments */

.comments-section {
  margin-top: 70px;
}

.comments {
  display: flex;
  flex-direction: column;
}

.comments>.divider {
  flex-grow: 1;
  border-bottom: 1px solid var(--primary-light-color);
  margin: 5px;
}

.comments>.divider:last-child {
  flex-grow: 1;
  border-bottom: 0px;
  margin: 5px;
}

.comment-author {
  font-size: 1.3em;
  color: var(--secondary-dark-color);
}

.comment-time {
  font-size: 0.8em;
  color: var(--primary-light-color);
}

/* Buttons */

/* Frontpage Buttons */

.buttons>a.button {
  background-color: var(--text-on-s-color);
  padding: 20px;
  margin: 4px 4px;
  display: inline-block;
  color: var(--text-on-light-color);
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  text-align: center;
}

.buttons a:link {
  text-decoration: none;
}

.buttons a:hover {
  text-decoration: underline;
}

.buttons a {
  font-weight: bold;
}

/* Pagination Button */

.pagination-buttons {
  display: flex;
  flex-direction: row;
  flex-basis: 3rem;
  padding-top: 10px;
  padding-bottom: 10px;
  justify-content: space-between;
}

.pagination-buttons a {
  text-decoration: none;
  color: var(--primary-dark-color);
}

.pagination-buttons a:hover {
  text-decoration: underline;
}

.pagination-buttons span {
  color: var(--primary-dark-color);
  font-size: var(--pagination-buttons-text-size);
  font-weight: bold;
}

/* Postlist (Grid) Pagination Buttons */

.postlist.pagination-buttons {
  display: grid;
  grid-template-columns: 30% auto 30%;
  justify-items: stretch;
}

.postlist.pagination-buttons .pagination-previous-button {
  grid-column-start: 1;
  grid-column-end: 2;
  text-align: left;
}

.postlist.pagination-buttons .pagination-next-button {
  grid-column-start: 3;
  grid-column-end: 4;
  text-align: right;
}

/* Previous/Next Post Buttons */

.pagination-previous-button, .pagination-next-button {
  display: inline-block;
  cursor: pointer;
  color: var(--primary-dark-color);
  font-size: 17px;
  font-weight: bold;
  padding: 16px 31px;
}

.pagination-previous-button {
  margin-right: 10px;
}

.pagination-previous-button::before {
  content: "\2039  ";
  font-size: 1em;
}

.pagination-next-button {
  justify-content: flex-end;
}

.pagination-next-button::after {
  content: "  \203a";
  font-size: 1em;
}

.pagination-previous-button:hover, .pagination-next-button:hover {
  text-decoration: underline;
}

.pagination-previous-button:active, .pagination-next-button:active {
  position: relative;
  top: 1px;
}

/* -- Widgets -- */

.widget {
  margin-top: 35px;
  margin-bottom: 35px;
}

/* Checklist Widget */

.checklist-widget {
  background: var(--off-white-lighter-color);
  padding: 25px;
  border-color: var(--primary-light-color);
  border-radius: 10px;
  border-width: 2px;
  border-style: solid;
}

.podcast-widget {
  text-align: center;
}

.podcast-widget iframe {
  max-width: 700px;
}

img.checklist-logo-widget {
  max-width: 200px;
  width: 80%;
}

/* Mailchimp Form */

/* -- From Mailchimp CDN -- */

#mc_embed_signup form {
  text-align: center;
  padding: 10px 0 10px 0;
}

.mc-field-group {
  display: inline-block;
}

/* positions input field horizontally */

#mc_embed_signup input.email {
  font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, Verdana, sans-serif;
  font-size: 15px;
  border: 1px solid #ABB0B2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #343434;
  background-color: #fff;
  box-sizing: border-box;
  height: 32px;
  padding: 0px 0.4em;
  display: inline-block;
  margin: 0;
  width: 350px;
  vertical-align: top;
}

#mc_embed_signup label {
  display: block;
  font-size: 16px;
  padding-bottom: 10px;
  font-weight: bold;
}

#mc_embed_signup .clear {
  display: inline-block;
}

/* positions button horizontally in line with input */

#mc_embed_signup .button {
  font-size: 13px;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  letter-spacing: .03em;
  color: #fff;
  background-color: #aaa;
  box-sizing: border-box;
  height: 32px;
  line-height: 32px;
  padding: 0 18px;
  display: inline-block;
  margin: 0;
  transition: all 0.23s ease-in-out 0s;
}

#mc_embed_signup .button:hover {
  background-color: #777;
  cursor: pointer;
}

#mc_embed_signup div#mce-responses {
  float: left;
  top: -1.4em;
  padding: 0em .5em 0em .5em;
  overflow: hidden;
  width: 90%;
  margin: 0 5%;
  clear: both;
}

#mc_embed_signup div.response {
  margin: 1em 0;
  padding: 1em .5em .5em 0;
  font-weight: bold;
  float: left;
  top: -1.5em;
  z-index: 1;
  width: 80%;
}

#mc_embed_signup #mce-error-response {
  display: none;
}

#mc_embed_signup #mce-success-response {
  color: #529214;
  display: none;
}

#mc_embed_signup label.error {
  display: block;
  float: none;
  width: auto;
  margin-left: 1.05em;
  text-align: left;
  padding: .5em 0;
}

@media (max-width: 768px) {
  #mc_embed_signup input.email {
    width: 100%;
    margin-bottom: 5px;
  }
  #mc_embed_signup .clear {
    display: block;
    width: 100%
  }
  #mc_embed_signup .button {
    width: 100%;
    margin: 0 0;
  }
}

/* -- End from Mailchimp CDN -- */

#mc_embed_signup {
  clear: left;
  width: 100%;
}

input[type=email], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid var(--primary-light-color);
  border-radius: 4px;
  box-sizing: border-box;
}

#mc-embedded-subscribe-form input[type=checkbox] {
  display: inline;
  width: auto;
  margin-right: 10px;
}

#mc_embed_signup .button {
  background-color: var(--secondary-dark-color);
  border: none;
  color: var(--text-on-s-color);
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  #mc_embed_signup .button {
    margin: 0px 4px;
  }
}

#mergeRow-gdpr {
  margin-top: 20px;
}

#mergeRow-gdpr fieldset label {
  font-weight: normal;
}

#mc-embedded-subscribe-form .mc_fieldset {
  border: none;
  min-height: 0;
  padding-bottom: 0;
}

/* Author Widget */

.byline.vcard {
  display: flex;
  flex-direction: column;
}

.byline.vcard .author {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.byline.vcard .author img.avatar {
  border-radius: 50%;
  width: 100px;
  padding-right: 10px;
}

/* Comments Closed Notice Box */

.alert-box {
  color: var(--primary-dark-color);
  border-radius: 10px;
  font-size: 11px;
  padding: 25px;
}

.alert-box span {
  font-weight: bold;
}

.notice {
  background: var(--off-white-darker-color) no-repeat 10px 50%;
  border: 2px solid var(--off-white-darker-color);
}

/* Post Archive */

@media only screen and (max-width: 1000px) {
  .content {
    margin: 0 7px;
  }
  .pagination-buttons {
    flex-direction: column;
  }
  .pagination-buttons .pagination-previous-button, .pagination-buttons .pagination-next-button {
    margin: 10px;
  }
  .postlist.pagination-buttons {
    display: flex;
    flex-direction: column;
  }
  .postlist.pagination-buttons .pagination-previous-button {
    text-align: center;
  }
  .postlist.pagination-buttons .pagination-next-button {
    text-align: center;
  }
}