
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500&family=Open+Sans:wght@300;400;500&display=swap');
:root {
  --bdr-radius: 35px;
  --c-blue-bg-a50: rgba(216, 224, 231, 0.5);
  --c-bluegray:  rgba(216, 224, 231);
  --c-darkgray: #3e3a39;
  --c-mint: #AEEBE1;
  --c-rose: #D85A56;
  --c-red: #FF4218;
  --c-gold: #EBB210;
  --c-vicgreen: #009FA8;
  --c-black: #000;
  --c-yellow: #F6E192;
  --c-ans-green: #1AC1C1;
  --c-ans-pink: #E86D6D;
  --c-ans-purple: #BBA5CD;
  --c-ans-gray: #ACBECC;
  
}
html, body{
  font-family: "Noto Sans TC", 'Open Sans', sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
}
*{
  box-sizing: border-box;
}
*:focus{
  border: none;
}
a{
  text-decoration: none;
}

a.btn{
  display: block;
  width: 150px;
  height: 54px;
  background: url('../img/button.png') no-repeat center center;
  background-size: 100% auto;
  color: var(--c-rose);
  font-weight: 500;
  border: 0;
  padding: 0;
  line-height: 42px;
  padding-right: 10px;
  text-align: center;
  margin-top: .5rem;
}
p{
  color: var(--c-black);
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.5;
  letter-spacing: 1px;
  font-weight: 300;
}
/* index */
 
.body-wrapper{
  width: 100%;
  height: 100vh;
  position: relative;
  border: 0px solid green;
}
.body-wrapper{
    background-image: url('../img/deco_craker.png'), url('../img/deco_money.png'), url('../img/bg/idx_1.png'), url('../img/bg/idx_2.png'), url('../img/bg/idx_3.png'), url('../img/bg/idx_4.png');
    background-repeat: no-repeat;
}
.idx-wrapper{
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0px solid blue;
}
 
/* index */
.logo{
  width: 100%;
  height: auto;
}
.idx-title{
  display: flex;
  align-items: center;
  justify-content: center; 
  margin: 1rem;
}
.idx-title img:last-child{
  margin-left: 1rem;
}
.btn-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  
  background-color: var(--c-blue-bg-a50);
  border-radius: var(--bdr-radius);
  padding: 1.0rem 0rem 1.0rem 1.5rem;
  margin: .5rem 0 .25rem 0;
}
.btn-wrapper a.btn{
  margin-right: 1.5rem;
}
.roulette {
  float: right;
}
.roulette-wrapper {
  position: relative;
  background: url('../img/goldbull.png') no-repeat center center;
  background-size: 100% auto;
}
.roulette img{
  width: 100%;
  height: auto;
}
.click_hint{
  position: absolute;
  z-index: 2;
  text-align: center;
  color: var(--c-darkgray);
  font-size: 80%;
}
.click_hint.hide{
  display: none;
}
.clickable{
  cursor: pointer;
}

/* ans */

.color-wrapper{
  background: gray;
  background: url('../img/bg/ans_dna_logo.png') no-repeat;
  background-position: left 1rem top 1rem;
  background-size: auto 3rem;
}

.color-wrapper, .photo-wrapper{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;    
}
.color-wrapper.green{ background-color: var(--c-ans-green); }
.color-wrapper.pink{ background-color: var(--c-ans-pink); }
.color-wrapper.purple{ background-color: var(--c-ans-purple); }
.color-wrapper.gray{ background-color: var(--c-ans-gray); }
.ans-wrapper{
  background-color: #fff;
  background-image: url('../img/bg/ans_bg1.png'), url('../img/bg/ans_bg2.png'), url('../img/bg/ans_bg3.png'), url('../img/bg/ans_bg4.png');
  background-repeat: no-repeat;
  background-position: left 0rem top 0rem, right 0 top 0, left 0 bottom 0, right 0 bottom 0;
  border-radius: var(--bdr-radius);

  height: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ans-wrapper .btn{
  margin-right: -.5rem;
}

.ans-note{
  border: 0px solid red;
  margin-bottom: 1rem;
  line-height: 42px;
}

.ans-bubble{
  display: inline-block;
  vertical-align: middle;
  width: 46px;
  height: 42px;
  background: no-repeat center center;
  background-size: 46px auto;
  margin-left: 4px;
}
.ans-bubble.green{ background-image: url('../img/ans1_pick.png'); }
.ans-bubble.pink{ background-image: url('../img/ans2_pick.png'); }
.ans-bubble.purple{ background-image: url('../img/ans3_pick.png'); }
.ans-bubble.gray{ background-image: url('../img/ans4_pick.png'); }
.ans-title{
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  height: 68px;
  background: no-repeat center center;
  background-size: auto 68px;
}
.ans-title.green{ background-image: url('../img/ans1_title.png'); }
.ans-title.pink{ background-image: url('../img/ans2_title.png'); }
.ans-title.purple{ background-image: url('../img/ans3_title.png'); }
.ans-title.gray{ background-image: url('../img/ans4_title.png'); }
p.ans-article, p.photo-article{
  text-align: center;
  color: var(--c-darkgray); 
  margin-top: 1rem;
}

.photo-wrapper{

  background-image: url('../img/bg/ans_bg5.png'), url('../img/bg/ans_bg6.png'), url('../img/bg/ans_bg7.png');
  background-repeat: no-repeat;
}
.photo-wrapper{
  background-size: 90px auto, 60px auto, 80px auto;
  background-position: right 0 top 0, left 0 bottom 0, right 0 bottom 0;  
  min-height: 500px;
}
p.photo-article{
  margin: 2rem auto;
}
.photo-tag{
  display: block;
  background-color: #000;
  border-radius: 20px;
  width: 130px;
  height: 40px;
  margin: .5rem auto;
  line-height: 40px;
}
.photo-tag.green{ background-color: var(--c-ans-green); }
.photo-tag.gray{ background-color: var(--c-ans-gray); }
.photo-tag.pink{ background-color: var(--c-ans-pink); }
.photo-tag.purple{ background-color: var(--c-ans-purple); }
.word-white{
  color: #fff;
  text-shadow: 0px 0px 5px rgba(0,0,0,0.25);
  font-weight: 300;
}
.photo{
  width: 90%;
  height: auto;
} 
.photo{
  max-width: 480px;
}

.photo-btn-wrapper{
  border: 0px solid red;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem auto 2rem auto;
  height: 90px;
  background: url('../img/deco_light2.png') no-repeat;
  background-size: 53px auto;
 
}
.photo-btn-wrapper{
  max-width: 375px;
  background-position: left 10% bottom 0;  
}
.ar-wrapper.green{ background-image: url('../img/ans1_deco.png'); background-position: left 15% top .5rem; }
.ar-wrapper.pink{ background-image: url('../img/ans2_deco.png'); background-position: left 15% top 1rem;  }
.ar-wrapper.purple{ background-image: url('../img/ans3_deco.png'); background-position: left 15% top 2rem; }
.ar-wrapper.gray{ background-image: url('../img/ans4_deco.png'); background-position: left 15% top 1.5rem; }
/* popup */
.mask{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  overflow: hidden;
  z-index: 9;
  display: flex;
  justify-content: center;
}
.mask.hide{
  display: none;
}
.popup{
  background: var(--c-yellow);
  overflow-y: auto;
  position: relative;
}

.p-close{
  display: block;
  width: 36px;
  height: 36px;
  /* margin-left: auto; */
  /* margin-right: 1rem;  */
  /* margin-top: 1rem; */
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.p-close img{
  width: 100%;
  height: auto;
}
.p-title{
  border: 0px solid red;
  margin-top: 0rem;
  width: 100%;
  height: 230px;
  background: url('../img/popup/p_bg.png')  no-repeat;
  background-size: 320px auto;
  background-position: left -1.2rem top 0.5rem;  
  padding-top: 2rem;
  padding-left: 2rem;
}
.p-title-img{
  width: 240px;
  height: auto;
}
.p-title-txt{
  font-size: 1.2rem;
  color: var(--c-rose);
  font-weight: 500;
  margin-top: -.75rem;
  margin-left: 20%;

}
.ar-icon{
  display: inline-block;
  vertical-align: middle;
  width: 2rem;
  height: 2rem;
  margin-left: .25rem;
  margin-top: -.5rem;
  background: url('../img/popup/p_aricon.png') no-repeat center center;
  background-size: 100% auto;
}
.p-align{
  margin: 0 auto;
  width: 80%;
}
.p-note{
  border: 0px solid blue;
  margin-bottom: 1.5rem;
}
.p-note .ar-icon{
  width: 1.5rem;
  height: 1.5rem;
}
.p-wrapper{
  background: #fff;
  border: 2px solid var(--c-red);
  border-radius: var(--bdr-radius);
  box-shadow: 1rem 1rem 0 var(--c-mint) ;
  padding: 1rem;
  margin-right: 12%;
  margin-left: auto;  
  margin-bottom: 3rem;
}
.p-ar-guide{
  display: flex;
  justify-content: flex-start;
  align-items: center;

}
.p-ar-guide img{
  width: 100px;
  height: auto;
  margin-right: .5rem;
}
.p-ar-guide p, .p-note{
  font-size: 1rem;
  
}
.p-ar-guide p{
  color: var(--c-rose);
  font-weight: 400;
  width: 10rem;
}