@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/open-sans-v35-latin-300.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/open-sans-v35-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/open-sans-v35-latin-600.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

body {
  background: url(images/bg-grid.png) repeat, url(images/bg.png) repeat;
  background-color: #f8f4de;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

a {
  color: #08c;
  text-decoration: none;
}

a:hover {
  color: #ff4b33;
  text-decoration: underline;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.6;
}
h1 {
  font-size: 28px;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.6;
}
h2 {
  font-size: 26px;
  font-size: 1.625rem;
  letter-spacing: -0.05em;
}
h3 {
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
  border-bottom: 1px solid #e7e7e7;
  color: #f71570;
  padding-bottom: 0.5rem;
  clear: both;
}
h4,
h5,
h6 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
h4 {
  font-size: 21px;
  font-size: 1.3125rem;
}
h5 {
  font-size: 18px;
  font-size: 1.125rem;
}
h6 {
  font-size: 15px;
  font-size: 0.9375rem;
}
.page-header h1,
h1.page-header {
  border-bottom: 4px double #e7e7e7;
  margin-bottom: 2.5rem;
  padding-bottom: 0.875rem;
  margin-top: 2.5rem;
}
ul {
  line-height: 1.9;
  margin: 1.5rem 0;
  padding: 0 0 0 2.5rem;
}
ul {
  list-style: square;
}
ul ul {
  margin: 0.625rem 0;
}
.inner-wrapper,
.loop-meta,
.site-content {
  width: 1140px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
}
.site-header {
  background: #0b1636 url(images/header.svg) repeat-y;
  width: 100%;
  height: 180px;
  position: relative;
}
.site-header .inner-wrapper {
  height: inherit;
}
.site-header:after {
  background: url(images/header-bottom.png) repeat-x;
  content: "";
  width: 100%;
  height: 10px;
  position: absolute;
  bottom: -11px;
  left: 0;
  z-index: -1;
}
.site-title {
  margin: auto;
  flex: 1;
}
.site-title > a {
  background: url(images/logo.svg) no-repeat;
  display: block;
  width: 240px;
  height: 74px;
  margin-top: 0.9375rem;
  -webkit-filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
  transition: opacity 175ms ease;
  background-color: transparent;
  border: 0;
  overflow: hidden;
}
.site-title > a:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}
.site-title > a:hover {
  opacity: 0.85;
}
.site-title > a:active {
  transform: translate(1px, 1px);
}
.site-content {
  background: #fff;
  box-shadow: -2px 0 0 #fff, 1px 0 6px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  padding: 2.5rem;
  position: relative;
}
.site-content:before {
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  z-index: -1;
}
.site-main {
  -webkit-flex: 2;
  -moz-flex: 2;
  -ms-flex: 2;
  flex: 2;
  max-width: 534px;
}
.site-footer {
  background: #272727 url(images/footer.png) repeat;
  color: #e7e7e7;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
  margin-top: 5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.site-footer:before {
  background: url(images/header-bottom.png) repeat-x;
  content: "";
  width: 100%;
  height: 10px;
  position: absolute;
  top: -11px;
  left: 0;
  z-index: -1;
}
.footer-content {
  font-size: 21px;
  font-size: 1.3125rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-content .credit {
  flex: 1;
}
.footer-content a {
  color: #fff;
  border-bottom: 1px solid #555;
}
.footer-content a:hover {
  border-bottom-color: #fff;
  text-decoration: none;
}
.footer-content .credit {
  text-align: right;
}
.loop-meta {
  padding-top: 2.5rem;
  padding-bottom: 2.15rem;
}
.loop-title {
  color: #535348;
  font-weight: 300;
  margin: auto 0;
  flex: 2;
}
.loop-title {
  font-size: 26px;
  font-size: 1.625rem;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
}
.loop-description {
  color: #666659;
  font-size: 17px;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
  margin: auto 0;
  text-align: right;
  text-transform: uppercase;
  flex: 1;
}
.loop-description > span {
  color: #535348;
  font-size: 22px;
  font-size: 1.375rem;
  margin-left: 0.3125rem;
  text-transform: none;
}
.loop-description p {
  margin: 0;
}

.showcase-heading {
  background: linear-gradient(to top, #f9f9f9 1px, rgba(255, 255, 255, 0));
  border-bottom: 1px solid #eaeaea;
  margin: 1.5rem 0;
  padding-bottom: 0.625rem;
  letter-spacing: -0.05em;
}

@media (max-width: 72.5em) {
  .inner-wrapper,
  .loop-meta,
  .site-content {
    width: 100%;
  }
  .site-content {
    box-shadow: none;
  }
  .site-content:before {
    display: none;
  }
}
@media (max-width: 66em) {
  .site-main {
    max-width: 100%;
  }
}
@media (max-width: 55em) {
  .inner-wrapper,
  .loop-meta,
  .site-content {
    padding-left: 5rem;
    padding-right: 5rem;
    flex-direction: column;
  }
  .site-title {
    margin-top: 2.5rem;
  }
  .loop-description {
    margin-top: 0.875rem;
    text-align: left;
  }
  .footer-content .credit {
    text-align: left;
  }
}
@media (max-width: 35em) {
  body {
    font-size: 18px;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.8;
  }
  .inner-wrapper,
  .loop-meta,
  .site-content {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
@media (max-height: 768px) and (min-width: 55em) {
  .site-header {
    height: 160px;
  }
  .site-title a {
    background-size: 90% auto;
  }
}
