/* General Body Styles for Dark Mode */
body {
    font-family: "Times New Roman", Times, serif;
    background-color: #121212;
    margin: 0;
    padding: 2rem;
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1rem;
}

/* Centering All Headings */
h1, h2, h3 {
    text-align: center;
    margin-bottom: 1rem;
}

/* Centralized Image and Link */
.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem auto;
    width: 100%;
}

.image-container img {
    width: 90%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Centered Link Below Image */
.central-link {
    display: block;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #ff9800;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.central-link:hover {
    text-decoration: underline;
    color: #ffa726;
}

/* Description Section */
.description {
    max-width: 800px;
    margin: 2rem auto;
    text-align: justify;
    color: #d0d0d0;
    font-size: 1rem;
}

.description p {
    margin-bottom: 1rem;
}

/* Bibliography Table Styling */
.bibliography {
    max-width: 1000px;
    margin: 2rem auto;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: #1e1e1e;
    color: #e0e0e0;
    table-layout: fixed;
}

th, td {
    border: 1px solid #444;
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: middle;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

th:nth-child(1), td:nth-child(1) { width: 10%; }
th:nth-child(2), td:nth-child(2) { width: 40%; }
th:nth-child(3), td:nth-child(3) { width: 25%; }
th:nth-child(4), td:nth-child(4) { width: 25%; }

th {
    background-color: #333;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #292929;
}

tr:hover {
    background-color: #404040;
}

/* Responsive Table */
@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
    }
    th, td {
        padding: 0.5rem;
    }
}

/* Community Blog Section */
.community-blog {
    max-width: 800px;
    margin: 2rem auto;
}

.blog-entry {
    text-align: left;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Embedded Content */
.blog-entry iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}

/* Video Library Section */
.video-library {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.video-box {
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    text-align: center;
}

.video-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.video-box iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border-radius: 8px;
}

.video-text {
    text-align: left;
    margin-top: 10px;
    font-size: 1rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Link Styling */
a {
    color: #ff9800;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    text-decoration: underline;
    color: #ffa726;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    h1, h2, h3 {
        font-size: 1.8rem;
    }
    .description {
        font-size: 0.9rem;
    }
    .image-container img {
        width: 100%;
    }
    .blog-entry {
        padding: 0.5rem;
    }
}
