section#calendario {
  display: grid;
  row-gap: 2.4rem;
}

table.table {
  margin-inline: auto;
}

.table--content:has(td[data-header]) tr.table--content__default {
  display: none;
}

/* tr.table--content__default.loading {
    position: relative;
    background: linear-gradient(90deg, #2b2b2b 25%, #313131 50%, #2b2b2b 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
  }
  
  tr.table--content__default.loading td span {
    position: relative;
  }
  
  tr.table--content__default.loading td span::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #3d3d3d 25%, #4a4a4a 50%, #3d3d3d 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 2s infinite linear;
    z-index: 1;
  }
  
  @keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
  } */

@media screen and (max-width: 768px) {
  section#calendario {
    padding-block: 2.4rem;
  }
  table {
    width: 70vw;
    max-width: 500px;
  }

  thead {
    display: none;
  }

  tbody tr {
    display: grid;
    margin-block: 2rem;
    padding-block: 2rem;
    border-radius: 10px;
    background-color: #0a0047;
    padding-inline: 2rem;
  }

  tbody tr td {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-block: 2rem;
    word-wrap: break-word;
    text-align: center;
    color: #fff;
    font-weight: bold;
  }

  tbody tr td::before {
    content: attr(data-header);
    color: #00c4fe;
    font-weight: bold;
  }

  tbody tr td:first-of-type {
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;
  }

  tbody tr td:last-of-type {
    border-bottom-left-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
  }

  h2.section-title {
    width: 80vw;
  }

  section#calendario > p {
    width: 70vw;
    margin-inline: auto;
    text-align: center;
  }
}

@media screen and (min-width: 768px) {
  section#calendario {
    padding-inline: 2rem;
    padding-block: 6.4rem;
  }

  h2.section-title {
    font-size: 4.8rem;
  }

  table.table:first-of-type {
    margin-bottom: 4rem;
  }
  table {
    max-width: 1300px;
    width: 100%;
    border-spacing: 0 1rem;
    border-collapse: separate;
  }

  thead th:first-of-type,
  tbody tr td:first-of-type {
    border-top-left-radius: 0.8rem;
    border-bottom-left-radius: 0.8rem;
  }

  thead th:last-of-type,
  tbody tr td:last-of-type {
    border-top-right-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
  }

  thead tr th {
    background-color: #0a0047;
    font-weight: bold;
    color: #fff;
  }

  tbody tr {
    background-color: #f5f6fa;
  }

  thead tr th,
  tbody tr td {
    padding: 2rem;
    text-align: center;
    vertical-align: middle;
  }

  tbody tr td[data-header="Prêmios"] {
    color: #0a0047;
    font-weight: bold;
  }

  tbody tr td b {
    color: #0a0047;
    display: block;
  }

  section#calendario > p {
    max-width: 1300px;
    margin-inline: auto;
  }
}
