/* Refined Uiverse Theme Toggle - Class based for multiple instances */
.theme-switch-wrapper {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    
}

.theme-switch-wrapper .theme-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch-wrapper .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #2196f3;
    transition: 0.4s;
    z-index: 0;
    overflow: hidden;
    border-radius: 34px;
}

.theme-switch-wrapper .sun-moon {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: yellow;
    transition: 0.4s;
    border-radius: 50%;
    z-index: 2;
}

.theme-checkbox:checked+.slider {
    background-color: #0d0d0d;
}

.theme-checkbox:focus+.slider {
    box-shadow: 0 0 1px #2196f3;
}

.theme-checkbox:checked+.slider .sun-moon {
    transform: translateX(26px);
    background-color: #fff;
    animation: rotate-center 0.6s ease-in-out both;
}

.moon-dot {
    opacity: 0;
    transition: 0.4s;
    fill: #cbd5e1;
    position: absolute;
}

.theme-checkbox:checked+.slider .sun-moon .moon-dot {
    opacity: 1;
}

/* Dots on the moon */
.dot-1 {
    left: 10px;
    top: 3px;
    width: 6px;
    height: 6px;
}

.dot-2 {
    left: 2px;
    top: 10px;
    width: 10px;
    height: 10px;
}

.dot-3 {
    left: 16px;
    top: 18px;
    width: 3px;
    height: 3px;
}

/* Rays for the sun */
.light-ray {
    position: absolute;
    z-index: -1;
    fill: white;
    opacity: 0;
    transition: 0.4s;
}

.theme-checkbox:not(:checked)+.slider .sun-moon .light-ray {
    opacity: 0.15;
}

.ray-1 {
    left: -8px;
    top: -8px;
    width: 43px;
    height: 43px;
}

.ray-2 {
    left: -14px;
    top: -14px;
    width: 55px;
    height: 55px;
}

.ray-3 {
    left: -18px;
    top: -18px;
    width: 60px;
    height: 60px;
}

.cloud-light,
.cloud-dark {
    position: absolute;
    transition: 0.4s;
    animation: cloud-move 6s ease-in-out infinite;
}

.cloud-light {
    fill: #fff;
}

.cloud-dark {
    fill: #cbd5e1;
    animation-delay: 1s;
}

.theme-checkbox:checked+.slider .cloud-light,
.theme-checkbox:checked+.slider .cloud-dark {
    opacity: 0;
}

.c1 {
    left: 30px;
    top: 15px;
    width: 40px;
}

.c2 {
    left: 44px;
    top: 10px;
    width: 20px;
}

.c3 {
    left: 18px;
    top: 24px;
    width: 30px;
}

.c4 {
    left: 36px;
    top: 18px;
    width: 40px;
}

.c5 {
    left: 48px;
    top: 14px;
    width: 20px;
}

.c6 {
    left: 22px;
    top: 26px;
    width: 30px;
}

@keyframes cloud-move {

    0%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(4px);
    }

    80% {
        transform: translateX(-4px);
    }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-32px);
    opacity: 0;
    transition: 0.4s;
}

.star {
    fill: white;
    position: absolute;
    animation: star-twinkle 2s infinite;
}

.theme-checkbox:checked+.slider .stars {
    transform: translateY(0);
    opacity: 1;
}

.s1 {
    width: 14px;
    top: 4px;
    left: 8px;
    animation-delay: 0.3s;
}

.s2 {
    width: 6px;
    top: 18px;
    left: 6px;
}

.s3 {
    width: 10px;
    top: 20px;
    left: 14px;
    animation-delay: 0.6s;
}

.s4 {
    width: 12px;
    top: 4px;
    left: 22px;
    animation-delay: 1.3s;
}

@keyframes star-twinkle {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.7);
        opacity: 0.5;
    }
}

@keyframes rotate-center {
    0% {
        transform: translateX(0) rotate(0);
    }

    100% {
        transform: translateX(26px) rotate(360deg);
    }
}
 / *   M o b i l e   F i x :   H i d e   t o p   b a r   t o g g l e   * / 
 @ m e d i a   ( m a x - w i d t h :   9 9 1 p x )   {   . h e a d e r - a c t i o n s   . t h e m e - s w i t c h - w r a p p e r   {   d i s p l a y :   n o n e   ! i m p o r t a n t ;   }   }  
 