.post-date-label {
  margin: 20px 0px 0px 0px;
  font-weight: 600;
  width: 40%;
  color: #2b7379;
  background-color: #d6eef3e6;
  border-radius: 25px;
  text-align: left;
  padding: 5px 20px;
}

.post-title-header {
  font-family: "Dosis" !important;
  font-weight: 600;
  text-align: left;
  width: 75%;
  font-size: 1.5rem;
  margin: 0px 10px;
}

.post-body {
  line-height: 1.3;
  text-align: justify;
  margin: 10px;
}

.post-body-img-container {
  margin: auto;
  text-align: center;
}

.post-body-img {
  width: 60%;
  border-radius: 10px;
}

.post-body-img:hover {
  filter: drop-shadow(0 0 0.75rem gray);
  transition: 0.2s ease-in-out;
}

.post-body-img-l {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  filter: none;
}

.post-body-img-l:hover {
  filter: drop-shadow(0 0 0.75rem gray);
  transition: 0.2s ease-in-out;
}

.post-img-caption {
  margin: 0px;
  font-style: italic;
}

.post-tags-box {
  display: flex;
  margin: 20px 10px;
  background-color: #d6eef3e6;
  padding: 10px;
  border-radius: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.post-tags-box h3 {
  display: flex;
  font-family: "Dosis";
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0px 5px 0px 5px;
}

.post-tags-box a {
  margin: 3px;
  padding: 2px 10px;
  background-color: #67a9a9;
  color: white;
  text-decoration: none;
  cursor: pointer;
  border-radius: 15px;
  font-size: 0.9rem;
}

.post-tags-box a:hover {
  background-color: #2b7379;
  transition: ease-in-out 0.2s;
}

.post-body div h3 {
  font-weight: 600;
  font-size: 1.3rem;
}

.post-body div p a {
  color: #2b7379;
  font-weight: 600;
  text-decoration: underline solid 2px #2b737967;
}

.post-body div p a:hover {
  color: #67a9a9;
}

.tutorial-post ul {
  list-style-type: "🌟";
}

.post-body div ul li a {
  color: #2b7379;
  font-weight: 600;
  text-decoration: underline solid 2px #2b737967;
}

.post-body div ul li a:hover {
  color: #67a9a9;
}

.content-nav li a {
  font-weight: 100 !important;
}

.quick-nav {
  font-size: 1.3rem;
  font-weight: 600;
}

.demo-text-markdown {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.5rem;
  text-align: center;
}

.post-body pre::-webkit-scrollbar-track {
  background: transparent;
}

.post-body pre::-webkit-scrollbar-thumb {
  border-radius: 25px;
}

.post-body pre::-webkit-scrollbar {
  height: 6px;
}

.post-body pre {
  background-color: #d6eef3e6;
  padding: 10px;
  border-radius: 10px;
  border: inset 2px #67a9a95c;
}

.post-body pre code {
  font-weight: 100;
}

.post-body code {
  color: #2b7379;
  font-weight: 600;
}

/*-------------------------- for individual posts---------------------*/

/* advent calendar */
.challenge-box {
  background-color: #d6eef3e6;
  padding: 5px 8px;
  border-radius: 10px;
}

/*-----------------------Modal----------------------------*/

.modal-open {
  padding-right: 0px !important;
  overflow: hidden !important;
  height: 100% !important;
}

.modal {
  padding-right: 0px !important;
  scrollbar-width: none;
  --bs-modal-width: auto;
  cursor: pointer;
  color: white;
  font-size: 30px;
}

.modal.show {
  max-height: 100vh;
}

.modal-content {
  background: none;
  border: none;
  cursor: default;
}

.modal-image-container {
  background-color: white;
  border: 5px solid white;
  color: #616479;
  border-radius: 5px;
}

.modal-image-container p {
  color: #616479;
  font-weight: 300;
  margin-top: 5px;
}

.modal-image {
  display: block;
  object-fit: contain;
  /* width: auto; */
  max-height: 85vh;
  margin: 0;
}

.modal-row {
  align-items: center;
}

.modal-cross {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.8rem;
  color: white;
  z-index: 1057; /* one above the arrows */
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.modal-cross:hover {
  opacity: 1;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  font-size: 1.5rem;
  color: white;
  z-index: 1056;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.modal-arrow:hover {
  opacity: 1;
}

.modal-arrow-left {
  left: 15px;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
}

.modal-arrow-right {
  right: 15px;
  padding: 0.5rem 0.7rem 0.5rem 0.9rem;
}

#modal-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-nav-container {
  background-color: black;
}

@media only screen and (max-width: 992px) {
  .post-date-label {
    width: 90%;
  }

  .post-title-header {
    width: 90%;
  }
  .post-body-img-l {
    width: 100%;
  }
}

@media only screen and (max-width: 422px) {
  .post-body-img {
    width: 250px;
  }
}
