/* 배경 */
.baseLoadingBg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
#loadingBgBlack {
  background: #000;
}
#loadingBgWhite {
  background: #fff;
  opacity: 0;
}
#loadingBgRed {
  background: #f00;
  opacity: 0;
}
#flexWrap {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#logoTextWrap {
  width: 286px;
  height: 126px;
  margin: auto;
  position: relative;
}
#loadingYield {
  width: 100px;
  height: 46px;
  background: url(/CommonWebGL/yield.png) no-repeat center center !important;
  background-size: cover !important;
  position: absolute;
  left: 0;
  top: 45px;
  opacity: 0;
}
#loadingKingz {
  width: 102px;
  height: 47px;
  background: url(/CommonWebGL/kingz.png) no-repeat center center !important;
  background-size: cover !important;
  position: absolute;
  left: 184px;
  top: 44px;
  opacity: 0;
}
#loadingyHide {
  width: 23px;
  height: 46px;
  position: absolute;
  left: 0;
  top: 45px;
  background: #000;
  transform-origin: left bottom;
  opacity: 0;
}
#loadingkHide {
  width: 22px;
  height: 48px;
  position: absolute;
  left: 184px;
  top: 44px;
  background: #000;
  transform-origin: left top;
  opacity: 0;
}
#loadingIeldHide {
  width: 74px;
  height: 46px;
  position: absolute;
  left: 26px;
  top: 45px;
  background: #000;
  transform-origin: right center;
  opacity: 0;
}
#loadingIngzHide {
  width: 78px;
  height: 47px;
  position: absolute;
  left: 208px;
  top: 44px;
  background: #000;
  transform-origin: right center;
  opacity: 0;
}
#logoTopShape {
  width: 74px;
  height: 42px;
  background: url(/CommonWebGL/Kz_logo_01.png) no-repeat center center !important;
  background-size: cover !important;
  position: absolute;
  left: 105px;
  top: 0;
}
#logoNewShapeK {
  width: 31px;
  height: 80px;
  background: url(/CommonWebGL/Kz_logo_02.png) no-repeat center center !important;
  background-size: cover !important;
  position: absolute;
  left: 110px;
  top: 45px;
  opacity: 0;
}
#logoNewShapeZ {
  width: 30px;
  height: 80px;
  background: url(/CommonWebGL/Kz_logo_03.png) no-repeat center center !important;
  background-size: cover !important;
  position: absolute;
  left: 144px;
  top: 45px;
  opacity: 0;
}

#effect1 {
  width: 10px;
  height: 150vh;
  background: #fff;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(calc(-50% - 32px)) translateY(calc(-50% + 26px))
    rotate(-45deg);
  opacity: 0;
}
#effect2 {
  width: 10px;
  height: 150vh;
  background: #fff;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(calc(-50% + 32px)) translateY(calc(-50% + 30px))
    rotate(45deg);
  opacity: 0;
}
#secodnTextWrap {
  width: 100%;
  box-sizing: border-box;
  margin-top: 28px;
  height: 36px;
  position: relative;
}
.gauge {
  height: 2px;
  background: #fde029;
  position: absolute;
}
#gaugeMTop {
  left: 0;
  top: 0;
}
#gaugeMBottom {
  right: 0;
  bottom: 0;
  transform-origin: right center;
}
#gaugeTCenter {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  display: none;
}
#repeatTextWrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  padding: 0 10px;
}
.repeatText {
  background: #000;
  color: #fff;
  display: inline-block;
  line-height: 1;
  font-weight: bold;
  font-size: 16px;
  margin: 0;
  padding: 0;
  animation: slideBack ease infinite 1s;
}
.repeatText:nth-child(2) {
  animation-delay: 0.1s;
}
.repeatText:nth-child(3) {
  animation-delay: 0.2s;
}
.repeatText:nth-child(4) {
  animation-delay: 0.3s;
}
.repeatText:nth-child(5) {
  animation-delay: 0.4s;
}
.repeatText:nth-child(6) {
  animation-delay: 0.5s;
}
.repeatText:nth-child(7) {
  animation-delay: 0.6s;
}

@media screen and (min-width: 768px) {
  #logoTextWrap {
    width: 572px;
    height: 252px;
  }
  #loadingYield {
    width: 200px;
    height: 92px;
    left: 0;
    top: 90px;
  }
  #loadingKingz {
    width: 204px;
    height: 94px;
    left: 368px;
    top: 88px;
  }
  #loadingyHide {
    width: 46px;
    height: 92px;
    left: 0;
    top: 90px;
  }
  #loadingkHide {
    width: 44px;
    height: 94px;
    left: 368px;
    top: 88px;
  }
  #loadingIeldHide {
    width: 150px;
    height: 92px;
    left: 51px;
    top: 90px;
  }
  #loadingIngzHide {
    width: 156px;
    height: 94px;
    left: 416px;
    top: 88px;
  }
  #logoTopShape {
    width: 148px;
    height: 84px;
    left: 210px;
    top: 0;
  }
  #logoNewShapeK {
    width: 62px;
    height: 160px;
    left: 220px;
    top: 90px;
  }
  #logoNewShapeZ {
    width: 60px;
    height: 160px;
    left: 288px;
    top: 90px;
  }

  #effect1 {
    width: 20px;
    transform: translateX(calc(-50% - 90px)) translateY(calc(-50% + 28px))
      rotate(-43deg);
  }
  #effect2 {
    width: 20px;
    transform: translateX(calc(-50% + 90px)) translateY(calc(-50% + 28px))
      rotate(43deg);
  }
  #gaugeMTop {
    display: none;
  }
  #gaugeMBottom {
    display: none;
  }
  #gaugeTCenter {
    display: block;
  }
}

/* 씬클래스 */
.backScaleOriginAni {
  animation: backScaleOriginAni ease 1 forwards;
}
.opacityHideAni {
  animation: opacityHideAni ease 1 forwards;
}
.opacityShowAni {
  animation: opacityShowAni ease 1 forwards;
}
.hideScaleYAni {
  animation: hideScaleYAni ease 1 forwards;
}
.hideScaleXAni {
  animation: hideScaleXAni ease 1 forwards;
}

@keyframes slideBack {
  0% {
    transform: translateY(0);
  }
  33% {
    transform: translateY(-4px);
  }
  66%,
  100% {
    transform: translateY(0);
  }
}
@keyframes hideScaleXAni {
  from {
    opacity: 1;
    transform: scaleX(1);
  }
  to {
    opacity: 1;
    transform: scaleX(0);
  }
}

@keyframes hideScaleYAni {
  from {
    opacity: 1;
    transform: scaleY(1);
  }
  to {
    opacity: 1;
    transform: scaleY(0);
  }
}

@keyframes opacityHideAni {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes opacityShowAni {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes backScaleOriginAni {
  from {
    opacity: 1;
    transform: scale(20);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
