/* Basic layout and body styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header styles */
header {
    background-color: #333;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Adding slight shadow */
}

header h1 {
    margin: 0;
}

/* Container for main content */
#container {
    display: flex;
    flex: 1;
}

/* Main content area with a background image */
main {
    flex: 1;
    padding: 15px;
    background-image: url('images/0.jpg'); /* Path to the background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white; /* Ensures text contrasts with the background */
}

/* Form styles */
form {
    margin-bottom: 20px;
}

label {
    font-size: 16px;
    color: #fff; /* White text color for better contrast with dark background */
}

input[type="text"] {
    font-size: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    width: calc(100% - 22px);
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #45a049;
}

/* Styles for the JSON output box */
#json-output {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    padding: 15px;
    border: 1px solid #ccc;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    border-radius: 5px;
}
#button-container {
    display: flex;
    gap: 10px;
    justify-content: flex-end; /* Align buttons to the right side */
}

#button-container button {
    background-color: #444;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#button-container button:hover {
    background-color: #555; /* Darker color on hover */
}

#button-container button img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Specific button color styles */
#home-button {
    background-color: rgb(86, 48, 35) !important; /* Green for Home button */
}

#home-button:hover {
    background-color: rgb(86, 48, 35) !important; /* Darker green on hover */
}

#monsters-button {
    background-color: rgb(190, 144, 67) !important; /* Yellow for Traps button */
}

#monsters-button:hover {
    background-color: rgb(190, 144, 67) !important; /* Darker yellow on hover */
}

#spells-button {
    background-color: rgb(6, 136, 118) !important; /* Blue for Spells button */
}

#spells-button:hover {
    background-color: rgb(6, 136, 118) !important; /* Darker blue on hover */
}

#traps-button {
    background-color: rgb(185, 64, 124) !important; /* Yellow for Traps button */
}

#traps-button:hover {
    background-color: rgb(185, 64, 124) !important; /* Darker yellow on hover */
}

#tokens-button {
    background-color: rgb(141, 141, 141) !important; /* Yellow for Traps button */
}

#tokens-button:hover {
    background-color: rgb(141, 141, 141) !important; /* Darker yellow on hover */
}