@charset "UTF-8";
:root {
  --gap: 5vw;
  --half-gap: 2.5vw;
  --bg-color: black;
}

* {
  box-sizing: border-box;
}

@font-face {
  /* Lizenzgeberin «Deutschschweizer Basisschrift»: „NW EDK / EDK-Ost / BKZ, https://basisschrift.ch/ */
  font-family: "DCH";
  font-weight: 700;
  font-style: normal;
  src: url("font.woff") format("woff");
}
html,
body {
  margin: 0px;
  padding: 0px;
  font-family: "DCH";
  font-style: normal;
  font-weight: 400;
}

html {
  width: 100%;
  height: 100%;
  max-height: 100svh;
  overflow: hidden;
  background-color: var(--bg-color);
  transition: background-color 1s ease-in-out;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.game {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8vw 4vw 4vw 4vw;
}
@media (max-width: 600px) {
  .game {
    flex-wrap: wrap;
    padding: 15vh 5vw 5vw 5vw;
    justify-content: center;
    flex: 1;
  }
}
.game .svg-container {
  width: 45vw;
  max-height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 600.01px) {
  .game .svg-container {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .game .svg-container {
    width: 90%;
    height: 45%;
    height: calc(50% - 2.5vw);
    align-items: center;
    justify-content: space-evenly;
  }
}
.game .svg-container svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.game .svg-container svg image {
  width: 100%;
  height: auto;
}
.game .svg-container svg .error-spot circle {
  stroke: transparent;
  -webkit-tap-highlight-color: transparent;
}
.game .svg-container svg .error-spot.found circle {
  stroke: limegreen !important;
  stroke-width: 10;
  -webkit-tap-highlight-color: transparent;
}
.game .svg-container svg .wrong-click {
  stroke: red;
  stroke-width: 10;
  fill: none;
  animation: blink 0.6s linear;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.show-missing .game .svg-container svg .error-spot:not(.found) circle {
  stroke: orange !important;
  stroke-width: 10;
}
.show-missing .game {
  pointer-events: none;
}

.progress-container {
  width: 25vw;
  height: 2.5vw;
  position: fixed;
  top: 2.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.6vw;
  margin-top: 0.3vw;
}
@media (max-width: 600px) {
  .progress-container {
    width: 40vw;
    height: 10vw;
    margin-top: 2.85vw;
    font-size: 8.85vw;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: center;
  }
}
.progress-container .progress-bar {
  color: #fff;
}
.progress-container .progress-bar span {
  display: inline-block;
  min-width: 3vw;
  text-align: center;
}
@media (max-width: 600px) {
  .progress-container .progress-bar span {
    min-width: 5vw;
  }
}

#help-button,
#pause-button,
.close-button,
.restart-button {
  position: absolute;
  display: block;
  top: 1.4vw;
  width: 5vw;
  aspect-ratio: 1/1;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}
@media (max-width: 600px) {
  #help-button,
  #pause-button,
  .close-button,
  .restart-button {
    top: 5vw;
    width: 10vw;
  }
}
#help-button:hover,
#pause-button:hover,
.close-button:hover,
.restart-button:hover {
  cursor: pointer;
}

#resume-button,
.resume-button {
  background-image: url(/spiel1/img/btn-resume.svg);
  width: 20vw;
  height: 20vh;
  background-position: center center;
  background-repeat: no-repeat;
}

.restart-button {
  right: 1.4vw;
  background-image: url(/spiel1/img/btn-close.svg);
}

#restart-button {
  background-image: url(/spiel1/img/btn-close.svg);
  width: 20vw;
  height: 20vh;
}

#again-button {
  background-image: url(/spiel1/img/btn-replay.svg);
  width: 20vw;
  height: 20vh;
}

#help-button {
  right: 7vw;
  background-image: url(/spiel1/img/btn-help.svg);
}
@media (max-width: 600px) {
  #help-button {
    right: 18vw;
  }
}

#pause-button,
.close-button,
.restart-button {
  right: 1.4vw;
  background-image: url(/spiel1/img/btn-close.svg);
}
@media (max-width: 600px) {
  #pause-button,
  .close-button,
  .restart-button {
    right: 5vw;
  }
}

#demo-panel,
#success-panel,
#nice-panel,
#pause-panel {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#demo-panel img,
#success-panel img,
#nice-panel img,
#pause-panel img {
  height: 50vw;
  width: 50vh;
  max-height: 70%;
  max-width: 70%;
  -o-object-fit: contain;
     object-fit: contain;
}
#demo-panel video,
#success-panel video,
#nice-panel video,
#pause-panel video {
  height: 80%;
  width: 80%;
  -o-object-fit: contain;
     object-fit: contain;
  background-color: #724A41;
  box-shadow: 0px 0px 0px 100vw #724A41;
  border-radius: 1.25vw;
}
#demo-panel .btn,
#success-panel .btn,
#nice-panel .btn,
#pause-panel .btn {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
#demo-panel .btn:hover,
#success-panel .btn:hover,
#nice-panel .btn:hover,
#pause-panel .btn:hover {
  cursor: pointer;
}

#nice-panel {
  pointer-events: none;
}

#demo-panel {
  background-color: #724A41;
  transition: all 1s ease-in-out;
}
#demo-panel video {
  transform: scale(2);
  transition: all 1s ease-in-out;
}
#demo-panel #info {
  background-image: url(/spiel1/img/btn-help.svg);
}

body.manual #demo-panel {
  opacity: 1;
  pointer-events: auto;
}
body.manual #demo-panel video {
  transform: scale(1);
}

#nice-panel {
  transition-delay: 0ms;
}

body.nice #nice-panel {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 500ms;
}

body.pause #pause-panel {
  opacity: 1;
  pointer-events: auto;
}

body.success #success-panel {
  opacity: 1;
  pointer-events: auto;
}
body.success > #help-button, body.success > #pause-button {
  opacity: 0;
}

canvas {
  position: absolute;
  height: 140%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}/*# sourceMappingURL=styles.css.map */