@font-face{
    font-family: "Yekan";
    src: url("./font/B_Yekan/Yekan.ttf") format("truetype");
}
body{
    line-height: 1.5;
}
.place-list{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10% 3% 10% 3%;
}
.place-card{
    width: 592px;
    height: 70%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 20px;
}
.place-card-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all ease-in-out 140ms;
}
.card-wrapper{
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    left: 20px;
    top: -100%;
    transition: all ease-in-out 0.4s;
}
.card-messages{
    width: 80px;
    height: 48px;
    justify-content: center;
    border-radius: 50px;
    display: flex ;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    color: #FFFFFF;
    background-color: #333333;
}
.card-icon{
    color: #FFFFFF;
}
.card-heart{
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background-color: #00aa6c;
    cursor: pointer;
}
.card-content{
    position: absolute;
    right: 0;
    left: 0;
    bottom: -100%;
    border-radius: 12px;
    padding: 0px 24px 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
    color: #FFFFFF;
    transition: all ease-in-out 0.4s;
}
.place-card:hover .card-content{
    bottom: 0;
}
.place-card:hover .card-wrapper{
    top: 20px;
}
.place-card:hover .place-card-img{
    opacity: 0.8;
}
.place-card-title{
    font-size: 24px;
    margin-bottom: 16px;
    cursor: pointer;
    font-weight: bold;
}
.place-card-caption{
    font-size: 18px;
}