*{
    margin:0;
    padding:0;
}
body{
    
    justify-content: center;
    align-items: center;
    background:#c5dbf7;
    
    
}
.wrapper{
    display:flex;
    height:80vh;
}
.a .h1{
    text-decoration:none;
    color:#6c98c6;
}
.card{
    position:relative;
    width: 300px;
    height: 450px;
    margin: 20px;
    background-color: #646c9c;
    border-radius: 20px;
    overflow: hidden;
    display:flex;
    flex-direction: column;
    align-items: center;
    color:#fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}
.card .photo{
    position:absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0%;
    overflow:hidden;
    transition: 0.5s;
}
.card:hover .photo{
    top:30px;
    width: 120px;
    height:120px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(o, 0, 0, 0.8);
}
.card .photo:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,transparent 50%,#222);
}
.card h1{
    position:abosolute;
    top: 370px;
    transition: 0.5s;
}
.card:hover h1{
    top: 170px;
}
.card h2{
    margin-top:220px;
    width:80%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size:20px;
    text-align:center;
    margin-bottom:20px;
    padding-bottom: 20px;
}
.card a{
    font-size:14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 1px solid rbga(255, 255, 255, 0.5);
    padding: 8px 32px;
    border-radius:8px; 
}
.card a:hover{
    color:#fff;
    background-color: rgba(255, 255, 255, 0.2);
}
.intro{
    margin:20px;
}
