/* Global styling */
body {
    font-family: 'Kanit', sans-serif;
    background-color: rgba(4, 49, 2);
    color: rgba(4, 49, 2, 0.85);
    line-height: 1.6;
}

header {
    position: relative;
}

.header-image {
    width: 100%;
    height: auto;
}

.subpage-header {
    height: 500px;
    overflow: hidden;
    position: relative;
}

.subpage-header img {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
}

.header-container {
    background-color: rgba(4, 49, 2);
    color: #f5f5dc;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100%;
}

h1 {
    font-size: 2.5rem;
    font-family: 'Courier New', Courier, monospace;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #f5f5dc;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 12px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
}

/* Main content */
main {
    padding: 50px 20px;
    max-width: 900px;
    margin: auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #8b4513;
    text-align: center;
}

section {
    margin-bottom: 30px;
}

/* Links and text styling */
section p, section ul {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

section ul {
    padding-left: 20px;
}

section ul li {
    margin-bottom: 10px;
}

/* Document buttons */
.document-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.document-buttons a {
    display: block;
    width: 90%;
    max-width: 600px;
    padding: 15px;
    background-color: #8b4513;
    color: #f5f5dc; 
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.document-buttons a:hover {
    background-color: #d2691e;
    color: #f5f5dc;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.4);
}

.documents p {
    margin-bottom: 40px;
    text-align: center; 
    font-size: 1.2rem;
    font-weight: 500; 
    color: #8b4513;
    line-height: 1.8; 
}

/* Centered and responsive images */
.centered-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

/* Footer */
footer {
    background-color: #8b4513;
    color: #f5f5dc;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    font-size: 1rem;
}
