#scenario_21 {}

/*  에어컨 리모컨 조작  */
#scenario_21-modal_a {
   width: 100%;
   height: 100%;
}

#scenario_21-modal_a .button_a {
    position: absolute;
    top: 25%;
    left: 37%;
    width: 26%;
    height: 35%;
    aspect-ratio: 3 / 2 auto;
    z-index: 1;
    display: none;
}

#scenario_21-modal_a[data-action="1"] .button_a {
    display: block;
}


#scenario_21-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#scenario_21-mobile_a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    max-width: 502px;
    transition: transform 0.5s;
}

/* #scenario_21-modal_a[data-action="1"] #scenario_21-mobile_a {
    transform: translate(-50%, 0%);
} */


#scenario_21-modal_a .pointer {
    position: absolute;
    width: 24%;
    aspect-ratio: 188 / 237 auto;
    max-width: 188px;
    display: none;
}

#scenario_21-modal_a[data-action="1"] .pointer {
    top: 38%;
    left: 50%;
    display: block;
}

#scenario_21-modal_a .pointer::after {
    content: "";
    position: absolute;
    width: max-content;
    padding: 6px 32px;
    background-color: #154EDE;
    border-radius: 34px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    display: none;
}

#scenario_21-modal_a[data-action="1"] .pointer::after {
    content: "'에어케어 패널' 터치!";
    display: block;
    top: 100%;
    left: 100%;
    transform: translateY(-100%);
}
#scenario_21-modal_b{
    position: relative;
}
#scenario_21-video-btn_play{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20.5%;
    aspect-ratio: 1 / 1 auto;
    background: url("../images/scenario_21/play.png") center center / cover no-repeat;

}
#scenario_21-modal_c{
    width: 100vw;
    height: 100vh;
}
@media (max-width: 768px) {
    #scenario_21-modal_b{
        width: 95%;
    }

    #scenario_21-modal_a .button_a {
        top: 35%;
        left: 24%;
        width: 52%;
        height: 20%;
    }

    #scenario_21-modal_a .pointer::after {
        padding: 5px 15px;
        font-size: 15px;
    }

    #scenario_21-modal_a[data-action="1"] .pointer::after {
        left: 50%;
        transform: translateX(-50%);
    }

    #scenario_21-modal_a .button_b {
        top: 57%;
        left: 7%;
        width: 43%;
    }
}


/* 비디오 컨트롤러 */
#scenario_21.video-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    /* aspect-ratio: 16 / 9; */
    margin-inline: auto;
    border-radius: 15px;
    contain: paint;
}

#scenario_21 .video-wrapper {
    width: 100%;
    height: 100%;
}

#scenario_21 .video-wrapper>video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#scenario_21 .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));
    position: absolute;
    top: calc(100vh - 13.23%);
    width: 100%;
}

#scenario_21 .control-video {
    display: flex;
    align-items: center;
    gap: 30px;
}

#scenario_21 .control-video>button {}

#scenario_21 .control-progress {
    width: 100%;
}

#scenario_21 .control-progress .progress-bar {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

#scenario_21 .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_21 .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_21-video_b{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#scenario_21-video_b_mo{
    width: 100%;
    height: 100%;
    object-fit: cover;
}




@media (max-width: 1440px) {
    #scenario_21 .scenario_modal.bottom-fixed{
        aspect-ratio: none;
        height: 100vh;   
    }
    #scenario_21-modal_a .pointer::after{
        font-size: 22px;
    }
    #scenario_21-modal_a .pointer{
        width: 100%;
    }
}
@media (max-width: 768px) {
    #scenario_21-modal_a[data-action="1"] .pointer {
        top: 42%;
        left: 45%;
    }
    #scenario_21 .video-container {
        border-radius: 16px;
        aspect-ratio: unset;
    }

    #scenario_21 .video-wrapper {
        width: 100%;
        height: 100%;
        border-radius: 8px;
    }

    #scenario_21 .video-wrapper>video{
        width: 100%;
        height: 100%;
    }
    #scenario_21 .video-controller {
        gap: 20px;
        height: 50px;
        padding: 0 20px;
        z-index: 10;
        top: calc(100% - 8px);
        border-radius: 0 0 8px 8px;
    }
    #scenario_21-video-btn_play{
        width: 13.5%;
    }
    #scenario_21 .control-video {
        gap: 8px;
    }

    #scenario_21 .control-sound {
        display: inline-flex;
        height: 70%;
    }

    #scenario_21 .control-sound>button {
        display: inline-flex;
        align-items: center;
        height: 100%;
    }

    #scenario_21 .control-sound>button img {
        height: 100%;
    }

    #scenario_21 .control-progress .progress-bar {
        height: 1px;
    }

    #scenario_21 .control-progress .progress-bar .progress-current .progress-current-pointer {
        width: 5px;
        height: 5px;
    }
    
}
@media (max-width: 500px) {
    #scenario_21-modal_a .pointer{
        width: 34%;
    }
}