html, body {
    background-color: #000;
    margin: 0;
    height: 100%;
    position: relative;
    font-family: 'Rubik', sans-serif;
    color: #fff;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#splash {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: none;
  /* display: block; */

}


#viewRow {
  border: 1px;
}

#userCol {
display:float;
}

#viewClass {
  text-align: center;
}

#statsCol * {
  text-align: right;
  
  padding-right: 5px;
  display: block;
 
}

#splashlogo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
  animation: fadeIn 1s 1 0s ease-in;
}

#mainScreen {
  overflow: hidden;
  display: grid;
  /* grid-auto-rows: minmax(55px, 12%) 5% minmax(350px, 57%) 1fr 14%; */
  grid-auto-rows: minmax(55px, 12%) 5% 105vw 1fr 14%;
  width: 100%;
  height: 100%;
}
#mainTopBar {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}
#mainTopBar img {
  height: 35px;
}
#mainTopBar > * {
  margin: auto;
}
#mainCountdown * {
  text-align: center;
  margin: auto;
}
#mainCountdown h2 {
  font-size: 26pt;
}
#mainCountdown h4 {
  font-size: 11pt;
}

#mainBottomBar {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}
#mainBottomBar * {
  border-color: #3f3f3f;
}
#mainBottomBarLeft {
  border-style: solid;
  border-width: 4px 4px 0px 0px;
  border-radius: 0px 20px 0px 0px;
  display: grid;
}
#mainBottomBarRight {
  border-style: solid;
  border-width: 4px 0px 0px 4px;
  border-radius: 20px 0px 0px 0px;
  display: grid;
}
#mainBottomBarMiddle {
  margin-top: 18px;
  border-style: solid;
  border-width: 4px 0px 0px 0px;
  display: grid;
}
#mainBottomBarMiddle progress {
  margin: auto;
}

#mainBottomBarRight img {
  margin: auto;
  height: 50px;
}

#ammoBox {
  margin: auto;
  display: grid;
}
#ammoBox * {
  margin: 4px auto;
}
#ammoBox img {
  height: 23px;
}

#mainStatsBar {
  margin: auto auto;
  background-color: grey;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 200px;

}
#mainStatsBar * {
  margin: 0px 21px;
  display: inline;
  text-align: center;
}

progress[value] {
  /* margin: 0 auto; */
  /* Reset the default appearance */
  display: block;
  -webkit-appearance: none;
  appearance: none;
  height: 40px;
  width: 90%;
  /* margin: 10px; */
}

progress[value]::-webkit-progress-bar {
  background-color: #003d00;
  /* border-radius: 20px; */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset; */
}

progress[value]::-webkit-progress-value {
  background-color: #3ef241;
  transition : width 0.5s ease;
  /* border-radius: 20px; */
}


#mapContainer {
  margin: 10px 15px;
  overflow: hidden;
  border-radius: 20px;
  border: 6px solid;
  border-color: #085bb7;
  height: -webkit-fill-available;
}
#middlePanel {
z-index: inherit;
}

#heal {
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#33ff0049, #33ff0089);
  opacity: 0;
  z-index: 4;
}

#phit {
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#ffae009d, #ffae00fd);
  opacity: 0;
  z-index: 4;
}

#hit {
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#ff00004f, #ff00008f);
  opacity: 0;
  z-index: 4;
}

#death {
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#d70808, #811717);
  text-align: center;
  display: flex;
  display: none;
  place-content: space-evenly;
  flex-direction: column;
}
#death * {
  animation: fadeIn 0.5s 1 0s ease-in-out;
}
#death h1 {
  font-size: 80px;
  margin-bottom: 10%;
  margin-top: 0px;
}
#death h2 {
  font-size: 50px;
  margin: 0px;
}
#death h3 {
  color: #4e0000;
  font-size: 40px;
  margin: 0px;
}
#death h4 {
  font-size: 40px;
  color: #4e0000;
  margin: 10% 0px 3% 0px;
}
#death h5 {
  font-size: 80px;
  margin: 0px 10px;
}

#countdown {
  position: absolute;
  /* z-index: 5; */
  width: 100%;
  height: 100%;
  background-color: #000000;
  text-align: center;
  display: none;
}

#countdown h1 {
  font-size: 300px;
  margin: auto;
}

#dragoverlay {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  text-align: center;
  background-image: linear-gradient(#9700ff, #ffffff00, #ffffff00);
  font-size: 14px;
  pointer-events: none;
  display: none;
  animation: fadeIn 0.2s 1 0s ease-in-out;
}




@keyframes fadeIn{
    0%{
        opacity: 0;
        }
    100%{
        opacity: 1;
        }
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#lobby {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 7;
  display: none;
  grid-auto-rows: minmax(100px, 20%) 1fr minmax(70px, 18%);
}
#lobbybar {
  display: grid;
}
#lobby img {
  width: 40px;
  margin: 10px;
  position: absolute;
}
#lobby h1 {
  margin: auto;
}
#roster {
  overflow: scroll;
}
.player {
  border-radius: 13px;
  border-width: 2px;
  border-color: grey;
  border-style: solid;
  margin: 5px;
}
.player h4 {
  margin: 8px;
}
#viewTableUsers {
  padding: 10px;
}
#viewRow {
  border: 1px;
}
#userCol {
display:float;
}
#viewClass {
  text-align: center;
}
#statsCol * {
  text-align: right;
  padding-right: 5px;
  display: block;
}

#lobby > * {
  margin: 10px;
}
#teamContainer {
  display: grid;
}
#readyContainer {
  display: grid;
}
.readyBtnPressed {
  transform: scale(0.98);
  background-color: grey !important;
}
#readyBtn {
  margin: auto;
  width: 250px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  background-color: limegreen;
  transition: all 0.5s ease;
}
#readyBtn h1 {
  text-align: center;
  font-style: italic;
  color: black;
}
#teamBtn {
  margin: auto;
  width: 250px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  background-color: cyan;
  transition: all 0.5s ease;
}
#teamBtn h1 {
  text-align: center;
  font-style: italic;
  color: black;
}
#classContainer {
  display: grid-inline;
}
.classBtn {
    margin: auto;
    width: 250px;
    height: 25px;
    border-radius: 15px;
    display: table-cell;
    /* background-color: lightseagreen; */
    transition: all 0.5s ease;
}
.classBtn h3 {
  text-align: center;
  font-style: italic;
  color: White;
  background-color: none;
}

.classBtnPressed {
  margin: auto;
  width: 250px;
  height: 25px;
  border-radius: 15px;
  display: table-cell;
  transition: all 0.5s ease;
  transform: scale(0.98);
  background-color: green;
}
