.promotion-card {
    /* width: 300px;
    height: 400px;
    margin: 30px; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #0c002b;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: 0.5;

    /* Before The Card */
    /* The Card Spans */
    /* What Gonna Happen After Hover The Container */
}

.content-body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
}

.promotion-card .content-image img {
    height: 100%;
    max-height: 250px;
}

.promotion-card .content {
    color: #fff;
    text-align: center;
    /* padding: 30px; */
    opacity: 1;
    transition: 0.5s;
}

.promotion-card .content h2 {
    color: #1779ff;
    font-size: 2rem;
    font-weight: 900;
    position: absolute;
    right: 30px;
    top: 70px;
    opacity: 0;
    transition: 0.5s;
}

.promotion-card .content h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.5s;
    margin-top: 25px;
    text-align: left;
}

.promotion-card .content p {
    font-size: 1.1rem;
    font-weight: 300;
}

.promotion-card .content a {
    color: #0c002b;
    background-color: #fff000;
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 8px 10px;
    font-size: medium;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 10px;
}

.promotion-card span {
    opacity: 1;
    transition: 0.5;
    z-index: 999;
}

.promotion-card span:nth-child(1) {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #1779ff);
    animation: animate1 2s linear infinite;
}

.promotion-card span:nth-child(2) {
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #1779ff);
    animation: animate2 2s linear infinite 1s;
}

.promotion-card span:nth-child(3) {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to left, transparent, #1779ff);
    animation: animate3 2s linear infinite;
}

.promotion-card span:nth-child(4) {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to top, transparent, #1779ff);
    animation: animate4 2s linear infinite 1s;
}

.promotion-card:hover {
    /* What Gonna Happen After Hover The Card */
}

.promotion-card:hover .promotion-card {
    opacity: 0.2;
}

.promotion-card:hover {
    opacity: 1;
}

.promotion-card:hover .content {
    opacity: 1;
}

.promotion-card:hover .content h3 {
    opacity: 1;
    color: #fff;
}

.promotion-card:hover .content h2 {
    opacity: 1;
    transform: translateY(-70px);
}

.promotion-card:hover span {
    opacity: 1;
}

/* Animations */
@keyframes animate1 {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes animate2 {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(100%);
    }
}

@keyframes animate3 {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes animate4 {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(-100%);
    }
}


@media (max-width: 800px) {
    .promotion-card .content h2 {
        top: 75px;
        font-size: 1.5rem;
    }

    .promotion-card .content h3 {
        margin-top: 30px;
        font-size: 1rem;
    }

    .promotion-card .content a {
        font-size: small;
    }
}

@media (max-width: 500px) {
    .promotion-card .content h2 {
        top: 75px;
        font-size: large;
    }

    .promotion-card .content h3 {
        margin: 0;
        width: 90%;
        font-size: 12px;
    }

    .promotion-card .content a {
        font-size: small;
    }

    .promotion-card .content-body >*{
        /* width: 80%; */
    }
    
    .promotion-card .content-image img {
        max-height: 120px;
    }
    
    .promotion-card .content a {
        margin-top: 10px;
        margin-bottom: 5px;
        padding: 4px 6px;
    }
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
