/* idk maybe this will help? */
*,
*:before,
*:after {
  box-sizing: border-box;
}
/* ----- */
/* Root parameters that other things point at when they need to*/
/* ----- */
:root {
  font-size: 7mm;
  hyphens: auto;
  font-family: bord, Georgia, "Times New Roman", Times, serif;
  margin: 0;
  padding: 0;
  background: #f3c492;
}
/* Custom fonts licensed from Chequered Ink Ltd.*/
/* Super-heavy bold font for titles*/
@font-face {
  font-family: juice;
  src: url(fonts/gooseberry-juice.otf);
}
/* Smallcaps boldish handwriting font, also for titles and subtitles */
@font-face {
  font-family: wolf;
  src: url(fonts/wolfganger.otf);
}
/* Bold serif font for subtitles and main text */
@font-face {
  font-family: bord;
  src: url(fonts/smorgasbord.otf);
}
/* Skinny and fun handwriting font for decorations */
@font-face {
  font-family: thinly;
  src: url(fonts/thinly-handled.otf);
}
/* ----- */
/* Organization of items for the desktop viewport */
/* ----- */
@media (min-width: 1010px) {
  /* Container is a box with smaller boxes tetris'd inside! */
  .container {
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    width: 100%;
  }
  /* Navbar is on the right */
  nav {
    text-align: right;
    margin: 0;
    padding: 0;
  }
  /* Header should span the whole page */
  header {
    grid-column: span 12;
  }
  /* Shift super jumbo size titles to be even MORE biggerer */
  h1 {
    font-size: 3rem;
  }
  /* Articles and sections inside the body are next to the nav */
  article,
  section {
    grid-column: 3 / span 8;
    grid-row: 2;
  }
  /* Give the cute card a drop shadow */
  .card {
    border: solid 0.1rem #767676;
    border-radius: 5mm;
    background-color: #faf5e2;
    color: #54211d;
    box-shadow: #767676 0.1rem 0.1rem;
  }
}
/* ----- */
/* Organization of items for tablets and smaller desktop viewports */
/* ----- */
@media (min-width: 567px) and (max-width: 1009px) {
  .container {
    grid-template-columns: repeat(12, [col-start] 1fr);
    width: 100%;
    margin: 0;
    padding: 0;
  }
  nav {
    grid-column: col-start / 2;
    grid-row: 2;
    text-align: right;
  }
  article,
  section {
    grid-column: 3 / span 8;
    grid-row: 2;
    margin: 0.5rem 1rem;
  }
}
/* ----- */
/* Design choices regardless of the size of viewport */
/* ----- */
/* Put the navbar as a stack to the left of the main stuff and
     underneath the header. */
/* ---Can I make it sticky?--- */
nav {
  display: block;
  font-family: thinly, cursive, sans-serif;
  grid-column: col-start / span 2;
  grid-row: 2;
}
/* All list items in a navbar have a little box around it */
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
/* What links look like in the Navbar.
   Since there won't be anything other than links in the navbar, there 
   is no need to specify what non-link elements look like. */
nav li a {
  display: block;
  color: #9c443b;
  padding: 0.7rem;
  background-color: #faf5e2;
}
/* Make the background of the button with a link in it change colors
   When hovered over. */
nav li a:hover {
  background-color: #9c443b;
  color: #f3c492;
  font-style: italic;
}
/* A cute little piece of paper */
.card {
  display: block;
  border: solid 0.1rem #767676;
  border-radius: 5mm;
  background-color: #faf5e2;
  color: #54211d;
  padding: 0.7rem;
  margin: 0 0 0.5rem 0;
}
/* Headings sizes, styles, and colors */
/* Super extra jumbo titles */
h1 {
  font-family: juice, sans-serif;
  color: #9c443b;
  text-align: center;
  font-size: 2.2rem;
  margin: 1rem auto 0;
}
/* Main titles but slightly smaller than the super extra jumbo ones */
h2 {
  font-family: juice, sans-serif;
  color: #906e5b;
  text-align: center;
  font-size: 2rem;
  margin: 1rem auto 0;
}
/* Handwritten titles, chunkier than the other handwriting fonts */
h3 {
  font-family: wolf, sans-serif;
  color: #906e5b;
  text-align: center;
  font-size: 1.8rem;
  font-weight: bolder;
  margin: 1rem auto 0;
}
/* Skinny, handwritten subtitles */
h4 {
  font-family: thinly, cursive, sans-serif;
  color: #906e5b;
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  padding: 0;
}
/* Smaller, less visible subtitles, for gags */
h5 {
  font-family: thinly, cursive, sans-serif;
  color: #b0ac99;
  text-align: center;
  font-size: 1.4rem;
  font-style: italic;
  margin: 0;
  padding: 0;
}
/* Barely-bigger basic serif text for extreme shouting */
h6 {
  font-family: bord, Georgia, serif;
  color: #9c443b;
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
}
/* Paragraphs get a leading indent */
p {
  text-indent: 2em;
}
/* Footer is a lone wolf flush at the bottom for Style Points */
footer {
  grid-column: span 12;
  grid-row: 3;
  background-color: #b0ac99;
  color: #9c443b;
  padding: 1rem;
  margin: 0;
}
/* Asides and parentheticals that look like hastily written notes */
.sillyNote {
  font-family: thinly, cursive, sans-serif;
  color: #906e5b;
}
/* What do links look like outside of nav? */
a {
  color: #9c443b;
}
a:visited {
  color: #767676;
}
/* Decorative color for special text */
em,
strong,
sup,
sub {
  color: #9c443b;
}
/* Cited media titles are red and italic */
cite {
  color: #9c443b;
  font-style: italic;
}
/* Looks like I crossed out a handwritten note */
del {
  font-family: thinly, cursive, sans-serif;
  color: #b0ac99;
}
