@charset "UTF-8";

#virtual { background: #303a46; }
.btn-replay {display: none; right: 53px; bottom: 40px; }
.btn-replay.show { display: inline-block; }
.btn-table { position: absolute; display: inline-block; color: #fff; font-size: 16px; padding: 15px 35px; background: linear-gradient(180deg, #207CF5 0%, #175AC5 100%); border-radius: 13px; outline: 3px solid #27303B; box-shadow: inset -2px -2px 3px rgba(0, 0, 0, 0.4), inset 2px 2px 3px rgba(255, 255, 255, 0.3); top: 103px; right: 56px; z-index: 5; }
.btn-table .img-wrp { position: absolute; display: none; width: 67px; height: 51px; top: 47px; left: 40px; animation: guide-hand-twinkle 2s .3s linear; animation-iteration-count: 1; }
#virtual1-guide { z-index: 22; white-space: nowrap; }
.guide-info { top: 10px; left: 223px; }
.dragging { z-index: 50; }

@keyframes guide-hand-twinkle {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* guide */
.guide-motion-wrap { position: absolute; display: inline-block; width: 850px; height: 607px; top: 295px; left: 1360px; }
.guide-motion-wrap > i { position: absolute; display: inline-block; }
.guide-motion-wrap .line-road { width: 100%; height: 100%; background: url("../img/m_s2_2_413/line-road.png") no-repeat center center / contain; left: 0; bottom: 0; }
.guide-motion-wrap .motion-start { width: 40px; height: 40px; background: url("../img/m_s2_2_413/motion-start.png") no-repeat center center / contain; top: -35px; right: -45px; }
.guide-motion-wrap .motion-end { width: 114px; height: 114px; background: url("../img/m_s2_2_413/motion-end.png") no-repeat center center / contain; left: -8px; bottom: -8px; }
.guide-motion-wrap .drag-hand { opacity: 0; width: 160px; height: 160px; background: url("../common/img/guid-drag-hand-white.png") no-repeat center center / contain; left: 879px; top: 2px; animation: drag-hand 3.7s .5s linear; animation-iteration-count: 1; }
.guide-motion-wrap .red-ball { opacity: 0; width: 91px; height: 91px; background: url("../img/m_s2_2_413/red-ball.png") no-repeat center center / contain; left: 773px; top: -122px; animation: red-ball 3.7s .5s linear; animation-iteration-count: 1; }

@keyframes drag-hand {
    0% {
        opacity: 1;
        background: url("../common/img/guid-drag-hand-white.png") no-repeat center center / contain;
        left: 879px; top: 2px;
    }
    52% {
        background: url("../common/img/guid-drag-hand-white.png") no-repeat center center / contain;
    }
    53% {
        background: url("../common/img/guide-drag-hand-black.png") no-repeat center center / contain;
    }
    100% {
        opacity: 1;
        background: url("../common/img/guide-drag-hand-black.png") no-repeat center center / contain;
        left: 0; top: 606px;
    }
    100% { display: none; }
}

@keyframes red-ball {
    0% {
        opacity: 1;
        left: 773px; top: -122px;
    }
    100% {
        opacity: 1;
        left: -87px; top: 493px;
    }
}

/* 가상실험실 */
.atom-content-wrap { display: flex; justify-content: flex-end; align-items: center; margin-right: 154px; padding-top: 67px; }

.record { position: absolute; display: flex; flex-direction: column; justify-content: center; width: auto; height: 158px; left: 59px; top: 70px; background: #DAE1EA; border-radius: 12px; }
.record .record-item { display: flex; flex-direction: row; justify-content: start; align-items: center; padding: 4px 17px; }
.record .record-item span { display: inline-block; width: 61px; padding: 0 7px; font-size: 15px; white-space: nowrap; color: #303A46; margin-right: 4px; }
.record .component-wrap { display: flex; flex-direction: row; gap: 3px; min-width: 37px; height: 33px; padding: 5px 7px; border-radius: 2em; background: #B8C1D1; box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7); }
.record .component-wrap > * { width: 24px; height: 24px; border-radius: 5em; overflow: hidden; box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.24); }

.atom-wrap { position: relative; display: block; width: 440px; height: 440px; margin-right: 38px; }
.atom { position: relative; display: block; width: 100%; height: 100%; background: url("../img/m_s2_2_413/bg-atom.png") no-repeat center center / contain; }
.atom-wrap .atom-label-caption { position: relative; left: 50%; transform: translateX(-50%); width: 233px; height: 53px; display: flex; justify-content: center; align-items: center; text-align: center; white-space: nowrap; background: #95a2b2; box-shadow: inset -2px -2px 3px rgba(0, 0, 0, 0.32); border-radius: 5em; margin-top: 17px; }

.atom .atomic-wrap { position: absolute; display: flex; width: 213px; height: 213px; justify-content: center; align-items: center; border-radius: 10em; left: 50%; top: 50%; margin: -107px; }
.atom .former-wrap { position: absolute; display: inline-block; width: 100%; height: 100%; left: 50%; top: 50%; margin: -213px; }

.atom .atomic-wrap > *.drag-n-drop { border-radius: 5em; overflow: hidden; display: inline-block; width: 30px; height: 30px; box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.24); flex-shrink: 0; vertical-align: top; }
.atom .former-wrap > *.drag-n-drop { border-radius: 5em; overflow: hidden; display: inline-block; width: 30px; height: 30px; box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.24); flex-shrink: 0; vertical-align: top; }

.former-wrap .drag-n-drop{ z-index: 10; }

.former-wrap .drag-n-drop:nth-child(7), .former-wrap .drag-n-drop:nth-child(8) { z-index: 25; }

.basket { position: relative; display: flex; flex-direction: column; gap: 17px; }
.basket .drop-area { position: relative; display: inline-block; width: 228px; height: 152px; }
.basket .proton-wrap + span { position: absolute; left: 50%; transform: translateX(-50%); top: 92px; z-index: 21; text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); }
.basket .neutron-wrap + span { position: absolute; left: 50%; transform: translateX(-50%); top: 261px; z-index: 21; text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); }
.basket .electron-wrap + span { position: absolute; left: 50%; transform: translateX(-50%); top: 427px; z-index: 21; text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); }

.basket .drop-area .drag-n-drop { position: absolute; }

.basket .drop-area .drag-n-drop:nth-child(1) { top: 47px; left: 42px; z-index: 1; }
.basket .drop-area .drag-n-drop:nth-child(2) { top: 47px; left: 70px; z-index: 2; }
.basket .drop-area .drag-n-drop:nth-child(3) { top: 47px; left: 98px; z-index: 3; }
.basket .drop-area .drag-n-drop:nth-child(4) { top: 47px; left: 127px; z-index: 4; }
.basket .drop-area .drag-n-drop:nth-child(5) { top: 47px; left: 155px; z-index: 5; }

.basket .drop-area .drag-n-drop:nth-child(6) { top: 23px; left: 56px; z-index: 6; }
.basket .drop-area .drag-n-drop:nth-child(7) { top: 23px; left: 84px; z-index: 7; }
.basket .drop-area .drag-n-drop:nth-child(8) { top: 23px; left: 113px; z-index: 8; }

.basket .proton-wrap { background: url("../img/m_s2_2_413/red-basket.png") no-repeat center 59px/179px 61px}
.basket .proton-wrap::after { content: ""; position: absolute; width: 178px; height: 66px; background: url("../img/m_s2_2_413/red-basket-cover.png") no-repeat 100% 100%/contain; top: 68px; left: 50%; transform: translateX(-50%); z-index: 20; }

.basket .neutron-wrap { background: url("../img/m_s2_2_413/gray-basket.png") no-repeat center 59px/179px 61px}
.basket .neutron-wrap::after { content: ""; position: absolute; width: 178px; height: 66px; background: url("../img/m_s2_2_413/gray-basket-cover.png") no-repeat 100% 100%/contain; top: 68px; left: 50%; transform: translateX(-50%); z-index: 20; }

.basket .electron-wrap { background: url("../img/m_s2_2_413/blue-basket.png") no-repeat center 59px/179px 61px}
.basket .electron-wrap::after { content: ""; position: absolute; width: 178px; height: 66px; background: url("../img/m_s2_2_413/blue-basket-cover.png") no-repeat 100% 100%/contain; top: 66px; left: 50%; transform: translateX(-50%); z-index: 20; }

.basket .drop-area > * { border-radius: 5em; overflow: hidden; box-shadow: 5px 5px 7px rgba(0, 0, 0, 0.24); }

/* 표 */
.modal-table .icon-modal-close { top: 29px; right: 19px; width: 19px; height: 19px; }
.modal-table .modal-dialog { max-width: none; }
.modal-table .modal-content { background: #303a46; width: auto; border: 2px solid #4b5869; padding: 52px 53px; line-height: 1; border-radius: 24px; }
.modal-table .modal-dialog-centered { justify-content: center; }
.modal-table .content { background: linear-gradient(180deg, #CDD1D6 0%, #CDD1D6 22%, #888F98 100%); border: 2px solid #181e25; border-radius: 24px; overflow: hidden; text-align: center; line-height: 1; height: 100%; padding: 10px; }
.modal-table table { font-size: 18px; }
.modal-table thead { color: #272d34; }
.modal-table tbody { display: inline-block; background: #161C24; margin-top: 5px; color: #fff; border: 3px solid #C7CCD3; border-radius: 19px; overflow: hidden; }
.modal-table thead th, td { display: inline-flex; justify-content: center; align-items: center; width: 131px; height: 51px; }
.modal-table thead th + th::before { content: ""; position: relative; width: 3px; height: 31px; background: #aeb4bc; left: -53px; }
.modal-table tbody th, td { display: inline-flex; justify-content: center; align-items: center; width: 125px; margin: 8px 8px 0 0; }
.modal-table tbody td { background: #3e3f49;  border-radius: 12px; overflow: hidden; }
.modal-table tbody tr:last-child th, .modal-table tbody tr:last-child td { margin-bottom: 8px; }

.ui-draggable-dragging { z-index: 80 !important; }

.guide:has(.show) .ui-draggable-dragging{pointer-events: none;}