/* Table of Contents
/* ------------------------------------------------------------

This is a minimalized development CSS file based from the casper
theme in conjunction bootstrap v4.  

1.  Global Styles
2.  Site Header
3.  Site Navigation
4.  Post Feed
5.  Single Author Byline
6.  Related Posts
7.  Koenig Styles
8.  Author Template
9.  Sidebar Navigation Panel
10. Covfefe Hamberder
11. Navbar Auth
12. Footer 
13. Video as Header img

*/

/* Preloader
/* ---------------------------------------------------------- */
.preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-repeat: no-repeat;
  background-color: #ffffff;
  background-position: center;
}

/* 1. Global - Set up the things
/* ---------------------------------------------------------- */

html {
  height: 100%;
}

body {
  padding-top: 120px;
  font-family: 'AlienwareRegular', sans-serif;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

a:hover {
  text-decoration: none;
}

.text-white a {
  color: #ffffff;
}

.text-black a {
  color: #000000;
}

p,
blockquote,
dl,
ol,
ul {
  margin-bottom: 1rem;
  display: flow-root;
}

.card-img-top {
  border-radius: 0;
  width: 100%;
  object-fit: cover;
}

.post-feed .card-img-top {
  height: 40vh;
}

@font-face {
  font-family: AlienwareRegular;
  src: url('https://media.alienwarearena.com/fonts/Alienware-Regular.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: AlienwareItalic;
  src: url('https://media.alienwarearena.com/fonts/Alienware-Italic_0.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: AlienwareBold;
  src: url('https://media.alienwarearena.com/fonts/Alienware-Bold.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: AlienwareBoldItalic;
  src: url('https://media.alienwarearena.com/fonts/Alienware-BoldItalic.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: AlienwareLight;
  src: url('https://media.alienwarearena.com/fonts/Alienware-Light.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: AlienwareLightItalic;
  src: url('https://media.alienwarearena.com/fonts/Alienware-LightItalic_0.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: AlienwareMedium;
  src: url('https://media.alienwarearena.com/fonts/Alienware-Medium.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: AlienwareMediumItalic;
  src: url('https://media.alienwarearena.com/fonts/Alienware-MediumItalic_0.ttf')
    format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'icomoon';
  src: url('https://media.alienwarearena.com/fonts/icomoon.eot?o3i9iv');
  src: url('https://media.alienwarearena.com/fonts/icomoon.eot?o3i9iv#iefix')
      format('embedded-opentype'),
    url('https://media.alienwarearena.com/fonts/icomoon.ttf?o3i9iv')
      format('truetype'),
    url('https://media.alienwarearena.com/fonts/icomoon.woff?o3i9iv')
      format('woff'),
    url('https://media.alienwarearena.com/fonts/icomoon.svg?o3i9iv#icomoon')
      format('svg');
  font-weight: normal;
  font-style: normal;
}

/* 2. Site Header
/* ---------------------------------------------------------- */

.site-header {
  position: relative;
  padding-top: 12px;
  padding-bottom: 12px;
  color: #fff;
  background: #090a0b no-repeat 50%;
  background-size: cover;
}

.site-header:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: block;
  background: rgba(0, 0, 0, 0.18);
}

.site-header:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 10;
  display: block;
  height: 80px;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

.site-header.no-image:before,
.site-header.no-image:after {
  display: none;
}

.site-logo {
  max-height: 45px;
}

@media (max-width: 500px) {
  .site-title {
    font-size: 3rem;
  }
  .site-description {
    font-size: 1.8rem;
  }
}

/* 3. Site Navigation
/* ---------------------------------------------------------- */

.navbar {
  z-index: 300;
}

.navbar-brand img {
  display: block;
  width: auto;
  height: 36px;
}

.navbar-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  transition: all 0.5s;
}

.navbar-top.scrolled {
  background-color: hsla(240, 1%, 16%, 0.7) !important;
  box-shadow: 0 0 5px hsla(0, 0%, 0%, 0.8);
}

.navbar {
  padding: 12px 5px;
  border: none;
  border-radius: 0;
  margin-bottom: 40px;
}

.logo {
  position: fixed;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.logo a,
.logo svg {
  color: hsla(0, 0%, 100%, 1) !important;
}

/* 4. Post Feed
/* ---------------------------------------------------------- */

.post-full-image img {
  width: 100%;
  height: 800px;
  -o-object-fit: cover;
  object-fit: cover;
}

@media (max-width: 500px) {
  .post-full-image img {
    width: 100%;
    height: 200px;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.post-card-tags,
.card-title,
.post-card-excerpt {
  color: #212529;
}

.post-full-content > p:first-child {
  font-size: 1.5em;
  line-height: 1.5em;
  margin: 0 0 1.5em;
  font-weight: bold;
}

.post-full-content blockquote {
  margin: 0 0 1.5em;
  padding: 0 1.5em;
  border-left: 3px solid #3eb0ef;
}

.post-full-content pre {
  overflow-x: auto;
  margin: 1.5em 0 3em;
  padding: 20px;
  max-width: 100%;
  border: 1px solid #000;
  color: #e5eff5;
  background: #0e0f11;
  border-radius: 5px;
}

.author-list {
  display: flex;
  flex-wrap: wrap-reverse;
  margin: 0;
  padding: 0;
  list-style: none;
}

.author-list-item {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.author-list-item:nth-child(1) {
  z-index: 10;
}
.author-list-item:nth-child(2) {
  z-index: 9;
}
.author-list-item:nth-child(3) {
  z-index: 8;
}
.author-list-item:nth-child(4) {
  z-index: 7;
}
.author-list-item:nth-child(5) {
  z-index: 6;
}
.author-list-item:nth-child(6) {
  z-index: 5;
}
.author-list-item:nth-child(7) {
  z-index: 4;
}
.author-list-item:nth-child(8) {
  z-index: 3;
}
.author-list-item:nth-child(9) {
  z-index: 2;
}
.author-list-item:nth-child(10) {
  z-index: 1;
}

.static-avatar {
  display: block;
  overflow: hidden;
  margin: 0 -5px;
  width: 34px;
  height: 34px;
  border: #fff 2px solid;
  border-radius: 100%;
}

.static-avatar-wrapper {
  padding: 4px;
  text-align: center;
}

.author-profile-image {
  display: block;
  width: 100%;
  height: 100%;
  background: color(var(--lightgrey) l(+10%));
  border-radius: 100%;
  object-fit: cover;
}

/* 5. Single Author Byline
/* ---------------------------------------------------------- */

.author-card .author-profile-image {
  margin-right: 15px;
  width: 60px;
  height: 60px;
}

.author-card .avatar-wrapper {
  padding: 14px 16px;
}

/* 6. Related posts
/* ---------------------------------------------------------- */

.read-next-card {
  background: var(--darkgrey) center center;
  background-size: cover;
  background-position: center;
  box-shadow: rgba(39, 44, 49, 0.06) 8px 14px 38px,
    rgba(39, 44, 49, 0.03) 1px 3px 8px;
}

/* 7. Koenig Styles
/* ---------------------------------------------------------- */

.kg-bookmark-card {
  width: 100%;
  position: relative;
}

.kg-bookmark-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  color: currentColor;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.kg-bookmark-container:hover {
  text-decoration: none;
}

.kg-bookmark-content {
  flex-basis: 0;
  flex-grow: 999;
  padding: 20px;
  order: 1;
}

.kg-bookmark-title {
  font-weight: 600;
}

.kg-bookmark-metadata,
.kg-bookmark-description {
  margin-top: .5em;
}

.kg-bookmark-metadata {
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kg-bookmark-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.kg-bookmark-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: text-bottom;
  margin-right: .5em;
  margin-bottom: .05em;
}

.kg-bookmark-thumbnail {
  display: flex;
  flex-basis: 24rem;
  flex-grow: 1;
}

.kg-bookmark-thumbnail img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

.kg-bookmark-author {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.kg-bookmark-publisher::before {
  content: "•";
  margin: 0 .5em;
}

.post-full-content .kg-image {
  max-width: 100%;
}

/* Preventing full-width image overlap with post image.  */
.post-full-image + .post-full-content .kg-content *:first-child .kg-image {
  width: 100%;
}

.post-full-content .kg-width-wide .kg-image {
  max-width: 1040px;
}

.post-full-content .kg-width-full .kg-image {
  max-width: 100vw;
}

.post-full-content figure {
  margin: 1.5em 0 3em;
}

.post-full-content figure img {
  margin: 0;
}

.post-full-content figcaption {
  margin: 1em 0 0;
  font-size: 80%;
  line-height: 1.6em;
  text-align: center;
}

.kg-width-full figcaption {
  padding: 0 1.5em;
}

.kg-embed-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100%;
}

.kg-embed-card .fluid-width-video-wrapper {
  margin: 0;
}

@media (max-width: 1040px) {
  .post-full-content .kg-width-full .kg-image {
    width: 100vw;
  }
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  width: 100%;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.kg-gallery-image img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}

.kg-gallery-row:not(:first-of-type) {
  margin: 0.75em 0 0 0;
}

.kg-gallery-image:not(:first-of-type) {
  margin: 0 0 0 0.75em;
}

.kg-gallery-card + .kg-image-card.kg-width-wide,
.kg-gallery-card + .kg-gallery-card,
.kg-image-card.kg-width-wide + .kg-gallery-card,
.kg-image-card.kg-width-wide + .kg-image-card.kg-width-wide {
  margin: -2.25em 0 3em;
}

/* 8. Author Template
/* ---------------------------------------------------------- */

#author-page .author-profile-image {
  z-index: 10;
  flex-shrink: 0;
  margin: 0 0 20px 0;
  width: 100px;
  height: 100px;
  box-shadow: rgba(255, 255, 255, 0.1) 0 0 0 6px;
}

/* 9. Sidebar navigation panel
/* ---------------------------------------------------------- */
#sidebar {
  width: 380px;
  position: fixed;
  top: 0;
  left: -380px;
  height: 100vh;
  z-index: 9999;
  background: hsla(0, 2%, 21%, 1);
  color: hsla(165, 6%, 86%, 1);
  transition: all 0.3s;
  overflow-y: scroll;
  box-shadow: none;
}

#sidebar .sidebar__promo {
  text-align: center;
  margin-top: 2.5rem;
}

#sidebar .sidebar__promo img {
  max-width: 80%;
  height: auto;
}

#sidebar.active {
  left: 0;
  box-shadow: 3px 3px 3px hsla(0, 0%, 0%, 0.2);
}

#sidebar .sidebar-header {
  padding: 0 22px;
  background: hsla(0, 2%, 21%, 1);
}

#sidebar ul.components {
  padding: 0 22px;
}

#sidebar ul p {
  padding: 10px;
}

#sidebar ul li a {
  color: hsla(0, 0%, 100%, 1);
  padding: 14px 10px;
  font-family: 'AlienwareLight', sans-serif;
  font-size: 0.9em;
  line-height: 1rem;
  display: block;
  border-right-style: solid;
  border-right-width: 6px;
  border-right-color: transparent;
  border-bottom: 1px solid hsla(330, 2%, 23%, 1);
  text-shadow: 1px 1px 1px hsla(0, 0%, 0%, 0.5);
}

#sidebar ul li a:hover {
  color: hsla(185, 63%, 59%, 1);
  border-right-color: hsla(185, 63%, 59%, 1);
}

#sidebar ul li.active > a,
a[aria-expanded='true'] {
  color: hsla(185, 63%, 59%, 1);
  border-right-color: hsla(185, 63%, 59%, 1);
}

.dismiss-menu {
  color: hsla(165, 6%, 86%, 1);
  position: absolute;
  top: 8px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 5;
}

.dismiss-menu.right {
  right: 5px;
}

.dismiss-menu.left {
  left: 5px;
}

.dismiss-menu:hover {
  color: hsla(185, 63%, 59%, 1);
}

/* 10. Covfefe Hamberder
/* ---------------------------------------------------------- */
.hamberder {
  padding: 1px 6px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}

.hamberder:hover {
  opacity: 0.7;
}
.hamberder.active:hover {
  opacity: 0.7;
}

.hamberder.active .hamberder-inner,
.hamberder.active .hamberder-inner::before,
.hamberder.active .hamberder-inner::after {
  background-color: hsla(165, 6%, 86%, 1);
}

.hamberder-box {
  width: 28px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamberder-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamberder-inner,
.hamberder-inner::before,
.hamberder-inner::after {
  width: 28px;
  height: 4px;
  background-color: hsla(0, 0%, 100%, 1);
  border-radius: 0px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamberder-inner::before,
.hamberder-inner::after {
  content: '';
  display: block;
}

.hamberder-inner::before {
  width: 14px;
  top: -8px;
}

.hamberder-inner::after {
  width: 20px;
  bottom: -8px;
}

.hamberder--covfefe .hamberder-inner {
  transition-duration: 0.075s;
  transition-timing-function: cubic-bezier(0.5, 0.05, 0.6, 0.2);
}

.hamberder--covfefe .hamberder-inner::before {
  transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamberder--covfefe .hamberder-inner::after {
  transition: bottom 0.075s 0.12s ease,
    transform 0.075s cubic-bezier(0.5, 0.05, 0.6, 0.2);
}

.hamberder--covfefe.active .hamberder-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.2, 0.6, 0.3, 1);
}

.hamberder--covfefe.active .hamberder-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.075s ease, opacity 0.075s 0.12s ease;
  width: 28px;
}

.hamberder--covfefe.active .hamberder-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.075s ease,
    transform 0.075s 0.12s cubic-bezier(0.2, 0.6, 0.3, 1);
  width: 28px;
}

/* 11. Navbar Auth
/* ---------------------------------------------------------- */
.navbar-auth {
  padding: 0px 6px;
  color:hsla(0, 0%, 100%, 1);

}


/* 12. Footer
/* ---------------------------------------------------------- */
footer a,
footer a:hover {
  color: hsla(225, 3%, 52%, 1);
  font-size: 0.6rem;
}

footer .nav-link {
  padding: 0.5rem 0.25rem;
}


/* 13. Video as Header img
/* ---------------------------------------------------------- */
.post-full-image video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  }
  .post-full-image {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  }