/* GLOBAL */

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* IDs */

#overlays {
    display:none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 200;
}

#title {
    padding: 10px;
}

#canvas {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  z-index:1;
}

#connecting {
	opacity : 0.7;
    display:none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    background-color: rgba(0,0,0,0.5);
}


#gamemode {
    width: 33%;
    float: right;
}

#helloDialog {
    width: 300px;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 12px;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 50% 50%, #ff7b7b, #b20000);
    transition: background 0.1s ease-out;
}

#chat_textbox {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: absolute;
    z-index: 1;
    bottom: 10px;
    background: rgba(0, 0, 0, .2);
    border: 0px;
    outline: none;
    color: #FFF;
    height: 30px;
    text-indent: 12px;
    left: 10px;
    width: 300px;
}

#chat_textbox:focus {
    background: rgba(0, 0, 0, .5);
}

#footer {
    text-align: center;
    margin-bottom: 10px;
    margin-top: -10px;
}


#settings-btn {
    width: 13%;
    float: right;
}

#spectate-btn {
    margin-top: 0px;
    float: right;
}

/* CLASSES */

.checkbox label {
    margin-right: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.center {
    display: table;
    margin: 0 auto;
}

iframe {
    display:block;
    width:100%;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#inPageModalBody {
	max-height: 7.0in;
	overflow: auto;
}
*{
  margin:0;
  padding:0;
}

.container{  padding-top: 20px;
  padding-bottom: 20px;}
body{
  background-color: #111845;
}

.background-imgL{
  background-image: url("https://3.bp.blogspot.com/-piZWCW2uUbg/W2fPXxkWZgI/AAAAAAAAOu0/eydmMjTIqcwLMHEEr2H7imqoRTxMw4o9QCLcBGAs/s1600/among_trees_night_dribbble.png");
    width: 350px;
    height: 700px;
    border-radius: 0px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    top: 50%;
    left: -60%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid #2a3cad;
  border-radius: 4px;
  box-shadow: 0px 0px 5px #2a3cad;
}
.background-imgR{
  background-image: url("https://3.bp.blogspot.com/-piZWCW2uUbg/W2fPXxkWZgI/AAAAAAAAOu0/eydmMjTIqcwLMHEEr2H7imqoRTxMw4o9QCLcBGAs/s1600/among_trees_night_dribbble.png");
    width: 350px;
    height: 700px;
    border-radius: 0px;
    padding: 5px 15px 5px 15px;
    position: absolute;
    top: 50%;
    left: 160%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid #2a3cad;
  border-radius: 4px;
  box-shadow: 0px 0px 5px #2a3cad;
}

.content h2{ font-size:19px;}

.box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 700px;
  background: #111845a6;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 20px 50px rgb(23, 32, 90);
  border: 2px solid #2a3cad;
  color: white;
  padding: 20px;
}

.box:before{
  content: '';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.1);
  transition:0.5s;
  pointer-events: none;
}

.box:hover:before{
  left:-50%;
  transform: skewX(-5deg);
}


.box .content{
  position:absolute;
  top:15px;
  left:15px;
  right:15px;
  bottom:15px;
  border:1px solid #f0a591;
  padding:20px;
  text-align:center;
  box-shadow: 0 5px 10px rgba(9,0,0,0.5);

}

.box span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  box-sizing: border-box;

}

.box span:nth-child(1)
{
  transform:rotate(0deg);
}

.box span:nth-child(2)
{
  transform:rotate(90deg);
}

.box span:nth-child(3)
{
  transform:rotate(180deg);
}

.box span:nth-child(4)
{
  transform:rotate(270deg);
}

.box span:before
{
  content: '';
  position: absolute;
  width:100%;
  height: 2px;
  background: #50dfdb;
  animation: animate 4s linear infinite;
}

@keyframes animate {
  0% {
  transform:scaleX(0);
  transform-origin: left;
  }
  50%
  {
    transform:scaleX(1);
  transform-origin: left;
  }
  50.1%
  {
    transform:scaleX(1);
  transform-origin: right;

  }

  100%
  {
    transform:scaleX(0);
  transform-origin: right;

  }


}
.leaderboard-container > header {
  margin: 0 auto;
  padding: 1em;
  text-align: center;
}

.leaderboard-container > header h1 {
  font-weight: 300;
  font-size: 1 em;
  margin: 0;
}

.wrapper {
  line-height: 1em;
  margin: 0 auto;
  padding: 0.1em 0 3em;
  width: 100%;
  max-width: 20000px;
  overflow: hidden;
}

table {
    border-collapse: collapse;
    width: 100%;
    background: #00000;
}

thead, tbody { display: block; }
tbody {
    height: 600px;       /* Just for the demo          */
    overflow-y: auto;    /* Trigger vertical scroll    */
    overflow-x: hidden;  /* Hide the horizontal scroll */
}

th {
    background-color: #1119;
    font-weight: bold;
    color: #11;
    white-space: nowrap;
    width: 280px;
}

td, th {
    padding: 1em 1.5em;
    text-align: left;
}

tbody th {
  background-color: #2ea879;
}
tbody tr:nth-child(2n) {
    background-color: #1129;
    transition: all .125s ease-in-out;
}
tbody tr:hover {
    background-color: rgba(50,98,149,.3);
}

td.rank {
  text-transform: capitalize;
}

.card {
    width: 240px;
    border: none;
    border-radius: 10px;
    background-color: #fff
}

.stats {
    background: #f2f5f8 !important;
    color: #000 !important
}

.articles {
    font-size: 10px;
    color: #a1aab9
}

.number1 {
    font-weight: 500
}

.followers {
    font-size: 10px;
    color: #a1aab9
}

.number2 {
    font-weight: 500
}

.rating {
    font-size: 10px;
    color: #a1aab9
}

.number3 {
    font-weight: 500
}


.game-modal-header {
  width: 100%;
  justify-content: center;
  display: flex;
  gap: 12px;
  .game-title {
    font-size: 32px;
    font-weight: 700;
    background: var(--primary-gradient);
    background-clip: text;
    margin-bottom: 16px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7), 0 0 15px rgba(255, 0, 0, 0.4);
    &.subtitle {
      font-size: 16px;
    }
  }
}

.game-nick-container {
  margin: 12px 0;
}

.game-button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  #play-btn {
    width: 100%;
  }
  .second-row {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
  }
}

.settings-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


.macros-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: white;
  margin-top: 2px;
  border-top: 1px solid white;
  padding-top: 8px;
  .macros-info {
    display: flex;
    justify-content: center;
    span:first-child {
      margin-right: 12px;
    }
  }
}
