<template>
  <div id="Chapter1_1" class="content-wrap">
    <div class="title-box mb25 flex align-center mt40">
      <span class="title mr40">1. Hello WORLD</span>
      <span class="subtitle">my name is dd</span>
    </div>
    <div class="flex justify-between align-center">
      <div class="pre-btn" @click="goToPage('Chapter2_9')"><img src="../../../../resources/img/left.png" alt=""></div>
      <div class="content title-box">
        <p class="title mt25 title-bg">방문이 자물쇠로 잠겨져 있네? 세 개 중에 맞는 열쇠 하나를 찾아줘!</p>
        <p class="subtitle2 "></p>

        <div class="mt80 flex align-center justify-center" style="gap: 113px;">
          <div class="imgGroup">
            <div class="flex" style="gap: 60px;">
              <button><img src="../../../../resources/img/img82_42s.png" alt="">
                <p>1</p>
              </button>
              <button><img src="../../../../resources/img/img159_42s.png" alt=""></button>
              <button><img src="../../../../resources/img/img83_42s.png" alt="">
                <p>1</p>
              </button>
            </div>

          </div>
          <div class="pickGroup">
            <div>
              <article  class="flex justify-center" style="gap: 60px;">
                <img src="../../../../resources/img/img84_42s.png" alt="">
                <div class="flex">
                  <button><img src="../../../../resources/img/img136_71s.png" alt="">
                    <p>1</p>
                  </button>
                  <p>a</p>
                </div>
              </article>
              <article  class="flex justify-center" style="gap: 60px;">
                <img src="../../../../resources/img/img85_42s.png" alt="">
                <div class="flex">
                  <button><img src="../../../../resources/img/img136_71s.png" alt="">
                    <p>2</p>
                  </button>
                  <p>a</p>
                </div>
              </article>
              <article  class="flex justify-center" style="gap: 60px;">
                <img src="../../../../resources/img/img86_42s.png" alt="">
                <div class="flex">
                  <button><img src="../../../../resources/img/img136_71s.png" alt="">
                    <p>3</p>
                  </button>
                  <p>a</p>
                </div>
              </article>
            </div>

          </div>
        </div>
      </div>
      <div class="next-btn" @click="goToPage('Chapter2_11')"><img src="../../../../resources/img/right.png" alt=""></div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
    }
  },
  methods: {
    goToPage(page) {
      this.$router.push({ name: page });
    }
  },
  watch: {

  },
  computed: {

  },
  components: {
  },
  mounted() {

  }
}
</script>
<style scoped>
.imgGroup{width: fit-content;}
.imgGroup button {
  position: relative;
}

.imgGroup button p,
.textbox p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  height: fit-content;
  background: #ffffffb8;
  border-radius: 5px;
  padding: 10px;
  font-size: 48px;
  font-family: 'ONEMobilePOP';
}

.pickGroup button {
  position: relative;
  margin-right: 30px;
}

.pickGroup button p {
  font-size: 34px;
  color: #c6c6c6;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pickGroup article{margin-bottom: 50px;}
.pickGroup article img{object-fit: contain; width: -webkit-fill-available;}
.pickGroup article >div >p {
  font-size: 64px;
}
</style>