body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    background-image: url(blog-3.jpg);
    padding: 100px 20px;
    height: 25vw;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.header-title {
    font-size: 3em;
    margin: 0;
    animation: fadeIn 2s ease-in-out;
}

.header-subtitle {
    font-size: 1.5em;
    margin: 10px 0 0;
    animation: fadeIn 2s ease-in-out 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.blogContent {
    /* background-color: #f9f9f9; Light background for blog content */
    /* border: 1px solid #ddd; Light border */
    border-radius: 8px; /* Rounded corners */
    margin: 15px 167px; /* Margin between blog posts */
    padding: 20px 0px; 
    height: 18vw;/* Padding inside each blog post */
    width: 85%; /* Width of the blog content */
    display: flex;
    align-items: center;
    
   /* Subtle shadow for depth */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.blogContent img{
    height: 292px;
    width: 376px;
    border-radius: 50px;
    align-items: center;
    transition: 2s;
    cursor: pointer;
}
.Blog_heafing {
    display: flex;
     width: 60%;
    flex-direction: column;
    margin-left: 3vw;
    
    
    
    
}
.Blog_heafing a{
    font-weight: 500;
    text-decoration: none;
    background-color: transparent;
    font-family: Roboto;
    /* font-family: 'Courier New', Courier, monospace; */
    color: #000000;
    font-size: 36px;
    line-height: 48px;
}
.Blog_heafing p{
    color: black;
    opacity: 0.5;
    line-height: 1.8;
}
.Blog_heafing a:hover{
    color: green;
}
.blogContent img:hover{
   box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
   transform: scale(1.1);
}


@media (max-width: 768px) {
    .header-title {
        font-size: 2.5em; /* Smaller title on smaller screens */
    }

    .header-subtitle {
        font-size: 1.2em; /* Smaller subtitle on smaller screens */
    }

    .blogContent {
        width: 90%; /* Increase width on smaller screens */
        margin: 10px auto; /* Center with smaller margin */
    }

    .blogContent img {
        height: 200px; /* Adjust image height */
        width: auto; /* Maintain aspect ratio */
    }

    .Blog_heafing a {
        font-size: 28px; /* Smaller font size for links */
        line-height: 36px; /* Adjust line height */
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 2em; /* Even smaller title */
    }

    .header-subtitle {
        font-size: 1em; /* Even smaller subtitle */
    }

    .blogContent img {
        height: 150px; /* Further adjust image height */
        width: auto; /* Maintain aspect ratio */
    }

    .Blog_heafing a {
        font-size: 24px; /* Smaller font size for links */
        line-height: 30px; /* Adjust line height */
    }
}
