*::before,
*::after {
  box-sizing: border-box;
}
.checkboxes {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.checkboxes__item {
  padding: 15px;
  width: 50%;
}
.checkbox {
  display: inline-block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox:hover .checkbox__checkmark {
  box-shadow: 0 0 5px rgba(156, 40, 32, 0.3);
  background-color: #9c2820;
}

.checkbox .checkbox__checkmark:hover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: rgba(156, 40, 32, 0.3);
  border-radius: 50%;
  z-index: -1;
}

.checkbox input:checked ~ .checkbox__checkmark {
  background-color: #9c2820;
}
.checkbox input:checked ~ .checkbox__checkmark:after {
  opacity: 1;
}
.checkbox:hover input ~ .checkbox__checkmark {
  background-color: #eee;
}
.checkbox:hover input:checked ~ .checkbox__checkmark {
  background-color: #9c2820;
}
.checkbox .checkbox__checkmark {
  /* position: absolute;
  top: 2px; */
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  transition: background-color 0.25s ease;
  border-radius: 4px;
  border: 1px solid grey;
}
.checkbox .checkbox__checkmark:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.checkbox .checkbox__body {
  color: #333;
  line-height: 1.4;
  font-size: 16px;
}

/* ////// */
.checkbox .checkbox__checkmark1 {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  transition: background-color 0.25s ease;
  border-radius: 4px;
  border: 1px solid grey;
}

.checkbox .checkbox__checkmark1:after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.checkbox .checkbox__checkmark1:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.checkbox .checkbox__checkmark1:hover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: #eee;
  border-radius: 50%;
  z-index: -1;
}
.checkbox:hover .checkbox__checkmark1::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  z-index: -1;
}

.checkbox input:checked ~ .checkbox__checkmark1 {
  background-color: rgba(0, 0, 0, 0.6);
}

.checkbox input:checked ~ .checkbox__checkmark1:after {
  opacity: 1;
}
