
body{
    font-family:'Merriweather',serif;
	background: #3a3944; /* fallback color */
      background-image: url(img/background.jpg);Add your image URL here 
    background-size: cover; /* Ensures the image covers the whole page */
    background-position: center top; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
	background-attachment: fixed;
	      backdrop-filter: brightness(0.4);
    color:#333;
	  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin:0;
    padding:0;
}
.container{
    max-width:900px;
    margin:0 auto;
    padding:20px;
}
h1 {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 10px;
    padding: 60px 20px;
}

h1::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('img/squish.png');
    background-size: contain;
    background-position: center center;
	  background-repeat: no-repeat;
    opacity: 0.3; /* adjust for visibility */
    z-index: -1;
}
h3{
    text-align:center;
    color:#FFFFFF;
    margin-bottom:10px;
	text-align: center;
}
h4{
    text-align:center;
    color:#FFFFFF;
    margin-bottom:10px;
	text-align: center;
}
nav.toc{
    background:#fffbe8;
    border:1px solid #e0d9c6;
    padding:10px 20px;
    margin-bottom:30px;
}
nav.toc ul{
    list-style:none;
    padding-left:0;
    columns:2 300px;
}
nav.toc li{
    margin:4px 0;
}
nav.toc a{
    text-decoration:none;
    color:#2a7ab0;
}
nav.toc a:hover{
    text-decoration:underline;
}
section{
    margin-bottom:40px;
	    color:#FFFFFF;
		  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
h2{
    font-size:1.4em;
    cursor:pointer;
    background: rgba(255,255,255,0);
		background-image: url(img/scroll.png);
		background-position: center ; /* Centers the image */
		background-size: cover;
    padding:8px 18px;
	    color:#333;
}
section.collapsed .sec-content{
    display:none;
}
p{
    text-align:justify;
    margin:0.6em 0;
}
.character-card {
    background: #fffbe8;
    border: 1px solid #e0d9c6;
    border-left: 6px solid #c6ae7f;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    max-width: 600px; /* Adjusted width */
    width: 100%;
    display: flex;
    align-items: flex-start; /* Align top for both image and text */
    gap: 20px;
}

.character-card img {
    max-width: 150px; /* Set the size of the image */
    height: auto;
    border-radius: 8px; /* Optional: rounds the corners of the image */
    object-fit: cover;
}

.character-card .text {
    flex: 1;
   /* display: grid; /* Using grid to make columns */
   /* grid-template-columns: 1fr 1fr; /* Creates two columns */
   /* gap: 12px; /* Space between columns */
}

.character-card h2 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 0.3em;
    grid-column: span 2; /* Make h2 span across both columns */
}

.character-card .info {
    font-size: 1em;
    color: #555;
}

.character-card .info span {
    display: inline-block;
    min-width: 80px;
    font-weight: bold;
    color: #2a7ab0;
}

.character-card p {
    grid-column: span 2; /* Makes the description span both columns */
    text-align: justify;
}
/* Button Container */
.buttons-section {
    text-align: center;
    margin-top: 30px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Button Style */
.styled-button {
        background: rgba(255,255,255,0);
		background-image: url(img/scroll.png);
		background-position: center ; /* Centers the image */
		background-size: cover;
		background-color: #c6ae7f;  
    color: #333;
    border: 1px solid #e0d9c6; 
    padding: 12px 25px;
    font-family: 'Merriweather', serif;
    font-size: 1.2em;
   border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover Effect */
.styled-button:hover {
   /* background-color: #2a7ab0; /* Change to a darker blue on hover */
   /* border-color: #2a7ab0; */
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Add a soft shadow */
}

/* Focus Effect */
.styled-button:focus {
    outline: none;
   /* box-shadow: 0 0 6px 2px #c6ae7f; /* Outline to indicate focus */
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: -50px; /* Extend beyond the viewport */
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}