
.card-content.anim {
    opacity: 1;
}

.card-content {
    opacity: 0;
}

.anim-text {
    opacity: 1;
}

.anim-text.anim {
    opacity: 0;
}

.content-name-text {
    left: 15px;
    margin-top: 20px;
    width: 100%;
    right: 15px;
}

.content-post-text {
    left: 10px;
    margin-top: 15px;
    width: 95%;
}

.content-post-text.half {
    margin-top: 44px;
    width: 50%;
}

.anim-text-bottom {
    width: 20%;
    height: 15px !important
}

.anim-text-bottom.author {
    right: 10px;
}

.anim-text {
    position: absolute;
    height: 22px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ececec 20%, #e0dddd 50%, #ececec 90%);
    background-size: 200% 100%;
    animation: bgpos 1.2s linear infinite;
}

.dark-mode .card .anim-text {
    background: linear-gradient(90deg, #1e1e1e 20%, #383839 50%, #1e1e1e 90%);
    background-size: 200% 100%;
    animation: bgpos 2s linear infinite;
}

.animated-bg {
    background: linear-gradient(90deg, #CCCCCC 20%, #c7c4c4 50%, #CCCCCC 90%);
    background-size: 200% 100%;
    animation: bgpos 2s linear infinite;
}
.dark-mode .animated-bg,
.dark-mode .card-topic-img .animated-bg {
    background: linear-gradient(90deg, #121212 20%, #232425 50%, #121212 90%);
    background-size: 200% 100%;
    animation: bgpos 3s linear infinite;
}

@keyframes bgpos {
    0% {
        background-position: 50% 0%;
    }
    100% {
        background-position: -150% 0%;
    }
}


/* dars index styles */

.dars-index {
    background-color: #07F;
    width: 22px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 10px;
    text-align: center;
}

.dars-index span {
    color: white;
    padding: 5px;
    font-size: 12px;
}