﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.button:focus,
.button:active:focus,
.is-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

@media (prefers-color-scheme: light) {
  hr {
    background-color: #8c8d90 !important;
  }
}

@media (prefers-color-scheme: dark) {
  hr {
    background-color: #424956 !important;
  }
}

@media (prefers-color-scheme: light) {
  .hr-bottom {
    border-bottom: #8c8d90;
    border-style: solid;
    border-top: none;
    border-left: none;
    border-right: none;
  }
}

@media (prefers-color-scheme: dark) {
  .hr-bottom {
    border-bottom: #424956;
    border-style: solid;
    border-top: none;
    border-left: none;
    border-right: none;
  }
}

/* Add this CSS to style the navbar and text colors for dark mode */
.bg-dark {
  background-color: #343a40 !important; /* Change the background color to a dark color of your choice */
  color: #ffffff !important; /* Change the text color to light/white */
}

.navbar-dark .navbar-nav .nav-link {
  color: #ffffff !important; /* Change the nav link text color to light/white */
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.article-author {
  margin: 0;
  display: block;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: middle;
  /* margin-block-start: 1em;
  margin-block-end: 1em; */
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  color: gray;
}

.article-maintext {
  position: relative;
  /* box-shadow: 0px 0px 4px rgba(57, 55, 55, 0.75); */
  width: 80%;
  /* margin-left: 215px; */
  top: -7rem;
  padding: 1.5rem 1.5rem;
  display: block;
  font: inherit;
  margin: auto;
}

@media (max-width: 750px) {
  .article-maintext {
  top: 0;
  width: 100%;
  margin-top: 2rem;
  padding: .7rem 1.5rem;
  }
}

.article-image {
  width: 85%;
  object-fit: cover; 
  max-height: 85vh;
}
@media (max-width: 750px) {
  .article-image {
    width: 100%;
  }
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
