@import url("https://webfontworld.github.io/SCoreDream/SCoreDream.css");
@font-face {
  font-family: "HGGGothicssiP60g";
  src: url("../font/HGGGothicssi_60g.ttf") format("opentype");
}
@font-face {
  font-family: "HGGGothicssiP20g";
  src: url("../font/HGGGothicssi_20g.ttf") format("opentype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "HGGGothicssiP60g", "SCoreDream", Arial, Helvetica, sans-serif;
}

ol,
ul {
  list-style: none;
}

body {
  overflow-x: hidden;
  background: #000;
}
a {
  text-decoration: none;
}

#wrap {
  width: 100%;
  background: #02172e;
}

button {
  background: none;
  cursor: pointer;
  border: none;
}
img {
  width: 100%;
  vertical-align: bottom;
  pointer-events: none;
}

.pc {
  display: block;
}

.mo {
  display: none;
}
.contents-wrap {
  position: relative;
}
#tab {
  background: #17223d;
  width: 100%;
  height: 70px;
  position: sticky;
  top: 0;
  transform: translateY(-2px);
  z-index: 2;
}
.contents-wrap.active #tab {
  position: sticky;
  top: 0;
  left: 0;
  transform: translateX(0%);
}

.tab-wrap {
  width: 55%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab-wrap li {
  width: 33.33%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8dafd1;
  font-weight: 400;
  font-size: 26px;
  cursor: pointer;
}
.tab-wrap li.active {
  background: #ff133b;
  color: #fff;
}
.app-ver .tab-wrap li {
  width: 50%;
}

.show-btn {
  width: 1320px;
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translateX(-50%);
}
/* 컨텐츠 */
.inner {
  width: 1320px;
  margin: 0 auto;
}
.section {
  position: relative;
}

.content {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  /* border: 1px solid red; */
}
.content button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /* border: 1px solid blue; */
}
/* live */
.video-wrap {
  width: 55%;
  position: absolute;
  top: 7.2%;
  left: 50%;
  transform: translateX(-50%);
}
.video-wrap .video {
  width: 100%;
}

/* event */
.content-top {
  top: 0;
  height: 50%;
}
.result-wrap {
  width: 20%;
  /* height: 5%; */
  /* border:  1px solid red; */
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
}
.getResult-btn {
  top: 37.6%;
  width: 25%;
  height: 2.2%;
}
.refresh {
  width: 14%;
  position: absolute;
  top: 30%;
  right: 12%;
}

.refresh.active {
  animation: 1s rotateImg forwards;
  animation-iteration-count: 3;
}

@keyframes rotateImg {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.vote-area {
  width: 75%;
  height: 41%;
  position: absolute;
  top: 42.8%;
  left: 50%;
  transform: translateX(-50%);
  /* border: 1px solid blue; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.radioBtn {
  width: 31%;
  height: 23%;
  display: flex;
  align-items: end;
  justify-content: center;
  cursor: pointer;
}
.vote-area input {
  display: none;
}
.vote-area input + label {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../img/radio.png) no-repeat center / 100%;
  cursor: pointer;
  pointer-events: none;
}
.vote-area input:checked + label {
  background-image: url(../img/radio_on.png);
}
.vote-btn {
  width: 62%;
  height: 4%;
  bottom: 9.5%;
}

.content-bottom {
  bottom: 0;
  height: 100%;
}
.join-btn {
  width: 62%;
  height: 4%;
  top: 48.5%;
}
.share-wrap {
  width: 22%;
  height: 4%;
  position: absolute;
  bottom: 68.8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-wrap button {
  position: static;
  transform: translateX(0);
  width: 50%;
  height: 100%;
}

/* lineup */
.video-wrap.video-wrap2 {
  top: 9.5%;
}
#lineup .content {
  display: flex;
  width: 55%;
  top: 28%;
}
#lineup .content .swiper-slide {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
}

#lineup .content .swiper-slide p {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  font-family: "HGGGothicssiP20g";
}
#lineup .content .swiper-slide .poster {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}
#lineup .content .swiper-slide .logo {
  width: 50%;
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
}
.swiper-button-next {
  right: -5%;
}
.swiper-button-prev {
  left: -5%;
}
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  top: 56%;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 30px;
}
#lineup .content-bottom {
  height: 32%;
  top: auto;
}
.first-btn {
  width: 62%;
  height: 8%;
  top: 0;
}

.share-wrap2 {
  top: 27.5%;
  height: 9%;
}
/* 투표 완료 팝업 */
.conpetti-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.conpetti-wrap canvas {
  width: 100%;
  height: 100%;
  z-index: 2;
  position: relative;
  pointer-events: none;
}
.done-popWrap {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.done-popWrap .done-pop {
  position: relative;
}
.closeBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
}
.doneBtn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80px;
}

/* 응모 팝업 */
.popup-wrap {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup {
  min-width: 1200px;
  /* height: 826px; */
  height: 782px;
  margin: 0 auto;
  position: relative;
}

.popup > img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.popup .close-btn,
.confirmPop .close-btn {
  position: absolute;
  right: 40px;
  top: 40px;
  z-index: 10;
  width: 40px;
  height: auto;
}

.popup .contents-wrap {
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 204px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.popup .input-wrap {
  width: 566px;
  margin: 0 auto;
}

.popup .input-wrap input {
  width: 100%;
  height: 52px;
  /* background: #fff; */
  padding: 0 10px;
  background: none;
  border: none;
  font-size: 15px;
}

.popup .input-wrap input.active {
  background: #fff;
  border: 1px solid #707070;
}

.popup .input-wrap input:not(:last-of-type) {
  margin-bottom: 10px;
}

.popup .contents-wrap .bottom-cont {
  width: 100%;
}
.popup .contents-wrap .bottom-cont .desc {
  width: 320px;
  margin: 0 auto;
}
.popup .contents-wrap .bottom-cont .desc-wrap {
  width: 566px;
  height: 210px;
  margin: 0 auto;
  overflow-y: auto;
  margin-bottom: 30px;
}
.scrollBar {
  width: 200px;
  height: 200px;
  overflow-y: scroll;
}

/* 아래의 모든 코드는 영역::코드로 사용 */
.popup .contents-wrap .bottom-cont .desc-wrap::-webkit-scrollbar {
  width: 8px; /* 스크롤바의 너비 */
}

.popup .contents-wrap .bottom-cont .desc-wrap::-webkit-scrollbar-thumb {
  height: 30%; /* 스크롤바의 길이 */
  background: #b9b9b9; /* 스크롤바의 색상 */

  border-radius: 10px;
}

.popup .contents-wrap .bottom-cont .desc-wrap::-webkit-scrollbar-track {
  background: rgba(185, 185, 185, 0.2); /*스크롤바 뒷 배경 색상*/
}

.popup .contents-wrap .bottom-cont .check {
  width: 320px;
  margin: 0 auto;
  padding-left: 30px;
}

.popup .contents-wrap .bottom-cont input[type="checkbox"] {
  display: none;
}

.popup .contents-wrap .bottom-cont label {
  position: relative;
  display: flex;
  align-items: center;
}

.popup .contents-wrap .bottom-cont label img {
}

.popup .contents-wrap .bottom-cont label::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -30px;
  width: 25px;
  height: 25px;
  background: url(../img/pc/check.png) no-repeat center/cover;
  transform: translateY(-50%);
}

.popup
  .contents-wrap
  .bottom-cont
  input[type="checkbox"]:checked
  + label::before {
  background: url(../img/pc/check_active.png) no-repeat center/cover;
}

.popup .confirm-btn {
  width: 566px;
  margin: 0 auto;
  margin-top: 20px;
}

.popup-wrap .confirmPop {
  width: 566px;
  height: 306px;
  position: relative;
  padding-bottom: 30px;
}

.popup-wrap .confirmPop > img {
  position: absolute;
  top: 0;
  left: 0;
}

.popup-wrap .confirmPop .contents-wrap {
  width: 468px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: flex-end;
}

/* ==============================================모바일==================================================== */
@media screen and (max-width: 1200px) {
  .pc {
    display: none;
  }
  .mo {
    display: block;
  }

  #wrap {
    width: 100%;
  }

  .contents-wrap {
    width: 100%;
  }
  .content {
    width: 90%;
  }

  /* tab */
  #tab {
    width: 100%;
    height: 12vw;
  }

  .tab-wrap {
    width: 100%;
  }
  .tab-wrap li {
    font-size: 3.8vw;
  }

  .contents-wrap.active #tab::before {
    width: 100%;
    height: 14vw;
    top: -2vw;
  }

  .inner {
    width: 100%;
  }
  .show-btn {
    width: 100%;
  }

  /* live */
  .video-wrap {
    width: 90%;
    top: 6.2%;
  }

  /* event */
  .result-wrap {
    width: 30%;
    top: 23.8%;
  }
  .doneBtn {
    width: 87%;
    height: 24%;
    bottom: 11%;
  }
  .getResult-btn {
    width: 38%;
    top: 36.3%;
  }
  .refresh {
    top: 18%;
    right: 12%;
  }

  .vote-area {
    width: 90%;
    top: 41.5%;
    height: 39.5%;
    gap: 4% 0;
  }
  .radioBtn {
    height: 21%;
  }
  .vote-area input + label {
    width: 4vw;
    height: 4vw;
  }
  .vote-btn {
    width: 68%;
    height: 3.5%;
    bottom: 13.3%;
  }
  .join-btn {
    width: 68%;
    height: 3.2%;
    top: 47.8%;
  }
  .share-wrap {
    width: 35%;
    bottom: 68.5%;
    height: 4.2%;
  }
  /* lineup */

  .video-wrap.video-wrap2 {
    top: 9%;
  }
  #lineup .content {
    width: 100%;
    top: 24%;
    padding-left: 6%;
  }
  #lineup .content-bottom {
    height: 38%;
    top: auto;
  }
  .first-btn {
    width: 62%;
    height: 6%;
    top: 0;
  }

  .share-wrap2 {
    width: 34%;
    top: 25.8%;
    height: 9%;
  }

  /* 팝업 */
  .popup-wrap {
    padding: 5% 0;
    align-items: flex-start;
    overflow-y: scroll;
  }
  .popup,
  .popup-wrap .confirmPop {
    width: 86.7%;
    height: auto;
    max-width: 720px;
  }

  .popup {
    background: none;
    /* max-height: 850px; */
    overflow: auto;
    min-width: 0;
  }
  .popup > img {
    position: relative;
  }

  .popup-wrap .close-btn {
    position: absolute;
    top: 7%;
    right: 5%;
    width: 3.8vw;
    height: 3.8vw;
  }

  .popup-wrap .contents-wrap {
    position: absolute;
    top: 0;
    left: 0;
    padding: 34.4% 6.4% 7% 6.4%;
    display: flex;
    flex-direction: column;
  }

  .popup-wrap .confirmPop {
    padding-bottom: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .popup-wrap .confirmPop > img {
    position: relative;
  }
  .popup-wrap .confirmPop .contents-wrap {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 10% 10% 10%;
    flex-direction: column;
    justify-content: flex-end;
  }
  .popup .input-wrap {
    width: 100%;
    height: 100%;
    margin-bottom: 5%;
  }

  .popup-wrap .input-wrap input {
    width: 100%;
    height: 11.2vw;
    max-height: 94.2px;
    background: none;
    position: relative;
    font-size: 3.3vw;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid #777;
  }
  .popup-wrap .popup .input-wrap input[id="userName"] {
    background-image: url("../img/mo/name_input.png");
  }
  .popup-wrap .popup .input-wrap input[id="tvingId"] {
    background-image: url("../img/mo/id_input.png");
  }
  .popup-wrap .popup .input-wrap input[id="phoneNo"] {
    background-image: url("../img/mo/phone_input.png");
  }

  .popup-wrap .popup .input-wrap input[id="userName"].active,
  .popup-wrap .popup .input-wrap input[id="tvingId"].active,
  .popup-wrap .popup .input-wrap input[id="phoneNo"].active {
    background-image: none;
  }

  .popup .input-wrap input:not(:last-of-type) {
    margin-bottom: 4%;
  }

  .popup .contents-wrap .bottom-cont .desc {
    width: 80%;
  }
  .popup .contents-wrap .bottom-cont .desc-wrap {
    width: 100%;
    height: 62%;
    margin: 0 auto;
    overflow-y: auto;
    margin-bottom: 9%;
  }
  .scrollBar {
    width: 5%;
    height: 20%;
    overflow-y: scroll;
  }

  .popup .confirm-btn {
    width: 100%;
    margin-top: 7%;
  }

  .popup .contents-wrap .bottom-cont label::before {
    left: -5vw;
    width: 4vw;
    height: 4vw;
    max-width: 25px;
    max-height: 25px;
  }
  .popup
    .contents-wrap
    .bottom-cont
    input[type="checkbox"]:checked
    + label::before {
    background: url(../img/pc/check_active.png) no-repeat center/cover;
  }

  .popup .contents-wrap .bottom-cont .check {
    width: 92%;
    padding-left: 3%;
  }
}
