*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  font-family: sans-serif;
  font-size: 16px;
  background: #dcbf9c url(../img/texture-paper.jpg);
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font: 100%/1.375 Montserrat, AvenirNext-Regular, Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif;
  background: inherit;
  color: #111;
  min-height: 100%;
  box-sizing: border-box;
}
p { margin-left: 10}
a {
  background: transparent;
  color: #4183c4;
  text-decoration: none;
}
header {
  text-align: center;
  padding: 1em 5% 1em;
}
.heading {
  position: relative;
  color: #000;
  margin: 0;
  font-size: 2.5rem;
  padding: 0;
  font-family: Montserrat, AvenirNext-Bold, Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif;
  overflow: hidden;
}
.frd {
  position: relative;
}
.frd::after {
  content: "";
  position: absolute;
  top:0;right:0;bottom:0;left:0;
  background: url(../img/spatter.png) 0 center;
  z-index: 1;
}
.heading span {
  text-transform: uppercase;
  line-height: .8;
}
.logo,
.frd,
.heading span,
.heading span:nth-of-type(1),
.heading span:nth-of-type(2) {
  display: block;
}
.heading span:nth-of-type(1),
.heading span:nth-of-type(2),
.heading span:nth-of-type(3)::before,
.heading span:nth-of-type(3)::after {
  color: #d10012;
  animation-name: animate-color-1;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-fill-mode: both;
}
.heading span:nth-of-type(1) {
    font-size: 2.5rem;
    font-size: 4vw;
}
.heading span:nth-of-type(2) {
    font-size: 4rem;
    font-size: 5.25vw;
  }
.heading span:nth-of-type(3) {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  font-size: 4.5vw;
animation-name: animate-color-2;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-fill-mode: both;
}
.heading span:nth-of-type(3)::before,
.heading span:nth-of-type(3)::after {
  content: "\2605";
  position: absolute;
  font-size: .5em;
  top: 1rem;
}
.heading span:nth-of-type(3)::before {
  right: 0;
  margin-right: -1.125em;
}
.heading span:nth-of-type(3)::after {
  left: 0;
  margin-left: -1.2em;
}
img {
  max-width: 100%;
}
.logo:hover {
  animation-name: wobble;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}  
@keyframes animate-color-1 {
  0% {
  color: #d10012;
  }
  45% {
  color: #d10012;
  }
  50% {
    color: #fff;
  }
  95% {
    color: #fff;
  }
}
@keyframes animate-color-2 {
  0% {
  color: #000;
  }
  45% {
  color: #000;
  }
  50% {
    color: #fff;
  }
  95% {
    color: #fff;
  }
}
@keyframes wobble {
  0% {
    transform: none;
  }

  15% {
    transform: translate3d(-12.5%, 0, 0) rotate3d(0, 0, 1, -5deg);
  }

  30% {
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 3deg);
  }

  45% {
    transform: translate3d(-8%, 0, 0) rotate3d(0, 0, 1, -3deg);
  }

  60% {
    transform: translate3d(5%, 0, 0) rotate3d(0, 0, 1, 2deg);
  }

  75% {
    transform: translate3d(-2.5%, 0, 0) rotate3d(0, 0, 1, -1deg);
  }

  100% {
    transform: none;
  }
} 