@import url('https://fonts.googleapis.com/css2?family=Saira+Extra+Condensed:wght@100&display=swap');

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700');


/* LAYOUT */

* {
  font-family: 'Open Sans', sans-serif;
  color: #403f58;
}

.audio-player {
  background: #f1f3f4;
  border-radius: 1.25rem;
}
.audio-player figcaption {
  font-style: italic;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

audio {
  display: block;
  width: 100%;
}

figure {
  text-align: center;
  margin: 0.5rem 0rem;
}

body {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: normal;
  margin-bottom: 0.5rem;
  font-family: 'Saira Extra Condensed', sans-serif;
  line-height: 120%;
}

h1 {
  font-size: 350%;
  margin-bottom: 0.5rem;
}

h2, h3 {
  margin: 1rem 0;
  margin-top: 3rem;
  font-size: 240%;
  border-bottom: 2px dotted #b5b5b5;
}

h3 {
  font-size: 200%;
}

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

ol, ul {
  line-height: 155%;
  border-top: 1px dotted rgb(184, 184, 184);
  border-bottom: 1px dotted rgb(170, 170, 170);
  padding-top: 2rem;
  padding-bottom: 2rem;
}


/* #table-of-contents {
  position: sticky;
  top: 0;
} */
#TableOfContents ul {
  border-top: 0;
  border-bottom: 0;
  list-style: lower-roman;
  padding: 1.2rem;
}
#TableOfContents li {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
#TableOfContents ul a {
  background: none;
}



ol li ol, ul li ul {
  border: 0;
  padding: 0;
}

ul ul {
  margin-left: 3rem;
}

li {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}


ol {
  counter-reset:item;
}


a {
  color: #5e8da4;
  background: #eff6ff;
  padding: 0.25rem 0.5rem;
}
a:hover {
  text-decoration: none;
  background: #f7faff;
}

img {
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 3px 2px 8px 0px grey;
}

pre {
  background: #4a5765;
  padding: 1rem;
  color: white;
  border-radius: 8px;
  text-wrap: pretty;
}

code {
  color: #d1e0e2;
  line-height: 148%;
  font-family: monospace;
  font-size: 0.9rem;
}



ul.main-menu {
  display: inline-block;
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 800px) {
  ul.main-menu {
   padding: 0;
  }
}


ul.main-menu li {
  list-style: none;
  display: inline-block;
  margin: 0 1rem;
}
ul.main-menu li a {
    padding: 1.5rem 1rem;
    display: flex;
    font-size: 19px;
}
ul.main-menu li a:hover {
  text-decoration: underline;
}


nav.site-nav {
    background: #ddddf8;
    background: linear-gradient(90deg, 
      rgba(242,183,255,1) 0%, 
      rgba(255,144,144,1) 41%,
      rgba(168,242,255,1) 100%,
      rgba(255,228,189,1) 100%);

      box-shadow: 0px 2px 7px #a3a3a3;
}
@media only screen and (max-width: 800px) {
  nav.site-nav {
    text-align: center;
  }
}



nav.site-nav a {
  text-decoration: none;
  background: none;
  color: white;
}


.logo {
  font-family: 'Saira Extra Condensed', sans-serif;
  padding: 0.2rem 2rem;
  font-size: 2.0rem;
  font-weight: bold;
}

.content {
  max-width: 1000px;
  margin: auto; /* centers content */
  word-break: break-word; /* helps reduce long links */
}

footer {
  margin-top: 5rem;
  margin-bottom: 2rem;
  text-align: center;
}

footer p {
  color: #a8a5a5;
  font-size: 0.9rem;
}


/* LISTS */

.thumbnail-container {
  width: 15rem;
  height: 21rem;
  box-shadow: 3px 3px 3px #b8cfea;
  margin: auto;
  border: 2px dotted #9aeccb;
  border-radius: 5px;
}
@media only screen and (max-width: 800px) {
  .thumbnail-container {
    width: 100%;
    height: 230px;
    display: block;
    margin-bottom: 1rem;
  }
}

.post {
  margin: 1%;
}
@media only screen and (max-width: 800px) {
  .post {
    margin: 0 5%;
  }
}

.tertiary-data span {
  margin-right: 2rem;
  color: #9b9898;
  font-style: italic;
}
@media only screen and (max-width: 800px) {
  .tertiary-data {
    line-height: 157%;
    text-align: center;
  }

  .post .tertiary-data span {
    display: block;
    margin-left: 0;
  }
}



.posts-listing {
  display: grid;
  column-gap: 4%;
  margin: 0%;
}
.posts-listing a {
  color: black;
  font-weight: normal;
  background: none;
}
.posts-listing a:hover {
  text-decoration: none;
}

@media only screen and (max-width: 800px) {
  .posts-listing {
    display: grid;
    grid-template-columns: 100%;
    column-gap: 1%;
  }

}

.post-snippet {
  padding: 2rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

@media only screen and (max-width: 800px) {
  .post-snippet {
   padding: 1rem;
  }
}

.post-snippet h2 {
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.post-snippet a {
  font-size: 1.5rem;
}

.card {
  text-decoration: none;
}
.card article {
  transition: all 0.2s ease-in;
}
.card article:hover {
  background: #f2f3f3;
  background: linear-gradient(90deg, 
    rgba(251,232,255,1) 0%, 
    rgba(255,228,228,1) 41%, 
    rgba(222,250,255,1) 100%, 
    rgba(255,228,189,1) 100%);

}
.card article:hover h2 {
  
}

.preview {
  display: grid;
  column-gap: 3rem;
}
@media only screen and (max-width: 800px) {
  .preview {
    display: block;
  }

}


.section {
  grid-row: 1 / span 2;
}

.button {
  border-radius: 0.5rem;
  padding: 1rem;
  background: #b9f2f8;
  text-align: center;
  text-decoration: none;
  transition: background 0.1s ease-in;
}
.button:hover {
  background: #aed8dd;
}
