@import url('https://fonts.googleapis.com/css2?family=Kanit:ital@0;1&family=Nunito+Sans:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --dark-blue: #1B446F;
  --light-blue: #235488;
  --lighter-blue: #235a8f;
  --dark-accent: var(--dark-blue);
  --light-accent: var(--light-blue);
  --lighter-accent: var(--lighter-blue);
}

body {
  min-height: 100vh;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  background-color: var(--dark-accent);
  color: #FFF;
}
footer {
  margin-top: 2em;
  margin-inline: 1.5em;
  font-size: 75%;
}
footer p {
  margin: 0;
}

a {
  color: yellow;
  transition: color 0.2s ease;
}
a:hover,
a:focus {
  color: orange;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Kanit', sans-serif;
}

#contentWrap {
  width: calc(100% - (3rem + 6vw));
  margin-inline: auto;
}

main {
  padding: 0.5em 1.5em;
  background-color: var(--light-accent);
  border-radius: 4px;
  box-shadow: inset 2px 2px 6px var(--lighter-accent);
}

main ol li {
  counter-increment: rolls;
  text-indent: -3ch;
  margin-block: 0.125em;
}

main ol li::before {
  content: counter(rolls) ". ";
  font-weight: bold;
  background-image: linear-gradient(135deg, yellow, orange);
  color: yellow;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
  main ol li::before {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;  
  }
}

main ol {
  list-style: none;
  counter-reset: rolls;
}

footer {
  text-align: center;
  font-size: 90%;
  font-style: italic;
}

@media screen and (min-width: 1200px) { 
  main ol {
    columns: 2;
    column-gap: 5ch;
  }
}

/* NAV */

nav {
  position: absolute;
  inset: 0 0 auto 0;
  background-color: var(--light-accent);
}
nav a {
  text-decoration: none;
  color: #FFF;
}
nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
nav ul li {
  flex: 1;
  padding: 0.5em 1em;
  display: flex;
}
nav ul li a {
  flex: 1;
}
nav a:hover,
nav a:focus {
  background-color: var(--lighter-accent);
}