.themes__button {
  position: fixed;
  top: 5.5rem;
  right: 1rem;
  background-color: var(--title-color);
  opacity: 0.8;
  padding: 0.3rem 0.5rem;
  z-index: var(--z-tooltip);
  transition: 0.4s;
  border-radius: 50%;
}
.themes__icon {
  font-size: 1.5rem;
  margin-top: 5px;
  color: var(--container-color);
}
.themes__button:hover {
  background-color: var(--title-color-dark);
}
.themes__button:hover .themes__icon {
  color: var(--container-color);
}

.themes__model {
  border-radius: 0.5rem;
  position: fixed;
  top: 5.5rem;
  background-color: rgba(0, 0, 0, 0.3);
  right: 1rem;
  z-index: var(--z-modal);
  display: grid;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s; /* Transition property for left position */
  background-color: color-mix(
    in srgb,
    var(--title-color) 5%,
    var(--body-color)
  );
  border: 2px solid
    color-mix(in srgb, var(--title-color) 10%, var(--title-color));
}
.theme__out {
  display: none;
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: transparent;
  right: 4rem;
}
.theme__out.active {
  display: block;
}
.themes__model.active-model {
  right: 4rem !important;
  /* Position when the active-model class is applied */
  /* animation: slideLeftToRight 0.5s ease; Animation for sliding left to right */
}

@keyframes slideLeftToRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}
@media screen and (max-width: 768px) {
  .themes__model,
  .themes__button {
    top: 0.5rem;
  }
}
.themes__model-container {
  width: 265px;
  position: relative;
  padding: 0.5rem 1.5rem 0.5rem;
}
.themes__model-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.themes__model-title {
  font-size: 0.8rem;
  user-select: none;
}
.themes__model-description {
  font-size: var(--small-font-size);
  padding: 0 3.5rem;
  margin-bottom: var(--mb-2);
}

.active-model {
  opacity: 1;
  visibility: visible;
}
.theme-switcher {
  display: flex;
  justify-content: center;
  margin-bottom: 20px; /* Adjust spacing as needed */
}

.theme-switcher__button {
  padding: 10px 20px;
  margin: 0 10px;
  background-color: #ccc; /* Background color for buttons */
  color: #333; /* Text color for buttons */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.theme-switcher__button:hover {
  background-color: #aaa; /* Darker background color on hover */
}
