
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.blog-header {
    background-color: #333;
    padding: 20px;
    text-align: center;
    color: white;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    margin-top :20px;
}

.banner {
    width: 100%;
    height: 300px;
    background-image: url('banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.banner h1 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 5px;
}

/* .container {
    padding: 20px;
} */

.blog-post {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.blog-post:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.blog-post img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 15px auto;
}

.blog-post-content {
    padding: 20px;
    flex: 1;
}

.blog-post-content h2 {
    color: #1fb9e8;
    margin-top: 0;
}

.blog-post-content p {
    line-height: 1.6;
}

.blog-post-content .date {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin: 0 10px 15px 0;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}



.footer {
    background-color: #4CAF50;
    padding: 10px;
    text-align: center;
    color: white;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.more-content h2, .more-content h3 a {
    color:#777;
    font-size: 24px;
}

.bloglinks {
    color:blue;
    text-decoration: underline !important;
}