:root {
  --body-bg-image: url('assets/images/background.png');
  --bg-color: #131B29; /*The original color of the TF website's background, with a 60% color and 70% overlay layer clipped on, colored in BLU Air of Debonaire.*/
  --cream-spirit: #B88035; /*Cream Spirit, BLU.*/
  --cream-dream: #FFF19A; /* A lighter version of Cream Spirit, for hovered-over links. */
  --link-orange: #B35215; /* The exact color of orange used for links on teamfortress.com. */
  --blue: #3C362F;
  --bp-header: #B2B2B2;
  --bp-desc: #756B5E;
  
}
  
  :root {
/* Colors */

  --black: #000016; /*Just the color black... or is it?*/
  --latte: #FFF8E7; /* "Cosmic Latte," the average color of galaxies in the universe. */

  /* Blue Variants */

  --darkblue: #09052D;
  --offblue: #130F47;
  --blue: #3337AB;
  --lightblue: #8AA3CA;

  /* Gold */

  --darkgold: #C25D3B;
  --mediumgold: #ECA564;
  --mediumgold-off: #F4C393;
  --lightgold: #FFF6B4;
  --lightestgold: var(--latte);


/* Padding + Margin Values */

  --TJ: 96px;
  --fat: 48px;
  --thick: 24px;
  --medium: 12px;
  --light: 6px;

  }
  
  /* in-game colors */
  
  --darkgold: #776B5F;
  
  }

html {
  --text-color: var(--black);
  --border-color: var(--bp_desc);
  
  --link-color: var(--mediumgold);
  --link-visited: var(--lightblue);
  --link-focus: var(--latte);
  --link-active: var(--lightblue);
  
  --tag-color: var(--link-color);
  
  --border-radius: .5em;
}

article {
  border-radius:4px;
  background-color: var(--darkblue);
  }

article header {
  background-color: var(--blue);
  border-radius: 12px;
  margin: 12px;
  padding: 0px 6px 6px 6px;
}

article header h1.title {
  font-size: 32px;
  padding: 12px;
  color: var(--bp-header);
}

label {
  font-family: 'Gill Sans';
  color: var(--lightblue);
}

hr {
  color: var(--lightblue)
}

button {
  font-family: 'Gill Sans';
  color: var(--mediumgold);
  background-color: var(--blue);
  border-radius: 12px;
  font-size: 16px;
  padding: 12px;
  margin: 12px;
  text-align: center;
}

#blog a:visited {
  color: var(--link-visited);
}
#blog a {
  text-decoration: none;
  color: var(--lightyellow);
  text-align: center;
}
#blog a:hover,
#blog a:focus {
  color: var(--link-focus);
  text-decoration: underline;
}
#blog a:active {
  color: var(--link-active);
}

#blog img {
  display:flex;
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
  margin: 0 auto;
  text-align: center;
  background-image: url('assets/images/uv_bg.png');
}

#blog-archive {
  display: none;
}

#blog {
  position: relative;
  box-sizing: border-box;
  line-height: 1.3333;
  color: var(--black);
  margin: 1em;
  overflow: hidden;
}

#blog .body p {
  background-color: #E9DECA;
  border-radius: 12px;
  padding: 32px;
  text-align: left;
}


#blog .blog-bar hr, 
#blog .page-navigation hr,
#blog .pagination hr {
  border-color: var(--border-color);
}

#blog .blog-bar {
  box-sizing: border-box;
  padding: 0 1em .5em 1em;
  border-radius: var(--border-radius);
}

#blog .blog-bar form {
  margin: .5em 0;
}

#blog .blog-bar select {
  display: block;
  width: 100%;
  font-family: 'Gill Sans';
  border-radius: 12px;
  font-size: 12px;
  padding: 12px;
  margin: 12px;
  text-align: center;
}

#blog #tag-form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: .25em;
  width: 100%;
}

#blog #tag-search {
  flex: 8;
}
#blog #tag-form button {
  flex: 1;
  
}

#blog .blog-main {
  margin-top: 2em;
  overflow: scroll;
}

#blog .breadcrumbs {
  margin: 0 0 2em 0;
  font-size: 1.15em;
}

#blog .post-navigation a, 
#blog .post-navigation a:visited, 
#blog .breadcrumbs a:visited, 
#blog .breadcrumbs a {
  color: inherit;
}
#blog .post-navigation a:hover,
#blog .breadcrumbs a:hover,
#blog .breadcrumbs a:focus {
  color: var(--link-focus);
}

#blog .breadcrumbs .trail {
  margin: 0 .25em;
}

#blog .section {
  text-align: center;
}

#blog .section.year {
  font-family: 'Gill Sans Medium';
  font-size: 24px;
  max-width: 50%;
  margin: 0 auto;
  margin-top: 2em;
  color: var(--latte);
  font-size: 20px;
  border-radius:24px;
}

#blog .section.month {
  font-family: 'Gill Sans';
  font-weight: bold;
  color: var(--latte);
  font-size: 20px;
  margin: 2em;
  
}

#blog .section.year + .section.month {
  margin: 0 auto;
  margin-top: 10px;
  max-width: 25%;
  text-align:center;
  border-radius: 24px;
  padding: 12px;
}

#blog .post {
  box-sizing: border-box;
  margin: 1em auto;
  position: relative;
}

#blog.blog .post {
  padding: 0 1em;
  border-radius: 12px;
  overflow: hidden;
}

#blog .title {
  font-weight: bold;
  font-size: 32px;
  margin: 0;
  margin-top: 1em;
  line-height: 1;
  text-align: center;
}

#blog.blog .title {
  font-family: 'Bodega Sans Medium';
  font-size: 32px;
}

#blog .title a,
#blog .blog-link {
  color: inherit;
}

#blog .blog-link {
  line-height: 1;
  position: absolute;
  top: 1.8em;
  right: 1em;
  font-size: .8333em;
}

#blog .date {
  font-weight: bold;
  margin: .5em 0;
}

#blog .date time {
  font-family: 'Gill Sans';
  font-size: 18px;
  color: var(--lightblue);
  padding:12px 32px 12px 32px;
}

#blog .body {
  position: relative;
  padding: 1px 0;
  margin-bottom: 1em;
}

#blog .body.cut-off {
  margin-bottom: 0;
}

#blog .show-more[disabled] {
  position: absolute;
  left: -200vh;
  width: 0;
  height:0;
}

#blog .show-more[disabled]:focus {
  position: static;
}

#blog .show-more:visited,
#blog .show-more {
  font-family: 'Gill Sans';
  color: var(--mediumgold);
  display: block;
  position: absolute;
  bottom: 0;
  left:0;
  right:0;
  border:0;
  font: inherit;
  text-align: center;
  padding: 2em 0 1em 0;
  line-height: 1;
  background: transparent;
  background-image: linear-gradient(0deg,transparent 0%, rgba(196, 197, 187, 1) 25%);
  background-size:1px 200%;
  background-position: 0 0;
  color: inherit;
  transition: 1s background-position;
}

#blog .tags {
  font-family: 'Bodega Sans Light';
  font-size: 36px;
  padding:6px;
  margin:0;
  margin-top: 12px;
  list-style-type: none;
  max-width: 100%;
}

#blog footer .tags {
  margin-bottom: .5em;
  margin-top: 0;
}

#blog .tag {
  display: inline-block;
  font-size: .8333em;
  margin: .25em;
}

#blog .tag a {
  display: block;
  color: var(--tag-color);
  background-color: var(--tag-background-color);
  padding: 0 .125em;
  border-radius: .125em;
  text-decoration: none;
}

#blog .tag a:hover,
#blog .tag a:focus {
  background-color: var(--tag-color);
  color: var(--mediumgold);
}

#blog .tag a:before {
  content: '# ';
}
#blog .title ~ .blog-link:focus,
#blog .title ~ .blog-link:hover,
#blog .post .title a:focus,
#blog .post .title a:hover {
  color: var(--mediumgold);
}
#blog .post .show-more:focus,
#blog .post .show-more:hover {
  background-position: 0 20%;
  color: var(--link-focus);
  text-decoration: underline;
}

#blog .skip-to-content {
  position: absolute;
  left: -200vw;
}

#blog .skip-to-content:focus {
  position: static;
}

#blog-nav {
  line-height: 1.5;
  background-color: var(--darkblue);
  border-radius: 12px;
  padding: 24px;
}

#blog-nav h2 {
  font-size: 1.25em;
  margin: 0 auto;
  width: fit-content;
  color: var(--latte);
  text-align: center;
  border-radius: 6px;
}

#blog-nav details {
  margin: .8em 0;
  width: fit-content;
  background-color: var(--blue);
  color: var(--latte);
  padding:10px;
  border-radius: 6px;
}

#blog-nav a {
  font-family: 'Verdana';
  color: var(--latte);
  font-size: 12px;
}

#blog-nav .year {
  margin: .5em 0;
}

#blog-nav summary {
  font-family: 'Gill Sans';
  cursor: default;
  width: fit-content;
}

#blog-nav summary:focus,
#blog-nav summary:hover {
  text-decoration: underline;
}

#blog-nav .months {
  list-style-type: none;
  margin: 0;
  padding: 0;
  padding-left: 1em;
}

#blog-nav .posts {
  list-style-type: disc;
}

#blog .blog-bar hr{
  margin: 2em 0;
}

#blog .pagination,
#blog .post-navigation {
  text-align: center;
  margin: 1em auto;
  font-size: 1.15em;
}

#blog .post-navigation .separator {
  margin: auto .5em;
}
#blog .post-navigation .separator:first-child,
#blog .post-navigation .separator:last-child {
  display: none;
}

#blog .top {
  margin-top: 0;
}

#blog .bottom {
  margin-bottom: 0;
}

#blog .pagination .current {
  font-weight: bold;
  text-decoration: underline double;
  background-color: var(--text-color);
  color: var(--background-color);
  border-color: var(--text-color);
}

#blog .select-navigation select {
  font: inherit;
}

#blog .link-navigation a,
#blog .select-navigation a {
  display: inline-block;
  margin: .5em .25em;
  border-radius: .25em;
  padding: .25em .5em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
}

#blog .pagination a:hover,
#blog .pagination a:focus {
  transform: scale(1.1);
}


@media (min-width: 38em) {
  
  #blog {
    width: 95%;
    max-width: 57em;
    margin: 0 auto;
    padding: 12px;
  }
  
  #blog .blog-bar {
    display: inline-block;
    margin: 0;
    margin-right: 1em;
    width: 15em;
    vertical-align: top;
  }
  
  #blog .blog-main {
    display: inline-block;
    margin: 0;
    width: calc(100% - 16em);
    background-color: var(--darkblue);
    border-radius: 12px;
    overflow: scroll;
  }
  
}

