html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background-image: url("images/dark-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Verdana, Geneva, sans-serif;
}
h1 {
  text-align: center;
  font-size: 6em;
  margin: 0;
  padding: 48px 24px 32px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
}

main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.score-panels {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.score-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  min-height: 160px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 10, 16, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
}

.score-panel-red {
  border-left: 10px solid #d71920;
}

.score-panel-blue {
  border-left: 10px solid #0067c5;
}

.opponent {
  min-width: 0;
}

.opponent-name {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
}

.club-name {
  margin: 12px 0 0;
  color: #d7dde8;
  font-size: 1.2rem;
}

.score {
  flex: 0 0 auto;
  min-width: 112px;
  text-align: right;
  font-size: 7rem;
  font-weight: 700;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.75);
}

@media (max-width: 800px) {
  h1 {
    font-size: 3rem;
    padding-top: 32px;
  }

  main {
    width: min(100% - 24px, 1200px);
  }

  .score-panels {
    flex-direction: column;
  }

  .score-panel {
    min-height: 120px;
    padding: 22px;
  }

  .opponent-name {
    font-size: 2.2rem;
  }

  .score {
    min-width: 78px;
    font-size: 5rem;
  }
}
