@font-face {
  font-family: pixel_font;
  src: url("./pixelmix.ttf");
}


html {
  font-size: calc(1.4vmin + 0.5px);
  background-color: black;
}

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: pixel_font, "arial";
}

.container {
  width: min(960px, 100vw);
  /* aspect-ratio: 16/10; */
  background-color: black;
  color: white;
  position: relative;

  font-family: pixel_font, "arial";

}

@supports (aspect-ratio : 16/10) {
  .container {
    aspect-ratio: 16/10;
  }
}

@supports not (aspect-ratio : 16/10) {
  .container {
    height: 0px;
    overflow: hidden;
    padding-top: 44.7%;
  }

  .page {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

a {
  color: white;
  text-decoration: none;
}

a:hover,
a:focus {
  color: gray;
}

.btn_start {
  padding: 1rem 2rem;
  border: 0.125rem solid white;
}

.page {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  font-family: pixel_font, "arial";
}

.counter {
  position: absolute;
  right: 30px;
  top: -30px;
  color: red;
}

.hide {
  display: none !important;
}

.invis {
  opacity: 0 !important;
}

.level_container {
  text-align: left;
  margin: 2rem 0px;
}

.level_container a {
  display: block;
  text-decoration: none;
}

.tell_instruction {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 3rem;
}

.page_instruction p {
  text-align: left;
}

.timer {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 20%;
  min-width: 16%;
  min-height: 5%;
  border: 0.1875rem solid white;
  padding: 0.1875rem;
}

.timer_bar {
  position: absolute;
  width: calc(100% - 0.25rem);
  height: calc(100% - 0.4rem);
  min-height: 5%;
  background-color: white;
  right: 0.1875rem;
}

.question_container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.question_text {
  position: absolute;
  top: 45%;
  left: 2rem;
  font-size: 2rem;
  line-height: 1.5;
}

.btn_yes {
  cursor: pointer;
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 20%;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
}

.btn_yes.swap {
  left: 50%;
}

.btn_no {
  cursor: pointer;
  position: absolute;
  bottom: 0px;
  left: 50%;
  height: 20%;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
}

.btn_no.swap {
  left: 0px;
}

.btn_deselect {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
}

.selected {
  background-color: darkgray;
}

.selected:hover,
.selected:focus {
  color: white;
}

.cover_correct {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background-color: yellow;
}

.cover_wrong {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background-color: red;
}

.cover_none {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background-color: black;
}

.no_select {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.btn_restart {
  text-decoration: none;
  cursor: pointer;
}

.score {
  font-size: 2rem;
}

.btn_restart {
  margin-top: 3rem;
  font-size: 1.5rem;
}

.btn_level {
  font-size: 1.875rem;
  margin: 2rem;
}

.instruction_element,
.instruction_element_dummy {
  font-size: 1.3125rem;
  margin: 2.5rem;
}

.instruction_element_title {
  font-size: 2rem;
}

.video_logo {
  width: 95vmin;
  aspect-ratio: 600 / 188;
  height: auto;
}

.video_deer {
  width: 40vmin;
  aspect-ratio: 200 / 166;
  height: auto;
}