/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #dcc899; }
::-webkit-scrollbar-thumb { background: #8b0000; border-radius: 5px; }

body {
    /* CSS Parchment Effect */
    background-color: #f4e4bc;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 100%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    opacity: 0.95;
    
    font-family: 'Crimson Text', 'Georgia', serif;
    color: #2e2b26;
    line-height: 1.6;
    margin: 0;
}

.container {
    max-width: 800px;
    padding: 20px;
}

/* The Paper Sheet Effect */
article {
    background: #fdf5e6;
    border: 1px solid #d2b48c;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2), 0 0 40px rgba(0,0,0,0.05) inset;
    padding: 40px;
    border-radius: 3px;
    position: relative;
}

/* Headers & Text */
#title {
    font-variant: small-caps;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    color: #8b0000;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.stat-bar {
    background: #2e2b26;
    color: #f4e4bc;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 3px solid #8b0000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

button {
    background-color: #8b0000;
    border: 1px solid #5a0000;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

button:hover {
    background-color: #5a0000;
}

button.secondary {
    background-color: #2e2b26;
    border-color: #000;
}

#content {
    font-size: 1.2rem;
    text-align: justify;
}

/* Monster Cards */
.monster-card {
    background: rgba(139, 0, 0, 0.05);
    border: 2px dashed #8b0000;
    padding: 20px;
    border-radius: 5px;
}
/*images */

#image-area {
    width: 100%;
    max-width: 150px; /* Or whatever size you prefer */
    margin: 0 auto 20px auto;
}

#image-area img {
    width: 100%;
    height: auto;
    border: 3px solid #8b0000;
    border-radius: 5px;
}
