#blog{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh;
}
.card{
  width: 400px;
  height: 150px;
  background-color: rgb(64, 56, 70);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  font-size: 24px;
  text-align: center;
  color: #ffffff;
  padding: 60px 20px;
  
  position: relative;
  
  margin: 10px 20px;
  cursor: pointer;

  transition: transform 0.3s ease, box-shadow 0.3s ease, height 0.5s ease;
}

.card-header{
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;

  background-color: rgba(177, 9, 255, 1);
  width: 100%;
  height: 150px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-para{
  height: 110%;
  
  padding: 20px 0px;
  overflow: hidden;

}

.card:hover{
  height: 450px;
}


@property --angle{
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.card::after, .card::before{
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;

  background-image: conic-gradient(from var(--angle), transparent 70%, rgb(177, 9, 255));
  top: 50%;
  left: 50%;

  translate: -50% -50%;
  z-index: -1;
  padding: 5px;
  border-radius: 15px;

  animation: 3s spin linear infinite;
  opacity: 0.5;
}
.card::before,
.card::after {
  animation-play-state: paused;
}

.card::before{
  filter: blur(20px);
  opacity: 0.5;
}
.card:hover::before,
.card:hover::after {
  animation-play-state: running;
  opacity: 1;
}

@keyframes spin{
  from{
    --angle: 0deg;
  }
  to{
    --angle: 360deg;
  }
}

.card h2 {
  margin-top: 0;
  font-size: 32px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.card p {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.5s ease, opacity 0.5s ease;
  margin-top: 90px;
  padding: 0 20px;
}


.card:hover p {
  opacity: 1;
  transform: translateY(0);
}