.case {
  background-color: var(--white);
  border-radius: 7px;
  border: none;
  box-shadow: 0px 3px 6px #00000029;
  color: #b3b9be;
  cursor: pointer;
  display: block;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  outline: none;
  padding: 10px 5px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s;
  white-space: nowrap;
}

@media (min-width: 576px) {
  .case {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  .case {
    align-items: center;
    /* justify-content: center; */
    background-color: #f3f3f3;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 40px;
    box-shadow: 0px 8px 16px #0000003d;
    display: inline-flex;
    font-size: 14px;
    height: 80px;
    width: 90%;
    padding-left: 30px !important;
    padding-right: 30px !important;
    text-align: left;
  }
}

.case.active {
  color: var(--black);
}

.case.active .case-icon {
  background: rgb(0, 82, 153);
  background: linear-gradient(
    90deg,
    rgba(0, 82, 153, 1) 0%,
    rgba(47, 126, 217, 1) 50%,
    rgba(0, 168, 185, 1) 100%
  );
  color: var(--white);
}

@media (min-width: 992px) {
  .case.active .case-icon {
    background: transparent;
    color: inherit;
  }
}

@media (min-width: 992px) {
  .case.active,
  .case:hover {
    background: rgb(0, 82, 153);
    background: linear-gradient(
      90deg,
      rgba(0, 82, 153, 1) 0%,
      rgba(47, 126, 217, 1) 50%,
      rgba(0, 168, 185, 1) 100%
    );
    color: var(--white);
  }
}

@media (max-width: 991px) {
  .case-icon {
    align-items: center;
    background-color: #f3f3f3;
    border-radius: 50%;
    display: flex;
    height: 42px;
    justify-content: center;
    margin: auto auto 5px;
    width: 42px;
  }

  .case-icon svg {
    width: 20px;
  }
}

.all-cases {
  bottom: 20px;
  left: 0;
  /*position: absolute; */
  margin: 20px 0;
  text-align: center;
  width: 100%;
  z-index: 9;
}
