
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  header {
    background-color: #f4c20d;
    color: #000;
    padding: 20px;
    text-align: center;
  }
  
  main {
    padding: 20px;
  }

  .informacao-central{
    margin-bottom:30px;
  }
  .logo-camisa {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.logo-camisa img {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.logo-camisa img:hover {
    transform: scale(1.1);
}
  
  section {
    margin-bottom: 40px;
  }
  
  h2 {
    margin-bottom: 10px;
  }
  
 /* Estilo dos tabuleiros */
#pit-display-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.tabuleiro-wrapper button{
    padding: 5px 2px;
    font-size: 14px;
    font-weight: 600;
    background-color: #fff130;
    border: 10;
    border-radius: 30px;
    cursor: pointer;
}
.tabuleiro-wrapper {
  position: relative;
  display: inline-block;
}

.tabuleiro {
  display: grid;
  grid-template-columns: repeat(8, 50px); /* Define o tamanho dos quadrados */
  grid-template-rows: repeat(8, 50px);
  border: 2px solid #333;
  position: relative;
  overflow: visible;
}


.tabuleiro .quadrado {
  width:50px;
  height: 50px;
  border: 1px solid #999;
  background-color: #ffffff;
}

.tabuleiro .quadrado:nth-child(odd) {
  background-color: #ffffff;
}

.tabuleiro .quadrado:nth-child(even) {
  background-color: #ffffff;
}


.tabuleiro .quadrado-central:nth-child(odd) {
  background-color: #dfc327; /* Alternativa para os pares centrais */
}

/* Estilo para as marcações de linhas e colunas */
.marcacao {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  color: #040404;
}

.marcacao-superior {
  top: -20px; /* Ajuste para posicionar acima do tabuleiro */
  left: 1px; /* Alinhar ao início */
  display: flex;
  color: #f4c20d;
  justify-content: space-between;
  width: 95%;
}

.marcacao-lateral {
  top: 5px;
  left: -15px; /* Ajuste para posicionar ao lado do tabuleiro */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 90%;
  color: #f4c20d;
}

.marcacao span {
  display: block;
  text-align: center;
}

/* Tooltip básico */
.quadrado[data-preco]:hover::after {
  content: attr(data-preco);
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  transform: translate(-50%, -150%);
  white-space: nowrap;
}

/* Quadrados reservados (pretos e inselecionáveis) */
.quadrado.reservado {
  background-color: #000;
  cursor: not-allowed;
}

/* Quadrados selecionados */
.quadrado.selecionado {
  outline: 4px solid #871e19;
  outline-offset: -4px;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  #pit-display-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .tabuleiro-wrapper {
    width: 90%;
  }

  .tabuleiro {
    display: grid;
    grid-template-columns: repeat(8, minmax(30px, 1fr)); /* Reduzindo os quadrados */
    grid-template-rows: repeat(8, minmax(30px, 1fr));
  }

  .tabuleiro .quadrado {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .marcacao-superior {
    top: -15px;
    font-size: 12px;
  }

  .marcacao-lateral {
    left: -10px;
    font-size: 12px;
  }

  .tabuleiro-wrapper button {
    font-size: 12px;
    padding: 5px;
  }
}

@media (max-width: 480px) {
  .tabuleiro {
    grid-template-columns: repeat(8, minmax(25px, 1fr));
    grid-template-rows: repeat(8, minmax(25px, 1fr));
  }

  .tabuleiro-wrapper button {
    font-size: 10px;
    padding: 3px;
  }
}

.prototipo {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.prototipo img {
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.prototipo img:hover {
  transform: scale(1.1);
}