.home-team {
  text-align: right;
}
.away-team {
  text-align: left;
}

.matches {
  border-collapse: collapse;
  margin: 0 auto;
  width: calc(100% - 2em);
  text-align: center;

  .match-teams {
    display: flex;
    align-items: center;
  }

  td {
    vertical-align: middle;
    padding: 0.125rem;
  }

  .match-day {
    font-size: 1.5em;
    font-weight: 200;
    padding: 1em 0 0;
  }

  tr:first-of-type .match-day {
    padding-top: 0;
  }

  .match-details {
    font-size: 0.875em;
    font-variation-settings: "wdth" 90;
    text-transform: uppercase;

    padding: 0 0 1em;

    a {
      color: var(--color-text);
      font-weight: bold;
      text-decoration: none;

      &:hover {
        text-decoration: underline;
        text-decoration-color: var(--color-accent);
        text-decoration-thickness: 0.125em;
      }
    }
  }

  .team {
    flex: 1;
  }

  .score {
    font-weight: 700;
  }

  .kickoff {
    font-weight: 200;
  }

  .score,
  .kickoff {
    font-size: 1.5em;
    width: 2.5em;
    font-variation-settings: "wdth" 75;
    line-height: 1;
  }
  .flag-column {
    width: 1.5em;
  }
}

@media screen and (min-width: 40em) {
  .matches {
    .team {
      font-size: 2em;
    }
    .score,
    .kickoff {
      font-size: 3em;
    }
  }
}
