/**
 * @file
 * CSS to handle the dark mode theme.
 */
/* Dark mode styles. */
.dark-mode,
.dark-mode section,
.dark-mode header,
.dark-mode footer {
  background-color: #0f0f0f !important;
  color: #fff !important;
}

/* Container for the switch. */
.theme-switcher-block {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Style for buttons. */
.theme-switcher-button {
  position: relative;
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-color 0.4s, transform 0.4s;
  /* Added transition for transform */
  padding: 0;
  margin: 0;
}

.theme-switcher-button:hover,
.theme-switcher-button:focus {
  background-color: transparent;
}

/* Light mode button default. */
.dark-mode #theme-light {
  background-image: url("../images/sun.svg");
}

/* Dark mode button active state. */
.dark-mode #theme-dark {
  background-image: url("../images/moon_active.svg");
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Dark mode button default. */
[data-theme="theme-light"] #theme-dark {
  background-image: url("../images/moon.svg");
}

/* Light mode button active state. */
[data-theme="theme-light"] #theme-light {
  background-image: url("../images/sun_active.svg");
  background-color: #f3f3f3;
  transform: scale(1.1);/
}

