.taxonomy-grid {
  margin-left: -1rem;
  margin-right: -1rem;
}

.taxonomy-grid .card {
  height: 100%;
  position: relative;
  border: none;
  overflow: hidden;
  background: var(--bs-gray-100);
  background-size: cover;
}

.taxonomy-grid .card:not(:hover) {
  background: var(--bs-gray-100)!important;
}

.taxonomy-grid .card:hover {
  color: #fff;
}

.taxonomy-grid .card:hover .icon img {
  filter:  invert(1) brightness(100);
}

.taxonomy-grid .card::before {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  top: -2px;
  bottom: -2px;
  background-color: var(--bs-primary);
  opacity: 0;
  transition: all 0.15s ease-in-out;
  mix-blend-mode: multiply;
  z-index: 0;
}


.taxonomy-grid .card::after {
  content: '';
  position: absolute;
  left: 200px;
  right: -200px;
  top: -200px;
  bottom: -25px;
  background-image: url(../../../images/condecta-c-kontur.svg);
  opacity: 0;
  transition: all 0.15s ease-in-out;
  background-size: cover;
  background-position: center;
}


.taxonomy-grid .card:hover::before,
.taxonomy-grid .card:hover::after {
  opacity: 1;
}

.taxonomy-grid .card-body {
  padding-right: 150px;
  z-index: 1;
}


.taxonomy-grid .btn {
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow);
  color: var(--bs-black);
  margin-left: 0px;
}

.taxonomy-grid .btn i {
  margin-left: 10px;
  position: relative;
  left: 10px;
}



.taxonomy-grid .icon {
  position: absolute;
  right:20px;
  top: 20px;
  width: 70px;
  height: 70px;
}









@media (max-width: 1699.98px) {
}

@media (max-width: 1399.98px) {
}


@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {

  .taxonomy-grid .icon {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
  }

  .taxonomy-grid .card-body {
    padding-right: 80px;
  }

  .taxonomy-grid>div {
    width: 100%!important;
  }

}

@media (max-width: 767.98px) {
}
