#tabuleiro{
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    border-style: none none none none;
    border-width: 1px;
    border-color: #000;
}
    
.match3{
    display: inline-block;
    background-color: #fff;
   text-align: center;
    
      border: 1px solid #000;
  border-radius: 4px;
  padding:15px;
  filter: drop-shadow(2.5px 2.5px 5px #000);
}
    
.casa{
    box-sizing: border-box;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 50px;
    height: 50px;
    margin: 0;
    cursor: pointer;
    border: 3px solid #f9b212;
    border-radius: 8px;
}
.casa:hover{
    border: 3px solid #000;
    border-radius: 8px;
    padding: 0;
}    
.selecionado{
    border: 3px solid #000;
    border-radius: 8px;
    padding: 0;
}   
.casa img{
    position: relative;
    width: 40px;
    height: 40px;
    margin: 3px;
    border-radius: 8px;
} 
    
#placar{
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: right;
    width: 350px;
    height: 100%;
    padding: 10px;
    margin: 0;
    text-align: left;
    border-style: none;
    
}
.black_overlay {
  display: none;
  position: fixed; /* Stay in place */
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.8;
  opacity: .80;
  filter: alpha(opacity=80);
}
.white_content {
  display: none;
  position: fixed;
  top: 5%;
  left: 10%;
  width: 90%;
  height: 90%;
  padding: 16px;
  border: 16px solid orange;
  background-color: white;
  z-index: 1002;
  overflow: auto;
}       
.card {
    margin: 0 auto;
    padding: 10px;
    display: block;
    max-width: 200px;
    width: 100%;
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 10px -5px #909090;
    position: absolute;
    top: 70px;
    left: 660px;
    transform: translate(-50%, -50%);
}

.score-button {
  display: flex; /* i.p.v. inline-flex */
  justify-content: center;
  align-items: center;
  background: #FFF;
  color: #000;
  border: 1px solid #000;
  border-radius: 4px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 20px;
  font-family: "Be Vietnam Pro", sans-serif;
  padding: 0 20px;
  height: 40px;
  min-width: 30px;
  text-align: center;
  text-decoration: none;
  filter: drop-shadow(2.5px 2.5px 5px #000);
}

#countdown { font-size: 25px; }
#puntenInCard { font-size: 25px; }

.nav-box {
    zoom: 0.75;
    -moz-transform: scale(0.75);
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 5px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#scoreCards {
  max-width: 600px;
  margin: 10px auto;
  font-family: Arial, sans-serif;
  font-size: 0.9em;
}

.scoreCard {
  background: #f9f9f9;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 6px 10px;
  margin-bottom: 6px;
}

.scoreRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow-x: auto;
}

.scoreRow span {
  flex: 1;
  text-align: left;
  color: #000;
}

.scoreRow .score {
  text-align: right;
  font-weight: bold;
  color: #000;
}

#scoreForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  max-width: 300px; /* optioneel, om het niet te breed te maken */
}
    