.light-mode {
  color: rgb(45, 43, 43);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.dark-mode {
  color: #ffffff;
  background-color: rgb(57, 64, 72);
  margin: 0;
  padding: 0;
}

.parent-div {
  text-align: center;
  margin: 0 auto;
  padding: 40px;
  width: 75%;
}

.child-div {
  width: 75%;
  margin: 0 auto;
  background-color: black;
}

.author {
  text-align: left;
}

.news-bulk {
  width: 80%;
  margin: 0 auto;
  text-align: left;
  font-size: 20px;
}

.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  /*overflow: hidden;*/
  background-color: #333333;
  position: fixed;
  top: 0;
  width: 100%;
}
/* more navbar stuff, dropdown styling etc.*/
.navbar .dropdown-menu {
    border-radius: 0 !important;
    margin-top: 4 !important;
}
body.dark-mode .navbar .dropdown-menu {
    background-color: #666 !important;
    color: inherit !important;
    border: none;
}

/* Light mode dropdown */
body.light-mode .navbar .dropdown-menu {
    background-color: #666 !important;
    color: inherit !important;
    border: none;
}

/* Dropdown items */
.navbar .dropdown-menu .dropdown-item {
    color: inherit !important;
    background-color: transparent !important;
}

/* Hover effect */
.navbar .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255,255,255,0.15) !important; 
    color: inherit !important;
}

/* Divider color */
.navbar .dropdown-divider {
    border-color: currentColor !important;
}
/* Make section full width */
.dropdown-toggle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;          
    padding: 10px 0;
    width: 100%;
}

/* Text dropdown color */
.dropdown-toggle-row span {
    font-size: 1rem;
    color: inherit;
}

.images {
  max-width: 500px;
}

.h1Shifted {
  margin: 10px;
  background-color: brown;
  font-size: 50px;
  color: #ffffff;
}

.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar h1 {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  text-decoration: none;
}

.navbar .version {
  float: right;
  font-size: 15px;
  color: white;
  text-align: center;
  text-decoration: none;
}

.navbar .ui-switch {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar .switch-real-fake {
  float: left;
  margin: 0.5%;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: brown;
}

/* From Uiverse.io by alexruix */ 
.form-box {
  max-width: 300px;
  background: #f1f7fe;
  /*overflow: hidden;*/
  border-radius: 16px;
  color: #010101;
}

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px;
  gap: 16px;
  text-align: center;
}

/*Form text*/
.title {
  font-weight: bold;
  font-size: 1.6rem;
}

.subtitle {
  font-size: 1rem;
  color: #666;
}

/*Inputs box*/
.form-container {
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  margin: 1rem 0 .5rem;
  width: 100%;
}

.input {
  background: none;
  border: 0;
  outline: 0;
  height: 40px;
  width: 100%;
  border-bottom: 1px solid #eee;
  font-size: .9rem;
  padding: 8px 15px;
}

.form-section {
  padding: 16px;
  font-size: .85rem;
  background-color: #e0ecfb;
  box-shadow: rgb(0 0 0 / 8%) 0 -1px;
}

.form-section a {
  font-weight: bold;
  color: #0066ff;
  transition: color .3s ease;
}

.form-section a:hover {
  color: #005ce6;
  text-decoration: underline;
}

/*Button*/
.form button {
  background-color: #0066ff;
  color: #fff;
  border: 0;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s ease;
}

.form button:hover {
  background-color: #005ce6;
}

.notFormButton {
  background-color: #0066ff;
  color: #fff;
  border: 0;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s ease;
}

/* From Uiverse.io by Galahhad */ 
/* switch settings 👇 */

.ui-switch {
  /* switch */
  --switch-bg: rgb(135, 150, 165);
  --switch-width: 48px;
  --switch-height: 20px;
  /* circle */
  --circle-diameter: 32px;
  --circle-bg: rgb(0, 56, 146);
  --circle-inset: calc((var(--circle-diameter) - var(--switch-height)) / 2);
}

.ui-switch input {
  display: none;
}

.slider-dark {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--switch-width);
  height: var(--switch-height);
  background: var(--switch-bg);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}

.slider-dark .circle {
  top: calc(var(--circle-inset) * -1);
  left: 0;
  width: var(--circle-diameter);
  height: var(--circle-diameter);
  position: absolute;
  background: var(--circle-bg);
  border-radius: inherit;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiCiAgICAgICAgZD0iTTkuMzA1IDEuNjY3VjMuNzVoMS4zODlWMS42NjdoLTEuMzl6bS00LjcwNyAxLjk1bC0uOTgyLjk4Mkw1LjA5IDYuMDcybC45ODItLjk4Mi0xLjQ3My0xLjQ3M3ptMTAuODAyIDBMMTMuOTI3IDUuMDlsLjk4Mi45ODIgMS40NzMtMS40NzMtLjk4Mi0uOTgyek0xMCA1LjEzOWE0Ljg3MiA0Ljg3MiAwIDAwLTQuODYyIDQuODZBNC44NzIgNC44NzIgMCAwMDEwIDE0Ljg2MiA0Ljg3MiA0Ljg3MiAwIDAwMTQuODYgMTAgNC44NzIgNC44NzIgMCAwMDEwIDUuMTM5em0wIDEuMzg5QTMuNDYyIDMuNDYyIDAgMDExMy40NzEgMTBhMy40NjIgMy40NjIgMCAwMS0zLjQ3MyAzLjQ3MkEzLjQ2MiAzLjQ2MiAwIDAxNi41MjcgMTAgMy40NjIgMy40NjIgMCAwMTEwIDYuNTI4ek0xLjY2NSA5LjMwNXYxLjM5aDIuMDgzdi0xLjM5SDEuNjY2em0xNC41ODMgMHYxLjM5aDIuMDg0di0xLjM5aC0yLjA4NHpNNS4wOSAxMy45MjhMMy42MTYgMTUuNGwuOTgyLjk4MiAxLjQ3My0xLjQ3My0uOTgyLS45ODJ6bTkuODIgMGwtLjk4Mi45ODIgMS40NzMgMS40NzMuOTgyLS45ODItMS40NzMtMS40NzN6TTkuMzA1IDE2LjI1djIuMDgzaDEuMzg5VjE2LjI1aC0xLjM5eiIgLz4KPC9zdmc+");
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  -o-transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
  ;
}

.slider-dark .circle::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: inherit;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
  opacity: 0;
}

/* actions */

.ui-switch input:checked+.slider-dark .circle {
  left: calc(100% - var(--circle-diameter));
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiCiAgICAgICAgZD0iTTQuMiAyLjVsLS43IDEuOC0xLjguNyAxLjguNy43IDEuOC42LTEuOEw2LjcgNWwtMS45LS43LS42LTEuOHptMTUgOC4zYTYuNyA2LjcgMCAxMS02LjYtNi42IDUuOCA1LjggMCAwMDYuNiA2LjZ6IiAvPgo8L3N2Zz4=");
}

.ui-switch input:active+.slider-dark .circle::before {
  -webkit-transition: 0s;
  -o-transition: 0s;
  transition: 0s;
  opacity: 1;
  width: 0;
  height: 0;
}

/* From Uiverse.io by gharsh11032000 */ 
/* The switch - the box around the slider */
.switch-real-fake {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
}

/* Hide default HTML checkbox */
.switch-real-fake input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider-real-fake {
  position: absolute;
  cursor: pointer;
  inset: 0;
  border: 2px solid #414141;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-real-fake:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  left: 0.2em;
  bottom: 0.2em;
  background-color: white;
  border-radius: inherit;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.switch-real-fake input:checked + .slider-real-fake {
  box-shadow: 0 0 20px rgba(9, 117, 241, 0.8);
  border: 2px solid #0974f1;
}

.switch-real-fake input:checked + .slider-real-fake:before {
  transform: translateX(1.5em);
}

/* Theme-aware Bootstrap card styling */
/* Cards should follow the page color scheme in light and dark modes */
body.dark-mode .card {
  background-color: #3b4046; /* slightly lighter than page bg */
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

body.dark-mode .card .card-body {
  background-color: transparent;
}

body.dark-mode .card .card-title {
  color: inherit;
}

body.dark-mode .card .btn {
  border-color: rgba(255,255,255,0.06);
}

body.dark-mode .card-img-top.img-thumbnail {
  border-color: rgba(255,255,255,0.08);
}

body.light-mode .card {
  background-color: #ffffff;
  color: rgb(45,43,43);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

body.light-mode .card .card-body {
  background-color: transparent;
}

body.light-mode .card .card-title {
  color: inherit;
}

body.light-mode .card-img-top.img-thumbnail {
  border-color: rgba(0,0,0,0.08);
}

/* Make sure card images don't overflow and respect responsive sizing */
.card-img-top.images.forced-fit {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Small utility: muted card text should be less bright in dark mode */
body.dark-mode .text-muted {
  color: rgba(255,255,255,0.68) !important;
}
