:root {
  color-scheme: light dark;
  --clr-primary: #ffffff;
  --clr-secondary: #000000;

  --video-height: 70vh;

  --body-mg-tb: 2rem;
}

* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "ABCDiatypeEdu";
  src: url("assets/ABCDiatypeEdu-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "PPNeueMachina";
  src: url("assets/PPNeueMachina-PlainUltrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "PPNeueMachina", sans-serif;
}

p {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1em;
}

a {
  color: #ff8eff;
  text-decoration: none;
}

/* Elements */
button {
  cursor: pointer;
  padding: 0.4em 0.8em;
  border-radius: 100vw;
  border: none;
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  background-color: var(--clr-primary);
  color: var(--clr-secondary);
}

/* Helper */
.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-secondary);
}

.absolute {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.intro-text,
p {
  color: var(--clr-primary);
}

/* Layout */
body {
  font-family: "ABCDiatypeEdu", sans-serif;
  color: var(--clr-primary);
  background-color: var(--clr-secondary);
  height: 100dvh;
}

.grid-container {
  display: grid;
  grid-auto-rows: minmax(0, min(100px, 20dvh)) minmax(0, 1fr)
    minmax(0, min(100px, 20dvh));
  grid-template-columns: 1fr;
  gap: min(1em, 2dvh);
  height: calc(100dvh - var(--body-mg-tb) * 2);
  margin: var(--body-mg-tb) 1rem;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-title {
  font-size: 10vw;
  text-align: center;
  line-height: 0.9;
}

main {
  overflow: scroll;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.info-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (orientation: portrait) {
  .video-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
  }

  .portrait-video {
    display: block;
  }
}

/* Results Page Style */

.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.row:last-child {
  border-bottom: none;
}

.avg {
  margin-top: 16px;
  font-style: italic;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

/*

.wrap {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(92vw, 700px);
  background: #0f0f0f;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(20px, 4vw, 28px);
}

.meta {
  opacity: 0.7;
  margin-bottom: 16px;
}

ol {
  margin: 12px 0 0;
  padding-left: 1.3rem;
}

*/
