body {
  background-color: #1f2128;
  color: #ffffff;
  font-family: "Muli", sans-serif;
  font-size: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fira Code", monospace;
  /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif*/
  margin-top: 3rem;
}
h2 {
  margin-bottom: 0.6em;
}
a,
a:active,
a:focus,
a:hover,
a:visited {
  text-decoration: none;
  color: #ffffff;
  border-bottom: 1px dotted #fff;
}

a.plain,
a.plain:active,
a.plain:focus,
a.plain:hover,
a.plain:visited {
  text-decoration: none;
  color: #ffffff;
  border: none;
}

img {
  width: 100%;
  object-fit: contain;
  border-radius: 5px;
}

hr {
  border-top: 2px solid #25282a;
}

::selection {
  background: #b13221;
}

.container {
  margin-top: 50px;
  margin-bottom: 50px;
}
.title {
  margin-top: 0;
}

.post-content {
  text-align: justify;
}

.post-card-list {
  list-style-type: none;
  padding: 0;
}

.post-card-item {
  padding: 20px 10px;
  border-bottom: 1px solid #25282a;
}
.post-card-header {
}

.post-card-title {
  font-family: "Fira Code", monospace;
  /*font-family: "Helvetica Neue"*/
  margin-top: 0;
  font-size: 1.7rem;
}

.post-card-link {
  color: #ffffff;
  border: none;
}

.post-card-link:active,
.post-card-link:focus,
.post-card-link:hover,
.post-card-link:visited {
  text-decoration: underline;
  color: #ffffff;
  border: none;
}

.post-card-meta {
  font-size: 16px;
}

.post-card-date {
  opacity: 0.9;
}

.post-tag {
  background-color: #b01212;
  /*background-color: #a9a9a9;;*/
  margin: 0 5px;
  padding: 2px 5px;
  font-family: "Fira Code", monospace;
  font-size: 0.8em;
}

.post-card-excerpt {
  font-size: 1.2rem;
  padding: 1rem 0;
}

.post-title {
  font-size: 2.5rem;
  margin-top: 0;
}

.post-meta {
  font-size: 16px;
  padding: 20px 0px;
}

@media (max-width: 1200px) {
  .post-title {
    font-size: 2.3rem;
  }
}

.sidebar {
  padding-left: 10px;
  padding-right: 10px;
}

.sidebar .title {
  font-size: 3.5rem;
  display: block;
}

.sidebar .title a {
  text-decoration: none;
  color: #ffffff;
}

.sidebar .post-tag {
  padding: 3px 9px;
  margin-bottom: 12px;
  display: inline-block;
  font-size: 1rem;
}

@media (max-width: 1200px) {
  .sidebar .title {
    font-size: 3rem;
  }
  .sidebar .post-tag {
    padding: 2px 7px;
    margin-bottom: 9px;
    font-size: 0.9rem;
  }
}

#loader::after {
  content: "_";
  opacity: 1;
  animation: terminalLoader 1s linear infinite;
}

@keyframes terminalLoader {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

footer {
  margin-top: 20px;
  margin-bottom: 20px;
}

footer {
  font-size: 1.1rem;
}

footer .copyright {
  font-size: 0.9rem;
  margin-top: 10px;
}

.utterances {
      max-width: 100%;
}

code {
  font-family: "Fira Code", monospace;
}

.highlight {
  background-color: #1a1c22;
  font-size: 0.9em;
}

div.highlight {
  margin-bottom: 1rem;
  padding: 20px 25px;
}

pre.highlight {
  margin: 0;
  font-weight: 300;
}

/* Burger Menu */

#menuToggle
{
  display: block;
  position: relative;
  top: 25px;
  left: 25px;
  width: 50px;

  z-index: 1;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
  color: #ffffff;
}

#menuToggle a:hover
{
  color: #dc3545;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #ffffff;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: #1f2128;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
}

/* Responsive */

@media (max-width: 1200px) {
  footer {
    font-size: 0.9rem;
  }
}

/* About Page */

.me-container {
    width: 170px;
}

.me-container img {
    border-radius: 50%;
}
