@charset "UTF-8";

/* Body - Full Black Background */
/* Reset default spacing for both html and body */
html, body {
    margin: 0;
    padding: 0;
    background-color: white;
    height: 100%;
}


body {
    
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Container */
.news-detail-container {
    max-width: auto;
    margin: 80px auto;
    padding: 25px;
    background-color: white; /* Slight contrast against full black */
    color: #f1f1f1;
    animation: fadeInUp 0.8s ease;
}

/* Image */
.news-detail-img {
    display: block;
    max-width: 75%;   /* Reduced size */
    height: 80vh;
    margin: 0 auto 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Title */
.news-detail-title {
    text-align: center;
    font-size: 2em;
    color: #00bcd4;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Date */
.news-detail-date {
    text-align: center;
    font-size: 1em;
    color: #888;
    margin-bottom: 25px;
}

/* Content */
.news-detail-content {
    font-size: 1.1em;
    line-height: 1.8em;
    color: black;
}

/* Responsive */
@media (max-width: 600px) {
    .news-detail-container {
        margin: 70px 20px;
        padding: 20px;
    }

    .news-detail-img {
        max-width: 100%;
    }

    .news-detail-title {
        font-size: 1.6em;
    }
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
