.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
  text-align: center;
  padding-bottom: 1rem;
}

/* TODO: Do not use display block for all images inside an article. This breaks
 * plugins (such us jemoji) and doesn't allow the authors to decide how they
 * want to render the images in their blog posts (for example if they want to
 * render three images in a row). */
.article img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 100%;
  height: auto;
}
/* This is only needed because display block is used for all images inside an article */
img.emoji{
  display: inline !IMPORTANT
}

.h-carousel {
  height: 35rem;
  object-fit: cover;
}
.blur {
  filter: blur(5px);
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
}

.carousel-caption {
  bottom: 0;
  left: 0;
  right:0;
  border-radius: 0;
  top: 0;
  background-image: linear-gradient(to right, #173f4f 30%, transparent);
  text-align: left;
}
.carousel-caption * {
  max-width: 700px;
}

.decorated-title::before {
  content: "";
  border-top: 2px solid #73ba25;
  width: 75px;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.decorated-title {
  padding-bottom: 0.5rem !important;
  margin-bottom: 0;
}

.twitter-link:hover {
  color: #429CD6;
}

.facebook-link:hover {
  color: #3A589E;
}

.telegram-link:hover {
  color: #179cde;
}

.reddit-link:hover {
  color: #ff4500;
}

.mail-link:hover {
  color: #35b9ab;
}

.top-article:after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background-color: #f8f9fa;
  opacity: 0.8;
  top: 0;
  left:0;
}
.ontop {
  z-index: 200;
}

.text-black {
  color: black
}

/* Dark Theme Styling */
@media (prefers-color-scheme: dark) {
  pre.highlight {
      border: 1px solid #373737;
      background-color: #1e1e1e; /* Darker gray background */
      color: #a8d5ba;           /* Soft green text */
  }
}

/* Light Theme Styling */
@media (prefers-color-scheme: light) {
  pre.highlight {
      border: 1px solid #ddd;
      background-color: #f6f6f6; /* White background */
      color: #444;              /* Darker gray text */
  }
}

.community-badge {
  display: inline-block;
  padding: 0.3em 0.8em;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background-color: #173f4f; /* openSUSE blue */
  border-radius: 4px;
  margin-top: 0.5rem;
}



/* General Styles for Code Blocks */
pre {
  font-family: monospace; /* Use a consistent font */
  /* Add spacing around the text */
  border-radius: 5px;     /* Optional: Rounded corners for aesthetics */
  overflow: auto;         /* Prevent overlapping or text spilling */
}


.text-black:hover {
  color: #444
}


.top-article {
  background-size: cover;
  position: relative;
  background-position: 50%;
  height: 100%;
}

.link_unstyled:hover {
  text-decoration: none;
}


@media (prefers-color-scheme: dark) {
.h-96px {
  height: 72px;
  overflow-y: hidden;
  color: white;
}
}


@media (prefers-color-scheme: light) {
.h-96px {
  height: 72px;
  overflow-y: hidden;
  color:black
}
}

.breadcrumb{
  white-space: nowrap;
  display: block;
  overflow-x: auto;
}

.breadcrumb-item{
  display: inline-block;
}

pre.highlight {
  padding: 1rem;
  border-radius: 0.25rem;
}

/* https://github.com/jwarby/jekyll-pygments-themes UNLICENSE github.css */

.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #000000; font-weight: bold } /* Keyword */
.highlight .o { color: #000000; font-weight: bold } /* Operator */
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #009999 } /* Literal.Number */
.highlight .s { color: #d01040 } /* Literal.String */
.highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .no { color: #008080 } /* Name.Constant */
.highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #800080 } /* Name.Entity */
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
.highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nt { color: #000080 } /* Name.Tag */
.highlight .nv { color: #008080 } /* Name.Variable */
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sb { color: #d01040 } /* Literal.String.Backtick */
.highlight .sc { color: #d01040 } /* Literal.String.Char */
.highlight .sd { color: #d01040 } /* Literal.String.Doc */
.highlight .s2 { color: #d01040 } /* Literal.String.Double */
.highlight .se { color: #d01040 } /* Literal.String.Escape */
.highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
.highlight .si { color: #d01040 } /* Literal.String.Interpol */
.highlight .sx { color: #d01040 } /* Literal.String.Other */
.highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .s1 { color: #d01040 } /* Literal.String.Single */
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */

