@font-face {
  font-family: "TrixiePlain";
  src: url("../fonts/TrixiePlain.eot");
  src: url("../fonts/TrixiePlain.eot?#iefix") format("embedded-opentype"), url("../fonts/TrixiePlain.woff2") format("woff2"), url("../fonts/TrixiePlain.woff") format("woff"), url("../fonts/TrixiePlain.ttf") format("truetype"), url("../fonts/TrixiePlain.svg#TrixiePlain") format("svg");
  font-weight: normal;
  font-style: normal;
}
* {
  box-sizing: border-box;
}

html {
  padding: 0;
  margin: 0;
}

body {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url(../images/paper.jpg);
  background-repeat: repeat;
  font-family: TrixiePlain, serif;
  color: #231F20;
}

a {
  color: #888;
}

header {
  background-color: #000;
  color: #fff;
}

header hgroup {
  max-width: 45rem;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 6.5em;
  min-height: 6em;
  background-image: url(../images/egbo-logo-invert.svg);
  background-repeat: no-repeat;
}

header h1 {
  font-size: 3em;
  font-weight: normal;
  margin: 0;
  line-height: 1em;
}

header h2 {
  font-size: 1.5em;
  font-weight: normal;
  margin: 0;
  line-height: 1em;
}

nav {
  background-image: url(../images/checkerboard.svg);
  background-repeat: repeat-x;
  background-size: 1rem;
  background-position: top;
  padding: 3rem 0 4rem 0;
}

nav ul {
  max-width: 45rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

nav li {
  display: inline-block;
  margin-right: 1em;
}

nav a {
  display: inline-block;
  background-color: #fff;
  background-image: linear-gradient(to bottom, rgba(230, 230, 230, 0.7), rgba(255, 255, 255, 0.5) 100%), url(../images/paper.jpg);
  padding: 1rem;
  border: 1px solid #ccc;
  transform: rotate(5deg);
  box-shadow: 0.2em 0.2em 0.5em rgba(0, 0, 0, 0.5);
  text-decoration: none;
  font-size: 1.5em;
  color: #444;
}

nav li:nth-child(2) a {
  transform: rotate(7deg);
}

nav li:nth-child(3) a {
  transform: rotate(-3deg);
}

nav a:hover {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(230, 230, 230, 0.7) 100%), url(../images/paper.jpg);
}

main {
  flex-grow: 1;
  background-image: url(../images/checkerboard.svg);
  background-repeat: repeat-x;
  background-size: 2rem;
  background-position: bottom;
  padding-bottom: 3rem;
}

main section {
  max-width: 45rem;
  margin: 0 auto;
}

footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

footer small {
  font-size: 1em;
}

.welcome {
  text-align: center;
  font-size: 1.5em;
}

.welcome img {
  max-height: 12em;
}

/*# sourceMappingURL=main.css.map */