 :root {
  --theme-hue:173;
  --bg-color: #ffffff;
  --text-color: #000000;
}
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
  }
}
.layout {
  margin-inline: auto; max-width: 625px;
  display:grid; grid-template-columns: 1fr;
  margin-top:0;
}
.header-center {
  background-image: url(../img/banner-bkg.avif);
  background-size: cover;
  margin-bottom: 1rem;
}
.sticky-rtn {z-index:50;position:sticky; top:0px;background-color: white;}
.btn {border-radius:15px; cursor: pointer; padding: 5px} 
h1 {font-size: clamp(1rem, 0.125rem + 4vw, 1.6rem);text-align: center;}
img {width: 100%;}

.theme-toggle {padding-right:1rem;}
.theme-toggle input {
  display: none;
}
.slider {
  width: 40px;
  height: 20px;
  background: #ccc;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
}
.slider::before {
  content: "☀️";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 1px;
  top: -3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}
.theme-toggle input:checked + .slider::before {
  transform: translateX(25px);
}
html:has(#dark-mode-toggle:checked) {
  --bg-color: #121212;
  --text-color: #f5f5f5;
}
* {
  transition: background-color 0.3s ease, color 0.3s ease;
}
.align-sb {display:flex; justify-content: space-between; align-items: center;}
@media screen and (max-width: 625px) {
  @view-transition {navigation: auto;}
  ::view-transition-group(root) {
    animation-duration: 0.5s;
  }
  ::view-transition-old(root){
    animation-name: slide-out;
  }
  ::view-transition-new(root){
    animation-name: slide-in;
  }

  @keyframes slide-in {
    from {
      translate: 100% 0;
    }
  }
  @keyframes slide-out {
    to {
      translate: -100% 0;
    }
  }
}