* {
    padding: 0;
    margin: 0;

}

body {
    background-color: black;
    color: white;
}

#Blogs-home {
    display: flex;
    flex-direction: column;
    margin-top: 10vh;
    align-items: center;

}

.bhome{
    height: 30vh;
        display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.blog-container {
    
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background: linear-gradient(to right, rgb(112 0 255 / 7%), rgb(220 20 183 / 11%));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #678efd;         
}

.card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #777;
}

.read-btn {
    padding: 8px 14px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.read-btn:hover {
    background: #005fcc;
}