@charset "UTF-8";
#virtual {
  background: #303a46;
}

#virtual.show .virtual {
  pointer-events: none;
}

.virtual-button .btn-arrange {
  top: 81%;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: auto;
}

button {
  transition: none;
}

.guide-info {
  z-index: 3;
  top: 33px;
  right: 17px;
}

.guide-info .char {
  right: 6px;
}

.guide-hand {
  display: none;
  position: absolute;
  z-index: 1000;
}

.guide-hand.show {
  display: block;
}

.guide-hand .hand {
  position: absolute;
  z-index: 3;
  left: 15px;
  top: -103px;
}

/* 가이드 손모양: 2번 깜박임(사라지지 않음) */
.guide-hand.blink-2 .hand,
.guide-hand.blink-2 .circle {
  animation-iteration-count: 2;
}

/* 1단계: 탄산 나트륨 증가 버튼 위치 */
#hand-step1 {
  left: 1100px;
  top: 342px;
}

/* 2단계: 염화 칼슘 증가 버튼 위치 */
#hand-step2 {
  left: 1100px;
  top: 430px;
}

/* 3단계: 반응 실행 버튼 위치 */
#hand-step3 {
  left: 953px;
  top: 528px;
}

/* 4단계: 초기화 버튼 위치 */
#hand-step4 {
  left: 1100px;
  top: 528px;
}

/* 6단계: 두 번째 실행 - 탄산 나트륨 */
#hand-step6-1 {
  left: 1100px;
  top: 342px;
}

/* 6단계: 두 번째 실행 - 염화 칼슘 */
#hand-step6-2 {
  left: 1100px;
  top: 430px;
}

/* 7단계: 두 번째 실행 - 반응 실행 */
#hand-step7 {
  left: 953px;
  top: 528px;
}

.media-container {
  display: flex;
  justify-content: center;
  gap: 75px;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.pot {
  height: 430px;
  width: 636px;
  padding: 0 12px;
  background-image: url(../img/m_s3_3_121/pot.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.water {
  position: relative;
  top: 33px;
  height: 90%;
  width: 100%;
  background-image: url(../img/m_s3_3_121/water.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.element {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-size: 100%;
  background-repeat: no-repeat;
  font-weight: normal;
}

.element.co3 {
  width: 75px;
  height: 75px;
  font-size: 18px;
  color: #002358;
  background-image: url(../img/m_s3_3_121/co.png);
}

.element.ca2 {
  width: 45px;
  height: 45px;
  font-size: 14px;
  color: #652d00;
  background-image: url(../img/m_s3_3_121/ca.png);
}

.element.na {
  width: 55px;
  height: 55px;
  font-size: 16px;
  color: #644900;
  background-image: url(../img/m_s3_3_121/na.png);
}

.element.cl {
  width: 60px;
  height: 60px;
  font-size: 16px;
  color: #204e01;
  background-image: url(../img/m_s3_3_121/cl.png);
}

/* 수조 내 입자: transform으로 위치 갱신 → 떨림 방지, GPU 가속 */
.water .element {
  left: 0;
  top: 0;
  will-change: transform;
}

.element p {
  margin-top: 0.4em;
}

/* 기본적으로 btn-area 클릭 차단 (1차 가이드 전/중 클릭 방지), 2차 가이드 실행 시 JS에서 해제 */
.btn-area {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  row-gap: 15px;
  background-color: #2c3744;
  border: 2px solid #4b5869;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 16.368px 17.552px 79px 0px rgba(27, 31, 35, 0.5);
}

.button-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 330px;
  height: 73px;
  padding: 0 20px;
  gap: 10px;
  background-image: url(../img/m_s3_3_121/btn-wrap.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.button-label {
  flex-grow: 1;
  width: 110px;
  font-size: 18px;
  text-align: center;
  line-height: 1;
  color: #fff;
  text-align: center;
}

.button-wrap-inner {
  flex-grow: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.btn-left {
  width: 76px;
  height: 40px;
  background-image: url(../img/m_s3_3_121/btn-left-on.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-right {
  width: 76px;
  height: 40px;
  background-image: url(../img/m_s3_3_121/btn-right-on.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.btn-left:disabled {
  background-image: url(../img/m_s3_3_121/btn-left.png);
}

.btn-right:disabled {
  background-image: url(../img/m_s3_3_121/btn-right.png);
}

/* 건너뛰기 */
.skip {
  position: absolute;
  bottom: 30px;
  left: 36px;
}

.skip.hide {
  display: none;
}

.btn-skip {
  background: url(../common/img/btn-skip.png) no-repeat center/contain;
  width: 124px;
  height: 54px;
  color: white;
  font-size: 17px;
  font-weight: 500;
  opacity: 1;
}

.bottom-button-wrap {
  margin-top: 25px;
}

.btn-reaction-start,
.btn-reaction-pause,
.btn-reaction-reset {
  width: 157px;
  height: 45px;
  color: #fff;
  font-size: 18px;
  background-image: url(../img/m_s3_3_121/btn-large.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-play {
  width: 25px;
  height: 25px;
  background-image: url(../img/m_s3_3_121/icon-play.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-pause {
  width: 25px;
  height: 25px;
  background-image: url(../img/m_s3_3_121/icon-pause.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-reset {
  width: 25px;
  height: 25px;
  background-image: url(../img/m_s3_3_121/icon-reset.png);
  background-size: contain;
  background-repeat: no-repeat;
}

#virtual1-guide.hide {
  display: block !important;
  animation: fadeOut 0.5s ease-out forwards;
}
