.style-switch { position: fixed; right: 0; top: 85px; padding: 15px; width: 200px; border: 1px solid var(--bg-black-50); background: var(--bg-black-100); z-index: 101; border-radius: 5px; transition: all 0.3s ease; transform: translateX(100%); } .style-switch.open { transform: translateX(-25px); } .s-icon { position: absolute; height: 40px; width: 40px; text-align: center; font-size: 20px; background: var(--bg-black-100); color: var(--text-black-50); right: 100%; border: 1px solid var(--bg-black-50); margin-right: 25px; cursor: pointer; transition: all 0.3s ease; border-radius: 50%; } .s-icon i { line-height: 40px; color: var(--text-black-900); } .switch-toggle { top: 0; } .day-night { top: 55px; } .style-switch h4 { margin: 0 0 10px; color: var(--text-black-900); font-size: 16px; text-transform: capitalize; } .style-switch .colors { display: flex; flex-wrap: wrap; justify-content: space-between; } .style-switch .colors span { display: inline-block; height: 30px; width: 30px; border-radius: 50%; } .style-switch .color-1 { background: #fa5b0f; } .style-switch .color-2 { background: #ec1839 } .style-switch .color-3 { background: #37b182; } .style-switch .color-4 { background: #1854b4; } .style-switch .color-5 { background: #f021b2; }