﻿/* newsdetails.css */

.news-header {
    position: relative;
    width: 100%;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #1a1a40 0%, #2a2a72 100%);
    overflow: hidden;
    color: #fff;
    text-align: center;
    margin-top: 70px;
}

/* Meteor animation area */
.meteor {
    position: absolute;
    width: 2px;
    height: 40px;
    background: linear-gradient(white, transparent);
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    from {
        transform: translateY(-50px);
        opacity: 1;
    }

    to {
        transform: translateY(600px);
        opacity: 0;
    }
}

/* Header text styling */
.header-text {
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

    .header-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .header-text .subtitle {
        font-size: 1.1rem;
        opacity: 0.9;
    }

/* Responsive scaling */
@media screen and (max-width: 768px) {
    .header-text h1 {
        font-size: 1.75rem;
    }

    .header-text .subtitle {
        font-size: 0.95rem;
    }
}




/* newsdetails.css */
.news-content article {
    width: 80%;
    margin: 0 auto;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c2c2c;
}

.article-image {
    display: block;
    max-width: 50%;
    height: 700px;
    margin: 1.5rem 0;
    border-radius: 6px;
}

.news-content article h1,
.news-content article h2,
.news-content article h3 {
    margin-top: 1.5rem;
    color: #003366;
}

.news-content article p {
    margin-bottom: 1.2rem;
}

.news-content article ul,
.news-content article ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.news-content article a {
    color: #007bff;
    text-decoration: underline;
}

.news-content article a:hover {
    color: blue;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .news-content article {
        width: 95%;
        font-size: 1rem;
    }
}
