.magicCard{
    --first-color: #5ddcff; 
    --second-color: #3c67e3;
    --third-color: #4e00c2;
    padding: 10px;
    width: 300px; /* Fixed width */
    height: 400px; /* Fixed height */
    border: 2px solid #3c67e3;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #080A17;
}
@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}

.magicCard-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 400px;
  position: relative;
  z-index: 1;
}


.magicCard:hover{
  border: 2px solid #3c66e300;
}

.magicCard::before, .magicCard::after{
    opacity: 0;
    content: "";
    transition: all 0.5s ease-in-out;
}
.magicCard:hover::before, .magicCard:hover::after{
    position: absolute;
    z-index: -1;
    background-image: linear-gradient(
    var(--rotate)
    , var(--first-color), var(--second-color) 43%, var(--third-color));
    animation: spin 2.5s linear infinite;
    opacity: 1;
}
.magicCard:hover::before {
  width: 104%;
  height: 104%;
  border-radius: 8px;
  top: -2%;
  left: -2%;
}
.magicCard:hover::after {
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  transform: scale(0.9);
  filter: blur(70px);
}

.magicCard h2 {
    margin-bottom: 10px;
    color: rgb(255, 255, 255);
    text-align: center;
}

.magicCard p {
    margin-bottom: 20px;
    color: rgb(255, 255, 255);
    text-align: center;
}

.magicCard .button {
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid white;
    text-align: center;
    width: 130px;
    height: 40px;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
}

@keyframes spin {
  0% {
    --rotate: 0deg;
  }
  100% {
    --rotate: 360deg;
  }
}