.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.checkbox-group>* {
    flex-basis: 50%;
}

.checkbox-group.light>* {
    flex-basis: 33.3333%;
}

.checkbox-wrapper {
    margin: 4px;
    display: block;
}

.checkbox-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.checkbox-input:checked+.checkbox-tile {
    border-color: rgb(255, 216, 0);
    box-shadow: 0 2px 5px rgba(116, 100, 2, 0.1);
    color: rgb(255, 216, 0);
    background-color: hsla(197.65, 32.48%, 30.78%, 1);
}

.checkbox-input:checked+.checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
    background-color: rgba(119, 116, 12, 0.6);
    border-color: yellow;
}

.checkbox-input:checked+.checkbox-tile .checkbox-label {
    color: rgb(255, 216, 0);
}

.checkbox-input:checked+.checkbox-tile .checkbox-icon {
    color: yellow;
}

.checkbox-input:focus+.checkbox-tile {
    border-color: rgb(255, 216, 0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 0 1px #e2d64b;
}

.checkbox-input:focus+.checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
}

.checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 10rem;
    padding: 0 10px 0 10px;
    border-radius: 0.5rem;
    border: 1px solid #b5bfd9;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;

}

.checkbox-tile:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid #b5bfd9;
    background-color: #fff;
    border-radius: 50%;
    top: 0.25rem;
    left: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.checkbox-tile:hover {
    border-color: rgb(255, 216, 0);
}

.checkbox-tile:hover:before {
    transform: scale(1);
    opacity: 1;
}

.checkbox-icon {
    font-size: 2rem;
    transition: 0.375s ease;
    color: #494949;
}

.checkbox-icon svg {
    width: 3rem;
    height: 3rem;
}

.checkbox-label {
    color: #707070;
    font-size: 14px;
    transition: 0.375s ease;
    text-align: center;
}
