@font-face {
  font-family: 'Kiwi Maru';
  src: url('../font/KiwiMaru-Medium.woff') format('woff');
}

* {
  font-family: 'Kiwi Maru';
}

html {
  width: 100%;
  height: 100%;
  background-color: red;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  color: #212529;
  /* background-color: #f8f9fa!important; */
  background-color: #36373A !important;
  display: block;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  /* background-color: white; */

  background-image: url("../img/background.jpg");
  background-size: cover;
  background-position: center center;

  /* display: none; */
}

.progress {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: start;
  align-items: center;
}

.bar {
  width: 0%;
  height: 24px;
  background-color: aquamarine;
}

.loading_text {
  position: fixed;
  top: 60%;
  left: 0;
  width: 100%;
  height: 40%;
  display: flex;
  justify-content: center;
  align-items: start;
}

.loading_text img {
  /* width: 100%; */
}

.canvas_test {
  position: fixed;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  pointer-events: none;

  /* display: none; */
}

.list,
.exhibition {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8899fa !important;
  z-index: 1000;

  background-image: url("../img/background.jpg");
  background-size: cover;
  background-position: center center;
}

.list.active,
.exhibition.active {
  display: block;
}

.loading .logo,
.list .logo,
.exhibition .logo {
  padding-top: 30px;
  padding-bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: start;
}

.loading .logo img,
.list .logo img,
.exhibition .logo img {
  width: 78%;
}

@media (min-aspect-ratio: 10/16) {

  .list .logo img,
  .exhibition .logo img {
    display: none;
  }
}

.list .back_btn,
.exhibition .back_btn {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
}

@media (min-aspect-ratio: 10/16) {

  .list .back_btn,
  .exhibition .back_btn {
    width: 37px;
  }
}

.list .links {
  display: flex;
  max-width: 80%;
}

.list .links img {
  display: flex;
  max-width: 100% !important;
}

.list hr {
  border: 1px solid white;
  max-width: 80%;
  width: 300px;
}

.page {
  display: none;
  width: 100%;
  height: 100%;

  background-image: url("../img/background.jpg");
  background-size: cover;
  background-position: center center;
}

.page.conversation {
  background-image: url("../img/chara_background.jpg");
}

.page.active {
  display: block;
}

.page .containts {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page .logo {
  padding-top: 60px;
  padding-bottom: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: start;
}

.page.mode_select .logo {
  padding-top: 30px;
  padding-bottom: 30px;
}

.page .logo img {
  width: 78%;
}

.page .voice_btn,
.page .auto_skip_btn {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  display: none;
}

@media (min-aspect-ratio: 10/16) {

  .page .voice_btn,
  .page .auto_skip_btn {
    width: 53px;
  }
}

.page .voice_btn.active,
.page .auto_skip_btn.active {
  display: block;
}

.page.mode_select .voice_btn,
.page.mode_select .auto_skip_btn {
  position: relative;
  top: auto;
  left: auto;
}

.page .question {
  position: fixed;
  top: 23px;
  left: calc(50% - 55px);
  z-index: 100;
  display: none;
}

@media (min-aspect-ratio: 10/16) {
  .page .question {
    left: calc(50% - 46.5px);
    width: 93px;
  }
}

.page .question.active {
  display: block;
}

.page .list_btn {
  position: fixed;
  top: 21px;
  right: 12px;
  z-index: 100;
}

@media (min-aspect-ratio: 10/16) {
  .page .list_btn {
    width: 46px;
  }
}

/* Login */
.login .passcode_text {
  padding-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: start;
}

.login .passcode_text p {
  color: white;
}

.login .code-container {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.login .code {
  border-radius: 0px;
  font-size: 45px;
  height: 80px;
  width: 60px;
  border: 1px solid white;
  margin: 2%;
  text-align: center;
  font-weight: 300;
  color: white;
  background-color: rgba(255, 255, 255, 0.5);
  -moz-appearance: textfield;
}

.login .code::-webkit-outer-spin-button,
.login .code::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.login .code:valid {
  border-color: #3498db;
  box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.25);
}

/* Mode Select */
.mode_select .mode-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mode_select .mode-container>div {
  max-width: 75%;
  margin-bottom: 6px;
}

.mode_select .mode-container img {
  width: 100%;
}

.basic-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.basic-container img {
  max-width: 75%;
}

.basic-container>* {
  margin-top: 3px;
  margin-bottom: 3px;
}

.voice-credit {
  position: fixed;
  bottom: 24px;
}

.list .basic-container img,
.exhibition .basic-container img {
  max-width: 80%;
}

.list .basic-container>*,
.exhibition .basic-container>* {
  margin-top: 4px;
  margin-bottom: 4px;
}

/* Conversation */
.page.conversation .containts {
  justify-content: space-between;
}

.page.conversation .img_area {
  width: 100%;
}

.page.conversation .img_area img {
  width: 100%;
}

.page.conversation p {
  margin: 0;
  margin-bottom: 4px;
  font-size: 19px;
  font-weight: normal;
}

@media (min-aspect-ratio: 10/16) {
  .page.conversation p {
    font-size: 17px;
  }
}

.page.conversation .area {
  display: none;
  z-index: 10;
}

.page.conversation .text_area {
  width: 100%;
  margin-bottom: 20px;
  flex-direction: column;
  z-index: 12 !important;
}

.page.conversation .area.active {
  display: flex;
}

.page.conversation .bubble {
  box-sizing: border-box;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 20px;
  margin-right: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.3);
}

.bubble_icon {
  margin-left: 100px;
  height: 20px;
  margin-bottom: 1px;
}

.page.conversation .bubble .text {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100px;
}

.choice_text_area {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
  min-height: 150px;
  margin-top: 100px;
  margin-left: 20px;
  margin-right: 20px;
  z-index: 12 !important;
}

.choice_text_area p {
  color: white;
}

.text_area .buttons {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: inherit;
}

.skip_btn {
  width: 68px;
  align-self: start;
  display: none;
}

.skip_btn.active {
  display: block;
}

.next_btn {
  width: 63px;
  align-self: end;
  display: none;
}

.next_btn.active {
  display: block;
}

.choice_area {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-bottom: 20px;
  z-index: 12 !important;
}

.choice_area p {
  font-size: 19px;
}

@media (min-aspect-ratio: 10/16) {
  .choice_area p {
    font-size: 17px;
  }
}

.choice_btn {
  font-size: 19px;
  line-height: 19px;
  width: 84%;
  height: 50px;
  background-color: #b2ffec;
  border: 1px solid white;
  color: black;
  border-radius: 25px;
  box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.3);
  padding: 0;
  margin: 0.3rem 0;
  word-break: keep-all;
}

@media (min-aspect-ratio: 10/16) {
  .choice_btn {
    font-size: 17px;
    line-height: 17px;
    height: 40px;
    border-radius: 25px;
    margin: 0.2rem 0;
  }
}

.link_btn {
  width: 100%;
  /* display: flex; */

  display: none;
}

.link_btn.active {
  display: flex;
}

.link_btn img {
  max-width: 100%;
}




.restore_list {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-image: url("../img/restore_list.png");
  background-size: cover;
  background-position: center center;

  z-index: 90000;
}

.restore_list.active {
  display: block;
}

.force_exit {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-image: url("../img/force_exit.png");
  background-size: cover;
  background-position: center center;

  z-index: 90000;
}

.force_exit.active {
  display: block;
}