/* ---------------------------------------------------
  Global 
----------------------------------------------------- */
body {
  background: #1e1d32;
  margin: 0;
	font-family: sans-serif;
	font-weight: 100;
}

.wrapper {
  /* Full-width wrapper so inner table can be centered in the viewport. */
  position: relative;
  margin: 90px auto 40px;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

.mainlogo{
  height: 200;
  width: 112.5;
  text-align: center;
}

h2 { 
  text-align: center;
  font-size: xx-large; 
  font-family: 'Gill Sans', 'Gill Sans MT', ' Calibri', 'Trebuchet MS', 'sans-serif';
  margin: 20px auto 0;
  padding: 10px 20px;
  color: white;
}

/* ---------------------------------------------------
  Leaderboard Page UX/UI
----------------------------------------------------- */


/* ---------------------------------------------------
  Gmr-Overdrive Leaderboard Datatable UX/UI
----------------------------------------------------- */
table {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  background: rgba(0,0,0,0.02);
}

th,
td {
  padding: 12px 14px;
  background-color: rgba(255,255,255,0.06);
  color: #fff;
}

th {
	background-color: #55608f;
  text-align: left;
}
/* ---------------------------------------------------
  ScrollBar 
----------------------------------------------------- */
/* global scrollbar styling (very basic) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* ---------------------------------------------------
  Sidebar Navmenu
----------------------------------------------------- */
.nobull {
  list-style-type: none;
}

.sidebar {
  /* use viewport height and allow vertical scrolling so long menus don't get cut off */
  height: 100vh;
  max-height: 100vh;
  width: 220px; /* fixed width makes layout predictable */
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #1e1d32;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: width 0.25s ease;
  padding-top: 60px;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 18px;
  cursor: pointer;
  background-color: #1e1d32;
  color: white;
  padding: 8px 12px;
  border: none;
}
.openbtn:hover { background-color: #444; }

#main {
  transition: margin-left .5s;
  width: 200px;
  padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}

/* ---------------------------------------------------
  Homepage Styles
----------------------------------------------------- */
.welcome {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  color: #AAAAAA;
  font-weight: bold;
  text-align: center; 
  font-size: xx-large; 
  font-family: 'Gill Sans', 'Gill Sans MT', ' Calibri', 'Trebuchet MS', 'sans-serif';
  margin: 20 auto;
  padding: 35px;
  border-style: outset;
  border-color: coral;
}

.gmr-overdrive {
  padding: 5px;
  margin-top: 50px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  filter: brightness(120%) contrast(100%);
}

/* Make the content area scrollable so long tables don't push the page
   and hide the title. The title remains in normal flow above .wrapper. */
.wrapper #content {
  /* Let the page scroll normally; keep a small right padding so the last
     column isn't hidden behind the global scrollbar. */
  padding-right: 8px;
}

/* Inner content helper for spacing */
.content-inner { padding: 8px 0 30px; }

/* inner scrollbar styling */
/* internal scrollbar removed so page uses the browser's main scrollbar */

/* Responsive: collapse sidebar on small screens */
@media screen and (max-width: 900px) {
  .sidebar { width: 60px; padding-top: 20px; }
  .sidebar a { font-size: 18px; padding-left: 18px; }
  .wrapper { margin-left: calc(60px + 12px); max-width: calc(100% - 80px); }
  table { max-width: 95%; }
}

/* Ensure table stays visually centered while leaving room for the fixed sidebar */
@media screen and (min-width: 960px) {
  .wrapper { padding-left: calc(0px + 0px); }
  table { margin-left: auto; margin-right: auto; }
}