/* General Styling */
@font-face {
    font-family: 'kingthings_petrockregular';
    src: url('Kingthings_Petrock-webfont.eot');
    src: url('Kingthings_Petrock-webfont.eot?#iefix') format('embedded-opentype'), url('Kingthings_Petrock-webfont.woff2') format('woff2'), url('Kingthings_Petrock-webfont.woff') format('woff'), url('Kingthings_Petrock-webfont.ttf') format('truetype'), url('Kingthings_Petrock-webfont.svg#kingthings_petrockregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'kingthings_petrock_lightRg';
    src: url('Kingthings_Petrock_light-webfont.eot');
    src: url('Kingthings_Petrock_light-webfont.eot?#iefix') format('embedded-opentype'), url('Kingthings_Petrock_light-webfont.woff2') format('woff2'), url('Kingthings_Petrock_light-webfont.woff') format('woff'), url('Kingthings_Petrock_light-webfont.ttf') format('truetype'), url('Kingthings_Petrock_light-webfont.svg#kingthings_petrock_lightRg') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Arial,Helvetica,sans-serif'; /* Using a simple serif font similar to OSRS */
    margin: 0;
    padding: 0;
    background-color: #2b2b2b; /* Dark background similar to OSRS */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    color: #fff; /* Goldish color used often in OSRS for text */
}

header {
    text-align: center;
    padding: 15px;
    background-color: #1b1b1b; /* Darker background */
    color: #d4af37; /* Goldish color for header text */
    border-bottom: 2px solid #888; /* Brown border similar to OSRS menu bars */
}

#logo {
    width: 468px;
    height: 125px;
    /*border: 0px solid #4a3b21;  Add a brown border around the logo */
    padding: 5px;
}

main {
    margin: 20px auto;
    max-width: 1200px;
}

h1, h2 {
    margin: 10px 0;
    text-align: center;
    font-size: 3em;
    color: #e0c775; /* Slightly lighter gold color for headings */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adds depth to the text */
}

h1 {
    font-family: kingthings_petrockregular;
    font-style: normal;
    font-weight: normal;
}

h2 {
    font-family: kingthings_petrock_lightRg;
    font-size: 1.5em;
    font-style: normal;
    font-weight: normal;
    margin-bottom: 20px;
    border-bottom: 2px solid #888; /* Brownish border */
    padding-bottom: 10px;
}

/* Buttons Styling */
button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #31353c; /* Brown button color */
    color: #d4af37; /* Goldish text color */
    border: 2px solid #d4af37;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Adds depth */
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth transition for hover effects */
}

    button:hover {
        background-color: #664d26; /* Lighter brown on hover */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8); /* More pronounced hover effect */
    }

/* Section Styling */
section {
    margin-bottom: 40px;
}

/* Table Styling */
table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
    background-color: #3a3a3a; /* Dark gray background */
    border: 2px solid #888; /* Brown border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add subtle shadow for a raised look */
}

th, td {
    font-family: kingthings_petrock_lightRg;
    font-style: normal;
    font-weight: normal;
    padding: 10px;
    font-size: 16px; /* Slightly larger for readability */
    /*color: #fff;  Goldish color for text */
}

th {
    background-color: #31353c; /* Grey header background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Adds depth to the text */
    border: 1px solid #888; /* Brown border for cells */
    color: #C2AB79; /* White text for headers */
    font-size: 18px;
}

td {
    font-family: 'Arial,Helvetica,sans-serif';
    border: 1px solid #362417; /* Brown border for cells */
    background-color: #c6ae7a; /* Dark background for table cells */
}

tr:nth-child(even) td {
    font-family: 'Arial,Helvetica,sans-serif';
    background-color: #c6ae7a; /* Slightly lighter background for alternating rows */
}

tr:hover td {
    background-color: #bda268; /* Brownish background on hover */
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
}

.modal-content {
    background-color: #2b2b2b;
    margin: 15% auto;
    padding: 20px;
    border: 2px solid #362417;
    color: #e0c775;
    width: 80%;
    max-width: 400px;
}

.close {
    color: #e0c775;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: white;
        text-decoration: none;
        cursor: pointer;
    }

/* Style for the player name */
.player-name {
    color: white; /* Player name remains white */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Adds depth to the text */
}

/* Style for the gained XP value */
.xp-gained {
    color: #90c040; /* Gained XP is green */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9); /* Adds depth to the text */
}

/* Style for the dynamic images */
.icon {
    width: 18px; /* Adjust the size to fit your design */
    height: 18px;
    margin-right: 8px; /* Add some space between the image and the text */
    vertical-align: text-top; /* Aligns the icon with the text */
}

