body {
    font-family: Arial, sans-serif;
	font-size: 1.1em;  
    /* background-image: url('images/main.webp'); */
	background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.2)), url('images/main.webp') no-repeat center center;
    background-size: cover; /* Ensures the image covers the area without stretching */
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 99.9%; /* Covers the width without cutting off the height */
	background-attachment: fixed; /* Keeps the image fixed on screen */
	color: #333;
    overflow: hidden; /* Prevents scrolling and cropping */
}


header {
    position: relative;
    color: black;
    padding: 5px 0px 0px; /* Adjust padding to control space from top */
    width: 100%;
    text-align: center;
    z-index: 1;
    
}

/* Header title */
h1 {
     font-family: 'IM Fell English SC', Arial, sans-serif;
     /* font-family: 'IM Fell English SC', Arial, sans-serif; /* cool Google font */ 
    font-size: 3.0em;
    color: #333;
    margin: 0;
}

/* Updated style for the paragraph below the title */
header p {
    margin: 5px 0; /* Reduces top and bottom space */
    padding: 0; /* Ensures no extra padding */
    font-size: 1.1em; /* Adjust font size as needed */
}

#game-section, #gameplay-section {
    background-color: rgba(0, 0, 0, 0.1); /* Dark, semi-transparent background */
    color: #e0e0e0; /* Light text for readability */
    padding: 30px; /* Increased padding for a balanced layout */
    border-radius: 15px; /* Smooth, rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Deeper shadow for depth */
    max-width: 415px; /* Slightly wider for spacing */
    margin: 200px auto;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border for elegance */
    backdrop-filter: blur(2px); /* Blur effect for a glass-like look */
	 text-align: center; /* Centers text and inline elements */
}

#gameplay-section {
    display: none; /* Hide initially */
	
}


/* Style for buttons inside the sections */
#game-section button, #gameplay-section button {
    background-color: #1a1a1a; /* Dark background for buttons */
     color: #ffffff;
	/* color: #f9f9f9; */
    font-size: 1.0em;
	padding: 12px 24px;
    margin: 8px 8px; /* Space between buttons */
    border: none;
    border-radius: 8px; /* Smooth corners */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover effect for buttons */
#game-section button:hover, #gameplay-section button:hover {
    background-color: #666; /* Lighter shade on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

#gameCodeMessage {
    font-size: 1.2em;
    color: #white;
    margin-top: 20px;
}

/* #gameCodeMessage p { */
    /* font-size: 1.1em; /* Adjust for desired font size */ 
    /* font-weight: bold; /* Bold text */ 
    /* color: #e0e0e0; /* Light color for readability */ 
/* } */



#joinGameSection input {
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}


#joinGameSection input p {
    font-size: 1.1em; /* Adjust for desired font size */ 
    font-weight: bold; /* Bold text */ 
    color: #e0e0e0; /* Light color for readability */ 
}

#joinCodeInput {
    font-size: 1.0em; /* Adjust this value as needed */
    font-weight: bold; /* Makes text inside the input bold */
	width: 80px;

}

/* hummingbird hidden and key location */
/* #background-container { */
    /* position: relative; */
    /* width: 100%; */
    /* height: 100vh; */
    /* background: url('images/main.webp') no-repeat center center; */
    /* background-size: cover; */
/* } */

#hummingbird {
    position: absolute;
    width: 50px; /* Adjust size as needed */
    cursor: pointer;
	 z-index: 1000;      /* Bring it above other elements */
    pointer-events: auto; /* Ensure it can be clicked */
}

#key-location-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.2em;
    z-index: 10;
}

.key-location {
    font-family: 'IM Fell English SC', serif; /* Apply the Google Font */
    font-size: 1.2em; /* Adjust font size to make it stand out */
    color: #fff; /* Optional: Make it white for emphasis */
}

.castle-key-location {
    color: #8B0000; /* Dark red color */
    font-weight: bold;
}

.relic-key-location {
    color: #4682B4; /* Steel blue color */
    font-weight: bold;
}

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


.replay-button, 
.next-scene-button, 
.continue-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #4682B4; /* Button background color */
    color: white;
}

.replay-button:hover,
.next-scene-button:hover,
.continue-button:hover {
    background-color: #5a9bd3; /* Lighter shade on hover */
}
