.checkbox {
    opacity: 0;
    position: absolute;
}

.label {
    background-color: #EEEEEE;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    position: relative;
    height: 47px;
    max-width: 100%;
    width: 100%;
    transform: scale(1.25);
}

    .label .ball {
        background-color: #fff;
        border-radius: 500px;
        position: absolute;
        height: 40px;
        width: 46%;
        transform: translateX(0px);
        transition: transform 0.2s linear;
        z-index: 1;
    }

.checkbox:checked + .label .ball {
    transform: translateX(108%);
}

.delivery-desc, .pickup-desc {
    font-size: 10px;
    font-weight: 700;
    padding: 0 8px;
    z-index: 999;
}

.color1 {
    font-size: 10px;
    color: rgb(107, 107, 107);
}

.fa-shipping-fast, .fa-walking {
    color: rgb(251, 81, 51);
    font-size: 0.8em;
}

@media screen and (min-width: 577px) {
    .one-quarter {
        display: flex;
        justify-content: end;
        align-items: end;
        padding-right: 14%;
    }

    .delivery-desc, .pickup-desc {
        padding: 0 5%;
    }
}

@media screen and (max-width: 576px) {
    .container .switchtoggles {
        display: flex;
    }

    .parts {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .one-quarter {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 8%;
    }

    .delivery-desc, .pickup-desc {
        font-size: 10px;
        font-weight: 700;
        padding: 0 8px;
        z-index: 999;
    }
}