/* Bootstrap variable overrides */
:root {
  --bs-body-font-family: "Source Serif 4", serif;
}

body {
  background-color: #c5e8ef;
}

.navbar-nav .nav-item {
  background-color: cadetblue;
  border-radius: 0.25rem;
}

.navbar-nav .nav-item:hover, .navbar-nav .nav-item:focus {
  background-color: cornflowerblue;
  border-radius: 0.25rem;
}

.navbar-nav .nav-link {
  transition: background-color 0.2s;
}

/* Highlight active nav item the same on all screen sizes */
.navbar-nav .nav-link.active,
.navbar-nav .nav-item.active > .nav-link {
  background-color: cornflowerblue !important;
  color: #fff !important;
  border-radius: 0.25rem;
}

/* Header styles */
.site-header {
  z-index: 1030;
  background-image: url('/images/pics/background_header.webp');
  background-position: center center;
  background-size: cover; /* 100% 120%; */
  background-repeat: no-repeat;
}

.main-nav {
  /* background-color: #ffffff;
  opacity: 80%; */
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

.logo {
  width: 128px;
  height: 128px;

  /* padding: .125rem; */
  margin: .125rem;

  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background-color: var(--bs-body-bg);
}

.articles-index-img {
  width: 210px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 576px) {
  .articles-index-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Article images responsive sizing */
.article-img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  margin: 1rem 0 !important;
  display: block !important;
}

@media (min-width: 768px) {
  .article-img {
    width: 50% !important;
    max-width: 50% !important;
    float: left !important;
    margin: 0 1rem 1rem 0 !important;
    display: block !important;
  }
}

.hashtag {
  position: relative;
  padding-left: 0.75em;
  white-space: nowrap;
  display: inline-block;
}
.hashtag::before {
  content: "#";
  position: absolute;
  left: 0;
  color: #888;
  font-weight: bold;
  margin-right: 0.2em;
}

button.navbar-toggler {
  background-color: rgb(255, 255, 255, 33%);
}

a {
  color: #111825;
  text-decoration: none;
}

a:hover {
  color: #1e2a3a;
  text-decoration: underline;
}
