* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar.fixed-top.navbar-scroll {
  transform: translateY(-100%);
  transition: transform 0.5s;
}

.navbar.fixed-top.navbar-scroll.show {
  transform: translateY(0);
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  overflow-x: hidden; /* Prevent scroll on narrow devices */
  padding-top: 56px;
  color: #121828;
}

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1200px;
  }
}

a {
  /* color: #0069DB; */
  color: #1620DD;
  text-decoration: none;
}

a:hover {
  color: #1620DD;
  text-decoration: underline;
}

.active {
  color: red;
}

.medium-text {
  font-weight: 700;
}

.btn-primary {
  background-color: #5048e5;
  border: 1px solid #5048e5;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;

}

.btn-primary:hover {
  background-color: #4038DE;
  text-decoration: none;
}

.card {
  /* border: none; */
  /* box-shadow: rgb(100 116 139 / 6%) 0px 1px 1px, rgb(100 116 139 / 10%) 0px 1px 2px; */
  background-color: white;
  border-radius: 8px;
}

p {
  /* margin-bottom: 1.3em; */
  font-weight: 400;
  font-size: 15px;
  color: #232323;
}

pre {
  background-color: #f4f4f4;
  /* padding: 15px; */
  padding: 1em;
  color: #000;
  font-size: 1em;
  font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;
}

pre[class*=language-] {
  margin-bottom: 20px;
}

article p {
  line-height: 1.9;
}

.tooltip-inner {
  max-width: 100% !important;
}

ul {
  list-style-type: square;
}

li {
  margin-bottom: 10px;
}

ol {
  
}

h1 {
  font-size: 2.1rem;
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0 12px;
}

p.list-title {
  margin-bottom: 8px;
}

#main-navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid #ddd;
  /* background: rgb(0,0,0); */
  /* background: linear-gradient(0deg, rgba(24,39,66,1) 0%, rgba(11,17,31,1) 80%); */
}

.text-primary {
  color: #5048e5 !important;
}

.btn-outline-primary {
  color: #5048e5;
  border-color: #5048e5;
}

.btn-outline-primary:hover {
  background-color: #4038DE;
  border-color: #4038DE;
  text-decoration: none;
}

.btn-toggle-nav a:hover, .btn-toggle-nav a:focus {
  background-color: #EAE9FC !important;
}
.btn-toggle:hover, .btn-toggle:focus {
  background-color: #EAE9FC !important;
}

.btn-toggle:hover, .btn-toggle:focus {

}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #EAE9FC;
  text-decoration: none;
}

#navbar-logo {
  margin-top: -4px;
}

#navbar-title {
  font-weight: 400;
  font-size: 16px;
  color: #EAE9FC;
  text-decoration: none;
}

/* Boostrap */
.bg-light {
  /* background-color: #dedede !important; */
  background-color: #efefef !important;
}

.bg-dark {
  background-color: #111827 !important;
}

.list-item-icon {
  margin-top: -4px;
  margin-left: 4px;
}

.info-box {
  padding: 20px 20px 0px;
  margin: 40px 0 40px;
  border: 1px solid #bbb;
  border-radius: 6px;
}

h3.info-box-title {
  font-size: 18px;
  margin-top: -32px;
  padding: 0 6px 0 8px;
  background-color: white;
  width: fit-content;
}

.pagination-info {
  margin: 8px 12px 0;
  font-size: 14px;
}

.mono-text {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 14px;
}

/* Colors */
.hide-code-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
}

td.col-limit {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

code {
  color: #ED254E;
}

code[class*=language-], pre[class*=language-] {
  font-size: 0.9em;
}

:not(pre)>code[class*=language-], pre[class*=language-] {
  background-color: #ffffee;
}

.nav-link {
  font-size: 15px;
  color: #333333 !important;
}

li.nav-item {
  margin: 10px 0;
}

.nav-link:hover {
  /* font-size: 16px; */
  /* color: #555555 !important; */
  text-decoration: underline;
  /* background-color: #5048e5; */
}

.navbar-dark .navbar-toggler {
  border-color: #000000;
  background-color: #000000;
  /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); */
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 1em;
  }
}

.tags-list {
  color: #555555;
}

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Page */
.page-title {
  padding: 16px 0 0;
  color: #000;
}

.page-header {
  padding: 40px 0;
}

.page-tag {
  border: 1px solid #ff0080;
  background-color: white;
  color: #ff0080;
  font-size: 10px;
  margin: 0px 0 30px;
  display: inline-block;
  font-weight: normal;
  padding: 1px 10px;
  border-radius: 4px;
  
}

#header-logo {
  height: 22px;
  /* margin-top: -6px; */
}

#header-text-logo {
  margin: 0;
  padding: 0;
  color: #000000;
  margin-top: 2px;
}

/* Footer */
#footer-logo {
  margin-bottom: 10px;
}

#footer-copy {
  margin-bottom: 4px !important;
}

#footer-privacy {
  font-size: 10px;
  margin-top: 0;
}
/* Home */
.post-link {
  color: black;
}

.post-table {
  width: 94%;
  margin: 0 12px 16px;
}

.home-post-info {
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0 18px;
}

.home-post-title {
  font-size: 1.8rem;
  margin-top: 24px;
  color: #0000a7;
  font-weight: normal;
}

.post-link:hover {
  color: #0000a7;
  text-decoration: underline;
}

.home-post-image {
  /* min-height: 160px; */
  /* object-fit: cover; */
  width: 100%;
  margin-top: 32px;
  object-fit: cover;
  max-height: 160px;
  border-radius: 4px;
}

.home-post-description {
  max-height: 160px;
  overflow: hidden;
  margin-bottom: 24px;
}

/* Sidebar */
.sidebar-social-box {
  /* width: 33.333333%; */
  text-align: center;
  padding: 4px;
}

.sidebar-social-link {
  /* width: 33.333333%; */
  width: 100%;
}

#social-box-github {
  background-color:#333333;
}

#social-box-twitter {
  background-color:#1A8FE3;
}

#social-box-instagram {
  background-color:#8134af;
}

/* Post */
.post-title {
  margin-top: 12px;
  color: #000;
}

.post-date {
  color: #FF0080;
  text-transform: uppercase;
}

.post-info {
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0 24px;
}

.post-update-date {
  color: gray;
  font-size: 12px;
}

.post-category {
  color: #b3b3b3;
  text-transform: uppercase;
}

.post-date-divider {
  color: #738a94;
  margin: 0 6px;
}

.post-cover-image {
  width: 100%;
  /* max-height: 400px; */
  object-fit: cover;
  max-height: 160px;
}

#author-image {
  margin-top: 8px;
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
}

#author-info {
  padding-left: 12px;
}

#author-name {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 8px;
}

#author-bio {
  font-size: 15px;
  margin: 0 0 4px;
}

.profile-field-title {
  color: #008176;
  font-weight: 600;
  font-size: 15px;
}

.featured-title {
  font-size: 20px;
  margin: 0;
  /* margin-top: 20px; */
}

.featured-image {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
}

.comments-container {
  margin-top: 40px;
}

/* 404 page */
.container-404 {
  text-align: center;
  padding: 120px 0;
}

/* Analysis */
.histogram-loading {
  margin-top: 40px;
  text-align: center;
}

.histogram-sidecontent {
  margin-top: 50px;
  margin-left: 20px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
}

.histogram-notice {
  margin-top: 50px;
  margin-left: 20px;
  background-color: #ffffcc;
  border: 1px solid #eecc16;
  padding-left: 20px;
  padding-top: 20px;
  padding-bottom: 10px;
}

.histogram-notice p {
  font-size: x-small;
}
