@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
:root {
  --color-primary: #d0d7dd;
  --color-secondary: #4a589e;
  --color-bg-primary: #303030;
  --color-bg-secondary: #464646;
  --color-locked: #8690a0;
  --color-unlocked: #bbefff;
}

[data-color=green] {
  --color-rune: #93fc00;
}

[data-color=orange] {
  --color-rune: #ff7b00;
}

[data-color=blue] {
  --color-rune: #00bbf9;
}

[data-color=purple] {
  --color-rune: #bb46ff;
}

@font-face {
  font-family: "Rune";
  src: url("./fonts/tolkien_dwarf_runes/dwarf.ttf");
  font-weight: normal;
  font-style: normal;
}
body {
  margin: 0;
  background-color: var(--color-bg-secondary);
  color: var(--color-primary);
  font-family: "Montserrat", sans-serif;
  overflow-y: scroll;
  text-align: center;
}

.container {
  margin: 0 auto;
  max-width: 700px;
  min-height: 100vh;
  background-color: var(--color-bg-primary);
  box-shadow: 0 0 12px var(--color-bg-primary), 0 0 24px var(--color-bg-primary), 0 0 36px var(--color-locked);
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

header {
  padding: 10px;
  border-bottom: 1px solid var(--color-bg-secondary);
}

h1,
h2,
h3 {
  margin: 0;
  font-size: 1em;
  font-weight: normal;
  letter-spacing: 2px;
}

main {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

footer {
  padding: 10px;
  font-size: 0.7em;
}

#chest {
  width: 300px;
  margin: 60px 0;
  font-size: 56px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.handle-container {
  height: 235px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.handle-container :first-child {
  margin-bottom: 40px;
}
.handle-container :last-child {
  margin-top: 25px;
}

.fa-link {
  color: var(--color-locked);
}

.locked-animation {
  -webkit-animation: chain-wobble 0.6s both;
          animation: chain-wobble 0.6s both;
}

.fa-unlink {
  color: var(--color-unlocked);
  text-shadow: 0 0 2px var(--color-unlocked), 0 0 4px var(--color-unlocked), 0 0 6px var(--color-unlocked);
  -webkit-animation: puff-in-center 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) both;
          animation: puff-in-center 0.3s cubic-bezier(0.47, 0, 0.745, 0.715) both;
}

.unlocked-animation {
  -webkit-animation: chain-pulse 0.5s ease-in-out infinite both;
          animation: chain-pulse 0.5s ease-in-out infinite both;
}

@-webkit-keyframes chain-wobble {
  0%, 15% {
    transform: translateX(-8px) rotate(-10deg);
  }
  30% {
    transform: translateX(4px) rotate(6deg);
  }
  45% {
    transform: translateX(-3px) rotate(-8deg);
  }
  60% {
    transform: translateX(4px) rotate(3deg);
  }
  75% {
    transform: translateX(-1px) rotate(-2deg);
  }
  100% {
    transform: translateX(0%);
    transform-origin: 50% 50%;
  }
}

@keyframes chain-wobble {
  0%, 15% {
    transform: translateX(-8px) rotate(-10deg);
  }
  30% {
    transform: translateX(4px) rotate(6deg);
  }
  45% {
    transform: translateX(-3px) rotate(-8deg);
  }
  60% {
    transform: translateX(4px) rotate(3deg);
  }
  75% {
    transform: translateX(-1px) rotate(-2deg);
  }
  100% {
    transform: translateX(0%);
    transform-origin: 50% 50%;
  }
}
@-webkit-keyframes puff-in-center {
  0% {
    transform: scale(1.5);
    filter: blur(4px);
    opacity: 0;
  }
  50% {
    transform: scale(0.8);
    filter: blur(0px);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    filter: blur(0px);
    opacity: 1;
  }
}
@keyframes puff-in-center {
  0% {
    transform: scale(1.5);
    filter: blur(4px);
    opacity: 0;
  }
  50% {
    transform: scale(0.8);
    filter: blur(0px);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    filter: blur(0px);
    opacity: 1;
  }
}
@-webkit-keyframes chain-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes chain-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.rune {
  font-family: "Rune", sans-serif;
  font-size: 36px;
  color: #ffffff;
  height: 50px;
  width: 55px;
  padding-top: 15px;
  border-radius: 100%;
  -webkit-animation: rune-pulse 0.5s infinite alternate;
          animation: rune-pulse 0.5s infinite alternate;
}

@-webkit-keyframes rune-pulse {
  0% {
    text-shadow: 0 0 2px #fff, 0 0 4px var(--color-rune), 0 0 8px var(--color-rune), 0 0 12px var(--color-rune), 0 0 16px var(--color-rune), 0 0 32px var(--color-rune);
    box-shadow: 0 0 1px var(--color-rune), 0 0 3px var(--color-rune);
  }
  100% {
    text-shadow: 0 0 3px #fff, 0 0 4px #fff, 0 0 6px var(--color-rune), 0 0 12px var(--color-rune), 0 0 18px var(--color-rune), 0 0 24px var(--color-rune), 0 0 32px var(--color-rune), 0 0 48px var(--color-rune);
    box-shadow: 0 0 3px var(--color-rune), 0 0 4px var(--color-rune), 0 0 6px var(--color-rune);
  }
}

@keyframes rune-pulse {
  0% {
    text-shadow: 0 0 2px #fff, 0 0 4px var(--color-rune), 0 0 8px var(--color-rune), 0 0 12px var(--color-rune), 0 0 16px var(--color-rune), 0 0 32px var(--color-rune);
    box-shadow: 0 0 1px var(--color-rune), 0 0 3px var(--color-rune);
  }
  100% {
    text-shadow: 0 0 3px #fff, 0 0 4px #fff, 0 0 6px var(--color-rune), 0 0 12px var(--color-rune), 0 0 18px var(--color-rune), 0 0 24px var(--color-rune), 0 0 32px var(--color-rune), 0 0 48px var(--color-rune);
    box-shadow: 0 0 3px var(--color-rune), 0 0 4px var(--color-rune), 0 0 6px var(--color-rune);
  }
}
.fa-skull {
  position: absolute;
  bottom: 0;
  font-size: 0.9em;
  transition: font-size 0.1s;
}
.fa-skull:hover {
  transition: font-size 0.1s;
  font-size: 1em;
}

button {
  font-family: inherit;
  font-size: 100%;
  padding: 10px 14px;
  background-color: var(--color-secondary);
  box-shadow: 0 2px 10px var(--color-bg-secondary);
  color: inherit;
  border-style: none;
}
button:hover {
  cursor: pointer;
}

.button-pulse {
  -webkit-animation: button-pulse 1.5s infinite alternate;
          animation: button-pulse 1.5s infinite alternate;
}

@-webkit-keyframes button-pulse {
  0% {
    box-shadow: 0 0 3px #fff;
  }
  100% {
    box-shadow: 0 0 6px #fff, 0 0 6px #fff, 0 0 14px var(--color-secondary), 0 0 16px var(--color-secondary), 0 0 18px var(--color-secondary);
  }
}

@keyframes button-pulse {
  0% {
    box-shadow: 0 0 3px #fff;
  }
  100% {
    box-shadow: 0 0 6px #fff, 0 0 6px #fff, 0 0 14px var(--color-secondary), 0 0 16px var(--color-secondary), 0 0 18px var(--color-secondary);
  }
}
.text-block {
  margin-top: 60px;
  padding: 0 30px;
  max-width: 480px;
  text-align: justify;
  text-justify: auto;
}
@media screen and (min-width: 1024px) {
  .text-block {
    max-width: 768px;
  }
}
.text-block > div {
  margin-bottom: 30px;
}
.text-block > div > h3 {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-bg-secondary);
}
.text-block > div ul {
  margin-top: 16px;
}

ul {
  list-style-type: square;
  padding-left: 18px;
  margin: 0;
}

#hints {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
#hints-button:hover {
  cursor: pointer;
}
#hints-arrow {
  margin-left: 5px;
}/*# sourceMappingURL=style.css.map */