#theme-toggle-btn {
    background: rgb(25, 22, 37);
    border: 4px solid rgb(219, 192, 255);
    width: 57px;
    height: 57px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    position: relative;
}

#theme-toggle-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

#theme-toggle-btn svg {
    width: 30px;
    height: 30px;
    transition: all 0.3s;
}

#theme-toggle-btn .sun-icon,
#theme-toggle-btn .moon-icon {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

#theme-toggle-btn .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

#theme-toggle-btn .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    fill: rgb(219, 192, 255);
}

[data-bs-theme="light"] #theme-toggle-btn {
    background: rgb(230, 226, 211);
    border-color: rgb(44, 44, 44);
}

[data-bs-theme="light"] #theme-toggle-btn .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    fill: rgb(44, 44, 44);
}

[data-bs-theme="light"] #theme-toggle-btn .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}
