* {
	box-sizing: border-box;
	font-optical-sizing: auto;
	font-style: normal;
	outline: none !important;
	font-family: 'Poppins', sans-serif;
}
*:not(textarea) {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body,
html {
	padding: 0;
	margin: 0;
}


/* avoiding custom margins */
p ,h1,h2,h3,h4 {
	margin: 0;
}


.Board {
  display: grid;
  margin-top: 30px;
  margin-right: 15px;
  grid-template-rows: repeat(3, 1fr);
  padding: 15px;
  /* gap: 5px; */
  /* border: 1px solid; */
  /* width: 100%; */
  /* max-width: 384px; */
  /* border: 1px solid; */
  /* box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5); */
  border: 2px solid white;
  background: #b5d0e7;
  border-radius: 20px;
  height: 100%;
  max-height: 340px;
  margin:auto;
}

.BoardRow {
  display: flex; /* Make each row a flexbox to arrange cells horizontally */
}
.Cell {
  /* border: 1px solid; */
  /* padding: 50px; */
  border-style: solid;
  border-color: #3587af;
  width: 100px;
  /* max-width: 100px; */
  height: 100%;
  max-height: 104px;
  display: flex;
  /* max-width: 209px; */
  justify-content: center;
  align-items: center;
  background: white;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}


.BoardRow:first-child .Cell:first-child{
    border-radius: 10px 0 0 0;
}
.BoardRow:first-child .Cell:last-child{
    border-radius: 0 10px 0 0;
}
.BoardRow:last-child .Cell:first-child{
    border-radius: 0 0 0 10px;
}
.BoardRow:last-child .Cell:last-child{
    border-radius: 0 0 10px 0;
}




.Cell:hover {
  background-color: #def2fb;
}

.Cell img {
  width: 25px;
  height: 25px;
}
.WinningCell{
  background-color: #46d54d;
}
.hidden{
    display: none !important;
}




/* User List */
.UserList {
	display: flex;
	flex-direction: column;
	position: fixed;
	height: 100%;
	left: 0;
	top: 0;
	align-items: center;
	/* bottom: 0px; */
	background-color: white;
	border: 1px solid;
	width: 100%;
	gap: 20px;
	max-width: 360px;
	z-index: 1;
	background: linear-gradient(184deg, rgba(0,0,36,0.2) 0%, rgba(0,50,110,0.8) 19%, rgba(0,177,255,0.5) 100%);
	transition: transform 0.5s ease-in-out;
	padding: 20px;
	z-index: 2;
}


/* ****************************************************************************************************************************************************** */




















































.Default{
  justify-content: center;
  background: url("./Imgs/Background/BoardBGIMG.webp") no-repeat;
  background-size: cover;
}



.Container {
  display: flex;
/*   justify-content: center;
  background: url("./Imgs/Background/BoardBGIMG.webp") no-repeat;
  background-size: cover; */
  width: 100%;
  height: 100%;       /* #################################################################### ####################################################################*/
}

#game-board {
    padding:14px;
	position: relative;
	width: 100%;
	height: 100vh;       /* #################################################################### ####################################################################*/
}












  svg#BoardSVG{
/*      width: 100%;
    height: 100%;   */
  }
  
  .cell {
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  button#dice-roll {
    background-color: #4CAF50; 
    border: none;
    color: white;
    text-align: center;
    display: block;
    margin: 10px;
    cursor: pointer;
    position: fixed;
    left: 0px;
  }
  
  button#diceroll:hover {
    background-color: #45a049;
  }

  div#dice-result {
    position: fixed;
    left: 0;
    top: 150px;
}

  .player {
    width: 100%;
    height: 100%;
    background-color: blue;
    border-radius: 50%;
    position: absolute;


  }



  .player::before {
    content: "";
    position: absolute;
    display: block;
    width: 78%;
    height: 78%;
    background: white;
    border-radius: 20px;
    top: 11%;
    left: 11%;
    left: calc(11% - 1px);
    top: calc(11% - 1px);
    border: 1px solid white;
    background: rgb(255,255,255);
    background: -moz-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
    background: linear-gradient(circle, rgba(255,255,255,1) 0%, rgba(175,175,176,0.4) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#afafb0",GradientType=1);
    background: rgb(255,255,255);
    background: -moz-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
    /* background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 100%); */
    filter: progid;
}

.player::after {
  content: "";
  width: 60%;
  height: 60%;
  position: relative;
  display: block;
  background: white;
  border-radius: 50%;
  top: 20%;
  left: 20%;
  background: rgb(255,255,255);
  background: -moz-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
  background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#afafb0",GradientType=1);
}

.PlayerGroups{
  transition: transform 0.5s ;
  -webkit-transition: transform 0.5s;
  -moz-transition: transform 0.5s;
  -ms-transition: transform 0.5s;
  -o-transition: transform 0.5s;
  transition: transform 0.5s;

}






  .PlayerTransition{
  transition: left 0.5s ease, top 0.5s ease;
  }

  foreignObject {
    transform: translate(-16px, -16px);
  }

#BoardSVG g foreignObject{
    height:42px;width:42px;
}
  /* players g index start from 2 because there is another g */

#BoardSVG g:nth-child(2) foreignObject {
  transform: translate(-50px, 4px);
}
#BoardSVG g:nth-child(3) foreignObject {
  top: 0px;
  transform: translate(-50px, -44px);
}
#BoardSVG g:nth-child(4) foreignObject {
  top: 0px;
  transform: translate(4px, 4px);
}
#BoardSVG g:nth-child(5) foreignObject {
  top: 0px;
  transform: translate(4px, -44px);
}


#BoardSVG g:nth-child(6) foreignObject {
  top: 0px;
  transform: translate(-15px, -17px);
}
#BoardSVG g:nth-child(7) foreignObject {
  top: 0px;
  transform: translate(-15px, -60px);
}
#BoardSVG g:nth-child(8) foreignObject {
  top: 0px;
  transform: translate(-33px, 24px);
}
#BoardSVG g:nth-child(9) foreignObject {
  top: 0px;
  transform: translate(1px, 24px);
}



  .hidden{
    display: none !important;
  }

  .Collapse{
    transform: translateX(-96%);  /* Move off-screen to the left on click */
    max-width: 50px !important;
  }

  .Collapse .User{
    display: none !important;
  }


  .Collapse .Chevron {
    left: 47px  !important;
}




.Chevron {
  background: #659dcd;
  border:2px solid;
  border-width:6px 6px 6px 0;
  border-color:#0f4764c2;
  width: 30px;
  height: 74px;
  position: absolute;
  top: calc(50% - 37px);
  right: -30px;
  border-radius: 0 14px 14px 0;
  cursor: pointer;
}

.Chevron:before {
  content: "";
  width: 2px;
  height: 10px;
  background: 20px;
  position: absolute;
  top: calc(50% - 9px);
  right: 12px;
  background: white;
  transform: rotate(45deg);
}
.Chevron:after {
  content: "";
  width: 2px;
  height: 10px;
  background: 20px;
  position: absolute;
  top: calc(50% - 3px);
  right: 12px;
  background: white;
  transform: rotate(-45deg);
}

.Collapse .Chevron:before{
    transform: rotate(-45deg);
}
.Collapse .Chevron:after {
    transform: rotate(45deg);
}


.User {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: white;
  border-radius: 13px;overflow:hidden;
  color: white;
  position: relative;
  transition: transform 1.5s ease-in-out, opacity 1.5s ease-in-out;
  opacity: 1;
  padding-left: 60px;
}
.ListedUserInfo{
    width: 100%;width: calc(100% - 135px);
    padding: 10px;
    
}


.ListedUserInfo>p{
    font-weight:500;
    font-size:14px;
    color:#484848;
    width:100%;
    white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
    
}
.ListedUserInfo>p:first-child{
    font-weight:700;
    font-size:16px;
    color: #121212;
}

/* ######################################################################### */
.User img {
  width: 60px;
  height: 60px;
  object-fit:cover;
  border-radius: 50%; 
}


.User span {
  width: 10px;
  height: 10px;
  border-radius: 20px;
}

.CurrentUser {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}



.UserDetails {
  color: #c0f7ff; 
  width: 100%;
  max-width: 150px; /* ##################################################################################### */
}
.UserDetails .username{
    font-size:17px;
    font-weight:700;
}
.UserDetails .UID{
    font-size:14px;
    font-weight:500;
}

.AvatarsContainer{
  width: 100%;
}

.OtherUser{
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.OtherUser img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  opacity:0.7;
}

.moving{
  transform: translateY(-20px);
}
.moving-up {
  transform: translateY(-50px);
}

.moving-down {
  transform: translateY(50px);
}


/* ****************************************************************************************************************************************************** */
.TurnGlow{
  /*box-shadow: 0 0 50px greenyellow;*/
  animation: fade 1.7s ease-in-out infinite both;
  -webkit-animation: fade 1.7s ease-in-out infinite both; /* Safari and Chrome */
  -moz-animation: fade 1.7s ease-in-out infinite both; /* Firefox */
  -o-animation: fade 1.7s ease-in-out infinite both; /* Opera */
  -ms-animation: fade 1.7s ease-in-out infinite both; /* IE 10+ */
}

@keyframes fade {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

@-webkit-keyframes fade { /* Safari and Chrome */
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

@-moz-keyframes fade { /* Firefox */
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

@-o-keyframes fade { /* Opera */
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

@-ms-keyframes fade { /* IE 10+ */
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}


.EndGameBtn.StartGame{
  padding: 12px;
  border-radius: 10px;
  background: #ff0b0b;
  color: white;
  font-size: 15px;
  /* display: flex; */
  /* flex-direction: column; */
}

.EndGameBtn.StartGame:hover{
 background:#d20b0b;
 cursor: pointer;
 transform: scale(1.06);

}

.Stats.StartGame {
  padding: 5px;
  height:55px;width:55px;
  border-radius: 10px;
  border-width:5px;
  background-color: white;
  cursor: pointer;
}
.Stats.StartGame:hover{
  background: rgb(223, 223, 223);
  transform: scale(1.06);
}

.Avatar .Stats img {
  width: 100%;
  height: 100%;
  object-fit:contain;
}






.ListedPoints {
    min-width:56px;
  display: flex;flex-direction:column;
  align-items: center;gap:5px;
  flex-shrink:0;
  flex-grow:0;
}
.ListedPoints img {
  width: 20px;
  height: 20px;
}
.ListedPoints p{
    color:#121212;
    font-size: 16px;
    font-weight: 600;
    min-width: 70px;
    text-align:center;
    padding:2px 4px;
    border-radius:200px;
    
}

.rank {
    
  background: #f6f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-weight: 600;
  width:60px;
  height:100%;
  display:none !important;
}

.DisconnectedUser{
  filter: brightness(0.5) opacity(85%) grayscale(0.7);
}

/* ****************************************************************************************************************************************************** */




.points {
  background: #e1f7ff;
  width: 100%;
  max-width: 80px;
  height: 25px;
  border-radius: 20px;
  display: flex;
  color: #6e5ecf;
  font-weight: 600;
  gap: 5px;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.points img {
  width: 20px;
  height: 20px;
}

.GameDesc {
  width: 300px;
}




.WaitingRoom {
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/align-items: center;
  padding: 20px;
  
  width: 100%;
  height: 100%;
  overflow-y:auto;
  /*gap: 40px;
   background: fixed; */
  background: #0a4360;
  background-image:url('../Imgs/Background/WaitingRoomBg.svg');
  background-size:480px;
  position: fixed;
  z-index: 3;
  top: 0;
  right: 0;
}
/*
.WaitingPlayer{
  border: 2px solid;
  width: 100%;
  max-width: 500px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}*/



.WaitingPlayer{
    border: 6px solid #5f68c74f;
    border-width: 0 0 6px 0;
    width: 100%;
    max-width: 500px;
    padding: 10px;padding-left:90px;
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    justify-content:flex-start;
    background-color:#f6fcf8;
    border-radius: 16px;
    position:relative;
    overflow:hidden;
  
}
.WaitingPlayer::before{
    content:"1";
    position:absolute;left:0;top:0;display:flex;justify-content:center;align-items:center;
    width:70px;
    height:100%;
    background-color:#5f68c7;
    color:#ffffff;
    font-weight:700;
    font-size:32px;
}
.WaitingPlayer+.WaitingPlayer{
    margin-top:15px;
}
.WaitingPlayer:nth-child(2)::before{
    content:"2";
}
.WaitingPlayer:nth-child(3)::before{
    content:"3";
}
.WaitingPlayer:nth-child(4)::before{
    content:"4";
}
.WaitingPlayer:nth-child(5)::before{
    content:"5";
}
.WaitingPlayer:nth-child(6)::before{
    content:"6";
}
.WaitingPlayer:nth-child(7)::before{
    content:"7";
}
.WaitingPlayer:nth-child(8)::before{
    content:"8";
}
.WaitingPlayer:last-child{
    margin-bottom:10px;
}

.WaitingPlayer img{
    display:inline-block;
    width:56px;
    height:56px;
    border-radius:50%;
    object-fit:cover;
    margin-right:20px;
}
.WaitingPlayer div{
    width:100%;
}

.WaitingPlayer div h2{
    font-size: 20px;
    font-weight: 700;
}
.WaitingPlayer div p{
    color: #757575;
    font-weight: 500;
    font-size: 14px;
}




.Locked{
/*     background-color: rgba(229, 231, 235, 1);
  color: rgb(152, 152, 153) !important; */
  filter: saturate(0) brightness(125%) opacity(0.7);
  pointer-events: none;
}

.Disconnected{
  z-index: 5;
}
.Disconnected img{
  width: 100px;
}


/*
.Disconnected button {
  width: 100%;
  max-width: 160px;
  padding: 5px;
  background: #f8f8f8;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  border: 2px solid #101094;
}*/

.Disconnected.modal{
  background-color: rgba(0,0,0,0.8);

}


.Error.modal{
    z-index:3;
}
.ErrImg{
    width:100%;height:100%;
    max-width:200px;
    max-height:200px;
    object-fit:contain;
}
.ErrorHeader{
    font-size:27px;
    font-weight:700;
}
.ErrorDesc{
    font-size:16px;
    font-weight:500;
}
.ErrorDesc+a{
    display:inline-block;margin-top:20px;
    text-decoration:none;
}
.Disconnected .modal-content , .EndGameConfirm .modal-content ,.Statistics .modal-content,.EndGameStats .modal-content
,.Error .modal-content{
  /*background: linear-gradient(184deg, rgba(0,0,36,1) 0%, rgba(0,50,110,1) 17%, rgba(0,177,256,1) 100%);*/
  background-color:white;
  color: black;
  -webkit-border-radius: 15px;    
  border-radius: 15px; 
  -moz-border-radius:15px;
  -khtml-border-radius:15px;
}





#message-form{
  padding-bottom: 60px;
}






form.Create_Game {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.Teacher.Container{
  gap: 30px;
}

.GameLink {
    /* border: 2px solid; */
    /* padding: 20px; */
    border: 2px solid;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

 

/* Questions */
.AnswerContainer {
  display: flex;
  flex-direction: row;
   flex-wrap: wrap; 
  gap: 20px;
  justify-content: center;
}



.Question .modal-content{
max-width: 500px;
border-radius: 10px;
background: linear-gradient(184deg, rgba(0,0,36,0.6) 0%, rgba(0,50,110,1) 17%, rgba(0,177,256,0.8) 100%);
color: white;
}


#dice-roll {
  z-index: 1;
  cursor: pointer;
  /* position: fixed; */
  right: 67px;
  bottom: 82px;
  width: 100px;
}

#dice-roll.faded{
  pointer-events: none;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}

.correct {
  background-color: #46d54d;
}

.incorrect {
  background-color: #eb412e;
}




.RadioColorCont {
	height: 35px;width: 35px;
	display: inline-block;
	position: relative;
	cursor: pointer;

	-webkit-border-radius: 10px;    
	border-radius: 10px; 
	-moz-border-radius:10px;
	-khtml-border-radius:10px;
	overflow: hidden;

	border:3px solid #1c1c1c1c;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


.RadioColorCont input {
	position: absolute;
	display: none;
	cursor: pointer;
}



.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}


.RadioColorCont input[value="red"] ~ .checkmark {
  background-color: red;
}
.RadioColorCont input[value="blue"] ~ .checkmark {
  background-color: blue;
}
.RadioColorCont input[value="green"] ~ .checkmark {
  background-color: green;
}

.RadioColorCont input[value="yellow"] ~ .checkmark {
  background-color: yellow;
}
.RadioColorCont input[value="purple"] ~ .checkmark {
  background-color: purple;
}
.RadioColorCont input[value="cyan"] ~ .checkmark {
  background-color: cyan;
}
.RadioColorCont input[value="magenta"] ~ .checkmark {
  background-color: magenta;
}
.RadioColorCont input[value="black"] ~ .checkmark {
  background-color: black;
}

.ColorUser{
	pointer-events: none;
}

.checkmark:after{
  content: "";
  position: absolute;
  display: none;
}



.RadioColorCont input:checked ~ .checkmark:after {
  display: block;
}


.RadioColorCont .checkmark:after {
  top: 50%;top: calc(50% - 7px);
 left: 50%;left: calc(50% - 9px);
 width: 12px;
 height: 5px ;
 border:3px solid white;
 border-width: 0 0 4px 4px;
 
 -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.RadioColorCont input[value="cyan"] ~.checkmark:after{
 border-color: #474747;
}
.RadioColorCont input[value="yellow"] ~.checkmark:after{
 border-color: #6f6f6f;
}


.EndGameConfirm .modal-content {
  height: 100%;
  max-height: 180px;
  max-width: 400px;
  gap: 30px;
}
.ConfirmBox {
  display: flex;
  gap: 40px;
}

.ConfirmBox button {
  padding: 11px 60px;
  border-radius: 10px;
}

.ConfirmBox button:hover{
  background-color: #efbd29;
}


.Statistics .modal-content {
  position: relative;
  max-width: 440px;
  gap: 20px;
  padding: 12px;
}

.StatsContainer {
  background: #f1f1f1;
  border-radius: 10px;
  width: 100%;
}

.StatRecord {
  display: flex;
  justify-content: center;
  gap: 5px;
  /* border-radius: 0px; */
  padding: 8px;
  color: black;
  width: 100%;
}

.StatRecord:not(:last-child){
  border-bottom: 1px solid #6e5454;

}

.StatRecord p:first-child{
  font-weight: 600;
}

.StatsCancel {
  position: absolute;
  top: 10px;
  right: 14px;
  cursor: pointer;
  width: 20px;
  height: 25px;
  /* border-radius: 20px; */
}
.StatsCancel:before {
  content: '';
  background-color: #ffe6e6;
  display: block;
  width: 3px;
  height: 20px;
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
  right: 6px;
}

.StatsCancel:after {
  content: '';
  background-color: #ffe6e6;
  display: block;
  width: 3px;
  height: 20px;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 6px;
}


.StatsCancel:hover{
  transform: scale(1.1);
}

.EndGameStats.modal{
  background-color: rgba(0,0,0,0.8);
}

.EndGameStats .modal-content {
    width:100%;
    max-width: 400px;
}
.EndGameStats .modal-content h2{
    margin-bottom:20px;
}

.EndGameLeaderBoard{
  display: flex;
  flex-direction: column;
  gap: 0;
  width:100%;
}

.EndGameLeaderBoard .User {
  /*background: linear-gradient(184deg, rgb(116 18 188) 0%, rgb(117 54 121) 17%, rgb(84 23 137) 100%);
  margin-left: 10px;*/
  background-color:white;
  padding: 10px;
  padding-left:56px;
  border-right: 0px;
}

.EndGameLeaderBoard .User>img {
    margin-left: 7px;
}

.EndGameLeaderBoard .rank{
  left: -30px;
  font-size: 25px;
}



.EndGameLeaderBoard .FullWidth{
    width:100%;
    text-align:center;
    margin-top:20px;
}

.EndGameLeaderBoard .FullWidth a{
    display: inline-block;
    text-decoration:none;
}











































































































* {
	box-sizing: border-box;
	font-optical-sizing: auto;
	font-style: normal;
	outline: none !important;
	font-family: 'Poppins', sans-serif;
}

body,
html {
	padding: 0;
	margin: 0;
	height:100%;width:100%;overflow:hidden;
}

/* avoiding custom margins */
p ,h1,h2,h3,h4 {
	margin: 0;
}


.Container {
  display: flex;
  justify-content: center;
  background: url("./Imgs/Background/BoardBGIMG.webp") no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}

#game-board {
    display:flex;
	position: relative;
	width: 100%;
	height: 100%;
}


  svg#BoardSVG{
      margin:auto;
/*      width: 100%;
    height: 100%;   */
  }
  
  .cell {
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  


  div#dice-result {
    position: fixed;
    left: 0;
    top: 150px;
}

  .player {
    width: 100%;
    height: 100%;
    background-color: blue;
    border-radius: 50%;
    position: absolute;


  }



  .player::before {
    content: "";
    position: absolute;
    display: block;
    width: 70%;
    height: 70%;
    background: white;
    border-radius: 20px;
    top: 15%;
    left: 15%;
    left: calc(15% - 1px);
    top: calc(15% - 1px);
    border: 1px solid white;
    background: rgb(255,255,255);
    background: -moz-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
    background: -webkit-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
    background: linear-gradient(circle, rgba(255,255,255,1) 0%, rgba(175,175,176,0.4) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#afafb0",GradientType=1);
    background: rgb(255,255,255);
    background: -moz-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
    /* background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 100%); */
    filter: progid;
}

.player::after {
  content: "";
  width: 56%;
  height: 56%;
  position: relative;
  display: block;
  background: white;
  border-radius: 50%;
  top: 22%;
  left: 22%;
  background: rgb(255,255,255);
  background: -moz-radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(175,175,176,1) 100%);
  background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(227,227,227,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#afafb0",GradientType=1);
}








  .hidden{
    display: none !important;
  }

  .Collapse{
    transform: translateX(-96%);  /* Move off-screen to the left on click */
    max-width: 50px !important;
  }

  .Collapse .User{
    display: none !important;
  }


  .Collapse .Chevron {
    left: 47px  !important;
}


  /* User List */
  .UserList {
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    align-items: center;
    background-color: white;
    width: 100%;
    width: calc(100% - 70px);
    gap: 10px;
    max-width: 400px;
    z-index: 1;
    background: #0f4764c2;
    transition: transform 0.5s ease-in-out;
    padding: 20px;
    z-index: 2;
}






.User span {
  width: 10px;
  height: 10px;
  border-radius: 20px;
}

.Avatar {
  /*width: 100%;*/
  flex-direction: column;
  display: flex;
  padding:20px;
  gap: 30px;
  align-items: center;
}


.CurrentUser img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
}
.UserDetails {
  color: #c0f7ff;
  width: 100%;
}

.points {
  background: #e1f7ff;
  height: 25px;
  border-radius: 20px;
  display: inline-flex;
  padding:4px 10px;
  color: #6e5ecf;
  font-weight: 600;
  gap: 5px;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

.points img {
  width: 20px;
  height: 20px;
}

.GameDesc {
  width: 300px;
}

/*  COLOR PICK */

.modal {
  display: flex;  
  /*justify-content: center; 
  align-items: center;*/
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  z-index:2;
}

.modal-content {
    margin:auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    box-shadow: 0px 5px 20px rgba(3, 7, 18, 0.04);
    gap: 5px;
  
    -webkit-border-radius: 22px;    
    border-radius: 22px; 
    -moz-border-radius:22px;
    -khtml-border-radius:22px;
}

.WaitingRoom {
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/align-items: center;
  padding: 20px;
  
  width: 100%;
  height: 100%;
  overflow-y:auto;
  /*gap: 40px;
   background: fixed; */
  background: #0a4360;
  background-image:url('../Imgs/Background/WaitingRoomBg.svg');
  background-size:480px;
  position: fixed;
  z-index: 3;
  top: 0;
  right: 0;
}
.WaitingContainer{
    margin:auto;
    width:100%;
    max-width: 500px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}
.WaitingRoom h1{
    color:white;
    font-size:26px;
}

.PlayersArea{
    margin:25px 0;
    width: 100%;
    display:flex;justify-content:center;align-items:center;
    flex-direction:column;
}

.WaitingPlayer,.User{
    border: 6px solid #5f68c74f;
    border-width: 0 0 6px 0;
    width: 100%;
    max-width: 500px;
    padding: 10px;padding-left:70px;
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    justify-content:flex-start;
    background-color:#f6fcf8;
    border-radius: 16px;
    position:relative;
    overflow:hidden;
  
}
.WaitingPlayer::before,.User::before,.EndGameLeaderBoard .User::before{
    content:"1";
    position:absolute;left:0;top:0;display:flex;justify-content:center;align-items:center;
    width:70px;width:55px;
    height:100%;
    background-color:#5f68c7;
    color:#ffffff;
    font-weight:700;
    font-size:32px;font-size:20px;
}

.User::before{
    width:54px;
    font-size:26px;
}
.User:before:nth-child(1)::before,.EndGameLeaderBoard .User::before{
    content:unset;
}
.User:before:nth-child(2)::before,.EndGameLeaderBoard .User:nth-child(1)::before{
    content:"1";
}
.WaitingPlayer+.WaitingPlayer,.User+.User{
    margin-top:15px;
}
.WaitingPlayer:nth-child(2)::before,.User:nth-child(3)::before,.EndGameLeaderBoard .User:nth-child(2)::before{
    content:"2";
}
.WaitingPlayer:nth-child(3)::before,.User:nth-child(4)::before,.EndGameLeaderBoard .User:nth-child(3)::before{
    content:"3";
}
.WaitingPlayer:nth-child(4)::before,.User:nth-child(5)::before,.EndGameLeaderBoard .User:nth-child(4)::before{
    content:"4";
}
.WaitingPlayer:nth-child(5)::before,.User:nth-child(6)::before,.EndGameLeaderBoard .User:nth-child(5)::before{
    content:"5";
}
.WaitingPlayer:nth-child(6)::before,.User:nth-child(7)::before,.EndGameLeaderBoard .User:nth-child(6)::before{
    content:"6";
}
.WaitingPlayer:nth-child(7)::before,.User:nth-child(8)::before,.EndGameLeaderBoard .User:nth-child(7)::before{
    content:"7";
}
.WaitingPlayer:nth-child(8)::before,.User:nth-child(9)::before,.EndGameLeaderBoard .User:nth-child(8)::before{
    content:"8";
}
.WaitingPlayer:last-child,.User:last-child{
    margin-bottom:10px;
}

.WaitingPlayer img{
    display:inline-block;
    width:56px;
    height:56px;
    border-radius:50%;
    object-fit:cover;
    margin-right:20px;
}
.WaitingPlayer div{
    width:100%;
}

.WaitingPlayer div h2{
    font-size: 18px;
    font-weight: 700;
    width:100;
    white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.WaitingPlayer div p{
    color: #757575;
    font-weight: 500;
    font-size: 13px;
    width:100;
    white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}




.StartGame{
    position: fixed;
    /*bottom: 15px;*/
    background-color:#5866c7/*#38a9d5*/;
    padding:16px 38px 14px 35px;
    font-size:16px;
    font-weight:600;
    border-radius:300px;
    outline:none;
    border:none;
    position:relative;
    color:white;
    border:2px solid #0000001f/*#198dbe*/;
    border-width:4px 5px 6px 12px;
    overflow:hidden;
    text-transform:uppercase;
    cursor:pointer;
    flex-shrink:0;
}

.StartGame:hover{
    background-color:#6b79dd
}

.StartGame::before{
    content: "";
    background-color: #ffffff38;
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    top: -188%;
    left: 57%;
}
.StartGame.Locked{
    background-color:#6f6f6f;
    border-color: #333333;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
    pointer-events: none;
}


.Disconnected img{
  width: 100px;
}

.Disconnected button{
    margin-top:15px;
}

/*
.Disconnected button {
  width: 100%;
  max-width: 160px;
  padding: 5px;
  background: #f8f8f8;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  border: 2px solid #101094;
}
*/
.Disconnected.modal{
  background-color: rgba(0,0,0,0.8);
    z-index:3;
}



.Disconnected .modal-content {
  /*background: linear-gradient(184deg, rgba(0,0,36,1) 0%, rgba(0,50,110,1) 17%, rgba(0,177,256,1) 100%);*/
  background-color:white;
  color: black;
  border-radius: 5px;
}





#message-form{
  padding-bottom: 60px;
}


.GameInfo {
  display: flex;
  padding: 0;
  position: fixed;
  right: 10px;
  top:10px;
}




form.Create_Game {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.Teacher.Container{
  gap: 30px;
}

.GameLink {
    /* border: 2px solid; */
    /* padding: 20px; */
    border: 2px solid;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

 
 
.TimerText{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    background-color:#f6f6f64d;
    padding:15px;
    -webkit-border-radius: 12px; 
    border-radius: 12px; 
    -moz-border-radius:12px;
    -khtml-border-radius:12px;
     
 }
 #Timer{
    font-weight: 800;
    font-size: 36px;
    line-height:40px;
    color: #1c1c1c;
    display:inline-block;
 }
 
 #TimerTxt{
     font-size:13px;
     display:inline-block;
     max-width:90px;
 }
 
 

/* Questions */
#QContent{
    position:relative;z-index:2;margin-bottom:10px;
}
.AnswerContainer {
    position:relative;z-index:2;
  display: flex;
  flex-direction: row;
   flex-wrap: wrap; 
  gap: 15px;
  justify-content: center;
}

.Answer {
  width: 100%;
  max-width: 220px;
  padding: 11px 25px;
  border: 3px solid #568eab;
  border-width:0 4px 4px 0;
  border-color: #568eab9c #568eabb0;
  
  background: white;
  -webkit-border-radius: 12px; 
  border-radius: 12px; 
  -moz-border-radius:12px;
  -khtml-border-radius:12px;
  color: #363434;
  cursor: pointer;
}
/*
.Answer:hover{
background-color: rgb(255, 174, 0);
color: #363434;
}
*/

.Question .modal-content{
    margin:auto;
    max-width: 500px;
    border-radius: 10px;
    /*background: linear-gradient(184deg, rgba(0,0,36,0.6) 0%, rgba(0,50,110,1) 17%, rgba(0,177,256,0.8) 100%);*/
    color: white;
    position:relative;
    
    
    overflow:hidden;
    background: #0a4360;
    background-image: url(../Imgs/Background/WaitingRoomBg.svg);
    background-size:480px;
    /*
    background-color:#e03569;*/
    border: solid 5px #0e3d55;
    -moz-box-shadow: 5px 5px 0px #0e3041;/*#fac86b*/
    -webkit-box-shadow: 5px 5px 0px #0e3041;
    box-shadow: 5px 5px 0px #0e3041;
    -webkit-border-radius: 20px;    
	border-radius: 20px; 
	-moz-border-radius:20px;
	-khtml-border-radius:20px;
}

.Question .modal-content:before,.Question .modal-content:after{
    content:"";
    position:absolute;
    width:1000px;
    height:1000px;
    top:-500px;
    left:-500px;
    background-color:#ffffff0a;
    
    -webkit-border-radius: 50%;    
	border-radius: 50%; 
	-moz-border-radius:50%;
	-khtml-border-radius:50%;
}
.Question .modal-content:after{
    top:-200px;
    right:-500px;
    left:unset;
}

#dice-roll {
  z-index: 1;
  cursor: pointer;
  position: fixed;
  left: 60px;
  bottom: 60px;
  width: 90px;
}

#dice-roll.faded{
  pointer-events: none;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}

.correct {
  background-color: #41b448;
  color:white;
}

.incorrect {
  background-color: #c8202d;
  color:white;
}


































































.ModalTitle{
    font-size:24px;
    font-weight:700;
    color:#2e2e2e;
}






.ColorSelContainer{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    align-items:flex-start;
    justify-content:center;
    align-items:center;
    
    gap:15px;
    
    padding:20px;
    max-width:270px;
    padding:15px 0;
}

#SendColorBtn{
    padding:11px 38px 10px 35px;
}


.RadioColorCont {
	height: 50px;width: 50px;
	display: inline-block;
	position: relative;
	cursor: pointer;

	-webkit-border-radius: 10px;    
	border-radius: 10px; 
	-moz-border-radius:10px;
	-khtml-border-radius:10px;
	overflow: hidden;

	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


.RadioColorCont input {
	position: absolute;
	display: none;
	cursor: pointer;
}





.ColorUser{
	pointer-events: none;
}
/*
.RadioColorCont input:checked ~ .checkmark {
  background-color: #2196F3;
}
*/




.RadioColorCont input:checked ~ .checkmark:after {
  display: block;
}



.RadioColorCont .checkmark:after {
 	top: 50%;top: calc(50% - 6px);
	left: 50%;left: calc(50% - 8px);
	width: 12px;
	height: 5px ;
	border:3px solid white;
	border-width: 0 0 4px 4px;
	
	-webkit-transform: rotate(-45deg);
   -moz-transform: rotate(-45deg);
   -o-transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   transform: rotate(-45deg);
}
.RadioColorCont input[value="cyan"] ~.checkmark:after{
	border-color: #474747;
}
.RadioColorCont input[value="yellow"] ~.checkmark:after{
	border-color: #6f6f6f;
}










.FadedCell{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}



@media only screen and (max-width: 600px) {
    .Container {
        padding-top:110px;
    }
    .WaitingPlayer, .User {
        padding-left: 50px;
    }
    .WaitingPlayer::before, .User::before{
        width: 38px;
        font-size: 18px;
    }
    .WaitingPlayer img{
        margin-right: 12px;
    }
    .Avatar{
        position:absolute;
        top:0;left:0;
        justify-content:flex-start;
        align-items:flex-start;
        gap:8px;
        z-index:1;
    }
    .UserList{
        padding:15px;
    }
    .ListedUserInfo{
        padding:8px;
    }
    
    .CurrentUser img,.OtherUser img{
        width:64px;
        height:64px;
    }
    .UserDetails .username{
        font-size:14px;
    }
    .UserDetails .UID{
        font-size:12px;
    }
    .points{
        height:24px;
        margin:0;
    }
    .points img{
        height:20px;
        width:20px;
    }
    
    .points p{
        font-size:14px;
    }
    
    
    
    
    #dice-roll{
        width:80px;
        height:80px;
        left:unset;
        right:40px;
        bottom:40px;
    }
    
    
}
@media only screen and (min-width: 600px) {
    
}
@media only screen and (min-width: 768px) {
    
}
@media only screen and (min-width: 992px) {
    
}
@media only screen and (min-width: 1200px) {
    
}


