/* Minimal CSS Reset */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* The Styles */

body,
code {
    font-family: 'Indie Flower', cursive;
}

body {
    background-color: #FFF9E7;
}

article {
    background-color: #ffffcc;
    position: relative;
    max-width: 720px;
    margin: 64px auto;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,0,0,0.2), inset 0 0 300px rgba(255, 255, 125, 0.7);
    padding-bottom: 32px;
}

article:before {
    position: absolute;
    left: 82px;
    top: 0;
    bottom: 0;
    content: "";
    width: 2px;
    display: block;
    height: 100%;
    background: #ffcccc;
    border-radius: 4px;
}

article:after {
    position: absolute;
    left: 90px;
    top: 0;
    bottom: 0;
    content: "";
    width: 2px;
    display: block;
    height: 100%;
    background: #ffcccc;
}

.extra-pages:before,
.extra-pages:after {
    content: "";
    background: #ffffcc;
    box-shadow: 0 0 8px rgba(0,0,0,0.2), inset 0 0 300px rgba(222,198,122,0.7);
    height: 50%;
    width: 90%;
    position: absolute;
    z-index: -2;
    transition: .5s;
}

.extra-pages:before {
    left: -5px;
    top: 2px;
    transform: rotate(-1.5deg);
}

.extra-pages:after {
    right: -3px;
    top: 0px;
    transform: rotate(2.4deg);
}

.extra-pages:hover:before {
  transform: rotate(0deg);
  border: solid rgba(111,99,61,0.4);
  border-width: 0 0 0 1px;
  left: -6px;
  top: -6px;
}

.extra-pages:hover:after {
  transform: rotate(0deg);
  border: solid rgba(111,99,61,0.4);
  border-width: 0 0 0 1px;
  right: 3px;
  top: -3px;
}

header {
    padding-left: 104px;
}

header h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    padding: 16px 0;
}

section {
    background-image: repeating-linear-gradient(#cce0ff, #cce0ff 2px, transparent 2px, transparent 2rem);
    background-attachment: local;
    background-size: 32px 32px;

    padding-left: 104px;
    font-size: 18px;
    line-height: 1.8;
    padding-top: 6px;
}

section p {
    max-width: 528px;
    margin-bottom: 16px;
}

h2 {
        font-size: 36px;
    margin-bottom: 13px;
}

code {
    background-color: yellow;
}

.doodles :nth-child(1) {
  position: absolute;
  left: -8px;
  top: 96px;
  width: 100px;
  height: 100px;
}

.doodles :nth-child(2) {
  position: absolute;
  right: 16px;
  top: 45%;
  width: 128px;
  height: 128px;
}
