@charset "utf-8";
/* CSS Document */
* {
margin:         0px;
padding:        0px;
font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size:      15px; 
color:          #000000;
}

@font-face {
font-family: "Klein";
src: url("/fonts/klein.ttf");
}

body {
    margin: auto;
    transition: 2s all;
    background-color: #b6b7b8;
    overflow-y: hidden;
    overflow-x: hidden;  
}

#canvas {
    width: 400;
    height: 800;
    border: 4px solid white;
}

.networkGame {
    width: 80;
    height: 160;
    border: 2px solid white;
    margin: 10px; 
}

#leftGames {
    display: grid;
    grid-row: auto;
    grid-column: auto;
    grid-gap: 10px;
    grid-auto-rows: 150px;
    grid-template-columns: repeat(auto-fill, 200px);
}

#rightGames {
    display: grid;
    grid-row: auto;
    grid-column: auto;
    grid-gap: 10px;
    grid-auto-rows: 150px;
    grid-template-columns: repeat(auto-fill, 200px);
}

#rightGames div, #leftGames div {
    font-size: 8pt;
    color:#ffffff;
    text-align: center;
}

#middle {
    width: auto;
    border-radius: 1em;
    display: grid;
    grid-template-rows: auto auto auto auto;
    column-gap: 15px;
    row-gap: 15px;
    place-self: center;
    height: 100%;
    margin-top: 150px;
}

#nextPiece, #heldPiece {
    width: 120px;
    height: 90px;
    border:4px solid white;    
}

.ownGame {
    min-width: 400px;
    display: grid;
    grid-template-rows: 160px 160px 110px;
    column-gap: 15px;
    row-gap: 15px;
}

.ownGameSplit {
    grid-template-rows: 160px 270px 110px;
}

.inFocus {
    background: rgb(228 255 0 / 27%);
    padding: 5px;
}

#bettingPhase button {
    width: 30px;
    height: 30px;
    border-radius: 31px;
    margin: 5;
}

#bettingPhase * {
    font-size: 20pt;
}

#bettingPhase {
    font-size: 20pt;
    text-align: center;
    align-content: center;
}

#playerPhase {
    display: grid;
    grid-template-columns: 50% 50%;
    height: 110px;
}

#playerPhase button {
    width: auto;
    margin: 5px;
    border-radius: 10px;
}

#money {
    font-size:19px;
}

.won {
    background-color: rgba(0,255,0,0.5) !important;
}

.standing {
    background-color: rgba(255,255,255,0.6) !important;
}

.roundCounter {
    position: fixed;
    top: 15px;
    left: 5px;
    font-size: 30pt;
    text-align: center;
    width: auto;
}

.roundCounter #round {
    font-size:30pt;
}

.roundCounter #roundNum {
    font-size: 40pt;
}

.timer {
    position: fixed;
    top: 15px;
    right: 50px;
    font-size: 30pt;
    text-align: center;
    width: auto;
}

.timer #countdownEvent {
    font-size:30pt;
}

.timer #countdown {
    font-size: 40pt;
}

.gameOverOverlay {
    filter: grayscale(1) opacity(0.2);
    transition: 1s;
}

#playersLeft {
    text-align: center;
    font-size: 30pt;
}

#lineFeedback {
    text-align: center;
    font-size: 18pt;
}

#score {
    text-align: center;
    font-size: 18pt;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(50%) opacity(0.2);
    z-index: -1;
}

input[type=button] {
    padding: 10px;
    border-radius: 5px;
    font-size: 14pt;
    font-weight: bold;
    margin: 2px;
}

.morning {

}

.night {
    background-color: rgba(0,0,0,0.5)
}

.warning {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size:20pt;
    display: none;
}

.gameMessage {
    text-align: center;
    font-size: 18pt;
    margin: 0 0 15 0;
    min-height: 100px;
    max-width: 1100px;
    align-self: center;
}

.bottomMessage {
    text-align: center;
    font-size: 18pt;
    margin: 15 0 0 0;
}

#logo {
    max-height: 250px;
}

#timer {
    text-align: center;
    font-size: 40pt;
}

#timertext {
    text-align: center;
}

section {
    border-radius: 1em;
    padding: 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%) 
}

.pawmark {
    display: inline-block;    
}

#vindere {
    clear: both;
    margin-bottom: 5;
}

.vinder {
    clear: both;
}

.vinder p {
    text-align: left;
    float:left;
    color: #3ba1f1; 
    font-weight: bolder;
}

.vinder p:nth-child(2) {
    text-align: right;
    float: right;
    color: #3ba1f1;
    font-weight: bolder;
}

#leaderboard p {
    color: #3ba1f1;
    font-weight: bolder;
}

#leaderboard p:nth-child(2) {
    opacity: 0.9
}

#leaderboard p:nth-child(3) {
    opacity: 0.8
}

#leaderboard p:nth-child(4) {
    opacity: 0.7
}

#leaderboard p:nth-child(5) {
    opacity: 0.6
}

.hidden {
    display: none !important;
}

#top {
    width: auto;
    height: 300px;
}

.container {
    display: grid;
    width: auto;
    grid-template-columns: auto 700px auto;
    height: 100%;
    max-width: 100%;
    align-items: center;
    color:#ffffff;
}

#rightSide {
    font-family: 'Klein';
    color: #000000;
    font-weight: bold;
    font-size: 20;
    padding: 15px;
    display: grid;
    grid-template-rows: auto auto auto;
}

.rightSideField {    
    place-self: center;
}

.attacker {
    animation: attacker 2s;  
}

.targeted {
    animation: targeted 2s;  
}

@keyframes attacker { 
  0% {
    box-shadow: 0px 0px 0px rgba(255, 0, 0, 0.3);    
  }
  40%, 70% {         
    box-shadow: 0px 0px 30px rgba(255, 0, 0, 1.0), 0px 0px 3px rgba(255, 0, 0, 1.0) inset;
  }
  60% {
    box-shadow: 0px 0px 50px rgba(249, 0, 0, 1.0), 0px 0px 10px rgba(255, 0, 0, 1.0) inset;
  }
  100% {
    box-shadow: 0px 0px 0px rgba(255, 0, 0, 0.0);
  }
}

@keyframes targeted { 
  0% {
    box-shadow: 0px 0px 0px rgba(0, 200, 0, 0.3);    
  }
  40%, 70% {         
    box-shadow: 0px 0px 30px rgba(0, 200, 0, 1.0), 0px 0px 3px rgba(0, 200, 0, 1.0) inset;
  }
  60% {
    box-shadow: 0px 0px 50px rgba(0, 200, 0, 1.0), 0px 0px 10px rgba(0, 200, 0, 1.0) inset;
  }
  100% {
    box-shadow: 0px 0px 0px rgba(0, 200, 0, 0.0);
  }
}

.streamMode {
    width: auto;
    border-radius: 1em;
    padding: 1em;
    display: grid;
    grid-template-rows: 100px auto 100px;
    column-gap: 15px;
    row-gap: 15px;
    place-self: center;
}

.token {
  position: absolute;
  z-index: 9;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 25px;
  font-size: 17pt;
  display: none;
}

#choose {
    background: rgba(0,0,0,0.2);
    flex-direction: row;
    justify-content: center;
    display: flex;
    position: fixed;
    z-index: 1060;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.message {
    font-family: 'Share Tech Mono', monospace;
    display: flex;
    position: relative;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    width: 32em;
    max-width: 100%;
    padding: 1.25em;
    border: none;
    border-radius: .3125em;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    margin: auto;
}

.message h1 {
    font-size:1.5em;
    text-align: center;
    margin-bottom: 15;
}

.messageButtons {
    display: flex;
    z-index: 1;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 1.25em auto 0;
}

.messageButtons input {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 3px solid transparent;
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
    line-height: 1.25;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.messageButtons input:hover {
    border-color: ;
}


.hitmanTarget {
    border: 2px solid #cc0000 !important;
}

.discordimg {
    border: 2px solid;
    border-radius: 25px;    
    transition: 1s all;
}

.sherifimg {
    border: 2px solid;
    border-radius: 50px;  
    max-width: 100px;
}

.card {
    width: 72px;
    height: 97px;
    border: 2px solid #cccccc;
    border-radius: 5px;
    background: url('../img/cards.png');
}

.facedown {
    background: rgba(255, 255, 255, 0.2);
}

.dealer {
    width: auto;
    display: grid;
    padding: 10px;
    border: 2px solid #cccccc;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    transition: 2s all;
    flex-wrap: wrap;
    grid-template-columns: 80px auto;
    align-items: center;
}

.dealer img {
    max-height: 70px;
    margin-right: 5px;
}

.player {
    width: auto;
    display: grid;
    padding: 10px;
    border: 2px solid #cccccc;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    transition: 2s all;
    flex-wrap: wrap;
    grid-template-columns: 80px auto;
    align-items: center;
}

.player img {
    max-height: 70px;
    margin-right: 5px;
}

.networkPlayer {
    width: 180;
    display: grid;
    padding: 10px;
    border: 2px solid #cccccc;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    transition: 2s all;
    flex-wrap: wrap;
    grid-template-rows: 25px auto;
}

.networkPlayer img {
    max-height: 40px;
    margin-right: 5px;
}

.networkPlayer * {
    font-size:10pt;
}

.networkPlayerHand .card {
    margin-right: -58;
}


.professor {
    max-width: 50px;
    margin: 6px;
}

.speaking {
    border: 2px solid rgba(0,222,0,0.8) !important;
    transition: 0.5s all;
}

@keyframes pulse {
  0% {
    filter: opacity(1) saturate(100%);    
    background-color: rgba(255,0,0,1);
  }
  100% {    
    filter: opacity(0.3) saturate(0%);    
    background-color: rgba(0,0,0,0.3);
  }
}

.powered {
    background-color: rgba(255,165,0,0.6) !important;
}

.voteChosen {
    background-color: rgba(0,200,0,0.5) !important;
}

#rightside h2 {
    text-align: center;
    font-size: 25px;
    color: #FFFFFF;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: #3ba1f1;
    font-weight: 1000;
}

#role img {
    max-height: 150px;
}

.token .tooltip {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1050;
  top:45px;
  left:45px;
}
.token:hover .tooltip {
  visibility: visible;
}