@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
/* .wrapper{padding-top:150px;padding-left:60px;} */
.wrapper .outer{
  display: flex;
  margin: auto;width:100%;
  justify-content: center;
}
.wrapper .card{
  width: unset;
  /* width: 88%; */
  color: #ffffff;
  display: flex;
  align-items: center;
  /* padding: 10px 6px; */
  opacity: 0;
  pointer-events: none;
  position: absolute;
  justify-content: space-between;
  border-radius: 0px;
  box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
  animation: animate 15s linear infinite;
  animation-delay: calc(3s * var(--delay));
}
.outer:hover .card{
  animation-play-state: paused;
}
.wrapper .card:last-child{
  animation-delay: calc(-3s * var(--delay));
}

@keyframes animate {
  0%{
    opacity: 0;
    transform: translateY(100%) scale(0.5);
    background: #ffffff;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    width: 28%;
    height: 150px;
    
  }
  
  5%, 20%{
    opacity: 1;
    transform: translateY(100%) scale(0.7);
    background: #ffffff;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    width: 28%;
    height: 150px;
  }
  25%, 40%{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0%) scale(1);
    background: #008D42;
    border: unset;
    color: #ffffff;
    width: 25%;
    height: 150px;
  }
  45%, 60%{
    opacity: 1;
    transform: translateY(-100%) scale(0.7);
    background: #ffffff;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    width: 28%;
    height: 150px;
  }
  65%, 100%{
    opacity: 0;
    transform: translateY(-100%) scale(0.5);
    background: #ffffff;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    width: 28%;
    height: 150px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1600px){


@keyframes animate {
  0%{
    opacity: 0;
    transform: translateY(100%) scale(0.5);
    background: #ffffff;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    width: 30%;
    height: 150px;
    
  }
  
  5%, 20%{
    opacity: 1;
    transform: translateY(100%) scale(0.7);
    background: #ffffff;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    width: 30%;
    height: 150px;
  }
  25%, 40%{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0%) scale(1);
    background: #008D42;
    border: unset;
    color: #ffffff;
    width: 35%;
    height: 150px;
  }
  45%, 60%{
    opacity: 1;
    transform: translateY(-100%) scale(0.7);
    background: #ffffff;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    width: 30%;
    height: 150px;
  }
  65%, 100%{
    opacity: 0;
    transform: translateY(-100%) scale(0.5);
    background: #ffffff;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    width: 30%;
    height: 150px;
  }
}
}
@media only screen and (max-width: 1024px){
  @keyframes animate {
    0%{
      opacity: 0;
      transform: translateY(100%) scale(0.5);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      width: 30%;
      height: 125px;
      
    }
    
    5%, 20%{
      opacity: 1;
      transform: translateY(100%) scale(0.7);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      width: 30%;
      height: 125px;
    }
    25%, 40%{
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0%) scale(1);
      background: #008D42;
      border: unset;
      color: #ffffff;
      width: 35%;
      height: 125px;
    }
    45%, 60%{
      opacity: 1;
      transform: translateY(-100%) scale(0.7);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      width: 30%;
      height: 125px;
    }
    65%, 100%{
      opacity: 0;
      transform: translateY(-100%) scale(0.5);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      width: 30%;
      height: 125px;
    }
  }
 
}
/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  @keyframes animate {
    0%{
      opacity: 0;
      transform: translateY(85%) scale(0.6);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      
    }
    
    5%, 20%{
      opacity: 1;
      transform: translateY(85%) scale(0.6);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
    }
    25%, 40%{
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0%) scale(0.8);
      background: #008D42;
      border: unset;
      color: #ffffff;
    }
    45%, 60%{
      opacity: 1;
      transform: translateY(-85%) scale(0.6);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
    }
    65%, 100%{
      opacity: 0;
      transform: translateY(-85%) scale(0.6);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
    }
  }
}
@media only screen and (max-width: 767px){

  @keyframes animate {
    0%{
      opacity: 0;
      transform: translateY(100%) scale(0.5);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      
    }
    
    5%, 20%{
      opacity: 1;
      transform: translateY(100%) scale(0.7);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
    }
    25%, 40%{
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0%) scale(0.9);
      background: #008D42;
      border: unset;
      color: #ffffff;
    }
    45%, 60%{
      opacity: 1;
      transform: translateY(-100%) scale(0.7);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
    }
    65%, 100%{
      opacity: 0;
      transform: translateY(-100%) scale(0.5);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
    }
  }

}
.card .content{
  display: flex;
  width: 100%;
  
}
.wrapper .card .date{
  
  width: 60px;
  
  left: 5px;
  text-align:center;
  background: #FDC357;
  
  padding: 5px;
  
}
.card .date p{
  height: 100%;font-size:25px;font-family: Poppins-SemiBold;
  width: 100%;color:#303030;
  border-radius: 5px;
  object-fit: cover;
}
.card .details {
  border-radius: 5px;
  /* background-color: #fff; */
  margin-left: 20px;
  padding: 25px 0px 0px;
}
.details span {
  color:inherit;
  font-family: 'Gilroy-medium';
  font-size: 16px;
}
.card a {
  color: #fff;
  font-family: 'Gilroy-medium';
}
.event-border {
  border: 1px solid #242a4045;
  width: 90%;
}
.card h6 {
  color: inherit;
  font-family: 'Diaria-sans-pro-regular';
  font-size: 14px;
  line-height: 23px;
  width: 70%;
  padding-bottom: 5px;
}
.card p {
  color: inherit;
  font-family: 'Diaria-sans-pro-regular';
  font-size: 13px;
  line-height: 23px;
  padding-top: 7px;
 
}
.card a:hover{
  transform: scale(0.94);
}

@media (max-width:500px){
  @keyframes animate {
    0%{
      opacity: 0;
      transform: translateY(100%) scale(0.8);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      width: 80%;
      
    }
    
    5%, 20%{
      opacity: 1;
      transform: translateY(100%) scale(0.8);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      width: 80%;
    }
    25%, 40%{
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0%) scale(0.8);
      background: #008D42;
      border: unset;
      color: #ffffff;
      width: 100%;
    }
    45%, 60%{
      opacity: 1;
      transform: translateY(-100%) scale(0.8);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      width: 80%;
    }
    65%, 100%{
      opacity: 0;
      transform: translateY(-100%) scale(0.8);
      background: #ffffff;
      border: 1px solid #1E1E1E;
      color: #1E1E1E;
      width: 80%;
    }
  }
}