@import url('https://fonts.googleapis.com/css2?family=Micro+5&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

#boardBackground{
    background: black url(img/background.jpg) center center no-repeat !important;
    background-size: cover !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
html,body{

}


html.tvdisplay{
    font-size: 55px;
    height: 100% !important;
}

html.tvdisplay.players_3{
    font-size: 45px;
}

html.tvdisplay.players_4{
    font-size: 35px;
}

html.tvdisplay.players_5{
    font-size: 25px;

}

html.tvdisplay.players_7{
    font-size: 18px;
}

html.tvdisplay body {
    height: 100% !important;
}




.tvdisplay main{
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


#board{
    border: 1px solid #CCC;


    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

#board-container{

}

.board-container-left{
    background: white;
    color: black;
}



#board-footer{
    color: white;
}




.board-row {
    border-top: 1px solid #ccc;
}

#board-header{

    font-size:0.8rem;
    border: none !important;

}

#board-header .board-row{
    border: none !important;

}

.board-title img{
    height: 40px;
}

.board-container-right{
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

#board-header{
    color: #ffffff;
    opacity: 0.6;
}

#boardLogo{
    padding-top: 1rem;
    padding-left: 1rem;
}
#boardLogo img{
    height: 2rem;
}

#boardLogoBig img{
    height: 5rem;
}
.rowmarker{
    position: absolute;
    width: 0.5rem;
    height: 100%;
    background: #9dd2e1;
    right: 0;




}

.rowarrow{
    position: absolute;
    width: 0.5rem;
    height: 100%;
    background:red;
}

.board-row .rowmarker,.board-row .rowarrow,.board-row .darts{
    visibility: hidden;
}
.board-row.active .rowmarker,.board-row.active .rowarrow,.board-row.active .darts{
    visibility: visible;
}



.darts{
    position: absolute;
    height: 100%;

    top: 0;
    right: 1rem;



}

.darts > div{
    height: 80% !important;
}

.dart{
    background: #0dbe6d;

    font-size: 0.7rem;

    color: black;


    border-right: 1px solid white;
    aspect-ratio: 1 / 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

   font-weight: bold;
    border-radius: 100%;
    margin-left: 1rem;


}

.dart.empty{
    opacity: 0.6;
}

.busted .dart{
    background: red;
}



.dart.empty{
   background-image: url(img/dart.png);
    background-size: 60% 60%;
    background-position: center;
    background-repeat: no-repeat;

}

.dart img{
    height: 0.7rem;
}

#qrcode{
    background: white;
    padding: 10px;

    width: 140px;
    height: 140px;


}

#qrcodeBig{
    background: white;
    padding: 10px;

    width: 320px;
    height: 320px;

}

.dartSelect{

    text-align: center;

}

.dartSelect span{
    border: 1px solid #ccc;
    display: block;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-bottom: 5px;

}

.board-footer{
    color: #666;
}

.board-footer span {
    color: white;

}

.qrcodeExplainer{
    width: 120px;

    color: #ccc;
    text-align: right;
}

.board-container-left{

}



.tvdisplay .board-footer{
    font-size: 0.5rem;
}













.tvdisplay #qrcode{
    width: 220px;
    height: 220px;

}

.tvdisplay #qrcodeBig{
    background: white;
    padding: 10px;

    width: 520px;
    height: 520px;
    margin-bottom: 100px;

}



.gradient-background{
    background: #000000;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #434343, #000000);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #434343, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}


#gameMessage{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.8);
    background-image: url(img/splash.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;


}

#preparingGame{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: black;


}

#gameMessage .bigText{
    font-size: 60px;
    text-shadow: 5px 5px #ffffff;
}

#gameMessage .exp{
    font-size: 20px;
}

#introVideo{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 10000;
}

.header-menu > .nav-item a.nav-link{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    text-transform: uppercase;
}

.tvdisplay .board-container-right{
    width: 3.5rem
}

.tvdisplay .dart{
    margin-left: 0.5rem;
}

.tvdisplay .darts{
    right: 0.5rem;
}

.tvdisplay #board-header{
    font-size: 0.4rem;
}


.panel-left{
    position: fixed;
    right:0;
    top: 0;
    height: 100%;
    width: 350px;
    background: white;
    border-left: 1px solid #ccc;
}

.lista-jucatoriTEST .jucator:nth-child(3):before{
    content: 'Urmeaza';
    background: red;
    display: block;
}

.masa{
    background: #142140;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
}

.masa ul li{
    background: transparent!important;
    color: white;
}

.masa .nume-masa{
    width: 10%;
    color: white;
    font-size: 2rem;
    background: rgba(255,255,255,0.2);
}