/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    z-index: 100;
}

/* Top Photo Section */
.top-photo-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Full height for the container */
    overflow: hidden;
}

.top-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire container */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Ensure the video stays behind the text */
}

.top-heading {
    position: absolute;
    top: 20px; /* Adjust this value to move the text down */
    left: 20px; /* Adjust this value to move the text right */
    z-index: 2; /* Ensure the text stays on top of the video */
    font-size: 4rem; /* Increase the size as needed */
    color: white; /* Ensure the text is readable over the video */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add a shadow for better readability */
}

/* Optional: Add some pop-up or fade-in effect for the heading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-heading {
    animation: fadeInUp 2s ease-in-out;
}

/* News Cards Section */
.news-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.card {
    background-color: #f4f4f4;
    border-radius: 8px;
    padding: 20px;
    width: 45%;
    margin-bottom: 20px;
}

.card h2 {
    margin-top: 0;
}

.card ul {
    list-style-type: none;
    padding: 0;
}

.card li {
    margin-bottom: 10px;
}

.card a {
    text-decoration: none;
    color: #007BFF;
}

.card a:hover {
    text-decoration: underline;
}

/* Positive News Card */
.positive-news {
    border: 2px solid green; /* Green border for positive news */
}

/* Negative News Card */
.negative-news {
    border: 2px solid red; /* Red border for negative news */
}

/* Neutral News Card */
.neutral-news {
    border: 2px solid gray; /* Gray border for neutral news */
}

/* Footer Section */
footer {
    padding: 20px;
    background-color: black;
    color: white;
    text-align: center;
}
