/* Body styles */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Container styles */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    background-color: #333;
    color: #fff;
    padding: 30px 20px; /* Increase padding to make the header box longer */
}

/* Style for h1 */
h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Style for h2 */
h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 16px;
    color: darkblue;
}

/* Style for h3 */
h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: darkgreen
}

/* Style for paragraphs */
p {
    margin-bottom: 20px;
}

/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: left;
}

/* Header image styles */
.header-image {
    height: 70px; /* Adjust the height as needed */
    float: right; /* Align the image to the right */
    vertical-align: middle; /* Align the image with the text */
    image-rendering: pixelated;
}

/* Table styles (scoped to specific tables) */
#player-leaderboard-table,
#player-calculation-table {
    border-collapse: collapse;
    font-size: 10pt;
}

#player-leaderboard-table th,
#player-calculation-table th {
    background-color: #f2f2f2;
    border: 1px solid #ddd;
    padding: 0;
    text-align: left;
    font-weight: bold;
    white-space: nowrap;
    transform-origin: bottom left;
    position: relative;
    height: 150px;
    width: 34px;
}

#player-leaderboard-table th:before,
#player-calculation-table th:before {
    content: '';
    display: block;
    padding-top: 80%; /* this creates a square shape */
}

#player-leaderboard-table th span,
#player-calculation-table th span {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transform: rotate(-60deg);
    transform-origin: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

#player-leaderboard-table td,
#player-calculation-table td {
    border: 1px solid #ddd;
    padding: 4px;
    text-align: center;
    white-space: nowrap;
    height: 18px; /* adjust this value as needed */
}

#player-leaderboard-table tr:nth-child(even),
#player-calculation-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Highlight styles */
#player-leaderboard-table .highlight-row,
#player-calculation-table .highlight-row {
    border: 3px solid #ff9800;
}

#player-calculation-table .highlight-column {
    border-left: 3px solid #ff9800; /* Left border highlight */
    border-right: 3px solid #ff9800; /* Right border highlight */
}

#player-calculation-table .highlight-column.first-in-column {
    border-top: 3px solid #ff9800; /* Top border for first cell */
}

#player-calculation-table .highlight-column.last-in-column {
    border-bottom: 3px solid #ff9800; /* Bottom border for last cell */
}
