html {
  height: 100%;
  background: url("img/background.webp") no-repeat top/cover;
}

body {
	font-family:"Play";
	font-weight:bold;
	height: 100%;
	display: block;
	
}

.top-row {
  display: flex;
  flex-direction: row;
  margin-bottom: 0%;
  width: 100%;
  height: 10%;
}

@font-face {
  font-family: 'Ethnocentric'; 
  src: url('Ethnocentric-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Play'; 
  src: url('Play-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: bold;
}

@font-face {
  font-family: 'Play'; 
  src: url('Play-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

h1 {
  margin-left: 20%;
  margin-top: 2%;
  font-family:"Ethnocentric";
  font-size:2em;
  text-align:center;
  color:#fff6d5;
  text-transform:uppercase;
  text-shadow: 4px 4px #a80;
}


div#loading {
  width:100%;
  height:100%;
  z-index:20;
  background:#000000d0;
}

div {
  font-size:80%;
  margin-bottom:20%;
  padding:.2em;
  float:left;
  text-align:center;
}

.tab-buttons {
  margin-bottom: 0%;
}

table {
  display: table;
  border-collapse: collapse; 
  letter-spacing: 1px;
  width: 100%;
  display:inline-block;
  border-top-width:1px;
  border-top-color:#b0b0b0;
  border-color: #575757;
  border-width: 5px;
  border-style: solid;
  overflow: hidden;
  box-shadow: 0 0 0 5px #242424;
  border-radius: 5%;
  padding-top:.1em;
  padding-bottom:.2em;
  background: radial-gradient(circle 70vw at 90% 5%, #ffffff, #575757, #363636, #282828,#242424); 
  object-fit: contain;
  table-layout: fixed;
}

td {
  border-top: 1px solid rgb(160, 160, 160);
  padding: 8px 10px;
  text-align: left;
}


th, .gamemode, .map, .count {
  opacity: 0.8;
}
tr {
  flex-grow: 1;
  width: 100%;
  color: white;
  font-size: 15px;
  font-weight: normal;
}

th {
  padding: 8px 10px;
}

p#ampeakdate, p#eupeakdate{
  margin-top: 5px;
}
#ampeak, #eupeak, #peaktext {
  margin-top:10px;
  margin-bottom: 5px;
}

.gamemode {
  width: 40%;
}

.map {
  width: 40%;
}

.count {
  width: 10%;
}

.view {
  position: relative;
  width: 55%;
  padding-left: 4px;
  background: url("join_button.png") no-repeat center/97%;
  opacity: 1;
  color: rgba(0,0,0,0);
  cursor: pointer;
}

.viewlink {
  display: block;
  text-decoration: none;
  color: inherit;
}

.viewlink::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.view:hover {
  filter: brightness(70%);
}

.leftcol, .rightcol {
  display: flex;
  flex-direction: column;
  padding-top: 1.5%;
  margin-left: 2%;
  margin-right: 2%;
}

.k100 {
  font-weight: bold;
}

.amountofplayers {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width:228;
  height:168;
  border-width:20vw;
  position: relative;
  text-align: center;
}


.amounttext {
  color: white;
  font-size: 17px;
  font-weight:bold;
  position: absolute;
}

.tablink.active {
  background: url("tab_active.png") no-repeat bottom/contain !important;
}


.tablink {
  width: 100%;
  height: 100%;
  padding: 5px;
  padding-bottom: 0%;
  color: white;
  font-size: 16px;
  font-weight: bold;
  background: url("tab_button.png") no-repeat bottom/contain;
  border: none;
}


.tab-buttons {
  display: flex;
  align-items: center; 
  justify-content: space-around; 
  width: 30%;
  height: 10%;
  padding-left: 4%;
  text-align: left; 
}

#americanconc, #europeanconc, #ampeak, #eupeak {
  font-size: 30px;
}
#ampeakdate, #eupeakdate {
  font-size: 24px;
}
#averagehour, #averageday, #peakcount {
  opacity: 0;
  font-size: 50px;
}

#totalconc, #euavghour, #amavghour, #euavgday, #amavgday {
  font-size: 50px;
}

#averagehour .active {
  opacity: 1;
}


.table, .table-active {
  padding-top: 0px;
}

.tab-container {
  width: 60%;
}

.widget {
  display: none;
}

.widget.active {
  display: block;
}



thead {
  box-shadow: 0px 5px 10px rgba(255, 255, 255, 1) inset;
  background: black;
  opacity: 0.6;
  display:block;
  width: 100%;
}

tbody {
  background: black;
  opacity: 0.6;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.github-link {
  display: block;
  margin-top: 1%;
  margin-left: 2%;
  width: 15%;
  height: 75%;
}

.github-icon {
  height: 100%;
  width: 100%;
  transition: 0.1s ease-in-out;
}

.github-icon:hover {
  transform: scale(1.2);
  opacity: 0.8;
}
