/*@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Mono', 'Courier Prime', 'Courier New', monospace;
  line-height: normal;
  word-wrap: break-word;
  background-color: #f9f7f4;
  background-image:
    /* Blue margin line */
    linear-gradient(90deg, transparent 149px, #abced4 149px, #abced4 151px, transparent 151px),
    /* Paper grid  */
    linear-gradient(rgba(100, 100, 100, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 100, 100, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(80, 80, 80, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 80, 80, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(80, 80, 80, 0.15) 1px, transparent 1px);
  background-size:
    100% 100%,
    100% 100%,
    10px 10px,
    10px 10px,
    50px 50px,
    50px 50px;
  color: #2c2c2c;
  margin: 0;
  padding: 0;
}

p {
  color: #333;
}

body > .links {
  position: absolute;
  width: 100px;
  margin: 2rem 2rem;
  user-select: none;
  text-shadow:
    0.5px  0.5px 0px rgba(0,0,0,0.3),
   -0.5px -0.5px 0px rgba(0,0,0,0.1),
    1px    0px   0px rgba(0,0,0,0.1),
   -1px    0px   0px rgba(0,0,0,0.1);
}

body > .links > a {
  display: inline-block;
  line-height: normal;
  margin-left: 31px;
  margin-top: 17px;
  font-size: 24px;
  color: darkslategrey;
  background: greenyellow;
  transition: opacity .2s ease;
}

/* add some cute rotation */
body > .links > a:nth-child(odd) {
  transform: rotate(2deg);
}

body > .links > a:nth-child(even) {
  transform: rotate(-1deg);
}

body > .links > a:nth-child(4) {
  transform: rotate(0deg);
}

body > .links > a.skip {
  background: indianred;
  color: ghostwhite;
  cursor: not-allowed;
}

body > .links > a:hover {
  opacity: .5;
}

body > .links > a.skip:hover {
  opacity: revert;
}

body > .main {
  width: 1000px;
  min-height: 100vh;
  margin: 4rem auto;
}

canvas {
  background: floralwhite;
  margin: 0 auto;
  display: block;
  width: 900px;
  height: 480px;
  border-radius: 6px;
  box-shadow:
    inset 0 0 6px rgba(0,0,0,0.2),
    inset 0 0 6px rgba(0,0,0,0.2);
  position: relative;  
}

article {
  width: 900px;
  min-height: 400px;
  margin: 50px auto;;
  display: block;
  background-color: #eaebe2;
  padding: 3% 5%;
  rotate: .2deg;
  border-radius: 4px;
  box-shadow:
    0 0 4px rgba(0,0,0,0.2),
    0 0 4px rgba(0,0,0,0.2);
  /*old but interesting paper look*/
  background-image:
    linear-gradient(#eee 0.1em, transparent 0.1em);
}
article:before, article:after {
  content: "";
  position: absolute;
  top: 0;
}
article:after {
  margin-left: -10px;
  height: 100%;
}
article:before {
  width: 100%;
  height: 5px;
  left: 0;
  background-color: #eaebe1;
}
article p {
  margin: 2rem 1rem;
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
}

.spacer-top {
  margin-top: 4rem;
}

.footer--dark {
  --footer-background-color: #2c2c2c;
  --footer-color: #f9f7f4;
  --footer-link-color: #fff;
  --footer-title-color: #fff;
}

.footer {
  background-color: var(--footer-background-color);
  color: var(--footer-color);
  width: 100%;
  padding: 1rem 1rem;
  border-top: 2px solid var(--footer-background-color);
  margin-top: 50px;
}

.footer .container {
  width: 900px;
  margin: 0 auto;
  text-align: right;
}

.footer .container::before {
  display: none;
}

.footer__copyright {
  margin: 1rem 0rem;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__copyright a {
  font-style: normal;
  color: var(--footer-link-color);
  text-decoration: none;
  border-bottom: 1px dotted;
}

/*unused for now: useful for different screen sizes*/
@media (max-width: 1186px) {  
  body > .links {
    position: relative;
    width: 100%;
  }
  body > .links > a {
    margin: 0 20px;    
  }
}