/*i don't know why this doesnt work*/
@charset "UTF-8";
.toggle {
    opacity: 0;
    position:absolute;
    display: none;
}
.toggle-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fa-moon {color: #f1c40f;}
.fa-sun {color: #f39c12;}
.toggle-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}
.toggle:checked + .toggle-label .ball{
    transform: translateX(24px);
}
#toggle {display: none;}
    