/* Styling for the selected blog container */
#selected-blog {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
}
.selected-blog-link {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
}
.selected-blog-link a{
    text-decoration: none;
}

/* Styling for the blog list container */
#blog-list {
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

/* Custom scrollbar styling */
#blog-list::-webkit-scrollbar {
    width: 10px;
}

#blog-list::-webkit-scrollbar-thumb {
    background-color: #262262;
    border-radius: 5px;
}

#blog-list::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

/* Remove up and down scroll buttons in Firefox */
#blog-list {
    scrollbar-width: thin;
    scrollbar-color: #262262 #f1f1f1;
}

.blog-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.blog-item:last-child {
    border-bottom: none;
}

.actions {
    width: 30%;
    display: flex;
    margin-left: 70%;
    justify-content: space-between;
    margin-top: 10px;
    color: #262262;
}

.actions i {
    cursor: pointer;
}

.blog-container {
    padding-top: 80px;
    width: 90%;
    margin-left: 5%;
}

.blog-title {
    font-size: 40px;
    font-weight: bold;
}

.blog-title,
.blog-des {
    font-family: system-ui;
    color: #262262;
}

.t-sub {
    font-size: 20px;
    font-weight: 600;
}

.d-sub {
    color: #a8a6a6;
}
#like-button{
    border: none;
    background-color: #262262;
    color: #fff;
    padding: 10px;
    width: 100px;
    margin-left: 80%;
}
.like-bu{
    width: 100%;
}

@media(max-width:480px){
    .blog-title {
        font-size: 20px;
    }
    #like-button{
        margin-left: 60%;
    }
}
.heart-animation-container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 999;
}

.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #262262;
    transform: rotate(45deg);
    animation: move-heart 1.5s ease-in-out forwards;
    opacity: 0;
}

.heart::before,
.heart::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #262262;
    border-radius: 50%;
}

.heart::before {
    top: -10px;
    left: 0;
}

.heart::after {
    top: 0;
    left: -10px;
}

@keyframes move-heart {
    0% {
        opacity: 1;
        bottom: 0;
        transform: translateX(0) translateY(0) rotate(45deg);
    }
    100% {
        opacity: 0;
        bottom: 100px;
        transform: translateX(calc(50vw - 50%)) translateY(-100vh) rotate(45deg);
    }
}