* {
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
}

html,
body {
  scroll-behavior: smooth;
  font-family: "Amazon Ember", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  position: absolute;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background-color: #292929;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
}

h1 {
  position: relative;
  display: block;

  font-size: 14px;
  line-height: 1;
  letter-spacing: 3px;
  text-align: center;
  font-weight: normal;
  text-align: center;

  margin: 0 auto;

  padding-left: 3px;
  width: 300px;

  color: #999;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.Center {
  text-align: center;
}

.Logo {
  position: relative;

  width: 120px;
  height: 120px;

  margin: 0 auto;

  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));

  transition: transform 0.1s ease-out;
}

.Logo:active {
  transform: scale(0.9);
}

.Logo:active .Blob {
  animation: none !important;
}

@media (hover: hover) {
  .Logo:hover {
    transform: scale(1.05);
  }

  .Logo:active {
    transform: scale(1);
  }
}

.Blobs {
  position: relative;

  display: inline-block;

  width: 120px;
  height: 120px;

  vertical-align: top;
}

.Blob {
  position: absolute;

  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  mix-blend-mode: screen;
  transform-origin: 50% 50%;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.Blob.R {
  animation: blob-turn-r 6s ease-in-out 1;
  background-image: url('images/r.svg');
}

.Blob.G {
  animation: blob-turn-g 6s ease-in-out 1;
  background-image: url('images/g.svg');
}

.Blob.B {
  animation: blob-turn-b 6s ease-in-out 1;
  background-image: url('images/b.svg');
}

.LogoTitle {
  position: relative;
  display: inline-block;

  height: 25px;
  text-align: center;
  filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.5));
  
  pointer-events: none;
}

.LogoTitle svg,
.LogoTitle img {
  height: 100%;
  width: auto;
}

@keyframes blob-turn-r {
  0% {
    transform: rotate(0deg);
  } 
  75% {
    transform: rotate(1080deg);
  } 
  100% {
    transform: rotate(1080deg);
  }
}

@keyframes blob-turn-g {
  0% {
    transform: rotate(0deg);
  } 
  75% {
    transform: rotate(720deg);
  }
  100% {
    transform: rotate(720deg);
  }
}

@keyframes blob-turn-b {
  0% {
    transform: rotate(0deg);
  } 
  75% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}