.swap_card {
    display: block;
    position: relative;
    height: 260px;
    width: 400px;
    border-radius: 0.25rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    box-shadow: 1px 1px 2px #ccc;
    top: 0;
}

.swap_card .swap_card_image {
    display: block;
    position: relative;
    height: 210px;
    background-size: cover;
    background-position: 50% 20%;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.swap_card .swap_card_image .swap_card_title {
    color: #fbfbfb;
    text-shadow: 0 1px 4px #111;
    position: absolute;
    bottom: 5px;
    margin: 0;
    padding: 0 10px;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.swap_card .swap_card_body {
    position: absolute;
    bottom: -210px;
    left: 0;
    height: 260px;
    width: 100%;
    background: white;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.swap_card .swap_card_body .ribbon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1em;
    height: 50px;
    color: #fbfbfb;
    font-weight: bolder;
    border-top: 1px solid #fbfbfb;
}


.swap_card .swap_card_body .swap_card_content {
    padding: 1em;
    color: #737373;
}

.swap_card .swap_card_body .swap_card_content p {
    display: block;
    overflow: hidden;
    margin: 0;
    font-size: 16px;
    text-align: left;
    opacity: 0;
    padding: 40px 0 0 0;
    font-weight: 400;
    transition: padding 0.4s cubic-bezier(.25,.8,.25,1), opacity 0.5s cubic-bezier(.25,.8,.25,1);
    transition-delay: 0.1s;
}


.swap_card:hover {
    box-shadow: 3px 6px 5px #ccc;
    top: -5px;
}

.swap_card:hover .swap_card_image {
    background-position: 50% 50%;
}

.swap_card:hover .swap_card_image .swap_card_title {
    bottom: 100px;
}

.swap_card:hover .swap_card_body {
    bottom: 1px;
}

.swap_card:hover .swap_card_body p {
    opacity: 1;
    padding: 0;
}
