body {
  background: url("sbattsg_smudge_bg.jpg") black;
  background-size: 100%;
  font-family: "Times New Roman", serif;
}
html, body, input, button {
  cursor: url("boxinglove.png"), auto !important;
}
html, body {
  margin: 0;
  height: 100%;
}
#logo {
  font-size: 24px;
  color: yellow;
}
#logo img {
  display: inline-block;
}
#logo .cool {
  margin-right: 200px;
  margin-bottom: 20px;
  display: block;
}
.one-line {
  display: table-cell;
}
.one-line span {
  vertical-align: bottom;
}
#query {
  font-size: 32px;
  color: #3CFF00;
}
.row {
  margin-top: 3rem;
  margin-bottom: 6rem;
}
.cool-input {
  display: block;
  font-size: 24px;
  width: 100%;
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
}
.cool-button {
  background: #999999;
  border: 3px #CCCCCC outset;
  font-size: 24px;
  padding: 0.5rem 1rem;
}
.cool-button:active {
  background: #666666;
  border: 3px #AAAAAA inset;
}
#wrong {
  color: white;
  font-size: 32px;
  font-weight: bold;
  transition: opacity 1s ease-out;
  display: block;
  opacity: 0;
  pointer-events: none;
  margin-top: -150px;
  width: 550px;
  height: 200px;
  background-image: url("paperbg.png");
  background-size: 550px 200px;
  z-index: 10;
  position: relative;
}
#wrong span {
  background-image: url("paperface1.png");
  animation: face 0.3s steps(1, end) infinite;
  color: black;
  border-radius: 5px;
  display: block;
  height: 100%;
  width: 100%;
  padding-top: 60px;
  padding-right: 80px;
  padding-left: 190px;
  padding-bottom: 50px;
  font-family: verveine, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 35px;
  background-size: 550px 200px;
  background-repeat: no-repeat;
}
#wrong.wronged {
  animation: shake 2.5s;
  animation-iteration-count: 1;
  animation-play-state: running;
}
#wrong.long span {
  padding-top: 50px;
  line-height: 1.2;
}
#wrong.unwronged {
  margin-top: 50px;
  animation: shakeHappy 2.5s;
}
#wrong.unwronged span {
  animation: faceHappy 0.4s steps(1, end) infinite;
  font-size: 58px;
  line-height: 1;
  padding-top: 50px;
}
#wrong.wronger span {
  animation: faceHomestar 0.4s steps(1, end) infinite;
}
#wrong.had-enough-of-your-attitude {
  animation: none !important;
  opacity: 1 !important;
}
@keyframes shake {
  0% {
    opacity: 0;
  }
  1% {
    opacity: 1;
  }
  10% {
    transform: translate3d(-6px, 0, 0) rotate(-1deg);
  }
  
  20% {
    transform: translate3d(6px, 0, 0) rotate(1deg);
  }

  30%, 50%, 70% {
    transform: translate3d(-3px, 0, 0) rotate(-0.5deg);
  }

  40%, 60% {
    transform: translate3d(3px, 0, 0) rotate(0.5deg);
  }
  80% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes shakeHappy {
  0% {
    opacity: 0;
  }
  1% {
    opacity: 1;
  }
  10% {
    transform: translate3d(0, -6px, 0);
  }
  
  20% {
    transform: translate3d(0, 6px, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(0, -3px, 0);
  }

  40%, 60% {
    transform: translate3d(0, 3px, 0);
  }
  80% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
.fade-in {
  animation: fadeIn 2.5s;
}
@keyframes face {
  0% {
    background-image: url("paperface1.png");
  }
  40% {
    background-image: url("paperface2.png");
  }
}
@keyframes faceHappy {
  0% {
    background-image: url("paperface_happy1.png");
  }
  50% {
    background-image: url("paperface_happy2.png");
  }
  100% {
    background-image: url("paperface_happy1.png");
  }
}
@keyframes faceHomestar {
  0% {
    background-image: url("paperface_homestar1.png");
  }
  50% {
    background-image: url("paperface_homestar2.png");
  }
  100% {
    background-image: url("paperface_homestar1.png");
  }
}
#styles img {
  max-width: 200px;
}
#styles img:not(:last-child) {
  margin-right: 30px;
}
@media (max-width: 971px) {
  #wrong {
    width: 400px;
    height: 160px;
    background-size: 400px 160px;
    margin-left: -20px;
  }
  #wrong span {
    background-size: 400px 160px;
    padding-left: 140px;
    padding-right: 50px;
    padding-top: 30px;
    line-height: 1.2;
    font-size: 32px;
  }
}
@media (max-width: 767px) {
  #sweet img, #styles img {
    max-width: 50px;
    height: auto;
  }
  #wrong {
    width: 400px;
    height: 160px;
    margin-left: auto;
    margin-right: auto;
    background-size: 400px 160px;
  }
  #wrong span {
    background-size: 400px 160px;
  }
}
#preload_zone {
  opacity: 0.01;
}
#preload_zone img {
  width: 1px;
  height: 1px;
}
