#scenario_01 {
  background-image: url(../images/scenario_01/background_01.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 오프닝 후 에너지 효율관리 모달 */
#scenario_01-modal_a {
  width: 1200px;
  /* height: 779px; */
  max-width: 85vw;
}

#scenario_01-modal_a .button_a {
  position: absolute;
  top: 83%;
  left: 78%;
  transform: translate(-50%, -50%);
  width: 25%;
  aspect-ratio: 244 / 68 auto;
  z-index: 1;
}
#scenario_01-modal_a .pointer {
  position: absolute;
  width:33.834%;
  /* max-width: 188px; */
  aspect-ratio: 2.355 / 1 auto;
  bottom: -9%;
  right: 30.5%;
  opacity: 0;
  transition: 1s;
}
/* #scenario_01-modal_a .pointer::after {
  content: "";
  position: absolute;
  padding: 8px 40px;
  background-color: #154ede;
  border-radius: 34px;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  top: 67%;
  right: 80%;
} */
#scenario_01-btn-desc {
  position: absolute;
  top: 48%;
  left: 33%;
  width: 195%;
  max-width: 940px;
  pointer-events: none;
}

/* #scenario_01-modal_b .button_a::after {
    content: "“스마트 버튼을 눌러 퇴근하자!”";
    position: absolute;
    top: 70%;
    left: 70%;
    width: max-content;
    max-width: 574px;
    padding: 60px 54px 50px;
    background: linear-gradient(to bottom, rgba(235, 240, 254, 1), rgba(235, 240, 254, 1), rgba(235, 240, 254, 0.68));
    border-radius: 70px;
    box-shadow: 0 70px 178px rgba(0, 0, 0, 0.25);
    font-family: 'SamsungOneKorean', sans-serif;
    font-size: 44px;
    font-weight: 400;
    color: #444E6B;
} */

/* 영상 */
#scenario_01-modal_c {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: unset;
}

#scenario_01-video_a {
  /* position: absolute; */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#scenario_01-modal_b {
  position: fixed;
  /* top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: unset; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 947px;
  width: 100%;
}

#scenario_01-video_b {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#scenario_01-video_b_mo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-height: 920px) {
  #scenario_01-modal_a{
    max-width: 58vw;
  }
}
@media (max-width: 768px) {
  #scenario_01-modal_a {
    width: 80vw;
    top: 45%;
    height: auto;
    max-width: none;
  }
  #scenario_01-modal_a .button_a {
    top: 82%;
    left: 50%;
    width: 56%;
  }
  #scenario_01-modal_a .pointer {
    width: 76.65%;
    bottom: -10.5%;
    left: 2%;
  }
}
@media (max-width: 500px) {
  #scenario_01-modal_a .pointer {
    width: 76.65%;
    bottom: -10.5%;
    left: 2%;
  }
  #scenario_01-modal_a .pointer::after {
    font-size: 16px;
    padding: 5px 20px;
    top: 64%;
    right: 93%;
  }
}
#scenario_01-video_a_mo {
  display: flex;
  flex-direction: column;
  width: 1210px;
  max-width: 90%;
  aspect-ratio: 1210 / 680;
  margin-inline: auto;
  /* border-radius: 15px; */
  contain: paint;
}

/* 비디오 컨트롤러 */
#scenario_01 .video-container {
  display: flex;
  flex-direction: column;
  width: 1210px;
  max-width: 90%;
  aspect-ratio: 1210 / 680;
  margin-inline: auto;
  border-radius: 15px;
  contain: paint;
}

#scenario_01 .video-wrapper {
  width: 100%;
  height: 100%;
}

#scenario_01 .video-wrapper > video {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  background: #000;
}

#scenario_01 .video-controller {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 65px;
  height: 13.23%;
  padding: 0 50px;
  background: linear-gradient(
    to bottom,
    rgb(235, 240, 254) 5%,
    rgb(194, 201, 222)
  );
}

#scenario_01 .control-video {
  display: flex;
  align-items: center;
  gap: 30px;
}

#scenario_01 .control-video > button {
}

#scenario_01 .control-progress {
  width: 100%;
}

#scenario_01 .control-progress .progress-bar {
  position: relative;
  width: 100%;
  height: 3px;
  background-color: #fff;
}

#scenario_01 .control-progress .progress-bar .progress-current {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1%;
  height: 100%;
  background-color: red;
  transform: translateY(-50%);
  transition: width 0.3s linear;
}

#scenario_01
  .control-progress
  .progress-bar
  .progress-current
  .progress-current-pointer {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ff1017;
  border-radius: 50%;
  cursor: pointer;
}

#scenario_01 .control-sound {
}

#scenario_01 .control-sound > button {
}

#scenario_01 .video-container {
  display: none;
}

@media (max-width: 768px) {
  #scenario_01 {
    background-image: url(../images/scenario_01/background_01_mo.png);
    background-position: center;
  }

  #scenario_01 #scenario_01-modal_b > #scenario_01-video_a.d-pc {
    display: none !important;
  }
  #scenario_01 .video-container {
    border-radius: 8px;
    aspect-ratio: unset;
    display: block;
  }

  #scenario_01 .video-wrapper {
    width: 100%;
    height: 300px;
  }

  #scenario_01 .video-controller {
    gap: 20px;
    height: 50px;
    padding: 0 20px;
    z-index: 10;
  }

  #scenario_01 .control-video {
    gap: 8px;
  }

  #scenario_01 .control-sound {
    display: inline-flex;
    height: 70%;
  }
  #scenario_01 .control-sound > button {
    display: inline-flex;
    align-items: center;
    height: 100%;
  }

  #scenario_01 .control-sound > button img {
    height: 100%;
  }

  #scenario_01 .control-progress .progress-bar {
    height: 1px;
  }

  #scenario_01
    .control-progress
    .progress-bar
    .progress-current
    .progress-current-pointer {
    width: 5px;
    height: 5px;
  }
}
