@keyframes shake {
  0% {
    transform: translateX(0px); }
  20% {
    transform: translateX(22px); }
  40% {
    transform: translateX(-22px); }
  60% {
    transform: translateX(22px); }
  80% {
    transform: translateX(-22px); }
  100% {
    transform: translateX(0px); } }

@keyframes shake1 {
  0% {
    transform: scale(1) translateY(0); }
  33% {
    transform: scale(1.1) translateY(5px); }
  66% {
    transform: scale(1.15) translateY(-5px); }
  100% {
    transform: scale(1) translateY(0); } }

@keyframes shake2 {
  from {
    transform: scale(1); }
  to {
    transform: scale(1.2); } }

@keyframes shake3 {
  from {
    text-shadow: 0 0 0 red; }
  to {
    text-shadow: 0 0 10px red; } }

@keyframes flash-red {
  0% {
    color: inherit; }
  90% {
    color: inherit; }
  100% {
    color: red; } }

@keyframes invert {
  0% {
    filter: invert(0%); }
  90% {
    filter: invert(0%); }
  100% {
    filter: invert(100%); } }

.f-r {
  animation: flash-red 10s infinite; }

.animate span {
  display: inline-block; }

.animate span:nth-child(1) {
  animation-delay: 50ms; }

.animate span:nth-child(2) {
  animation-delay: 100ms; }

.animate span:nth-child(3) {
  animation-delay: 150ms; }

.animate span:nth-child(4) {
  animation-delay: 200ms; }

.animate span:nth-child(5) {
  animation-delay: 250ms; }

.animate span:nth-child(6) {
  animation-delay: 300ms; }

.animate span:nth-child(7) {
  animation-delay: 350ms; }

.animate span:nth-child(8) {
  animation-delay: 400ms; }

.animate span:nth-child(9) {
  animation-delay: 450ms; }

.animate span:nth-child(10) {
  animation-delay: 500ms; }

.shake1 span {
  animation: shake1 250ms infinite ease-in-out; }

.shake2 span {
  animation: shake2 250ms infinite ease-in-out; }

.shake3 span {
  animation: shake3 200ms infinite linear; }

#start {
  animation: shake3 2s infinite linear; }

.pull_right {
  float: right; }

.pull_left {
  float: left; }

#r {
  background: #333;
  color: white;
  animation: invert 20s infinite linear; }

#to a {
  text-decoration: none;
  color: #fff;
  padding: 3px 5px;
  display: inline-block; }

#b-c {
  background: #e0f2fe;
  padding-left: 5px;
  border-bottom: 1px solid #a2b6cf;
  white-space: nowrap; }
  #b-c > div {
    display: inline-block;
    margin: 0 10px 0 0;
    padding: 0 10px 0 0;
    box-shadow: 0 -1px 0 #fff inset; }
    #b-c > div:not(:last-child) {
      border-right: 1px solid #a2a8c5; }
  #b-c button {
    padding: 20px 0 0;
    background: #dce2fd;
    margin: 5px 2px;
    border-radius: 3px;
    border: 1px solid #abc7dd;
    position: relative;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 1px 0 #fff inset;
    min-width: 75px;
    text-align: center;
    overflow: hidden;
    font-size: 2em;
    text-shadow: 3px 3px 0 #a2a8c5; }
    #b-c button span {
      background: #c0d6f2;
      position: relative;
      bottom: -2px;
      left: 0;
      width: 100%;
      text-align: center;
      font-size: 12px;
      line-height: 20px;
      display: inline-block;
      text-shadow: 0 1px 0 #eee; }

#vpn {
  top: 195px;
  right: 0;
  width: 250px;
  height: 50px;
  position: absolute;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.5) inset;
  z-index: 101;
  border-radius: 7px; }
  #vpn.online .disconnect {
    display: none; }
  #vpn.offline .connect {
    display: none; }
  #vpn .connect,
  #vpn .disconnect {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    display: flex;
    align-items: center;
    padding: 0 0 0 20px;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 1px #000;
    position: absolute; }
  #vpn .connect {
    border: 2px solid blue;
    background: linear-gradient(#2E3192, #1bffff); }
  #vpn .disconnect {
    border: 2px solid red;
    background: linear-gradient(#D4145A, #FBB03B);
    animation: shake2 1s ease-in-out infinite; }

#game {
  z-index: 20;
  position: absolute;
  width: 100vw;
  background: #f1f1f1;
  transform: scale(0);
  transition: all 250ms ease-in-out;
  transform-origin: top left; }

#desk {
  background: #333;
  height: 100vh;
  position: absolute;
  width: 100vw;
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;
  z-index: 10; }

#tb {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  background: #c2c2c2;
  position: absolute;
  bottom: 0;
  align-items: center;
  font-size: 1.2em;
  letter-spacing: 10px; }
  #tb button {
    padding: 0 20px;
    font-weight: 700;
    border: 1px solid #000;
    margin: 5px;
    height: calc(100% - 10px);
    letter-spacing: initial;
    box-shadow: 2px 2px 0 white inset, 2px 2px 0 grey; }

#apps {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 400px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 0; }
  #apps button {
    background: 0 0;
    border: none;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    font-size: 2.5em;
    line-height: 0.85em;
    margin: 10px;
    width: 150px;
    padding: 20px 0 5px;
    cursor: pointer; }
    #apps button span {
      font-size: 13px; }
    #apps button:active span,
    #apps button:focus span {
      background: blue;
      color: white; }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

#logo {
  position: absolute;
  right: 75px;
  bottom: 100px;
  filter: drop-shadow(-10px 10px 10px #000); }

#sc {
  height: 20px;
  margin: 0 0 20px;
  position: relative;
  z-index: 10; }
  #sc #bg,
  #sc #fg {
    width: 100%;
    position: absolute;
    height: 100%; }
  #sc #bg {
    background: white; }
  #sc #fg {
    background: #c7deff;
    z-index: 10;
    width: 50%; }
  #sc svg#ma {
    position: absolute;
    z-index: 20;
    height: 100%;
    width: auto;
    left: 50%;
    margin-left: -10px; }
  #sc span {
    position: absolute;
    z-index: 30;
    color: white;
    font-size: 19px;
    display: block;
    line-height: 14px;
    padding: 0 10px; }

body {
  color: black;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: #e0e0e0; }
  body.go {
    background: #000;
    font-family: monospace;
    color: #fff;
    padding: 20px;
    font-size: 1.2em; }
    body.go:after {
      content: none; }
  body div#gc {
    background: white;
    width: 80%;
    max-width: 1020px;
    width: 80%;
    max-width: 1020px;
    min-height: 110vh;
    border-radius: 5px;
    box-shadow: 0 0 5px 1px #c2c2c2;
    left: 0;
    right: 0;
    margin: auto;
    position: relative;
    z-index: 30;
    padding: 100px; }
    body div#gc .in {
      color: grey;
      margin-bottom: 15px; }
      body div#gc .in p {
        margin: 0 0 10px; }
      body div#gc .in ol,
      body div#gc .in ul {
        padding-left: 0;
        list-style-position: inside; }
    body div#gc > span {
      display: block; }
      body div#gc > span > span {
        display: inline-block; }
    body div#gc span.good {
      color: green; }
      body div#gc span.good + span.bad {
        text-decoration: underline; }
    body div#gc span.bad {
      color: red; }
    body div#gc span.next {
      opacity: 0.5; }
      body div#gc span.next + .next + .next {
        opacity: 0; }
  body:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: radial-gradient(transparent 50%, rgba(255, 0, 0, 0.3));
    position: absolute;
    z-index: 2;
    top: 0;
    opacity: 0;
    transition: all 250ms ease-in-out; }
  body.bad:after {
    opacity: 1; }
  body.bad div#gc {
    animation: shake 250ms ease-in-out; }

div#box {
  width: 25px;
  height: 25px;
  display: block;
  margin: -25px 0 0 -25px;
  position: absolute;
  z-index: 101; }

#bd {
  position: absolute;
  background: black;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none; }
