.c-checkbox {
    display: block;
    position: relative;
    margin-bottom: 20px;
    padding-left: 35px;
    cursor: pointer;
    font-size: font-size(body);
    user-select: none;
    width: 150px;

    &:hover {
        .c-checkbox__checkmark {
            background-color: #D3D3D3;
        }
    }

    .c-checkbox__input{
        &:checked ~ .c-checkbox__checkmark {
            background-color: color(brand);
            &::after {
                display: block;
            }
        }
    }  
}

.c-checkbox__input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.c-checkbox__checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid color(black);

    &::after {
        content: "";
        position: absolute;
        display: none;
        left: 6px;
        top: 2px;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 3px 3px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}