.heading_style {
  padding: 30px 0px;
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 10px;
  color: var(--night-300);
  margin-top: 75px;
  background-color: var(--white-200);
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.darkmode .heading_style {
  padding: 30px 0px;
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  color: var(--white-300);
  margin-top: 75px;
  background-color: var(--night-300);
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.allCards {
  padding: 0%;
}

.card {
  border: 1px solid var(--pink-500);
  border-radius: 10px;
  box-shadow: 2px 2px 6px var(--night-300);
  overflow: hidden;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.darkmode .card {
  background: var(--night-300);
  color: var(--white-100);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 12px var(--white-500);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-title {
  /* font-size: 20px; */
  margin-bottom: 10px;
  font-weight: normal;
}

.card-text {
  margin-bottom: 0;
}

.btn-outline-success {
  color: #28a745;
  border-color: #28a745;
}

.btn-outline-success:hover {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}

.filter-slide-in {
  animation: slideIn 0.3s ease-in-out forwards;
  opacity: 0;
}

.filter-slide-out {
  animation: slideOut 0.3s ease-in-out forwards;
  opacity: 1;
}

@keyframes slideIn {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0%);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

#searchBox {
  border-radius: 25px;
}

.darkmode #searchBox {
  background: var(--white-100) !important;
  color: var(--night-100);
}

#filterSelect {
  border-radius: 25px;
}

.card {
  border-radius: 15px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
}

/* grid images show css */
.gallery {
  margin: 0px 10px;
  display: flex;
  flex-wrap: wrap;
  break-inside: avoid;
}

.image-popup {
  height: 200px;
  width: 100%;
  margin: 5px 0 0px 0;
  object-fit: cover;
  object-position: center;
  transition: all .3s;
}

.image-popup img:hover {
  scale: 1.1;
  transition: all .3s;
}

.image-popup img {
  transition: all .3s;
  clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
  border: 1px solid transparent;
  height: 200px;
  max-width: 100%;
  width: 100%;
  cursor: pointer;
}

figure {
  display: inline-block;
  width: 100%;
  float: none;
  background: transparent;
}

.profle_btn {
  color: black;
  background: var(--pink-500);
}

.profle_btn:hover {
  background: var(--pink-100);
}

.snip1336 {
  position: relative;
  overflow: hidden;
   margin:10px auto !important; 
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #000;
  text-align: left;
  line-height: 1.4em;
}

.snip1336 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.snip1336 img {
  max-width: 100%;
  vertical-align: top;
  opacity: 0.85;
}

.snip1336 figcaption {
  width: 100%;
  background-color: var(--white-200);
  padding: 15px;
  position: relative;
  height: 207px;
}

.snip1336 figcaption:before {
  position: absolute;
  content: '';
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 0 250px;
  border-color: transparent transparent transparent var(--white-200);
}

.snip1336 figcaption a {
  padding: 5px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 0.7em;
  text-transform: uppercase;
  margin: 10px 0;
  display: inline-block;
  opacity: 0.65;
  width: 47%;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
}

.snip1336 figcaption a:hover {
  opacity: 1;
}

.snip1336 .cover_image {
  height: 200px;
  width: 100%;
  background-size: auto;
}

.snip1336 .profile {
  border-radius: 50%;
  position: absolute;
  bottom: 100%;
  left: 25px;
  z-index: 1;
  width: 90px;
  height: 90px;
  opacity: 1;
  background-size: contain;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.snip1336 .follow {
  margin-right: 4%;
  border-color: #2980b9;
  color: #2980b9;
  border-radius:5px !important;
}

.snip1336 h2 {
  margin: 0 0 5px;
  font-weight: 300;
}

.snip1336 h2 span {
  display: block;
  font-size: 0.5em;
  color: #2980b9;
}

.snip1336 p {
  margin: 0 0 10px;
  font-size: 0.8em;
  letter-spacing: 1px;
  opacity: 0.8;
}