:root {
    --black-square: #d14444;
    --white-square: #f1f1f1;
    --black-piece: #673ab7;
    --white-piece: #ddd;
    --black-piece-outer: #607d8b;
    --white-piece-outer: #9e9e9e;
    --prediction-outer: #ebe84d;

    --hint: #00000033;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

body {
    background-image: linear-gradient(rgba(62, 20, 20, 0.4), rgba(62, 20, 20, 0.4)), url(images/back.jpg);
    background-size: cover;
    background-position: center;
    font-family: Lato;
    font-weight: 300;
    height: 100%;
    min-height: 400px;
    color: #555;

}

button {
    border: none;
    background: none;
    cursor: pointer;
}

button:focus {
    outline: none;
}

i {
    margin-right: 1vh;

    transition: margin 0.3s;

    font-size: 3.0vh;
    line-height: 1;
}

#gameInterface {
    position: absolute;

    width: 80%;

    max-width: 500px;


    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: #f1f1f1;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
    z-index: 2;

}

.navbar {
  z-index: 100;
}

.menu {
    float: right;

    width: 100%;
}

.player-score {
    position: absolute;

    right: 50%;

    transform: translateX(50%);
    font-size: 4vh;
    font-weight: 100;

    color: #EB4D4D;
}

#score-black {
    top: 5vh;
}

#score-white {
    bottom: 5vh;
}

.player-name {
    position: absolute;

    right: 50%;

    transform: translateX(50%);
    text-transform: uppercase;
    font-size: 3.1vh;
    font-weight: 300;

    letter-spacing: 2px;
}

#player-black {
    top: 16vh;
}

#player-white {
    bottom: 16vh;
}

.player-name.active::after {
    content: "\2022";
    font-size: 4.5vh;
    position: absolute;
    color: #EB4D4D;
    top: -1.2vh;
    right: -3.3vh;
}

.btn-newgame {
    position: absolute;

    right: 50%;
    top: 76%;

    width: 100%;

    transform: translate(50%, -50%);
    transition: background-color 0.3s, color 0.3s;

    text-transform: uppercase;
    font-size: 3.6vh;
    font-weight: 300;
    font-family: Lato;

    letter-spacing: 2px;

    color: #555;
}

.btn-newgame:hover { font-weight: 600; }
.btn-newgame:hover i { margin-right: 2vh; }

.tabuleiroDama {
  width: 100%;
  max-width: 500px;
    float: left;
    box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);


}
.tabuleiroDama .row{
  width: 100%;
   flex-wrap: nowrap;

}

.square {
    width: 13%;
    height: 5.5vh;

    float: left;

    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

    user-select: none;
}

.square.white {
    background-color: var(--white-square);
}

.square.black {
    background-color: var(--black-square);
}



.prediction {
    content: "";

    width: 100%;
    height: 5.5vh;

    background-color: transparent;
    border-radius: 50%;
    margin: 0 auto;

}

.prediction::before {
    content: "";
    display: block;
    position: relative;

    width: 85%;
    height: 4.5vh;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: #ffffffb8;
    border-radius: 5px;
}


.clone {
    pointer-events: none;
}
.row {
    --bs-gutter-x: 0.0rem;}

.dame i{

  font-size:  2vh;
  color: #ff9800;
  margin-left:1px;
  position: relative;
top: -4px;

}
.menu{
  padding: 0px;
  margin: 0px;
  margin-top: 15px;
  float: left;
    width: 100%;

}
.branco,.preto{


    float: left;
    width: 50%;

    background-color: #ccc;
    list-style: none;
        padding: 3px;
        border: 1px solid;
    border-image-slice: 1;
    border-width: 1px;
       border-image-source: linear-gradient(to left, transparent,#e1b26d, #ffeb3b,transparent);


}
.nomeJogo{

    border-radius: 10px;
    float: left;
    width: 100%;

    list-style: none;
    padding: 5px;
    text-align: center;
    margin-bottom: 0px;


}

.iniciarDama{
  width: 100%;
  height: 600px;
  position: absolute;
  z-index: 300;
  background-color: #00000070;
  left: 0px;
  top: 0px;

}

.modalTabuleiro2{
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 300;
  background-color: #00000070;
  padding-top: 140px;
  left: 0px;
  bottom:  0px;

}

.iniciarDama button.iniciar{
  margin: 30%;
  width: 40%;


  height: 50px;
  background-color: #4caf50;



}
.modalTabuleiro2 .ganhou,
 .modalTabuleiro2 .perdeu{

   width: 80%;
   height: 300px;
   margin: 10%;
   margin-top: 10px;
   float: left;



}

 .modalTabuleiro2 .perdeu{

    background: linear-gradient(#ff5722, #ff5722,#9d2424b3);
    border-radius: 10px;


}

.modalTabuleiro2 .ganhou{

       background: linear-gradient(#8bc34ab8,#cddc39, #cddc39);
         border-radius: 10px;


}

.modalTabuleiro2 h2{
  margin-top: 25px;
  margin-top: 10px;
      width: 100%;
      text-align: center;
      background-color: #ffffffb8;
      border: 1px solid;
    border-image-slice: 1;
    border-width: 2px;
    border-image-source: linear-gradient(to left, transparent,#e1b26d, #ffeb3b,transparent);

}

.branco{

  background: linear-gradient(#ffffff80,#448ba74f, #fff);
    background-color: #fff;
  color: #000 !important;
  border-radius: 10px 0px 0px 10px;

}
.preto{
  border-radius: 0px 10px 10px 0px;
background: linear-gradient(#00000061,#000000bf);

  color: #fff !important;

}

.preto i{ float: right !important;}
.preto b{ float: left !important;}
.menu i{

    border-radius: 10px;
    float: left;
    font-size: 15px;




}

.menu b{

    border-radius: 10px;
    float: right;
    width: 20px;
    height: 20px;

    background-color: #607d8b;
    color: #fff;
    font-size: 12px;
    list-style: none;
    text-align: center;

}
.vez{

  border-radius: 10px;
  float: right;
  width: 25%;
  height: 5px;
  background: linear-gradient(to left, transparent,#e1b26d, #ffeb3b,transparent);
  color: #fff;
  font-size: 12px;
  list-style: none;
  text-align: center;
  position: fixed;
  top: 116px;
  display: none;

}

.active .vez{

  display: block;

}

.preto .vez{

  left: 50%;

}

.branco .vez{


  left: 25%;

}

.fechar{
  background-color: #fff;
  color: #000;
  width: 30px;
  height: 30px;
  float: right;
    border-radius: 100px;
    margin-right: 25px;
    font-size: 20px;
    line-height: 30px;
    padding:0px;
    margin-bottom: -25px;
    position: fixed;
left: 85%;

}
.carousel{
  margin: 5px;
  margin-bottom: 15px;
  border-radius: 5px;


}

.carousel-item img{
  border-radius: 5px;

}
.carousel-item {
height: 150px;
border-radius: 5px;


}


.carousel-control-next,
.carousel-control-prev{
  background: linear-gradient(transparent,#000000bd);
  border-radius: 5px;

}
.fas{
  margin-right: 0px
}

/**/
