@import url(https://fonts.googleapis.com/css?family=Righteous);

html {
    overflow-y: scroll;
}

 body {
   margin: 0;
   padding: 0;
   font-family: Righteous;
   background-color: #1A1E23;
   margin: 0 auto;
   width:  1200px;
 }
  
.content-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width:  1200px;
  max-width: 2560px;
  margin-left: auto;
  margin-right: auto;
}
 	
 .table-players {
   width:  1200px;
   max-width: 2560px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   border: 5px solid black;
   width: calc(100% - 5px);
   box-sizing: border-box;
   transform: scale(.8);
   transform-origin: top center;
   margin-left: auto;
   margin-right: auto;
   margin-top: 2%;
 }

 #gameSessionsTable {
   width: 100%;
   background-color: #fff;
   text-align: center;
   font-size: 1em;
 }
 
 .header {
   background-color: #333;
   color: #fff;
   text-align: center;
   height: 50px;
   line-height: 50px;
   font-size: 2.5em;
 }
 
 .playercount {
   position: relative;
   background-color: #333;
   color: #fff;
   height: 50px;
   line-height: 50px;
   font-size: 2em;
   text-align: center;
 }
 
 .playercounttext {
   display: inline-block;
   margin-right: 10px;
 }
 
 #totalPlayerCount {
   position: absolute;
 }
 
 table {
   border: none;
 }
 
 #gameSessionsTable td {
   border-top: 1px solid #ddd;
   position: relative;
 }
 
 #gameSessionsTable img {
   width: 100%;
   height: auto;
   display: block;
   margin: 0 auto;
 }
 
 #gameSessionsTable th {
   height: 30px;
 }
 
 #gameSessionsTable th:nth-child(1),
 #gameSessionsTable td:nth-child(1) {
   width: 20%;
 }
 
 #gameSessionsTable th:nth-child(2),
 #gameSessionsTable td:nth-child(2) {
   width: 10%;
 }
 
 #gameSessionsTable th:nth-child(3),
 #gameSessionsTable td:nth-child(3) {
   width: 40%;
 }
 
 #gameSessionsTable th:nth-child(4),
 #gameSessionsTable td:nth-child(4) {
   width: 15%;
 }
 
 #gameSessionsTable th:nth-child(5),
 #gameSessionsTable td:nth-child(5) {
   width: 15%;
 }

 .scene-names {
   display: flex;
   flex-direction: column;
   align-items: center;
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;

 }
 
 .true-scene-container {
   text-align: center;
   position: absolute;
   width: 100%;
   text-align: center;
 }
 
 .full-scene-container {
    text-align: center;
    position: absolute;
 }
 
 .true-scene {
   text-align: center;
	   
 }
 
 .full-scene {
   font-weight: bold;
   text-align: center;

 }
 
 code {
   background: #e5e4e2;
   padding: 2px 4px;
   border: 1px solid #ccc;
   border-radius: 10px;
   display: block;
   margin: 0 auto;
 }

@media screen and (max-width: 1024px) {
	
   body, .content-container {
      width: 768px; 
      margin: 0 auto; 
   }
   
  .table-players {
    transform: scale(1);
    border: 4px solid black
  }
  
 #gameSessionsTable th {
   height: 20px;
   font-size: 10px;  
 }
 
  #gameSessionsTable td {
   border-top: .5px solid #ddd;
 }

 #gameSessionsTable {
    width: 100%;
	font-size: 10px;   
  }

  .header, .playercount {
    height: 25px;
    line-height: 25px;
  }
  
  .header {
	font-size: 1.2em; 
	 
  }
  
  .playercount {
	font-size: 1em;  
	 
  }
 
code {
   background: #e5e4e2;
   padding: 1px 2px;
   font-size: 0.8em; 
   border: 1px solid #ccc;
   border-radius: 5px; 
   display: block;
   margin: 0 auto;
}

}

/* landscape mode iphone 15 pro */
/* landscape mode iphone 6s */
@media screen and (max-width: 768px) {
	
   body, .content-container {
      width: 576px; 
      margin: 0 auto; 
   }
   
  .table-players {
    transform: scale(1);
    border: 3px solid black
  }
  
 #gameSessionsTable th {
   height: 15px;
   font-size: 8px;  
 }
 
  #gameSessionsTable td {
   border-top: .5px solid #ddd;
 }

 #gameSessionsTable {
    width: 100%;
	font-size: 8px;   
  }

  .header, .playercount {
    height: 20px;
    line-height: 20px;
  }
  
  .header {
	font-size: 1em; 
	 
  }
  
  .playercount {
	font-size: .8em;  
	 
  }
 
code {
   background: #e5e4e2;
   padding: 1px 2px;
   font-size: 0.8em; 
   border: 1px solid #ccc;
   border-radius: 5px; 
   display: block;
   margin: 0 auto;
}

}


/* regular mode iphone 15 pro */
/* regular mode iphone 6s */
@media screen and (max-width: 480px) {
	
   body, .content-container {
      width: 320px; 
      margin: 0 auto; 
   }
   
  .table-players {
    transform: scale(1.1);
    border: 2px solid black
  }
  
 #gameSessionsTable th {
   height: 10px;
   font-size: 5px
 }
 
  #gameSessionsTable td {
   border-top: .5px solid #ddd;
 }

 #gameSessionsTable {
    width: 100%;
	font-size: 5px;   
  }

  .header, .playercount {
    height: 15px;
    line-height: 15px;
  }
  
  .header {
	font-size: .7em; 
	 
  }
  
  .playercount {
	font-size: .5em;  
	 
  }
 
 #gameSessionsTable th:nth-child(1),
 #gameSessionsTable td:nth-child(1) {
   width: 20%;
 }
 
 #gameSessionsTable th:nth-child(2),
 #gameSessionsTable td:nth-child(2) {
   display: none;
 }
 
 #gameSessionsTable th:nth-child(3),
 #gameSessionsTable td:nth-child(3) {
   width: 50%;
 }
 
 #gameSessionsTable th:nth-child(4),
 #gameSessionsTable td:nth-child(4) {
   width: 10%;
 }
 
 #gameSessionsTable th:nth-child(5),
 #gameSessionsTable td:nth-child(5) {
   width: 10%;
 }
 
code {
   background: #e5e4e2;
   padding: 1px 2px;
   font-size: 0.8em; 
   border: 1px solid #ccc;
   border-radius: 5px; 
   display: block;
   margin: 0 auto;
}

}