
/* .donate-card */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 100px;
}

.section-title h2 {
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  font-size: 2.5rem;
/* color: #fff; */
font-family: 'Rubik', sans-serif;
}

.section-borders span {
  height: 5px;
  background: #46c0f0;
  width: 40px;
  display: inline-block;
  border-radius: 2px;
}

.section-borders span.black-border {
  background: #7f2274;
  width: 30px;
  margin: 0 6px;

}
.donate-card {
  margin-top: 60px;
  margin-bottom: 60px;
  padding-top: var(--main-padding-top);
  padding-bottom: var(--main-padding-bottom);
  position: relative;
  background-color: var(--section-background);
}
.donate-card .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 80px;
}
.donate-card .box {
  background-color: white;
  /* box-shadow: 0 12px 20px 0 rgb(0 0 0 / 13%), 0 2px 4px 0 rgb(0 0 0 / 12%); */
  counter-increment: services;
  transition: var(--main-transition);
  position: relative;
}
.donate-card .box::before {
  content: "";
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  top: -3px;
  background-color: var(--main-color);
  position: absolute;
  width: 0;
  transition: var(--main-transition);
}
.donate-card .box:hover {
  transform: translateY(-10px);
}
/* .services .box:hover::before {
  width: 100%;
} */
.donate-card .box > img {
  margin: 30px auto 20px;
  display: block;
  text-align: center;
  color: #d5d5d5;
  max-width: 40%;
}
.donate-card .box > h3 {
  text-align: center;
  margin: 20px 0 40px;
  font-size: 20px;
  color: var(--main-color);
}
.donate-card .box .info {
  padding: 15px;
  position: relative;
  background-color: #f9f9f9;
  text-align: right;
  
}
 /* .services .box .info::before {
  content: "" counter(services);
  position: absolute;
  background-color: #a31958;
  color: white;
  left: 0;
  top: 0;
  height: 100%;
  width: 80px;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 15px;
}
.services .box .info::after {
  content: "";
  position: absolute;
  background-color: #46c0f0;
  top: 0;
  left: 70px;
  width: 50px;
  height: calc(100% + 0.4px);
  transform: skewX(-30deg);
}  */
.donate-card .box .info h3 {
  color: var(--main-color);
  position: absolute;
  top: 10%;
  left: 3%;  
  /* animation-name: saeed;
  animation-duration: 1.5s;
  animation-iteration-count: infinite; */
} 
.donate-card .box .info h2 {
  color: var(--main-color);
  position: absolute;
  right: 0;
  top: 10%;
  font-size: 18px;
  padding-right: 10px;
  animation-name: saeed;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
   
} 
.info i {
  margin-right: 10px;
   color:#7f2274  ;
  font-size: 25px;
  animation-name: saeed ;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
}

.image img{
  width: 50%;
  height: 50%;
  /* border-radius: 50%; */
  transform: translate(50%);
  -webkit-transform: translate(50%);
  -moz-transform: translate(50%);
  -ms-transform: translate(50%);
  -o-transform: translate(50%);
   
  
}

@keyframes
saeed {
  0%{

  }
  50%{
    opacity: 0.5;
  }

  100%{
    opacity: 0;
  }
}
