/** 9. Filterable Image Gallery
*****************************************************************/

body {
  background-color: #f1f1f1;
}

/*
ul.no-bullets {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ul.no-bullets li {
  padding-left: 0;
}

.no-icon {
  position: relative;
  display: inline-block;
  font-size: 1.0rem;
  line-height: 1.6rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  vertical-align: middle;
}

.mirror-x {
  display: inline-block;
  transform: scaleX(-1);
}

.no-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid #cc0000;
  border-radius: 50%;
  box-sizing: border-box;
}

.no-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 3px;
  background: #cc0000;
  transform: rotate(-45deg);
  transform-origin: center;
}
*/

/* Filter Button & Cards Styles - START */
#filter-buttons button {
  background: #ffffff;
  font-weight: 500;
  border-radius: 5px;
  border-color: transparent;
  margin-right: 10px !important;
  margin-top: 10px !important;
  transition: 0.5s !important;
  padding: 6px 12px;
}

#filter-buttons button:hover {
  background: #08aa9d;
  color: #fff;
}

#filter-buttons button.active {
  color: #fff;
  background: #08aa9d;
}

#filterable-cards .card {
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  margin-bottom: 10px;
}


.card .card-body {
  padding: 8px;
}

.card img {
  width: 100%;
  border-radius: 10px 10px 0 0;
  transition: 0.5s;
}

.card a {
  text-decoration: none;
  color: black;
}

.card h2 {
  font-size: 100%;
}

.card p {
  font-size: 70%;
}

#filterable-cards .recipe-col.hide {
  display: none !important;
}

/* Filter Button & Cards Styles - END */

/* Scroll To Top Styles - START */

#topButton {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  background-color: #f1f1f1;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 999;
}

#topButton:hover {
  background-color: #e2e2e2;
  transform: translateY(-2px);
}

#topButton.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Scroll To Top Styles - END */