/* The container */
.container {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: 0 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  // &:hover{
  //   color: var(--primary-3);
  // }
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  // top: 0;
  left: 0;
  height: 1rem;
  width: 1rem;
  border-radius: 0.2rem;
  background-color: var(--primary-2);
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background: var(--primary-3);
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background: var(--ascent-color);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border-radius: 0.1rem;
  border: solid var(--primary-1);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

// @media (max-width: 769px) {
//   .container{
//     &:hover{
//       color: var(--ascent-color);
//     }
//   }
// }
