/* General Styling */
body {
    background: url('../img/black.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Playfair Display', serif;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

/* Title & Subtitle */
.title {
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    margin-top: -20px; /* Moves it up */
    margin-bottom: 10px;
}

.subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Article Section - Flexbox to Align in Row */
.articles-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

/* Individual Article Box */
.article {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 30%;
    text-align: center;
}

.article:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Article Images */
.article img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

/* Article Excerpt */
.excerpt {
    font-size: 1rem;
    margin-top: 10px;
    opacity: 0.8;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 800px;
    max-height: 80vh;
    background: transparent; /* Remove extra background */
    padding: 30px;
    box-sizing: border-box;
    text-align: left;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: none; /* Remove any unwanted glow */
}

/* Close Button Styling */
.close-btn {
    position: absolute;
    top: 15px;
    right: 34px; /* Moves it to the right side */
    font-size: 2rem; /* Makes it bigger */
    cursor: pointer;
    color: #000;
    background: none;
    border: none;
    outline: none;
    padding: 10px; /* Makes the clickable area larger */
    transition: color 0.3s;
}

.close-btn:hover {
    color: red; /* Turns red when hovered for better visibility */
}


#article-content {
    max-width: 800px;
    margin: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);; /* Keep only one solid background */
    color: #000000;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Keep subtle glow */
}

#article-content h2 {
    color: #880808; /* Changes title color to red */
    font-size: 1.8rem; /* Adjusts size if needed */
    text-align: left; /* Centers the title */
    font-weight: bold; /* Makes it stand out */
}


/* Navigation Buttons */
.navigation {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    border: 1px solid white;
    border-radius: 0;
    transition: background 0.3s;
    margin: 10px;
    color: #fff;
    font-weight: bold;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.5);
}


