body {
  background-color: #f8f8ff;
  color: #5959ff;
  font-family: "Comic Sans MS", sans-serif;
}

.header {
  position: relative;

  width: 90%;
  max-width: 1000px;

  margin: 2% auto;
}

.header img {
  display: block; 
  width: 100%;
  margin: 0 auto;
}

.main {
  position: relative;

  width: 90%;
  max-width: 1000px;

  margin: 2% auto;
}

.main img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.footer {
  position: relative;
  
  width: 75%;
  max-width: 750px;
  
  margin: 2% auto;
}

.footer img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

/* ─────────────────────────────
   Random Article
   ───────────────────────────── */

.nav {
    position: static;
    width: 100%;
    height: auto;
    margin: 20px 0;
    padding: 0;
    text-align: center;
}

.nav .random-article {
    position: static;
    display: inline-block;

    width: auto;
    height: auto;

    margin: 0 auto;
    padding: 8px 16px;

    color: #3366aa;
    background: transparent;

    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
}

.nav a.random-article:hover {
    text-decoration: underline;
}

/* ─────────────────────────────
   God Plays Dice
   ───────────────────────────── */

.dice-area {
    margin: 24px 0;
    text-align: center;
}

.site-link {
    display: inline-block;
    padding: 8px 16px;

    color: #3366aa;

    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
}

.site-link:hover {
    text-decoration: underline;
}

.dice-god {
    color: #3366aa;
    font-size: 20px;
}