@font-face {
    font-family: 'Minecraft';
    src: url('../images/Minecraft.ttf') format('truetype');
}

body {
    font-family: 'Minecraft', sans-serif;
    margin: 0;
    padding: 0;
    background: url('../images/minecraft-landscape.png') no-repeat center center fixed;
    background-size: cover;
    color: #3b2d1f; /* Brown text */
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.9; /* Slightly dim the background */
}

/* Container styling */
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(138, 173, 87, 0.9); /* Slightly transparent castle stone color */
    border: 4px solid #3b2d1f; /* Darker border for a Minecraft look */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* Header styling */
header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo {
    position: relative;
}

.logo img {
    max-width: 800px; /* Maximum width for the image */
    height: auto;
    display: block;
	/* margin-left: 100px; */
	/* margin-right: 100px; */
}

.logo h1 {
    font-size: 48px;
    color: #fff;
    text-shadow: 3px 3px 0px #3b2d1f;
    margin: 0;
    display: none; /* Hide text by default */
}

.logo img[src] + h1 {
    display: none; /* Hide the text if the image is available */
}

.logo img:not([src]) + h1 {
    display: block; /* Show the text if the image is missing */
}

/* Sidebar styling */
.sidebar {
    float: left;
    width: 200px;
    margin-right: 20px;
    background-color: #3b2d1f;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav ul li {
    margin-bottom: 10px;
}

.sidebar nav ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
    background-color: #5b8a3c;
    border-radius: 5px;
    text-align: center;
}

.sidebar nav ul li a:hover {
    background-color: #6b9b5d; /* Hover effect */
}

/* Main content styling */
main {
    margin-left: 220px; /* Adjust to the width of the sidebar */
    background-color: #d9d4b7; /* Minecraft sand color */
    padding: 20px;
    border: 2px solid #3b2d1f;
    border-radius: 5px;
    min-height: 300px;
}

/* Footer styling */
footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #fff;
}

footer p {
    margin: 0;
}
