:root {
  --base-bg: #000;
  --font:
    'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:
    'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace;
  --mobile: 800px;
  --bg-alt: rgb(241 241 241 / 95%);
  --color-fg: #000;
  --accent: #66fd38;
  --border-color: #ddd;
  --margin: 75px;
}

body {
  font-size: 14px;
  font-family: var(--font);
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  display: block;
  border: 0;
}

body::after {
  content: " ";
  width: 100%;
  position: fixed;
  height: 100%;
  background-size: cover;
  opacity: 0.075;
  left: 0;
  top: 0;
  z-index: -1;
  /* filter: grayscale(1); */
  opacity: 0.15;
  background: url('/assets/img/joshua-oluwagbemiga-Z6HQ0EhoD6g-.webp')
}

.app {
  background: #f6f7f8;
  width: 100%;
  max-width: 1100px;
  /* height: 100%; */
  box-shadow: 0px 0 30px 0px rgba(0, 0, 0, 0.15);
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.container {
  display: flex;
  position: relative;
  flex-direction: column;
}

.container .sidebar {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 0px;
    background: #fff;
    padding: 10px var(--margin);
    position: relative;
}

.container .sidebar .links {}

.container .sidebar .links a {
  padding: 5px 0px;
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin-right: 15px;
  /* font-weight: 400; */
}

.container .sidebar .links a:hover {
  --link-color: var(
  --accent);
  /*! background: -webkit-linear-gradient(20deg, #000, var(--link-color)); */
  /*! -webkit-background-clip: text; */
  /*! -webkit-text-fill-color: transparent; */
  opacity: 0.75;
}


.container .sidebar .links a.active {
  font-weight: bold;
  color: #000;
}

/* Dash of paint on active buttons */

/* .container .sidebar .links a.active::before {
  height: 27px;
  width: calc(100% + 8px);
  content: " ";
  display: inline-block;
  background: linear-gradient(-248deg, gold, #fff);
  position: absolute;
  top: 2px;
  z-index: -1;
  left: -8px;
  opacity: .75;
  border-radius: 3px;
}


.container .sidebar .links a.active::after {
  height: 17px;
  width: 130%;
  content: " ";
  display: inline-block;
  background: linear-gradient(90deg, purple, #32cd32, #fff);
  position: absolute;
  top: 17px;
  left: -1px;
  opacity: .3;
  z-index: -2;
  border-radius: 2px;
} */

.container #content {
  width: 100%;
}

.blog-title {
  font-size: 70px;
  font-weight: 900;
  opacity: 0.25;
  margin: 25px;
}

.blog-sub {
  /*! background: var(--bg-alt); */
  top: 0;
  z-index: 9999999;
  background: #000;
  backdrop-filter: blur(7px);

  /*! margin-bottom: 40px; */
  padding: 20px var(--margin);
  color: #fff;
}

.blog-sub .blog-name {
  margin-right: 30px;
  font-weight: 900;
  text-decoration: none;
  font-size: 25px;
  color: #fff;
  display: block;
  padding-bottom: 2.5px;
}

.blog-sub .blog-name:hover {
  color: var(--accent);
}

.blog-sub .company {
  font-weight: 900;
  text-decoration: none;
  color: #fff;
}

.blog-sub .company:hover {
  color: #EEBC1D;
}

.blog-sub .avatar {
    height: 46px;
    float: left;
    width: 46px;
    margin-right: 25px;
    margin-top: 8px;
}

a {
  color: #000;
}

.meta {
  margin: 0;
  margin-bottom: 0px;
  opacity: 0.65;
  padding: 5px 10px;
  display: inline-block;
  margin-bottom: 10px;
  border-radius: 2px;
  border: 1px solid #ddd;
}

.top {
  margin: 20px var(--margin);
}

.top .post-title {
  margin-top: 0;
  background: -webkit-linear-gradient(20deg, #000, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.5rem;
  margin-bottom: 0px !important;
}


.top .post-title a {
  text-decoration: none;
}

hr {
  border: 1px solid var(--border-color);
}


.footer {
  text-align: right;
  padding: 50px var(--margin);
  font-size: 11px;
}

.footer p {
  margin: 2px;
}

/* POST CONTENT */

.post-container {
  padding: 20px var(--margin);
  background: #fff;
  border: 2px solid var(--border-color);
  border-left: none;
  border-right: none;
}

.post-content {
  max-width: 700px;
  font-size: 14px;
}

.post-content> :first-child {
  margin-top: 0px;
}

.table-wrapper {
  margin: 10px 70px 70px;
}

table {
  border-radius: 5px;
  font-size: 12px;
  font-weight: normal;
  border: 1px solid var(--color-alt);
  white-space: nowrap;
  width: 100%;

}

table td,
table th {
  text-align: center;
  padding: 8px;
  border: 1px solid var(--color-alt);
  border-radius: 7.5px;
}

table td {
  border-right: 1px solid var(--color-alt);
  font-size: 12px;
  border-bottom: 1px solid var(--color-alt);
  border-radius: 3px;

}

table thead th {
  color: #fff;
  background: var(--base-bg);
  border-bottom: 1px solid var(--color-alt);
  border-right: 1px solid var(--color-alt);
}


table thead th:nth-child(odd) {}

table tr:nth-child(even) {
  background: var(--bg-alt);
}

blockquote {
    border-left: 5px solid #000;
    margin-left: 5px;
    background: rgba(0, 0, 0, 0.05);
    padding: 5px 35px;
    backdrop-filter: blur(20px);
}

#content img {
  width: 100%;
}

#content img.right {
  max-width: 195px;
  float: right;
  padding-left: 15px;
}

#content img.left {
  max-width: 195px;
  float: left;
  padding-right: 15px;
}



li p {
  margin: 0;
}


/* List Post Styles */
.post {
  display: flex;
  flex-direction: column !important;
  margin-bottom: 15px;
}

.post .row {
  flex-direction: column-reverse;
  display: flex;
  /* align-items: center; */
  justify-content: space-between;
}

.post .row .button {
  font-size: 14px;
}

.post .row .date {
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 2px;
  /* width: 260px !important; */
  text-align: left;
  margin-bottom: 10px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
  opacity: 0.85;
}

.post .row .date:hover {
  opacity: 1;
}

.post .row .link {
  font-size: 11.5px;
  opacity: 0.65;
  max-width: 80%;
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding-top: 5px;
  text-decoration: none;
}

.list-post-content {
  /* padding: 0 15px;
    margin: 10px 0;
    border-left: 5px solid var(--border-color); */
}

.post .row .button .arrow {
  opacity: 0.45;
  float: left;
  margin-right: 15px;
  display: none;
}

.post .row .button:hover .arrow {
  color: #000;
  opacity: 1;
}


/* Placed at the end of the file, before the breakpoints, to make sure they stick */

.app,
.post-container,
.sidebar {
  backdrop-filter: blur(1px);
  background: rgba(255, 255, 255, 0.65);
  /* This might fix the issue with flickering as it forces it to use the GPU, not sure */
  -webkit-transform:translate3d(0,0,0); 
  transform: translate3d(0,0,0);
}


@media (max-width: 900px) {
  :root {
    --margin: 25px;
  }

  .blog-sub .avatar {
    float: right;
    margin-right: 0;
    margin-left: 15px;
  }

  .sidebar .links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
  }

  /* .sidebar {
    backdrop-filter: none !important;
    background: #fff !important;
  } */
}