* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

#wrapper {
    width: 100%;
    overflow: hidden;
    background: url('./Bg/bg-page\ 1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
}

/*-------------------MENU-------------*/
#menu2 {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    display: none;
}

#menu2 ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#menu2 li i {
    margin-right: 15px;
}

#menu2 li {
    padding: 20px;
    background-color: #525F6C;
    border-bottom: 1px solid #5d6a77;
    color: #fff;
    transition: 0.5s;
    opacity: 0;
    animation: showmenu 0.3s ease-in-out 1 forwards;
}

#menu2 li:nth-child(2) {
    animation-delay: 0.2s;
}

#menu2 li:nth-child(3) {
    animation-delay: 0.4s;
}

#menu2 li:nth-child(4) {
    animation-delay: 0.6s;
}

#menu2 li:hover {
    background-color: #607d8b;
    transform: translate(0, -10px);
    box-shadow: 0 10px 50px #636363;
    cursor: pointer;
}

@keyframes showmenu {
    from {
        opacity: 0;
        transform: translate(0, 20px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/*-------------------------scrollbar-------------------*/
body::-webkit-scrollbar

/*SIZE*/
    {
    width: 7px;
}

body::-webkit-scrollbar-track {
    background-color: #1f2028;
}

body::-webkit-scrollbar-thumb {
    background-color: #161C24;
    border-radius: 50px;
}

a {
    text-decoration: none;
}

/*----------------------Top----------------------------*/
#wrapper .box {
    padding-top: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;


}

.box #box-center {
    width: 359px;
    height: 44px;
    border-radius: 10px;
    background-color: #232931;
    display: flex;
    align-items: center;
    justify-content: space-around;
    transition: 0.15s;
    z-index: 2;
}

#box-center .home-btn {
    width: 84px;
    height: 26.4px;
    border-radius: 10px;
    border: 1px solid #D9D9D9;
    display: flex;
    justify-content: center;
    align-items: center;
}

#box-center .home-btn p {
    color: rgba(255, 255, 255, 0.70);
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 4.2px;
}

#box-center .stick {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.62);
}

#box-center .study {
    color: #FFF;
    font-family: Inter;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#box-center .study-btn {
    width: 84px;
    height: 26.4px;
    border-radius: 18px;
    background: #4169E1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#box-center .study-btn p {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/*--------------Box -Right ----------*/
.box-right {
    width: 227px;
    height: 38.1px;
    padding-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    z-index: 2;
}

.box-right #music {
    cursor: pointer;
    width: 42px;
    height: 39px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background: #232931;
}

.box-right #status {
    width: 172.023px;
    height: 38.114px;
    border-radius: 15px;
    background: #232931;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: 0.15s;
}

#status .wifi {
    display: flex;
    justify-content: center;
    align-items: center;
}

#status .pin {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
}

#status .pin p {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transform: rotate(90.043deg);
}

#status .stick {
    width: 1px;
    height: 31.184px;
    background: rgba(255, 255, 255, 0.62);
}

/*-------------- FORM-------------*/
.form {
    margin-left: 20px;
    width: 350px;
    height: 650px;
    border-radius: 15px;
    background: #232931;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 0.45s;
    z-index: 2;
    row-gap: 35px;

}

.animate-form {
    transform: translateX(-106%);
}

.animate-close {
    transform: rotate(180deg);
}

.form .content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.form img {
    object-fit: cover;

    width: 320px;
    height: 72px;
    border-radius: 15px;
    fill: url(<path-to-image>), lightgray 50% / cover no-repeat;
}

.form .explore {
    width: 102px;
    height: 28px;
    display: flex;
    justify-content: center;
    column-gap: 5px;
    align-items: center;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.08);
}

.form .explore p {
    color: #ffffffbc;
    text-align: center;
    font-family: 'Montserrat';
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.form .time {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.title p {
    color: #FFF;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.choose_bg {
    padding-left: 5px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.choose_bg .text {
    color: #ffffffa3;
    font-family: 'Inter';
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.choose_box {
    width: 100%;
    display: flex;
    column-gap: 25px;
    position: relative;

}

#yt-popup {
    position: absolute;
    right: -200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.box_deco {
    width: 161px;
    height: 41px;
    flex-shrink: 0;
    border-radius: 15px;
    border: 1px solid rgba(248, 248, 248, 0.74);
    display: flex;
    justify-content: center;
    align-items: center;
}

.decor_pop {
    color: rgba(255, 255, 255, 0.45);
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    width: 153px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 13px;
    border: 0.5px solid rgba(255, 255, 255, 0.77);
    background: #232931;
    outline: none;
    padding: 5px 10px;
}

.choose_bg .choose_box .box5 {
    cursor: pointer;
    width: 70.616px;
    height: 55.333px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(248, 248, 248, 0.50);
}

.choose_box img {
    width: 80%;
    height: 80%;
    border-radius: 2px;
}

.ok_btn {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #232931;
    outline: none;
    cursor: pointer;
    box-shadow: none;
}

.ok_btn img {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.end_btn {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: #2C1782;
    outline: none;
    box-shadow: none;
    cursor: pointer;
}

.end_btn img {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.song-box {
    height: 133px;
    width: 100%;
    background: #2D333B;
    padding-top: 20px;
    padding-bottom: 20px;

}

.song-box {
    padding-left: 40px;
    padding-right: 20px;
}

.song-box .volumn {
    padding-top: 25px;
    display: flex;
    column-gap: 20px;
}

.song-box #icon {
    color: #FFF;
    font-size: 14px;
}

/*---------Rage---------*/
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: 13rem;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: rgba(255, 255, 255, 0.62);
    border-radius: 2px;
    height: 2px;
}

/******** Firefox ********/
input[type="range"]::-moz-range-track {
    background: rgba(255, 255, 255, 0.62);
    height: 2px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Override default look */
    appearance: none;
    margin-top: -7px;
    background-color: #D9D9D9;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    /* Centers thumb on the track */
}

/*--------------------*/
.song-box .head-tile {
    color: #FFF;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 3px;
}

.song-box .text {
    padding-top: 5px;
    display: flex;
    display: flex;
    column-gap: 5px;
    align-items: center;

}

.song-box .text p {
    color: rgba(217, 217, 217, 0.74);
    text-align: center;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.1px;
}

.big_size {
    display: flex;
    justify-content: space-between;
}

.big_size .box2 {
    display: flex;
    column-gap: 8px;
}

.big_size .box2 .heart {
    width: 35px;
    height: 32px;
    border-radius: 5px;
    background: #232931;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.big_size .box2 .heart:hover path {

    fill: #EA5A47;
}

.big_size .box2 .chose {
    cursor: pointer;
    width: 35px;
    height: 32px;
    border-radius: 5px;
    background: #232931;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-box {
    padding-left: 20px;
    display: flex;
    row-gap: 20px;
    flex-direction: column;

}

.info-box .info {
    display: flex;
    column-gap: 15px;

    align-items: center;
}

.info-box .mini {
    display: flex;
    flex-direction: column;
    row-gap: 3px;
}

.info-box .mini p {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 0.33px;
}

.info-box .icon {
    display: flex;
    align-items: center;
    column-gap: 6px;

}

.nav {
    display: flex;
    column-gap: 10px;
}

.nav p {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.64px;
}

.nav .library {
    border-radius: 5px;
    border: 1px solid rgba(217, 217, 217, 0.42);
    padding: 7px 20px;

}

.nav .home {
    border-radius: 5px;
    border: 1px solid rgba(217, 217, 217, 0.42);
    padding: 7px 20px;

}

.nav .faq {
    border-radius: 5px;
    border: 1px solid rgba(217, 217, 217, 0.42);
    padding: 7px 20px;

}

.form {
    position: relative;
}

.close {
    cursor: pointer;
    top: 60px;
    right: -30px;
    position: absolute;
    width: 34px;
    height: 63px;
    border-radius: 0px 5px 5px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(35, 41, 49, 0.89);
}

/*-----------------HOVER--------------------*/
.box-right #music:hover {
    border: #FFF 1px solid;
    cursor: pointer;
    transform: scale(0.95);
}

#box-center:hover {
    border: #FFF 1px solid;
    cursor: pointer;
    transform: scale(0.95);
}

#status:hover {
    border: #FFF 1px solid;
    cursor: pointer;
    transform: scale(0.95);
}

.library:hover {
    border: #FFF 1px solid;
    cursor: pointer;
}

.home:hover {
    border: #FFF 1px solid;
    cursor: pointer;
}

.faq:hover {
    border: #FFF 1px solid;
    cursor: pointer;
}

/*----------------------------*/
body {
    position: relative;
}

.time-out {
    position: absolute;
    top: 50%;
    /* position the top  edge of the element at the middle of the parent */
    left: 50%;
    /* position the left edge of the element at the middle of the parent */

    transform: translate(-50%, -50%);
    /* This is a shorthand of
                                         translateX(-50%) and translateY(-50%) */
    width: 387px;
    height: 118px;
    border-radius: 40px;
    background: rgba(217, 217, 217, 0.17);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    align-items: center;

}

.time-out .demo {
    color: #FFF;
    font-family: 'Comfortaa';
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 12px;
    align-items: center;
}

.time-out .mini-text {
    color: rgba(255, 255, 255, 0.60);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    align-items: center;
    letter-spacing: 1.4px;
}

body {
    position: relative;
}

#set-time {
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #232931;
    position: absolute;
    right: 20px;
    bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

#set-time:hover {
    border: #FFF 1px solid;
}

.choose-set-time {
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #232931;
    position: absolute;
    right: 20px;
    bottom: 70px;
    display: flex;
    transition: 0.2s;
    justify-content: center;
    align-items: center;
    color: #FFF;
    border: #FFF 1px solid;
    font-size: 13px;
    z-index: 3;
}

.choose-set-time:hover {
    transform: scale(1.1);
}

.choose-set-time2 {
    cursor: pointer;
    transition: 0.2s;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #232931;
    position: absolute;
    right: 20px;
    bottom: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    border: #FFF 1px solid;
    font-size: 13px;
    z-index: 3;
}

.choose-set-time2:hover {
    transform: scale(1.1);
}

.choose-set-time3 {
    cursor: pointer;
    transition: 0.2s;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #232931;
    position: absolute;
    right: 20px;
    bottom: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    border: #FFF 1px solid;
    font-size: 12px;
    z-index: 3;
}

.choose-set-time3:hover {
    transform: scale(1.1);
}

.thiet-lap {
    position: absolute;
    top: 66px;
    right: 15px;
    width: 350px;
    height: 609px;
    border-radius: 15px;
    background: #232931;
    z-index: 2;
}

.thiet-lap .head {
    height: 44px;
    width: 100%;
    border-bottom: #36393E 1px solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 19px;
    padding-right: 19px;
}

.thiet-lap .head p {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.thiet-lap .theme {
    height: 246px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.thiet-lap .theme .head-tl {
    display: flex;
    padding-left: 19px;
    padding-right: 19px;
    align-items: center;
    justify-content: space-between;

}

.thiet-lap .theme .head-tl .theme-font {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

}

.thiet-lap .theme .head-tl .theme-font2 {
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

}

.thiet-lap .thi {
    height: 259px;
    width: 100%;
    background: #2D333B;
}
.img-slide {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    overflow: hidden;
}

.img-slide #box-slide {
    width: 255px;
    height: 73px;
    overflow: hidden;
    display: flex;
    position: relative;
}

#box-slide .slide-list {
    width: 255px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none; /* QUAN TRỌNG: Vô hiệu hóa click khi ẩn */
}

#box-slide .slide-list.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto; /* Bật lại click khi hiển thị */
}

#box-slide .slide-list.slide-out-left {
    opacity: 0;
    transform: translateX(-30px);
}

#box-slide .slide-list.slide-out-right {
    opacity: 0;
    transform: translateX(30px);
}

#box-slide .slide-list.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

#box-slide .slide-list.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
}

.img-slide #box-slide .item {
    cursor: pointer;
    width: 123px;
    height: 73px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #36393E;
    background: lightgray 50% / cover no-repeat;
    transition: all 0.25s ease;
    position: relative;
}

.img-slide #box-slide .item:hover {
    border: #fff solid 1px;
    transform: scale(1.05);
}

.checkmark-overlay {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.52);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.checkmark-overlay.visible {
    opacity: 1;
}

.checkmark-overlay svg {
    animation: checkmarkPop 0.3s ease;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Navigation buttons hover effect */
.img-slide svg {
    transition: all 0.2s ease;
}

.img-slide svg:hover {
    transform: scale(1.2);
}

.img-slide svg:active {
    transform: scale(0.95);
}
.box-mon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;

}

.chon-mon {
    width: 245px;
    height: 35px;
    border-radius: 30px;
    background-color: #36393e;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
}

.chon-mon:hover {
    border: #FFF 1px solid;
}

.chon-mon #tin-hoc {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 74px;
    height: 26px;
    border-radius: 15px;

}

.chon-mon #english {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 74px;
    height: 26px;
    border-radius: 15px;
}

.chon-mon #hoc {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 74px;
    height: 26px;
    border-radius: 15px;
    background: #4169E1;
}

.chon-mon p {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.chon-side {
    padding: 23px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chon-side p {
    color: rgba(255, 255, 255, 0.77);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/*-----------------Switch-------------*/
/* The switch - the box around the slider */
/* The switch - the box around the slider */
.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 33px;
    height: 17px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    border: 1px solid rgba(248, 248, 248, 0.50);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    right: 0.2em;
    bottom: 0.1em;
    transform: translateX(150%);
    background-color: #59d102;
    border-radius: inherit;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.slider:after {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 0.2em;
    bottom: 0.1em;
    background-color: #cccccc;
    border-radius: inherit;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.switch input:focus+.slider {
    box-shadow: 0 0 1px #59d102;
}

.switch input:checked+.slider:before {
    transform: translateY(0);
}

.switch input:checked+.slider::after {
    transform: translateX(-150%);
}

/*-------------------------------*/
.thi {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thi .chedo {
    padding-top: 20px;
}

.thi .chedo .box-chedo {
    width: 102px;
    height: 29px;
    border-radius: 5px;
    border: 1px solid #232931;
    background: #232931;
    display: flex;
    justify-content: center;
    align-items: center;
}

.thi .chedo .box-chedo p {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.btn-circle {
    padding-top: 35px;
    padding-bottom: 35px;

}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 102px;
    height: 99px;
    border-radius: 50%;
    background: #232931;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.25));
}

.circle #mini-circle {
    width: 60px;
    height: 57px;
    border-radius: 50%;
    background: #3FF12F;
    cursor: pointer;
    transition: 0.3s;
}

.goi-y {
    padding-left: 22px;
    padding-right: 22px;
}

.goi-y p {
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

body {
    position: relative;
}

.pop-up {
    left: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s;
    z-index: 4;
    cursor: pointer;
}

/*------------------NEW *--------*/
.form .explore input {
    width: 80px;
    background: transparent;
    border: none;
    color: #FFF;
    font-family: Inter;
    font-size: 12px;
    font-weight: 700;
    outline: none;
    text-align: center;
}

#youtube-container {
    position: absolute;
    resize: both;
}

/*---------NEW----------*/
#menu2 {
    z-index: 999;
    position: absolute;
    width: 181px;
    height: 223px;
    border-radius: 3px;
    background: #1E1E2E;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
    padding-top: 7px;
    padding-left: 10px;
    padding-right: 10px;

}

.menu_item {
    transition: 0.2s;
    width: 161px;
    height: 29px;
    display: flex;
    padding: 9px;
    border-radius: 2px;
    align-items: center;
    justify-content: space-between;
}

.menu_item p {
    color: rgba(255, 255, 255, 0.78);
    font-family: Fira Code;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.menu_item2 {
    cursor: pointer;
    padding: 9px;
    display: flex;
    padding-top: 25px;
    align-items: center;
    justify-content: space-between;
}

.menu_item2 p {
    color: #CAA6F9;
    font-family: Fira Code;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.menu_item:hover {
    background-color: #CAA6F9;
    color: #1E1E2E;
}

/*-----------------*/
/* From Uiverse.io by BlackisPlay */
#box_ghost {
    position: absolute;
    bottom: 0;
    z-index: 2;
}

#ghost {
    position: relative;
    scale: 0.2;
}

#red {
    animation: upNDown infinite 0.5s;
    position: relative;
    width: 140px;
    height: 140px;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(14, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-areas:
        "a1  a2  a3  a4  a5  top0  top0  top0  top0  a10 a11 a12 a13 a14"
        "b1  b2  b3  top1 top1 top1 top1 top1 top1 top1 top1 b12 b13 b14"
        "c1 c2 top2 top2 top2 top2 top2 top2 top2 top2 top2 top2 c13 c14"
        "d1 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 d14"
        "e1 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 e14"
        "f1 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 top3 f14"
        "top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4"
        "top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4"
        "top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4"
        "top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4"
        "top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4"
        "top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4 top4"
        "st0 st0 an4 st1 an7 st2 an10 an10 st3 an13 st4 an16 st5 st5"
        "an1 an2 an3 an5 an6 an8 an9 an9 an11 an12 an14 an15 an17 an18";
}

@keyframes upNDown {

    0%,
    49% {
        transform: translateY(0px);
    }

    50%,
    100% {
        transform: translateY(-10px);
    }
}

#top0,
#top1,
#top2,
#top3,
#top4,
#st0,
#st1,
#st2,
#st3,
#st4,
#st5 {
    background-color: red;
}

#top0 {
    grid-area: top0;
}

#top1 {
    grid-area: top1;
}

#top2 {
    grid-area: top2;
}

#top3 {
    grid-area: top3;
}

#top4 {
    grid-area: top4;
}

#st0 {
    grid-area: st0;
}

#st1 {
    grid-area: st1;
}

#st2 {
    grid-area: st2;
}

#st3 {
    grid-area: st3;
}

#st4 {
    grid-area: st4;
}

#st5 {
    grid-area: st5;
}

#an1 {
    grid-area: an1;
    animation: flicker0 infinite 0.5s;
}

#an18 {
    grid-area: an18;
    animation: flicker0 infinite 0.5s;
}

#an2 {
    grid-area: an2;
    animation: flicker1 infinite 0.5s;
}

#an17 {
    grid-area: an17;
    animation: flicker1 infinite 0.5s;
}

#an3 {
    grid-area: an3;
    animation: flicker1 infinite 0.5s;
}

#an16 {
    grid-area: an16;
    animation: flicker1 infinite 0.5s;
}

#an4 {
    grid-area: an4;
    animation: flicker1 infinite 0.5s;
}

#an15 {
    grid-area: an15;
    animation: flicker1 infinite 0.5s;
}

#an6 {
    grid-area: an6;
    animation: flicker0 infinite 0.5s;
}

#an12 {
    grid-area: an12;
    animation: flicker0 infinite 0.5s;
}

#an7 {
    grid-area: an7;
    animation: flicker0 infinite 0.5s;
}

#an13 {
    grid-area: an13;
    animation: flicker0 infinite 0.5s;
}

#an9 {
    grid-area: an9;
    animation: flicker1 infinite 0.5s;
}

#an10 {
    grid-area: an10;
    animation: flicker1 infinite 0.5s;
}

#an8 {
    grid-area: an8;
    animation: flicker0 infinite 0.5s;
}

#an11 {
    grid-area: an11;
    animation: flicker0 infinite 0.5s;
}

@keyframes flicker0 {

    0%,
    49% {
        background-color: red;
    }

    50%,
    100% {
        background-color: transparent;
    }
}

@keyframes flicker1 {

    0%,
    49% {
        background-color: transparent;
    }

    50%,
    100% {
        background-color: red;
    }
}

#eye {
    width: 40px;
    height: 50px;
    position: absolute;
    top: 30px;
    left: 10px;
}

#eye::before {
    content: "";
    background-color: white;
    width: 20px;
    height: 50px;
    transform: translateX(10px);
    display: block;
    position: absolute;
}

#eye::after {
    content: "";
    background-color: white;
    width: 40px;
    height: 30px;
    transform: translateY(10px);
    display: block;
    position: absolute;
}

#eye1 {
    width: 40px;
    height: 50px;
    position: absolute;
    top: 30px;
    right: 30px;
}

#eye1::before {
    content: "";
    background-color: white;
    width: 20px;
    height: 50px;
    transform: translateX(10px);
    display: block;
    position: absolute;
}

#eye1::after {
    content: "";
    background-color: white;
    width: 40px;
    height: 30px;
    transform: translateY(10px);
    display: block;
    position: absolute;
}

#pupil {
    width: 20px;
    height: 20px;
    background-color: blue;
    position: absolute;
    top: 50px;
    left: 10px;
    z-index: 1;
    animation: eyesMovement infinite 3s;
}

#pupil1 {
    width: 20px;
    height: 20px;
    background-color: blue;
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 1;
    animation: eyesMovement infinite 3s;
}

@keyframes eyesMovement {

    0%,
    49% {
        transform: translateX(0px);
    }

    50%,
    99% {
        transform: translateX(10px);
    }

    100% {
        transform: translateX(0px);
    }
}

#shadow {
    background-color: black;
    width: 140px;
    height: 140px;
    position: absolute;
    border-radius: 50%;
    transform: rotateX(80deg);
    filter: blur(20px);
    top: 80%;
    animation: shadowMovement infinite 0.5s;
}

@keyframes shadowMovement {

    0%,
    49% {
        opacity: 0.5;
    }

    50%,
    100% {
        opacity: 0.2;
    }
}

#text-container {
    font-family: 'Courier Prime';
    position: absolute;
    bottom: 10px;
    width: 80%;
    left: 150px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.778);
    padding: 10px;
    border-radius: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3),
        0 0 8px rgba(255, 255, 255, 0.5);
    min-height: 40px;
    white-space: pre-wrap;
    user-select: none;
    z-index: 2;
    /* Đảm bảo dấu cách hiển thị chính xác */
}

/* Hiệu ứng con trỏ nhấp nháy */
#text-container::after {
    content: '|';
    animation: blink 1s step-start infinite;
    margin-left: 5px;
    color: rgba(255, 255, 255, 0.8);
}

/* Keyframes cho hiệu ứng nhấp nháy */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


/*----------COntainer Draggble----*/
#container {
    background: rgba(18, 18, 26, 0.64);
    box-shadow: 0px 0px 5px 0px rgba(18, 18, 26, 0.25);
    position: absolute;
    top: 150px;
    left: 50%;
    width: 343px;
    height: 121px;
    padding: 10px;
    resize: both;
    overflow: auto;
    cursor: grab;
    outline: none;
    overflow: none;
    border-radius: 5px;
    display: none;
    z-index: 3;


}

#container:hover {
    border: 1.5px solid #B3ADDD;
}



#pdfViewer {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

#toggleDrag {
    display: flex;
    justify-content: center;
    align-items: center;
    display: inline-block;
    width: 30px;
    height: 30px;
    background: rgba(52, 52, 82, 0.64);
    box-shadow: 0px 0px 5px 0px rgba(18, 18, 26, 0.25);
    color: #ffffffc3;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Fira Code;
    font-size: 13px;
    font-style: normal;
    user-select: none;
    font-weight: 600;
    line-height: normal;
}

#fileInputLabel {
    background-color: #2c1782;
    box-shadow: 0px 0px 5px 0px rgba(18, 18, 26, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    display: inline-block;
    width: 30px;
    height: 30px;
    color: #ffffffc3;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Fira Code;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    user-select: none;
    line-height: normal;
}

#fileInputLabel:hover,
#toggleDrag:hover {
    border: 1.5px solid #B3ADDD;
}

#fileInput {
    display: none;
}

#container::-webkit-scrollbar {
    width: 8px;
}

#container::-webkit-scrollbar-track {
    background: #333;
    border-radius: 8px;
}

#container::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 8px;
}

#container::-webkit-scrollbar-thumb:hover {
    background: #888;
}

#draggableDiv {
    position: absolute;
    left: 50%;
    bottom: 300px;
    display: none;
    z-index: 3;
}

/*----------COntainer Draggble----*/
#container2 {
    background: rgba(18, 18, 26, 0.64);
    box-shadow: 0px 0px 5px 0px rgba(18, 18, 26, 0.25);
    position: absolute;
    top: 150px;
    left: 50%;
    width: 543px;
    height: 456px;
    padding: 10px 30px;
    resize: both;
    overflow: auto;
    cursor: grab;
    outline: none;
    overflow: none;
    border-radius: 5px;
    color: #ffffffc3;
    border: none;
    font-family: Fira Code;
    font-size: 13px;
    font-style: normal;
    user-select: none;
    font-weight: 600;
    line-height: normal;
    display: none;
    z-index: 3;


}

#container2:hover {
    border: 1.5px solid #B3ADDD;
}



#pdfViewer2 {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

#toggleDrag3 {
    display: flex;
    justify-content: center;
    align-items: center;
    display: inline-block;
    width: 30px;
    height: 30px;
    background: rgba(52, 52, 82, 0.64);
    box-shadow: 0px 0px 5px 0px rgba(18, 18, 26, 0.25);
    color: #ffffffc3;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Fira Code;
    font-size: 13px;
    font-style: normal;
    user-select: none;
    font-weight: 600;
    line-height: normal;
}

#Load {
    background-color: #2c1782;
    box-shadow: 0px 0px 5px 0px rgba(18, 18, 26, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    display: inline-block;
    width: 30px;
    height: 30px;
    color: #ffffffc3;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
    font-family: Fira Code;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    user-select: none;
    line-height: normal;
}

#load:hover {
    border: 1.5px solid #B3ADDD;
}

#subjectSelect {
    background: #232931;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-radius: 7px;
    outline: none;
    width: 90px;
    border: none;
}

.boor {
    display: flex;
    justify-content: center;
    width: 110px;
    height: 30px;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(248, 248, 248, 0.553);
}

#fileInputLabel2:hover,
#toggleDrag3:hover {
    border: 1.5px solid #B3ADDD;
}

#fileInput2 {
    display: none;
}

#container2::-webkit-scrollbar {
    width: 8px;
}

#container2::-webkit-scrollbar-track {
    background: #333;
    border-radius: 8px;
}

#container2::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 8px;
}

#container2::-webkit-scrollbar-thumb:hover {
    background: #888;
}

#options {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.option-btn {
    display: flex;
    align-items: center;
    padding-left: 15px;
    width: 459.05px;
    height: 44.644px;
    color: #828487;
    transition: 0.2s ease-in-out;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.27);
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 6px;
    border: 1px solid rgba(239, 241, 245, 0.34);
    background: rgba(255, 255, 255, 0.04);
}

.option-btn:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.27);
    ;
    transform: scale(1.02);
}

.option-btn:active {
    transform: scale(0.98);
}

.option-btn.correct {
    color: #8FDF51;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.27);
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border-radius: 6px;
    border: 1px solid rgba(143, 223, 81, 0.70);
    background: rgba(143, 223, 81, 0.07);
}

.option-btn.incorrect {
    border-radius: 6px;
    border: 1px solid rgba(255, 35, 35, 0.49);
    background: rgba(255, 35, 35, 0.04);
    color: #FF2323;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.27);
    font-family: Montserrat;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#timer {
    color: rgba(255, 255, 255, 0.46);
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.time_box_ai {
    width: 54px;
    height: 19px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(132, 79, 156, 0.33);
    box-shadow: 0 0 10px 0 rgba(151, 142, 191, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
}

#explanation {
    margin-top: 10px;
    padding: 8px;
    display: none;
    color: #ffffffa3;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.ai_title {
    padding-top: 13px;
    color: rgba(255, 255, 255, 0.77);
    font-family: "Fira Code";
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#question {
    color: #FFF;
    font-family: Montserrat;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.55px;
}

.border_ai {
    padding-top: 20px;
    width: 100%;
    border-bottom: 1px rgba(255, 255, 255, 0.53) solid;
}

.code-box {
    resize: both;
    padding: 10px;
    width: 362px;
    height: 194px;
    border-radius: 5px;
    background: rgba(18, 18, 26, 0.64);
    box-shadow: 0px 0px 5px 0px rgba(18, 18, 26, 0.25);
    outline: none;
    color: #CDD6F4;
    font-family: Fira Code;
    font-size: 12px;
    font-style: normal;
    font-weight: 450;
    line-height: normal;

    overflow: auto;
}

.code-box::-webkit-scrollbar {
    display: none;
}

.code-box:focus {
    border: 1.5px solid #B3ADDD;
    outline: none;
    color: #CDD6F4;
    font-family: Fira Code;
    font-size: 12px;
    font-style: normal;
    font-weight: 450;
    line-height: normal;
}

.code-box p {
    color: #CDD6F4;
    font-family: Fira Code;
    font-size: 12px;
    font-style: normal;
    font-weight: 450;
    line-height: normal;
}

.code-box:hover {
    cursor: pointer;
    border: 1.5px solid #B3ADDD;
}

#toggleDrag2 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #ffffffc3;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background-color: #1f2028;
    cursor: pointer;
    user-select: none;
}

#toggleDrag2:hover {
    border: 1.5px solid #B3ADDD;
}

/*
 * cinematric bar
 * 
 * This section applies a cinematic-style bar effect, typically used to create letterbox or widescreen aspect ratios.
 * It can be used to add visual emphasis or simulate a film-like appearance in web layouts.
 */

.cinematic_bar_top {
    position: fixed;
    /* Fix the position to the viewport */
    top: 0;
    /* Align to the top of the viewport */
    left: 0;
    /* Align to the left of the viewport */
    width: 100%;
    /* Full width of the viewport */
    /* Height of the cinematic bar */
    background-color: rgba(0, 0, 0, 1);
    /* Semi-transparent black background */
    z-index: 1;
    /* Ensure it appears above other content */
    pointer-events: none;
    /* Allow clicks to pass through */
    transform: translateY(-100%);
}

.cinematic_bar_bottom {
    position: fixed;
    /* Fix the position to the viewport */
    bottom: 0;
    /* Align to the top of the viewport */
    left: 0;
    /* Align to the left of the viewport */
    width: 100%;
    /* Full width of the viewport *
    /* Height of the cinematic bar */
    background-color: rgba(0, 0, 0, 1);
    /* Semi-transparent black background */
    z-index: 1;
    /* Ensure it appears above other content */
    pointer-events: none;
    /* Allow clicks to pass through */
    transform: translateY(100%);
}

/* Khi bật chế độ cinematic */
.show_cinematic .cinematic_bar_top {
    transform: translateY(0);
}

.show_cinematic .cinematic_bar_bottom {
    transform: translateY(0);
}

.cinematic_bar_top,
.cinematic_bar_bottom {
    transition: transform 0.6s ease-in-out;
    height: 100px;
}