table {
    font-size: 14px;
}

td, th {
    padding: 8px;
}
/* Theatre mode mobile styles */
.video-item.theatre-mode {
    flex: 1 1 100%;
    max-width: 100%;
}
.video-item.theatre-mode video {
    width: 100%;
    height: auto;
    max-height: none;
}

.topnav {
    overflow: hidden;
    background-color: #0f0f0f;
    position: relative;
    min-width: 300px;
    max-width: 500px;
    margin: 5px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn {
    padding: 5px 10px;
    font-size: 10px;
    margin: 0px 3px 0px 0px;
}

body {
    font-size: 14px;
}

th:nth-child(1), td:nth-child(1), /* Player */
th:nth-child(2), td:nth-child(2), /* Win % */
th:nth-child(3), td:nth-child(3), /* AHD */
th:nth-child(4), td:nth-child(4), /* K/D Human */
th:nth-child(5), td:nth-child(5), /* K/D All */
th:nth-child(6), td:nth-child(6), /* Matches */
th:nth-child(7), td:nth-child(7), /* Wins */
th:nth-child(8), td:nth-child(8) /* Deaths */
{ 
    display: table-cell;
}

header .banner {
    
    max-height: 150px;  /* before xmass 100 */
    max-width: 100%; /* before xmass width: 100% */
    margin: 10px auto 0px auto;
}


header, main, footer {
    min-width: 0;
    padding: 5px;
    margin: 5px 5px;
    max-width: 800px;
    min-width: 200px;
}

nav {
    min-width: 0;
}

nav ul {
    text-align: left;
}

th, td {
    padding: 0px;
    margin: 0px;
    font-size: 10px;
    letter-spacing: -0.5px;
}

table {
    font-size: 12px;
    margin-top: 5px;
    border-spacing: 0;
    border-collapse: collapse;
}

section h2 {
    margin-top: 10px;
   
}
/* Videos page responsive adjustments */
.videos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 1rem;
}
.video-item {
    flex: 1 1 100%;
    max-width: 100%;
}
.video-item video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* Share and theatre button mobile styles */
.video-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
}
.video-title {
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 8px;
}
.video-item.theatre-mode {
    padding: 10px;
}

.video-item.theatre-mode video {
    max-width: 100%;
    max-height: 70vh;
}

.video-item.theatre-mode .video-controls {
    margin-top: 10px;
}