/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-attachment: fixed;
  background-size: cover;
  background-color: #0f0e0e;
  background-image: url("/svg/ttten-pattern-1.svg");
}

#postTitleH1 {
  font-size: 50px;
  -webkit-text-stroke: 3px #f2f3f4;
  paint-order: stroke fill;
  text-shadow: none;
  letter-spacing: 2px;
}

#postDate {
  font-family: 'Nerko One';
  font-weight: normal;
  font-size: 30px;
  color: #f2f3f4;
  line-height: 1em;
  margin-bottom: .5em;
  padding: 3px 5px;
  background-color: #1f44c6;

  width: fit-content;
}

.blog-table-of-contents {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 200px;

  border-style: solid;
  border-width: 3px;
  border-color: #68b3ff;
  background-color: #0f0e0e;
  padding-right: 0;
  box-shadow: 6px 6px #1f44c6;
  margin: 0px 6px 6px 0px;
}

.blog-table-of-contents h2 {
  background-color: #68b3ff;
  color: #f2f3f4;
  font-size: 24px;
  margin: 0px;
  padding: 0px 3px 3px 3px;
  text-align: center;
}

.blog-table-of-contents ul {
  color: #f2f3f4;
  margin-left: -5px;
  padding-right: 5px;
}

.section-title {
  display: block;
  font-family: 'Husky Stash';
  font-weight: normal;
  letter-spacing: 0px;
  font-size: 40px;
  text-align: left;
  margin: 0px;

  color: #f2f3f4;
  text-shadow: 5px 5px #0f0e0e;
  background-color: #1f44c6;
  margin-bottom: -10px;
  padding: 0px 0px 10px 5px;
}

.row {
  display: flex;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 16px;
  line-height: 1.7em;
  padding: 0;
  list-style-type: none;
}

#recentpostlistdiv ul {
  font-size: 16px;
  padding: 0;
  list-style-type: none;
}

.moreposts {
  font-size: 16px;
  font-weight: bold;
}

a.blog-nav {
  display: inline-block;
  font-family: 'Roboto Mono';
  font-size: 16px;
  font-weight: bold;

  text-align: center;
  text-decoration: none;
  outline: none;
  padding: 4px 15px;

  color: #1f44c6;
  background-color: #f2f3f4;
  border: solid 2px #68b3ff;
  border-radius: 15px;
  box-shadow: 6px 6px #1f44c6;

  width: fit-content;
  transition: all .2s;
}

a.blog-nav:hover {
  color: #f2f3f4;
  background-color: #68b3ff;
  box-shadow: none;
  transform: translate(6px, 6px);
}

a.blog-nav:active {
  color: #f2f3f4;
  background-color: #68b3ff;
  box-shadow: none;
  transform: translate(6px, 6px);
}

a.blog-nav:focus {
  color: #f2f3f4;
  background-color: #68b3ff;
  box-shadow: none;
  transform: translate(6px, 6px);
}

/* tagging system */
#postTags {
  font-family: 'Nerko One';
  color: #f2f3f4;
  background-color: #0f0e0e;
  font-size: 18px;
  padding: 0 3px;
  margin-bottom: 1em;
  width: fit-content;
}

#taggedPosts ul {
  font-size: 16px;
  line-height: 1.7em;
  padding: 0;
  list-style-type: none;
}

#tagList {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: fit-content;
}

@media (max-width: 600px) {
  #postTitleH1 {
    font-size: 50px;
  }

  #nextprev {
    position: relative;
    bottom: 0;
    right: 0;
  }

  #tagList {
    flex-direction: row;
  }

  .blog-table-of-contents {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 2em;
  }

  .row {
    flex-direction: column;
  }

  img {
    height: auto;
    width: 100%;
  }
}