@font-face {
  font-family: "Tiki";
  src: url("assets/Tiki Tropic.ttf");
}
@font-face {
  font-family: "South Africa";
  src: url("assets/afrikas.woff");
}
.arial,
.arrow-btn {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  margin-top: -0.2em;
}
body {
  margin: 0;
  padding: 0;
  border: 0;
  background-color: #000;
  background-image: url("assets/texture3c.png");
  word-spacing: 0.5ch;
  font-family: "South Africa";
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}
ul {
  padding: 0;
  margin: 0;
  padding-left: 1ch;
}
h1,
h2,
h3,
h4 {
  margin: 10px 0;
}
h3 {
  font-size: 1.33em;
}
div,
input,
input::placeholder {
  color: #3a3836;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: transparent;
}
a,
a:hover,
a:active,
a:visited {
  color: #3a3836;
  text-decoration: none;
}
input:hover,
textarea:hover,
input:hover::placeholder {
  color: #6a6764;
}
input,
textarea {
  text-align: center;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  border: 3px solid #a5640a;
  padding-top: 0.2em;
  border-radius: 12px;
  width: 15ch;
  user-select: auto;
}
input:focus {
  outline: 0;
}
.column {
  flex-direction: column;
}
.hidden {
  display: none;
}
.panel {
  background: linear-gradient(to bottom left, #f9e5bd, #f8daa5);
  padding: 20px;
  border-radius: 20px;
  border: 3px solid #a5640a;
  margin: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}
.screen {
  position: relative;
  top: -7vh;
}
.two-column {
  flex: 100%;
}
.align-left {
  align-items: flex-start;
}
.ad-container {
  flex-direction: column;
  padding: 0.5em 1ch 1em;
  min-width: 320px;
  min-height: 278px;
}
.advertisementText {
  font-size: 0.7rem;
}
.ad-placeholder {
  background-color: #00008b;
  background-image: url("assets/ad-placeholder.jpg");
  width: 300px;
  height: 600px;
  position: fixed;
  right: 0;
}
.ad-placeholder-small {
  background-color: #00008b;
  background-image: url("assets/ad-placeholder-small.png");
  width: 300px;
  height: 250px;
}
#view-container {
  height: 100vh;
  align-items: flex-end;
  background-color: #66d5f9;
  background-image: url("assets/background03.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  position: relative;
}
#controls-container {
  position: fixed;
  bottom: 0;
  left: 0;
}
.btn,
.main-menu-btn,
.back-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1px 0;
  cursor: pointer;
  transition: transform 0.1s, filter 0.1s;
}
#share-section {
  transition: transform 0.1s ease-out;
}
.highlighted {
  transform: scale(1.1);
}
.btn {
  font-size: 1.1rem;
  word-spacing: initial;
}
.back-btn,
.btn {
  color: #3d2403;
  background-color: #d6b583;
  border: 3px solid #5a2704;
  border-radius: 12px;
  padding: 5px 8px 2px;
  margin: 2px;
  white-space: nowrap;
}
.back-btn:hover,
.btn:hover {
  filter: brightness(1.75);
}
.back-btn:active,
.btn:active {
  transform: scale(0.9);
}
.back-btn {
  position: absolute;
  left: 0.5ch;
  top: 1.3em;
  border-radius: 50%;
  background-image: url("assets/back.png");
  background-repeat: no-repeat;
  background-size: 1em;
  background-position: 0.18em 0.1em;
  width: 1.8em;
  height: 1.8em;
}
.keyboard-btn,
.chat-btn {
  color: #312f2c;
  border-radius: 0.4em;
  background-color: #c8c1b5;
  font-size: 0.75em;
  height: 1.8em;
  width: 1.8em;
  padding: 0.2em 0 0 0;
  border: 3px solid #747069;
  margin: 0.1em 0;
}
.arrow-btn {
  height: 1.4em;
  width: 1.4em;
  margin: 0 0.1ch;
  vertical-align: middle;
}
#login-google,
#login-facebook {
  padding-left: calc(8px + 1.3em);
  background-size: 1.3em;
  background-repeat: no-repeat;
  background-position: 3px 2.5px;
}
#login-google {
  background-image: url("assets/google-icon.png");
}
#login-facebook {
  background-image: url("assets/facebook.png");
}
.main-menu-btn {
  padding: 0 calc(1.3rem + 0.33ch);
  font-size: 1.3rem;
}
.main-menu-btn-selected {
  transform: scale(1.3);
  background-image: url("assets/ball2.png");
  background-repeat: no-repeat;
  background-size: 1.2rem;
  color: #00f;
}
.main-menu-btn-active {
  transform: scale(1);
}
#gui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}
#border-left,
#border-right {
  position: absolute;
  bottom: 0;
}
th,
td {
  padding: 5px 0.5ch;
  word-spacing: normal;
}
th {
  font-size: 0.8rem;
  font-weight: normal;
}
td {
  border-top: 1px solid #a49a8a;
}
.highscores-placement {
  text-align: right;
}
.highscores-self {
  color: #008000;
  font-weight: bold;
}
.highscores-image-cell {
  padding: 3px;
}
.highscores-image {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  border: 1px solid #beb097;
  background-size: 3.5em;
  background-position: -1.25em -0.5em;
}
.highscores-name {
  font-size: 1.1rem;
  width: 12ch;
}
.highscores-name,
.highscores-level,
.highscores-wins,
.highscores-matches {
  text-align: center;
}
.highscores-playtime {
  text-align: right;
  font-size: 0.8rem;
  text-align: right;
}
.left-wins,
.right-wins {
  font-size: 0.6em;
}
#opponent-level-right,
#opponent-level-left {
  font-size: 0.85em;
  word-spacing: initial;
}
.sound-btn,
#logout {
  background-size: cover;
  background-repeat: no-repeat;
  width: 1.5em;
  height: 1.5em;
  cursor: pointer;
  transition: transform 0.1s;
}
.sound-btn:hover,
#logout:hover {
  transform: scale(1.3);
}
.sound-btn:active,
#logout:active {
  transform: scale(1);
}
#logout {
  background-image: url("assets/logout.png");
}
#region-btn {
  width: 5ch;
  padding: 0.3em 0.5ch 0.1em;
  font-size: 0.8em;
}
.footer-elem,
.credits-elem {
  margin: 0 1.5ch;
}
.footer-elem div,
.credits-elem div {
  margin-bottom: 0.05em;
  font-size: 0.8em;
  margin-right: 1ch;
}
.footer-elem a,
.credits-elem a {
  transition: transform 0.1s;
}
.footer-elem a:hover,
.credits-elem a:hover {
  transform: scale(1.1);
}
.footer-elem a:active,
.credits-elem a:active {
  transform: scale(1);
}
#credits-link {
  transition: transform 0.1s;
}
#credits-link:hover {
  transform: scale(1.1);
}
#credits-link:active {
  transform: scale(1);
}
.credits-elem {
  margin-top: 0.5em;
}
.footer {
  padding: 0.6em 0 0.4em;
  border-radius: 14px;
  font-size: 0.8em;
  word-spacing: 0;
  margin: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}
li {
  margin: 0.2em 0;
}
.chest-container,
#chest {
  width: calc(308px * 0.7);
  height: calc(196px * 0.7);
}
#chest {
  background-image: url("assets/chest.png");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.1s;
  cursor: pointer;
}
#chest:hover {
  transform: scale(1.1);
}
#chest:active {
  transform: scale(1);
}
.chest-shaking {
  animation-name: chest-shake;
  animation-duration: 0.6s;
  transform-origin: center;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
#news {
  padding: 1em 1ch;
  white-space: normal;
  width: 280px;
  font-size: 0.7em;
}
#news h3 {
  font-size: 1.1em;
}
#news ul {
  flex-shrink: 0;
}
#news h2 {
  align-self: center;
  font-size: 1.3rem;
  margin: 0;
}
.scrollable {
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: scroll;
  max-height: 300px;
}
.scrollable::-webkit-scrollbar {
  width: 12px;
  border-radius: 6px;
  background: #c8c1b5;
}
.scrollable::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: #747069;
}
.coinIcon {
  width: 1.3em;
  height: 1.3em;
  background-image: url("assets/textures/coin.png");
  background-size: contain;
  margin-left: 0.2ch;
  margin-top: -0.2em;
}
.locked-item {
  width: 45%;
  height: 45%;
  background-image: url("assets/lock.png");
  background-size: contain;
  position: absolute;
  bottom: 5%;
  left: 0;
}
@-moz-keyframes chest-shake {
  0% {
    transform: translate(2%, 1%) rotate(0deg);
  }
  10% {
    transform: translate(-1%, -2%) rotate(-1deg);
  }
  20% {
    transform: translate(-3%, 0%) rotate(1deg);
  }
  30% {
    transform: translate(0%, 2%) rotate(0deg);
  }
  40% {
    transform: translate(1%, -1%) rotate(1deg);
  }
  50% {
    transform: translate(-1%, 2%) rotate(-1deg);
  }
  60% {
    transform: translate(-3%, 1%) rotate(0deg);
  }
  70% {
    transform: translate(2%, 1%) rotate(-1deg);
  }
  80% {
    transform: translate(-1%, -1%) rotate(1deg);
  }
  90% {
    transform: translate(2%, 2%) rotate(0deg);
  }
  100% {
    transform: translate(1%, -2%) rotate(-1deg);
  }
}
@-webkit-keyframes chest-shake {
  0% {
    transform: translate(2%, 1%) rotate(0deg);
  }
  10% {
    transform: translate(-1%, -2%) rotate(-1deg);
  }
  20% {
    transform: translate(-3%, 0%) rotate(1deg);
  }
  30% {
    transform: translate(0%, 2%) rotate(0deg);
  }
  40% {
    transform: translate(1%, -1%) rotate(1deg);
  }
  50% {
    transform: translate(-1%, 2%) rotate(-1deg);
  }
  60% {
    transform: translate(-3%, 1%) rotate(0deg);
  }
  70% {
    transform: translate(2%, 1%) rotate(-1deg);
  }
  80% {
    transform: translate(-1%, -1%) rotate(1deg);
  }
  90% {
    transform: translate(2%, 2%) rotate(0deg);
  }
  100% {
    transform: translate(1%, -2%) rotate(-1deg);
  }
}
@-o-keyframes chest-shake {
  0% {
    transform: translate(2%, 1%) rotate(0deg);
  }
  10% {
    transform: translate(-1%, -2%) rotate(-1deg);
  }
  20% {
    transform: translate(-3%, 0%) rotate(1deg);
  }
  30% {
    transform: translate(0%, 2%) rotate(0deg);
  }
  40% {
    transform: translate(1%, -1%) rotate(1deg);
  }
  50% {
    transform: translate(-1%, 2%) rotate(-1deg);
  }
  60% {
    transform: translate(-3%, 1%) rotate(0deg);
  }
  70% {
    transform: translate(2%, 1%) rotate(-1deg);
  }
  80% {
    transform: translate(-1%, -1%) rotate(1deg);
  }
  90% {
    transform: translate(2%, 2%) rotate(0deg);
  }
  100% {
    transform: translate(1%, -2%) rotate(-1deg);
  }
}
@keyframes chest-shake {
  0% {
    transform: translate(2%, 1%) rotate(0deg);
  }
  10% {
    transform: translate(-1%, -2%) rotate(-1deg);
  }
  20% {
    transform: translate(-3%, 0%) rotate(1deg);
  }
  30% {
    transform: translate(0%, 2%) rotate(0deg);
  }
  40% {
    transform: translate(1%, -1%) rotate(1deg);
  }
  50% {
    transform: translate(-1%, 2%) rotate(-1deg);
  }
  60% {
    transform: translate(-3%, 1%) rotate(0deg);
  }
  70% {
    transform: translate(2%, 1%) rotate(-1deg);
  }
  80% {
    transform: translate(-1%, -1%) rotate(1deg);
  }
  90% {
    transform: translate(2%, 2%) rotate(0deg);
  }
  100% {
    transform: translate(1%, -2%) rotate(-1deg);
  }
}
#hud-container {
  position: fixed;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: flex-start;
}
#hud {
  align-items: center;
}
.hud-separator {
  margin: 10px;
  align-items: center;
}
.hud-half {
  min-width: 200px;
  justify-content: space-between;
  align-items: center;
}
.ball-container {
  position: relative;
  margin: 6px;
  width: 64px;
  height: 64px;
  cursor: pointer;
  background-color: #d6b583;
  border: 3px solid #85817c;
  border-radius: 6px;
  transition: transform 0.1s, border-color 0.2s;
}
.ball-container:hover {
  border-color: #fff;
}
.ball-container:active {
  transform: scale(0.9);
}
.ball {
  width: 95%;
  height: 95%;
  background-size: contain;
  background-repeat: no-repeat;
}
.ballSelected {
  transform: scale(1.15);
  border-color: #5a2704;
}
.opponent-preview-container,
.characterItem {
  position: relative;
  overflow: hidden;
  margin: 6px;
  width: 64px;
  height: 64px;
  cursor: pointer;
  background-color: #d6b583;
  border: 3px solid #85817c;
  border-radius: 6px;
  transition: transform 0.1s, border-color 0.2s;
}
.characterItem:hover {
  border-color: #fff;
}
.characterSelected {
  transform: scale(1.15);
  border-color: #5a2704;
}
.characterItem:active {
  transform: scale(0.9);
}
.character-p1 {
  border-color: #008000;
}
.character-p2 {
  border-color: #00f;
}
.character-both {
  border-top-color: #008000;
  border-left-color: #008000;
  border-bottom-color: #00f;
  border-right-color: #00f;
}
.character-frozen {
  filter: grayscale(100%);
}
.characterMark {
  font-family: 'Tiki';
  font-size: 62px;
  margin-bottom: 14px;
}
.opponent-preview-container {
  margin: 0;
  width: 80px;
  height: 80px;
  cursor: unset;
  border-color: #5a2704;
}
#opponent-preview-1,
#opponent-preview-2,
.characterImage {
  width: 200%;
  height: 200%;
  filter: drop-shadow(0 0 0 #000);
  flex-shrink: 0;
  margin: 30% 37% 0 0;
}
#player-name {
  font-size: 1.33rem;
  font-weight: bold;
}
.stats-elem {
  margin: 5px 10px;
  font-weight: bold;
  font-size: 1.1em;
  letter-spacing: 0.05ch;
  word-spacing: -0.2ch;
}
.progress-bar {
  border: 3px solid #3a3836;
  border-radius: 9px;
  width: 100%;
  font-size: 0.9em;
  padding: 3px 0 0px;
  color: #3a3836;
  background-size: 200%;
  margin: 2px 0;
}
#opponent-name-1,
#opponent-name-2 {
  font-size: 1.5rem;
}
.end-match-score {
  width: 150px;
  justify-content: space-between;
}
.share-button {
  height: 1.5em;
  margin: -0.2em 0.2ch 0 -0.35ch;
}
.preload-container {
  margin: 0.3em 0.5ch;
  position: relative;
  height: 3.3em;
  align-items: flex-start;
}
.preload-ball {
  width: 1.3em;
  height: 1.3em;
  background-image: url("assets/ball2.png");
  background-size: contain;
  -webkit-animation: preload-animation 1s linear infinite;
  animation: preload-animation 1s linear infinite;
}
.preload-shadow {
  position: absolute;
  bottom: 0;
  width: 1.3em;
  height: calc(1.3em / 5);
  border-radius: 50%;
  background-color: rgba(0,0,0,0.502);
  -webkit-animation: preload-shadow-animation 1s linear infinite;
  animation: preload-shadow-animation 1s linear infinite;
}
@-moz-keyframes preload-animation {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(0, 2em);
    transform: translate(0, 2em);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@-webkit-keyframes preload-animation {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(0, 2em);
    transform: translate(0, 2em);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@-o-keyframes preload-animation {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(0, 2em);
    transform: translate(0, 2em);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@keyframes preload-animation {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  0% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(0, 2em);
    transform: translate(0, 2em);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}
@-moz-keyframes preload-shadow-animation {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  0% {
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
  }
  50% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
  }
}
@-webkit-keyframes preload-shadow-animation {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  0% {
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
  }
  50% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
  }
}
@-o-keyframes preload-shadow-animation {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  0% {
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
  }
  50% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
  }
}
@keyframes preload-shadow-animation {
  0%, 100% {
    animation-timing-function: cubic-bezier(0.45, 0, 0.9, 0.55);
  }
  0% {
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
  }
  50% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    animation-timing-function: cubic-bezier(0, 0.45, 0.55, 0.9);
  }
  100% {
    -webkit-transform: scale(0.5, 0.5);
    transform: scale(0.5, 0.5);
  }
}
.chat-btn {
  font-size: 1.3rem;
}
.chat-label {
  margin: 0 0.5ch;
  border-radius: 20px;
  padding: 0.4em 0.5ch 0.2em;
}
/*# sourceMappingURL=main.css.map */