*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.wrap {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./bacg.jpg) no-repeat;
}
.card {
    width: 600px;
    height: 350px;
    position: relative;

}
.rolebg {
    width: 600px;
    height: 350px;
    border-radius: 20px;
    box-shadow: 0px 0px 30px 20px rgba(255, 255, 255, 0.05);
    transform-origin: bottom;
    transition: 2s;
}
.rolebg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.role {
       display: flex;
    position: absolute;
    bottom: 0px;
    left: 144px;
    right: 198px;
    width: 173px;
    height: 320px;
    transform-origin: bottom;
    transition: 2s;
}
.role img {
    width: 100%;
    height: 100%;
}
.content {
    width: 600px;
    padding: 10px;
    color: #120f19;
    position: absolute;
    bottom: -50px;
    opacity: 0;
    transition: 2s;
}
.content h1 {
    font-weight: 400;
}
.content p {
    font-weight: 400;
    padding-top: 10px;
    font-size: 14px;
}
.card:hover .rolebg {
    transform: perspective(1000px) rotateX(30deg) skewX(-20deg);
}
.card:hover .role {
    transform:scale(1.5);
}
.card:hover .content {
    opacity: 1;
   transform: translateY(130px);
} 