@font-face {
    font-family: Catan;
    src: url("../../biblioteca/font/catan.otf") format("opentype");
}

*{
    font-family: Catan;
    font-size: 18px;
}
body{font-size: 0;}
.row {
    position: relative;
    text-align: center;
}
button.point {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    border-radius: 100%;
    background-color: white;
    border: 1px solid black;
    transition: 0.5s all;
    z-index: 1;
}
button.point:hover{
    transform: scale(1.2);
    cursor: pointer;
}
button.point.selected {
    background-color: lightblue;
    transform: scale(1.3);
    box-shadow: 0px 0px 10px white;
}
.line {
    display: block;
    position: absolute;
    height: 8px;
    width: 60px;
    transform-origin: 5% 50%;
}
hexagon .number {
    position: absolute;
    font-size: 18px;
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 56%;
    padding: 3px;
    border-radius: 100%;
    border: 1px solid black;
    text-align: center;
    text-shadow: -1px 0px 1px black, 1px 0px 1px black, 0px -1px 1px black, 0px 1px 1px black;
    color: white;
    overflow: hidden;
}
div#tela-modal {
    position: absolute;
    width: 330px;
    height: 290px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 999;
    border: 2px solid black;
    border-radius: 9px;
    box-shadow: 0px 0px 10px black;
    transition: 0.5s all;
    opacity: 1;
    padding: 20px;
    font-size: 0;
}
div#tela-modal.fechada {
    width: 0px;
    height: 0px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}
div#tela-modal h2 {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    background-color: lightgray;
    border-radius: 7px;
    padding: 5px;
    position: relative;
    left: -3.5px;
    bottom: 22px;
}
div#tela-modal * {
    font-size: 18px;
    font-weight: 100;
}
.dice {
    display: inline-flex;
    width: 40%;
    border: 1px solid black;
    height: 40%;
    margin: 5%;
    justify-content: center;
    align-items: center;
    font-size: 34px !important;
    border-radius: 8px;
    box-sizing: border-box;
    margin-top: 0px !important;
}
hexagon .number.red {
    color: #f31d1d;
    transform: scale(1.1);
}
.point i {
    display: block;
    font-size: 26px;
    text-shadow: 1px 0px 1px black, -1px 0px 1px black, 0px -1px 1px black, 0px 1px 1px black;
}
#tela-modal button {
    display: block;
    margin: auto;
    margin-top: 12px;
    border: 1px solid gray;
    background-color: lightgray;
    padding: 5px 15px;
    border-radius: 7px;
    cursor: pointer;
}
.logo {
    font-size: 51px;
    text-transform: uppercase;
    position: relative;
    color: #fbbf0d;
    text-shadow: 0px 1px 0px black,0px -1px 0px black,1px 0px 0px black,-1px 0px 0px black;
    display: block;
    text-align: center;
    margin: 10px 0px;
}

h1.logo:after {content: "O JOGO";font-size: 21px;display: block;}

h1.logo:before {content: "";display: block;position: absolute;left: 0px;margin: auto;top: 63px;width: 30%;right: 0;height: 2px;background-color: #fbbf0d;box-shadow: 0px 1px 0px black,0px -1px 0px black,1px 0px 0px black,-1px 0px 0px black;}
h1.logo{margin-bottom: 25px;}
button {
    display: block;
    margin: auto;
    margin-top: 12px;
    font-size: 18px;
    text-transform: uppercase;
    background-color: #ffda6e;
    border: 1px solid #9a9661;
    padding: 3px 19px;
    cursor: pointer;
    border-radius: 7px;
    transition: 0.5s all;
}

button:hover {
    transform: scale(1.1);
}
button.point {
    margin: 0;
    padding: 0;
}
.contorno{
    text-shadow: 0px 1px 0px black,0px -1px 0px black,1px 0px 0px black,-1px 0px 0px black;
}
#tela-jogo *{
    box-sizing: initial !important;
}
#cor{
    width: 0px;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    margin: auto;
}
#manequimCor{
    color: black;
    transform: 0.5s all;
    display: block;
    margin-top: 15px;
}
ol#lista-jogadores {
    list-style-type: none;
    padding: 0;
    width: 49%;
    display: inline-block;
    text-align: left;
    padding-left: 70px;
}

ol#lista-jogadores i {margin-right: 24px;}
span.gvar-numsala {
    display: block;
    margin-bottom: 26px;
}
div#listaJogadores {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 30vw;
    border-radius: 7px;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
    z-index: 999;
}

span.gvar-jogadoresJogo div {
    min-width: 130px;
    display: inline-block;
    border: 1px solid black;
    padding: 0;
    border-radius: 7px;
    margin: 5px;
    position: relative;
}

span.gvar-jogadoresJogo div h5 {
    margin: 0;
    text-align: center;
}

span.gvar-jogadoresJogo div i.fa.fa-user {
    margin: 10px;
}
span.gvar-jogadoresJogo div i.far.fa-square {
    margin: 0px 3px;
    margin-left: 13px;
}
div#tela-modal * {
    box-sizing: border-box !important;
}
div#div-na-sala * {
    box-sizing: border-box !important;
}

div#div-na-sala {
    font-size: 0;
}

div#listaCartas {
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: auto;
}

div#listaCartas .cardMao img {
    height: 20vh;
}

div#listaCartas .cardMao {
    display: inline-block;
    position: relative;
}

div#listaCartas .cardMao .num {
    position: absolute;
    top: 3px;
    right: 4px;
    background-color: white;
    width: 16px;
    height: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 29%;
}

div#listaCartas .cardMao {
    border-radius: 7px;
    overflow: hidden;
    transition: 0.5s all;
}

div#listaCartas .cardMao.zoom{
    transform: scale(1.1);
}

div#action-bar {
    position: absolute;
    right: 5px;
    top: 5px;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
    padding: 11px;
    border-radius: 9px;
    z-index: 9999;
}

div#action-bar button {
    font-size: 8px;
    display: inline-block;
    margin: 0;
}

div#action-bar h3 {
    margin: 0;
    font-size: 14px;
}
span.gvar-jogadoresJogo div i.fas.fa-arrow-up {
    position: absolute;
    bottom: -33px;
    left: 0;
    right: 0;
    margin: auto;
    display: block;
    font-size: 30px;
    text-align: center;
    color: #ffda6e;
    text-shadow: 0px 1px 0px black, 0px -1px 0px black, 1px 0px 0px black, -1px 0px 0px black;
}
div#tela-modal #center {
    height: calc(100% - 65px);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
div#info {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
div#modalRegras {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: auto;
    height: 100%;
}

div#modalRegras img {
    width: 100%;
}

div#modalRegras button {
    position: absolute;
    bottom: -22%;
    left: 0;
    right: 0;
    margin: auto;
}
hexagon{
    transition: 0.5s all;
}
body.lula hexagon:hover {
    transform: scale(1.1);
    cursor: pointer;
}
img#bonecoLula {
    position: absolute;
    transition: 1s all;
    top: -200px;
    left: -200px;
    z-index: 9;
}
span.gvar-jogadoresJogo div.selectable {
    background-color: #fdfdce;
    transition: 0.5s all;
}

span.gvar-jogadoresJogo div.selectable:hover {
    transform: scale(1.1);
    cursor: pointer;
}
.cardMao.selectable {
    transition: 0.5s all;
    cursor: pointer;
}

.cardMao.selectable:hover {
    transform: scale(1.1);
}
.point:before {
    top: -26px !important;
    background-color: white;
    border-radius: 100%;
    border: 1px solid black;
    overflow: hidden;
}
.point.porto-madeira:before {
    content: "";
    display: block;
    background-image: url(../img/porto-madeira.png);
    position: absolute;
    top: -24px;
    width: 32px;
    height: 32px;
    background-size: contain;
    transform: rotate(-51deg);
}
.point.porto-3x1:before {
    content: "";
    display: block;
    background-image: url(../img/porto-31.png);
    position: absolute;
    top: -24px;
    width: 32px;
    height: 32px;
    background-size: contain;
}
.point.porto-palha:before {
    content: "";
    display: block;
    background-image: url(../img/porto-palha.png);
    position: absolute;
    top: -24px;
    width: 32px;
    height: 32px;
    background-size: contain;
}
.point.porto-pedra:before {
    content: "";
    display: block;
    background-image: url(../img/porto-pedra.png);
    position: absolute;
    top: -24px;
    width: 32px;
    height: 32px;
    background-size: contain;
}
.point.porto-barro:before {
    content: "";
    display: block;
    background-image: url(../img/porto-tijolo.png);
    position: absolute;
    top: -24px;
    width: 32px;
    height: 32px;
    background-size: contain;
}
.point.porto-ovelha:before {
    content: "";
    display: block;
    background-image: url(../img/porto-ovelha.png);
    position: absolute;
    top: -24px;
    width: 32px;
    height: 32px;
    background-size: contain;
}
.cardd img {
    width: 90%;
    margin: auto;
}

.cardd {
    display: inline-block;
    width: 50%;
    margin: 10px 0px;
    text-align: center;
    transition: 0.5s all;
    overflow: hidden;
}
.cardd img{
    transition: 0.5s all;
}
.cardd:hover{
    cursor: pointer;
}
.cardd:hover img{
    transform: scale(1.1);
}

#cartasDesenv {
    overflow: auto;
    height: 65%;
}
i.fas.fa-crown {
    margin-left: 14px;
}