﻿.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

    .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

.container {
    padding: 2px 16px;
}

.Couponlbl {
    padding: 5px;
    border-radius: 10px;
    background: whitesmoke;
    cursor: pointer;
}

.coupon {
    position: relative;
    font-family: sans-serif;
    display: inline-block;
    cursor: pointer;
}

    .coupon .code {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        border: 2px dashed #d8373e;
        color: black;
        font-weight: 500;
        border-radius: 6px;
        padding: 6px 8px;
        user-select: all;
    }

    .coupon .mask {
        position: relative;
        z-index: 1;
        background: #d8373e;
        color: white;
        border-radius: 6px;
        padding: 6px 8px;
        transition: .3s;
        user-select: none;
    }

    .coupon.onhover:hover .mask,
    .coupon.onclick.active .mask {
        transform: translateX(-100%);
    }

        .coupon.onhover:hover .mask.bottom,
        .coupon.onclick.active .mask.bottom {
            transform: translateY(100%);
        }
