.switchContainer {
    height: 34px;
    display: inline-flex;
    align-items: center;
}
@media screen and (min-width: 758px) {
    .switchContainer {
        height: 48px;
    }
}

.switch {
    position: relative;
    border-radius: 9999px;
    height: 28px;
    width: 56px;
    background: #ffffff;
    box-shadow: var(--input-box-shadow);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
@media screen and (min-width: 758px) {
    .switch {
        height: 32px;
        width: 64px;
    }
}

.indicator {
    position: absolute;
    top: 4px;
    margin: 0 8px;
    background: var(--color-dark-gray);
    border-radius: 9999px;
    height: 20px;
    width: 20px;
    box-shadow: var(--input-box-shadow);
    transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 758px) {
    .indicator {
        height: 24px;
        width: 24px;
    }
}

.input:checked ~ .switch {
    background: var(--color-medium-green);
}
.input:checked ~ .switch > .indicator {
    transform: translateX(100%);
    background: white;
}
