*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #161623;
    background: url('https://images.unsplash.com/photo-1496715976403-7e36dc43f17b?ixid=MnwxMjA3fDB8MHxzZWFyY2h8NzN8fGJhY2tncm91bmR8ZW58MHx8MHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=60');
}
.container .card{
    position: relative;
    width: 280px;
    height: 400px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}
.container .card .content{
    padding: 20px;
    transition: 0.5s;
    transform: translateY(200px);
    opacity: 0;
}
.container .card .main{
    height: 100%;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
}
.container .card .main>div{
    height: 60%;
}
.container .card .main img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.container .card .main h1{
    margin-top: 15px;
}
.container .card .main .contenttext p{
    padding:0 1rem;
    margin-top: 10px;
    text-align: start;
    font-size: 0.9em;
}
.container .card .main .contenttext a{
    position: relative;
    display: inline-block;
    margin-top: 15px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 20px;
    box-shadow: 0  5px 15px rgba(0, 0, 0, 0.2);
}
.container .card:hover .content{
    transform: translateY(100px);
    opacity: 1;
}
.container .card:hover .main{
    display: none;
}
.container .card .content h3{
    text-align: center;
    font-size: 1.8em;
    color: #fff;
    z-index: 1;
    margin-bottom: 10px;
}
.container .card .content p{
    font-size: 1em;
    color: #fff;
    font-weight: 300;
}
.container .card .content .buttons{
    display: flex;
    justify-content: space-around;
}
.container .card .content a{
    position: relative;
    display: inline-block;
    margin-top: 15px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
    padding:4px 10px;
    box-shadow: 0  5px 15px rgba(0, 0, 0, 0.2);
}