body.dark {
  background-color: #000;
  color: #fff;
}

body.dark .notion-navbar {
  background-color: #000 !important;
  color: #fff !important;
}

body.dark .notion-breadcrumb__item:hover {
    background-color: #454546 !important;
}

.dark-mode-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  /* margin-bottom: 20px; */
  margin-right: 10px;
}
/* Basic Styling */
.dark-mode-switch {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sun-icon,
.moon-icon {
  font-size: 20px; /* Size of the icons */
  margin: 0 10px; /* Spacing around icons */
}

/* Styling for the Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(31px);
  -ms-transform: translateX(31px);
  transform: translateX(31px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

label {
  user-select: none;
  cursor: pointer;
}

body.dark .socials li a {
  color: #fff !important;
}

body.dark [data-tooltip-text] .popup,
body.dark [data-tooltip-image] .popup {
  background-color: #303030 !important;
  color: #fff !important;
}

/* Dark mode swith */

/* Basic Styling */
.dark-mode-switch {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Styling for the Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(15, 123, 108);
  -webkit-transition: 0.4s;
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 34px;
}

.slider .sun-icon,
.slider .moon-icon {
  margin: 0 5px;
  color: #fff;
  font-size: 18px;
  transition: opacity 0.4s;
}

.slider .moon-icon {
  opacity: 1;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:checked + .slider .sun-icon {
  opacity: 1;
}

input:checked + .slider .moon-icon {
  opacity: 1;
}

/* Additional Styling for Accessibility */
input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}
