body{
    margin: 0;
    min-height: 100vh;
    /* background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),url(images/background-image.jpg); */
    background-color: black;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.card{
    width: 100%;
    max-width: 340px;
    background-color: rgb(63, 155, 35);
    color: white;
    font-family: sans-serif;
    border-radius: 10px;
    position: relative;
    overflow: visible;
}
@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%, #ff4545, #00ff99,#006aff, #ff0095);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 4px;
    border-radius: 12px;
    animation: 3s spin linear infinite;
}
.card::before{
    filter: blur(1.8rem);
    opacity: 0.5;

}
@keyframes spin{
    from{
        --angle: 0deg;
    }
    to{
        --angle: 360deg;
    }
}
.header{
    position: relative;

}
.bg-image{
    width: 100%;
    border-radius: 4px;
    display: block;

}
.dp{
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;

  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  border: 4px solid rgb(242, 242, 242);
}
.profile{
    display: flex;
    flex-direction: column;
    margin-top: 60px;
    text-align: center;
    align-items: center;
}
.profile .name{
    font-size: larger;
}
.profile p{
  display: inline-block;
  margin: 6px 0;
  padding: 6px 14px;

  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;

  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(255,255,255,0.2);
}

hr{
    margin: 20px 0 5px;
    
    
}
.footer{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    
}
.details-count{
    margin-top: 10px;
}
.details-count,
.details{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    column-gap: 10px;
}
.profile,
.footer{
    padding: 5px 5px 40px;
}

@media (max-width: 480px){
    body{
        padding: 16px;
        align-items: flex-start;
        padding-top: 30px;
    }
    .card{
        max-width: 100%;
        border-radius: 14px;
    }
    .dp{
        width: 80px;
        height: 80px;
        bottom: -40px;
    }
    .profile{
        margin-top: 55px;
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    .details-count,
    .details{
        font-size: 13px;
        column-gap: 6px;
    }
}



