/* Centered table styles for specific GPU table */

/* Centered table container */
.reveal .centered-table {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1em auto;
}

/* Tables inside centered-table container */
.reveal .centered-table table {
  margin: 0 auto !important;
  display: table;
  border-collapse: collapse;
  font-size: 0.55em;
  line-height: 1.2em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: auto;
  min-width: 80%;
  max-width: 100%;
}

.reveal .centered-table table th,
.reveal .centered-table table td {
  padding: 0.4em 0.6em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.reveal .centered-table table th {
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: bold;
}

/* First column (model names) gets more space */
.reveal .centered-table table th:first-child,
.reveal .centered-table table td:first-child {
  font-weight: bold;
  min-width: 8em;
  white-space: nowrap;
}

/* Responsive design for different screen sizes */
@media screen and (max-width: 1400px) {
  .reveal .centered-table table {
    font-size: 0.5em;
  }

  .reveal .centered-table table th,
  .reveal .centered-table table td {
    padding: 0.35em 0.5em;
  }
}

@media screen and (max-width: 1200px) {
  .reveal .centered-table table {
    font-size: 0.45em;
  }

  .reveal .centered-table table th,
  .reveal .centered-table table td {
    padding: 0.3em 0.4em;
  }
}

@media screen and (max-width: 900px) {
  .reveal .centered-table table {
    font-size: 0.4em;
  }

  .reveal .centered-table table th,
  .reveal .centered-table table td {
    padding: 0.25em 0.35em;
  }
}

@media screen and (max-width: 700px) {
  .reveal .centered-table table {
    font-size: 0.35em;
  }

  .reveal .centered-table table th,
  .reveal .centered-table table td {
    padding: 0.2em 0.3em;
    white-space: normal;
    word-wrap: break-word;
  }
}
