:root {
  --bg-color: #111111;
  --grid-border-color: #ff2b00;
  --grid-border-width: 1px;
  --link-color: #ff2b00;
}

@font-face {
  font-display: swap;
  font-family: 'Chakra Petch';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/chakra-petch-300italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/chakra-petch-700.woff2') format('woff2');
}

body {
  background-color: var(--bg-color);
  color: #eeeeee;
  display: grid;
  font-family: sans-serif;
  font-size: 16px;
  grid-template:
    "status" 1fr
    "footer" auto
    ;
  height: 100vh;
  line-height: 1.5;
  margin: 0;
  place-items: center;
  text-align: center;
}

.grid {
  background-color: var(--grid-border-color);
  border: var(--grid-border-color) solid var(--grid-border-width);
  display: grid;
  gap: var(--grid-border-width);
  grid-area: status;
  grid-template-areas:
    "logo question"
    "logo answer"
    ;
  grid-template-columns: var(--grid-cell-logo-width) var(--grid-cell-others-width);
  grid-template-rows: var(--grid-cell-question-height) var(--grid-cell-answer-height);
  width: auto;
}

.grid-cell {
  background-color: var(--bg-color);
  display: grid;
  padding: var(--grid-cell-padding);
  place-items: center;
}

.grid-cell-logo {
  grid-area: logo;
}

.grid-cell-question {
  font-family: 'Chakra Petch', sans-serif;
  font-size: var(--font-size-question);
  font-style: italic;
  font-weight: 300 !important;
  grid-area: question;
}

.grid-cell-answer {
  font-family: 'Chakra Petch', sans-serif;
  font-size: var(--font-size-answer);
  font-style: normal;
  font-weight: 700 !important;
  grid-area: answer;
}

.logo {
  height: auto;
  width: var(--logo-width);
}

@media (width <= 600px) {
  :root {
    --font-size-question: 0.75rem;
    --font-size-answer: 1.25rem;
    --grid-cell-logo-width: 5rem;
    --grid-cell-others-width: 12rem;
    --grid-cell-question-height: 1.5rem;
    --grid-cell-answer-height: 3.5rem;
    --grid-cell-padding: 0.125rem;
    --logo-width: 3rem;
  }
}

@media (600px < width <= 1280px) {
  :root {
    --font-size-question: 1.25rem;
    --font-size-answer: 2.5rem;
    --grid-cell-logo-width: 10rem;
    --grid-cell-others-width: 24rem;
    --grid-cell-question-height: 3rem;
    --grid-cell-answer-height: 7rem;
    --grid-cell-padding: 0.5rem;
    --logo-width: 6rem;
  }
}

@media (width > 1280px) {
  :root {
    --font-size-question: 2.5rem;
    --font-size-answer: 5rem;
    --grid-cell-logo-width: 20rem;
    --grid-cell-others-width: 48rem;
    --grid-cell-question-height: 6rem;
    --grid-cell-answer-height: 14rem;
    --grid-cell-padding: 1rem;
    --logo-width: 12rem;
  }
}

.footer {
  grid-area: footer;
  margin-block: 2rem;
}

.footer a:not(:active) {
  color: var(--link-color);
}
