body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #292727
}

.container {
    position: relative;
}

.container .card {
    position: relative;
    width: 800px;
    height: 550px;
    background: #363535;
    border-radius: 20px;
    overflow: hidden;
}

.card .lines {
    position: absolute;
    inset: 0;
    background: rgb(7, 7, 7);
    overflow: hidden;
}

.card .lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: linear-gradient(transparent, rgb(109, 81, 230), rgb(156, 50, 228), rgb(84, 94, 235), transparent);
    animation: animate 10s linear infinite;
}

@keyframes animate {
    0%
    {
        transform: translate(-100%, -100%) rotate(0deg);
    }
    100%
    {
        transform: translate(-100%, -100%) rotate(360deg);
    }
}

.card .lines::after{
    content: '';
    position: absolute;
    inset: 3px;
    background: #292929;
}


/* .container .card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    background: #6e57ee;
    clip-path: circle(150px at 80% 20%);
    transition: 0.5s ease-in-out;
} 


.container .card:hover:before{
    clip-path: circle(300px at 80% -20%);
} */

.container .card .image{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    width: 100%;
    height: 220px;
    transition: 0.5s;
}

.container .card:hover .image{
    top: 0%;
    transform:  translateX(0%);
}

.container .card .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 270px;
    border-radius: 50%;
}


.container .card .content {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    text-align: center;
    transition: 1s;
    z-index: 10;
}

.container .card:hover .content{
    height: 280px;
}

.container .card .content h2 {
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}
.container .card .content h4,
.container .card .content h3{
    position: relative;
    font-weight: 200;
    letter-spacing: 1px;
    color: #fff;
}

.container .card .content .contact{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    transition: 0.5s;
}

.container .card .content .contact h3 {
    color: #ffff;
    font-weight: 300;
    font-size: 15px;
    letter-spacing: 2px;
    margin-right: 10px;

}

.container .card .content .refs h3 {
    font-size: 1em;
    color:rgb(185, 98, 235);
    line-height: 1.2em;
    font-weight: 600;
}

.container .card .content .refs h3 span {
    font-size: 1em;
    color:#fff;
    font-weight: 400;
}


.container .card .content .buttons {
    justify-content: space-between;
}

.container .card .content .buttons button {
    border: none; 
    outline: none;
    border-radius: 3px;
    font-size: 1em;
    font-weight: 500;
    background:rgb(109, 81, 230);
    color: rgb(255, 255, 255);
    cursor: pointer;
}