
@import url('https://fonts.googleapis.com/css2?family=Karla&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300&family=Karla&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300&display=swap');

a{
    text-decoration: none;
}

* {
    box-sizing: border-box;
}
  
*{
    outline: none! important;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
}


html,body{
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    background-color: black;
}

#game #players #cartas div:nth-child(3){
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 5px 0px;
    font-size: 14px;
    height: 30px;
    width: 230px;
    color: #fff;
}

#game #players #cartas div:nth-child(2){
    display: flex;
    align-items: center;
    justify-content: center;
}

#game #players #cartas div:nth-child(3) span:nth-child(2n){
    padding-left: 10px;
}

html{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

body{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    font-family: 'Quicksand', sans-serif;
    padding: 0;
    border: 0;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
    max-height: 400px;
}

article{
    flex: 1;
    width: 100%;
    min-width: 100% !important;
    height: 100%;
    min-height: 100% !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: url(/img/background-poker.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

article#game{
    display: none;
}

article#home center div:last-child button, article#inProgress section:nth-child(1) button:last-child,#joinAroom button:last-child{
    color: white;
    font-size: 15px;
    margin-top: 20px;
    border-radius: 5px;
    background: linear-gradient(67.5deg, #ed3f57, #56bbe5);
    border: 1px solid #fff;
    width: 150px;
    height: 45px;
    padding: 2px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

article#home center div:last-child button div, article#inProgress section:nth-child(1) button:last-child div,#joinAroom button div{
    height: 100%;
    width: 100%;
    text-align: center;
    color: #fff;
    background-color: #390933;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

#joinAroom button{
    margin: 0px auto;
}

article#home center div:nth-last-child(2) input{
    padding: 8px 16px;
    border-radius: 5px;
    border: 2px solid #875781;
    font-size: 17px;
    color: #fff;
    background-color: #390933;
    width: 100%;
    text-align: center;
}

button.close{
    position: fixed;
    top: 5px;
    left: 15px;
    height: 40px;
    width: 40px;
    background-image: url('/img/icons8-full-screen-48.png');
    background-position: center;
    background-size: 30px;
    background-color: #fff0;
    border: 1px solid #fff;
    border-radius: 5px;
}

button.skip{
    position: fixed;
    top: 5px;
    right: 15px;
    height: 40px;
    width: 40px;
    background-image: url('/img/icons8-door-50.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    background-color: #fff0;
    border: none;
    border-radius: 5px;
}

article#home center div:nth-child(2){
    padding: 10px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

article#home center div:nth-child(2) button{
    border: 1px solid #875781;
    height: 40px;
    width: 40px;
    border-radius: 5px;
    background-color: #390933;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

article#home center div:nth-child(2) button img{
    width: 25px;
    height: 25px;
}


article#home center div:nth-child(2) div{
    height: 120px;
    width: 120px;
    padding: 10px;
}

article#home center div:nth-child(2) div img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

article#home center div:nth-child(2) button:nth-child(1) img{
    transform: rotate(-180deg);
}

article#home center div:nth-last-child(2) p{
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
}

article#home button.saldo{
    position: fixed;
    top: 5px;
    right: 15px;
    height: 40px;
    min-width: 160px;
    width: max-content;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

article#home button.saldo img{
    height: 80%;
}

article#home button.saldo span{
    color: #333;
    text-align: left;
    flex: 1;
    font-size: 16px;
    padding: 0px 10px;
}

article#home span.saldo_msg{
    position: fixed;
    top: 50px;
    right: 15px;
    color: #333;
    font-size: 14px;
}

article#home center div:last-child {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

article#home center div:last-child button:nth-child(1){
    margin-right: 10px;
}

article#home center img:nth-child(1)[src="/img/big_logo.png"]{
    height: 70px;
    position: fixed;
    right: 15px;
    bottom: 10px;
}


article#selectToken, article#inProgress{
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
}

article#selectToken section:nth-child(2){
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 5px 20px;
    padding-bottom: 10px;
    overflow: auto;
}

article#selectToken section:nth-child(3){
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
    filter: blur(0.5);

}

article#selectToken section:nth-child(3) center{
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    height: 100%;
    width: 70%;
    max-width: 500px;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    color: #333;
    z-index: 9999;
    position: relative;
}


article#selectToken section:nth-child(3) center .top{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0px;
}

article#selectToken section:nth-child(3) center .body{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    height: 100%;
    padding: 0px 20px;
    padding-top: 20px;
    flex: 1;
}

article#selectToken section:nth-child(3) center .body div:nth-child(1){
        /* flex: 1; */
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: flex-start;
}
article#selectToken section:nth-child(3) center .body div:nth-child(1) img{
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 5px 5px 5px 0px #e0e0e0;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2){
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    flex: 1;
    padding-left: 20px;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2) p:nth-child(1){
    font-size: 28px;
    margin: 0px;
    padding-bottom: 5px;
}

/*game design*/

#game{
    display: none;
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

#game #jackpot{
    position: fixed;
    top: 5px;
    left: 70px;
    margin: 0px;
    height: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    font-size: 16px;
}

#game #players{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    padding: 5px 20px;
    flex: 1;
}

#game #players [a1],#game #players [a2],#game #players [a3]{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
}

#game #players [a2]{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
    flex: 1;
}

#game #players [a3]{
    width: 90%;
}

#game #players #user_i{
    height: 120px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    min-width: 100px;
}

#game #players #user_i div[aa]{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
}

#game #players #user_i div[aa] div.contt{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    align-content: flex-start;
    height: 80px;
}

#game #players #user_i div[aa] div.contt img,#game #players #cartas div img{
    height: 80px;
    border-radius: 5px;
    border: none;
}

#game #players #user_i div[a2]{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    border-radius: 5px;
    border: none;
    padding: 5px 10px;
    margin-top: 5px;
    margin: 0px;
    margin-left: 5px;
    height: max-content;
    background-image: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.6) 50%, #ff0000b3 50%, #ff0000b3);
    background-size: 200% 100%;
    min-width: 125px;
}

#game #players #cartas p{
    text-align: center;
    font-size: 16px;
    color: #fff;
    margin: 8px 0px;
    text-transform: uppercase;
}

#game #players #user_i div[a2] div img{
    height: 48px;
}

#game #players #user_i div[a2] div:nth-child(2){
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    color: white;
    flex: 1;
}

#game #players #user_i div[a2] div:nth-child(2) p{
    width: 100%;
    text-align: left;
}

#game #players #user_i div[a2] div:nth-child(2) p:nth-child(1){
    margin: 0px;
    padding: 5px 2px;
    font-size: 15px;
}

#game #players #user_i div[aa] div.contt img:nth-child(2){
    margin-left: 5px;
}

#game #players #user_i div[a2] div:nth-child(2) p:nth-child(2){
    margin: 0px;
    padding: 0px 2px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    font-size: 14px;
}

#game #players #user_i[address1],#game #players #user_i[address5]{
    margin-right: 10px;
}
#game #players #user_i[address6],#game #players #user_i[address5]{
justify-content: flex-end;
}

#game #players #user_i div[a2] div:nth-child(2) p:nth-child(2) span{
    font-size: 14px;
}

#game #players #user_i div[a2] div:nth-child(2) p:nth-child(2) span:nth-child(1){
    margin-right: 5px;
}

#game #players #user_i #back{
    height: 40px;
    width: 100%;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.6);

    display: none;
}

#game #buttons{
    width: 100%;
    padding: 0px 20px;
    position: fixed;
    bottom: 0px;
}

#game #buttons div.a1a{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    flex: 1;
    width: 100%;
    justify-content: flex-end;
    padding-bottom: 10px;
}

#game #buttons div.a1a div{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    margin-right: 10px;
    width: 80px;
}

#game #buttons div.a1a div button{
    width: 100%;
    font-size: 16px;
    color: #0c572a;
    height: 35px;
    border-radius: 5px;
    border: none;
    background: white;
}

#game #buttons div.a1a div span{
    width: 100%;
    color: white;
    font-size: 14px;
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

#game #jackpot span#value{
    padding: 0px 5px;
}

/*end game design*/

article#selectToken section:nth-child(3) center .body div:nth-child(2) div{
    display: flex;
    width: 100%;
    padding-top: 20px;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2) div span:nth-child(1){
    flex: 1;
    text-align: left;
    color: #333;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2) div span{
    color: #333;
    font-size: 16px;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2) span:nth-child(2){
    font-size: 14px;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2) input, #joinAroom div input{
    border: none;
    border-radius: 5px;
    width: 100%;
    margin-top: 5px;
    padding: 10px 12px;
    box-shadow: 5px 5px 5px 0px #e0e0e0;
    border: 1px solid #e0e0e0;
    font-size: 16px;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2) div:last-child{
    padding: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    padding: 10px 0px;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2) div:last-child button{
    flex: 1;
    color: #fff;
    background-color: #333;
    padding: 10px 0px;
    border-radius: 5px;
    border: 1px solid #333;
    box-shadow: 5px 5px 5px 0px #e0e0e0;
    font-size: 15px;
}

article#selectToken section:nth-child(3) center .body div:nth-child(2) div:last-child button:nth-child(1){
    margin-right: 5px;
}
article#selectToken section:nth-child(3) center .top p{
    flex: 1;
    font-size: 18px;
    margin: 0px;
    height: 35px;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

article#selectToken section:nth-child(3) center .top button{
    height: 35px;
    width: 35px;
    background: #fff0;
    border: none;
}

article#selectToken section:nth-child(3) center .top button img{
    filter: invert(1);
    height: 100%;
}

article#selectToken section:nth-child(3) div.blur{
    width: 100%;
    height: 100%;
    position: fixed;
    background: #00000078;
    z-index: 99;
}

article#selectToken section:nth-child(1), article#inProgress section:nth-child(1){
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;
}

article#selectToken section:nth-child(1) p, article#inProgress section:nth-child(1) p{
    font-size: 20px;
    color: #fff;
    flex: 1;
    text-align: center;
    height: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

article#selectToken [onselect="back('home')"],article#inProgress [onselect="back('home')"]{
    height: 30px;
    width: 30px;
    background-image: url(/img/arrow-removebg-preview.png);
    background-size: contain;
    border: none;
    background-color: #fff0;
    filter: invert(1.5);
}

article#selectToken section:nth-child(2) .bar_content,article#selectToken section:nth-child(2) .content_t{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: #147339a3;
    border: 1px solid #0f5126a6;
    border-radius: 5px;
    padding: 5px 8px;
    overflow: auto;
}

article#selectToken section:nth-child(2) .bar_content div:nth-child(1){
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    width: 100%;
}

article#selectToken section:nth-child(2) .bar_content div:nth-child(1) input{
    margin: 0px 5px;
    flex: 1;
    border-radius: 5px;
    color: #333;
    padding: 7.5px 14px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
}

article#selectToken section:nth-child(2) .bar_content div:nth-child(1) button{
    width: 35px;
    height: 35px;
    background-position: center;
    background-size: cover;
    /* border: 1px solid #105529;
    border-radius: 5px; */
    border: none;
    background: url('/img/icons8-search-50.png');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

article#selectToken section:nth-child(2) .bar_content div:nth-child(2){
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
article#selectToken section:nth-child(2) .bar_content div:nth-child(2) p{
    color: #fff;
    font-size: 15px;
    padding: 0px 25px;
}

article#selectToken section:nth-child(2) .content_t{
    flex: 1;
    width: 100%;
    padding-top: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
}

article#selectToken section:nth-child(2) .content_t div[token]{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    background: #fff0;
    border-bottom: 1px solid #0f5126;
    padding: 10px 12px;
}

article#selectToken section:nth-child(2) .content_t div[token] button{
    color: #333;
    background: #fff;
    border-radius: 5px;
    font-size: 15px;
    border: 1px solid #fff;
    height: 35px;
    padding: 0px 12px;
    text-transform: uppercase;
}

article#selectToken section:nth-child(2) .content_t div[token] div{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    width: 100%;
}

article#selectToken section:nth-child(2) .content_t div[token] div img{
    height: 40px;
    margin: 0px 20px;
    margin-right: 10px;
}

article#selectToken section:nth-child(2) .bar_content div:nth-child(2) p:last-child{
    padding: 0px 15px;

}

article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(1){
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
}


article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(2){
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    align-content: flex-start;
}

article#selectToken section:nth-child(2) .content_t div[token] div img{
    border-radius: 50%;
    background-color: white;
}

.roomAddress{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
}

.roomAddress p{
    color: #333;
    margin: 0px;
    font-size: 16px;
    text-align: justify;
    margin-bottom: 15px;
}

.roomAddress div:nth-child(3){
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}

.roomAddress div:nth-child(3) div{
    width: 48%;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    padding: 0px;
    margin: 0px;
    flex-direction: column;
    text-align: left;
}

.roomAddress div:nth-child(3) div:nth-child(2n){
    margin-left: auto;
}

.roomAddress h4{
    margin: 0px;
    padding-bottom: 15px;
    font-size: 20px;
    color: #333;
}

.roomAddress div:nth-child(3) span, .roomAddress div:nth-child(3) div span{
    padding-top: 10px;
    font-size: 16px;
    padding-bottom: 5px;
}

.roomAddress div:nth-child(3) input, .roomAddress div:nth-child(3) div input{
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 14px;
}

.roomAddress div:last-child{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    padding-top: 20px;
    width: 100%;
}

.roomAddress div:last-child button:nth-child(1){
    margin: 0px;
    border: none;
    background: #333;
    color: #fff;
    height: 40px;
    flex: 1;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 16px;
}

.roomAddress div:last-child button:nth-child(2){
    margin: 0px !important;
    border: none;
    background: #333;
    color: #fff;
    height: 40px;
    border-radius: 5px;
    font-size: 16px;
    flex: 1;
}

article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(2) p{
    color: #fff;
    margin: 0px;
    font-size: 20px;
}

article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(2) span{
    color: #e0e0e0;
    padding-top: 5px;
    font-size: 12px;
}

article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(3)  p{
    color: #fff;
    font-size: 14px;
    flex: 1;
    max-width: 103px;
    word-wrap: break-word;
    word-break: break-all;
    padding-right: 10px;
}
article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(3) button:nth-child(4){
    margin-left: 10px;
}

article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(3) p:nth-child(1){
    padding-right: 15px;
}

article#inProgress section:nth-child(2){
    width: 100%;
    height: 100%;
    padding: 5px 20px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
}

article#inProgress section:nth-child(2) div[nomatch]{
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: 2px solid #fff;
    border-style: dashed;
    color: #fff;
    font-size: 18px;
}

article#selectToken section:nth-child(2) .content_t div[token].anotherTokendetails{
    display: none;
}

article#inProgress section:nth-child(1) button:last-child{
    margin: 0px;
}

#joinAroom div{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
}

@media screen and (max-width: 890px){
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(2) span{
        word-break: break-all;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
        max-width: 150px;
        margin-right: 50px;
    }
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(2){
        flex: 0;
    }
}

@media screen and (max-width: 760px){
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(2) span{
        word-break: break-all;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
        max-width: 100px;
        margin-right: 50px;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2) span:nth-child(2) {
        word-break: break-all;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
        max-width: 100px;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2) div span:nth-child(2){
        text-align: right;
    }
    #game #players #user_i div[aa]{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-start;
    }
    #game #players #user_i div[aa] div.contt{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        align-content: flex-start;
        height: 30px;
    }
    #game #players #user_i div[a2]{
        margin: 0px;
    }
    #game #players [a1] #user_i div[aa]{
        margin-top: 30px;
    }
    #game #players #user_i div[aa] div.contt img, #game #players #cartas div img{
        height: 70px;
    }
}

@media screen and (max-width: 690px){
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(2) span{
        max-width: 50px;
    }
    article#selectToken section:nth-child(2) .bar_content div:nth-child(2){

        display: none;
    }
}

@media screen and (max-width: 620px){
    article#selectToken section:nth-child(2) .content_t div[token]{
        display: flex;
        flex-direction: column-reverse;
        flex-wrap: nowrap;
        align-items: stretch;
    }
    article#selectToken section:nth-child(2) .content_t div[token] button{
        margin-bottom: 10px;
    }
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(3){
        display: flex;
        flex-direction: column;
        align-items: stretch;
        align-content: flex-start;
        justify-content: flex-start;
    }

    article#selectToken section:nth-child(2) .content_t div[token] div{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(3) button:nth-child(4){
        margin-left: 0px;
    }
    article#selectToken section:nth-child(3) center{
        max-height: max-content;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2){
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: flex-end;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2) div{
        margin-top: auto;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2) p:nth-child(1){
        padding-top: 15px;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2){
        padding: 0px 10px;
    }
}

@media screen and (max-width: 570px){
    #game #players [a3]{
        width: 50%;
    }
}

#game center{
    display: none;
}

@media screen and (max-width: 550px){
    article#selectToken section:nth-child(3) center .body{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 0px;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(1){
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        padding: 0px 20px;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2) p:nth-child(1){
        font-size: 24px;
    }
}

@media screen and (max-width: 460px){
    #game #buttons div.a1a{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    #game #players #user_i div[aa] div.contt img, #game #players #cartas div img{
        height: 50px;
    }
    #game center{
        display: flex;
        height: 100%;
        flex: 1;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
        padding: 20px;
        color: #fff;
        font-size: 15px;
        font-weight: 700;
    }
    #game #players, #game #buttons{
        display: none;
    }
}

@media screen and (max-width: 360px){
    article#selectToken section:nth-child(2) .content_t div[token] div{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(2) span{
        max-width: 100%;
    }
    article#selectToken section:nth-child(2) .content_t div[token] div img{
        margin: 0px;
        margin-bottom: 10px;
        height: 42px;
    }
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(3) p:nth-child(1){
        margin-bottom: 0px;
    }
    article#selectToken section:nth-child(2) .content_t div[token] div div:nth-child(3) p{
        width: 100%;
        text-align: left;
        padding: 0px;
    }


}

@media screen and (max-width: 390px){
    .roomAddress p{
        font-size: 15px;
    }
    article#selectToken section:nth-child(3) center{
        width: 90%;
    }
    article#selectToken section:nth-child(3) center .top p,article#selectToken section:nth-child(3) center .top{
        display: none;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(1){
        padding: 0px;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2) div:last-child{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2) div:last-child button:nth-child(1),article#selectToken section:nth-child(3) center .body div:nth-child(2) div:last-child button{
        margin: 0px;
        padding-top: 10px;
        margin-top: 10px;
    }
    article#selectToken section:nth-child(3) center .body div:nth-child(2) div span:nth-child(1){
        font-size: 14px;
    }
}

@media screen and (max-width: 330px){
    article#home center{
        margin-top: -30px;
        padding: 0px 20px;
        width: 100%;
    }
}


@keyframes progressAnimation {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 0;
  }
}
