.index-title {
  color: rgba(0, 0, 0, 0.84);
  margin-top: 20px;
}
.index-sub {
  color: rgba(0, 0, 0, 0.54);
}
.index-text {
  margin-top: 20px;
  color: rgba(0, 0, 0, 0.44);
}
.index-image {
  width: 400px;
}
.social-icon {
  color: rgba(0, 0, 0, 0.44);
  font-size: 1.5rem;
}
.clock {
  margin-left: 25px;
}
.jumbotron.fortags a {
  background: #1c9963 !important;
}
.error {
  text-align: center !important;
}
@media (min-width: 769px) {
  .md-nopad-right {
    padding-right: 0px !important;
  }
  .md-nopad-left {
    padding-left: 0px !important;
  }
}
.donation {
  background: #f7f7f7;
  padding: 1em;
  font-size: 0.9em;
  box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.3);
  margin: 5em auto;
  opacity: 1;
  overflow: hidden;
  z-index: 1;
}
.donation dd > p {
  margin: 0;
}

.donation dd {
  padding-left: 2em;
}

.donation dd:before {
  content: "◾";
  position: absolute;
  left: 3em;
}
.donation .thanks {
  font-size: 1.6em;
  font-weight: bolder;
  margin: auto;
  text-align: center;
}

.donation .close-button {
  font-size: 2.5em;
  margin: -0.5em -0.1em;
  cursor: pointer;
  float: right;
}

@keyframes heartbeat {
  0% {
    transform: scale(0.75);
  }
  20% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.75);
  }
  60% {
    transform: scale(1);
  }
  80% {
    transform: scale(0.75);
  }
  100% {
    transform: scale(0.75);
  }
}

.donation .heart {
  display: inline-block;
  animation: heartbeat 1s infinite;
}

.donation.hidding {
  opacity: 0;
  margin-top: -80%;
  transition: all 0.3s linear;
}
.hidden {
  display: none;
}

.article-post > p:first-of-type {
  font-size: 1.5rem;
  font-style: italic;
  padding-left: 20px;
  border-left: 4px solid #00ab6b;
  color: rgba(0, 0, 0, 0.5);
}

/* Blank page */
.article-post a[target="_blank"]::after {
  content: " 🌍";
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}

.cryptodonate-btn {
  width: 100%;
  margin: 0.2em 0;
}

.popup {
  width: 400px;
  position: fixed;
  top: 20%;
  left: calc(50% - (400px / 2));
  z-index: 3;
  background: var(--light);
  opacity: 1;
  border-radius: 1em;
}

.popup pre {
  border: none;
}

.popup .close-button {
  float: right;
  cursor: pointer;
}

#docker-donation-popup {
  width: 480px;
}
#docker-donation-popup pre {
  box-shadow: none;
}

details {
  border: 1px solid #aaa;
  border-radius: 4px;
  padding: 0.5em 0.5em 0;
}

summary {
  font-weight: bold;
  margin: -0.5em -0.5em 0;
  padding: 0.5em;
}

details[open] {
  padding: 0.5em;
}

details[open] summary {
  border-bottom: 1px solid #aaa;
  margin-bottom: 0.5em;
}

.overlay {
  position: fixed;
  margin-top: -200px;
  height: calc(100% + 200px);
  width: 100%;
  background-color: #000000aa;
  z-index: 2;
}

span.emoji {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1.5em;
}

.twitter-widget {
  margin: auto;
  box-shadow: 0 0 24px -9px rgba(0, 0, 0, 0.3);
}

.hljs {
  background-color: #272822;
  border-radius: 0 0 1em 1em;
  padding-bottom: 1em;
  margin: 0;
  padding: 1em !important;
}
pre {
  border: none;
  margin: 0 0 2em 0;
  padding: 0;
  box-shadow: 0 0 23px 7px rgba(0, 0, 0, 0.3);
  border-radius: 1em;
  margin-bottom: 2em;
}
pre::before {
  content: "🔵🔴";
  width: 100%;
  display: block;
  background-color: black;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  text-align: right;
  padding-right: 0.5em;
  font-size: 1.1em;
}

.hljs code {
  background: none;
}

pre code.hljs.language-shell {
  line-height: 1.1em !important;
  font-size: 1.1em !important;
}

pre code.hljs.language-text {
  white-space: break-spaces;
  background-color: #474949;
  display: block;
  color: white;
  padding: 1em;
}

figcaption h4 {
  font-size: 0.75rem;
  font-weight: normal !important;
  color: var(--secondary);
  margin-top: 0.5rem;
}

figure {
  text-align: center;
}

[data-align="center"] {
  margin: auto;
  display: block;
}

[data-align="inline"] {
  display: inline-block;
  float: left;
  margin: 1em 1em 1em 0;
}

table {
  border: 1px solid #eee;
}

table th {
  border: 1px solid #eee;
  padding: 0.2em 1em;
}
table td {
  border: 1px solid #eee;
  padding: 0.2em 1em;
}

.hljs {
  white-space: pre-wrap;
}

pre code span.editable {
  text-decoration: underline;
  cursor: pointer;
  color: orange;
}
pre code span.editable:hover {
  color: green;
}
pre code span.editable:after {
  font-family: Sans;
  content: " 🖉";
  font-size: 1.3em;
  display: inline-block;
  position: relative;
  margin-top: -1em;
}
pre code input.editable_var {
  line-height: 1em;
  font-family: monospace;
}

.listrecent .card.h-100 {
  cursor: pointer;
}

.cryptodonate-btn {
  background: transparent !important;
}
.donate {
  background: linear-gradient(45deg, #ffffff, #f2f2f2) !important;
}

.donate:hover {
  background: linear-gradient(45deg, #f2f2f2, #ffffff) !important;
}

.listrecent .card.h-100:hover {
  background: linear-gradient(45deg, #ffffff, #f2f2f2);
}

@media (min-width: 768px) {
  .listrecent .card.h-100 {
    transition: box-shadow 0.3s linear, transform 0.3s linear,
      background 0.3s linear;
  }

  .listrecent .card.h-100:hover {
    box-shadow: 0 0 18px 9px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
  }
}
