html, body {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

body {
background-color: var(--color-neutral-300);
color: var(--color-dark);
font-size: var(--size-font);
font-family: Arial, sans-serif;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
transition: background-image 1s ease-in-out; /* Thêm hiệu ứng chuyển đổi */
}


.cloneable {
    padding: var(--container-padding);
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    display: flex;
    position: relative;
}

.nav-wrap {
    z-index: 100;
    pointer-events: none;
    justify-content: center;
    align-items: flex-end;
    display: flex;
    position: fixed;
    inset: 0 0 10vh;
    top: 95vh; /* Điều chỉnh top để luôn hiển thị */
    transform: scale(0.6);
}
/* Điều chỉnh kích thước của nav-wrap ở các màn hình nhỏ hơn */
    @media screen and (max-width: 768px) {
        .nav-wrap {
            top: 95vh; /* Điều chỉnh lại top khi màn hình nhỏ */
            transform: scale(0.6); /* Thay đổi tỉ lệ cho màn hình nhỏ */
        }
    }


.nav-list {
    flex-flow: row;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
    font-size: 1.4vw;
}

.nav-item {
    justify-content: center;
    align-items: center;
    width: 5em;
    transition: width .5s cubic-bezier(.16, 1, .3, 1);
    display: flex;
    position: relative;
}

.nav-item.hover {
    width: 8em;
}

.nav-item.sibling-close {
    width: 7em;
}

.nav-item.sibling-far {
    width: 6em;
}

.nav-item__link {
    z-index: 1;
    pointer-events: auto;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: .5em;
    padding-right: .5em;
    display: flex;
    position: relative;
}

.image {
    object-fit: contain;
    width: 100%;
}

.nav-item__tooltip {
    z-index: 0;
    background-color: var(--color-neutral-100);
    opacity: 0;
    white-space: nowrap;
    border-radius: .25em;
    padding: .4em .5em;
    font-size: 1em;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .5s cubic-bezier(.16, 1, .3, 1);
    position: absolute;
    top: 0;
    transform: translate(0, -80%);
    font-weight: 400;
}

.nav-item:hover .nav-item__tooltip {
    opacity: 1;
    transform: translate(0px, -140%);
}

.date {
font-size: 20px;

}
.clock {
position: absolute;
top: 20%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 5em;
color: white;
text-align: center;
padding: 0.5em 1em;
border-radius: 10px;
font-family: "Trebuchet MS", Tahoma, sans-serif;
font-weight: bold;
}

@media screen and (max-width: 768px) {
.clock {
    font-size: 2em; /* Giảm kích thước font trên màn hình nhỏ */
}
.date {
    font-size: 2em; /* Giảm kích thước font trên màn hình nhỏ */
}
}

.textmain {
color: white;
}

/* Hiển Thị PopUp Bản Quyền */
#popup {
    position: absolute;
    background: rgba(51, 51, 51, 0.6); /* Màu nền với độ trong suốt */
    color: #fff;
    z-index: 1000;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    width: 200px;
    z-index: 10;

    backdrop-filter: blur(10px); /* Làm mờ nền phía sau */
    -webkit-backdrop-filter: blur(10px); /* Hỗ trợ cho các trình duyệt WebKit */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Thêm viền để làm rõ ranh giới */
}
#popup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hidden {
    display: none;
}
#popup ul li {
    padding: 8px 12px;
    cursor: pointer;
    position: relative;
    margin-left: 20px;
}

#popup ul li:hover {
    background-color: #444;
}

#popup ul li ul.submenu {
    display: none;
    position: absolute;
    left: 200px; /* Đẩy menu con sang phải */
    top: 0;
    background-color: rgba(51, 51, 51, 0.9); /* Màu nền với độ trong suốt */
    backdrop-filter: blur(10px); /* Làm mờ nền phía sau */
    -webkit-backdrop-filter: blur(10px); /* Hỗ trợ cho các trình duyệt WebKit */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Thêm viền để làm rõ ranh giới */
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 20;
    min-width: 200px;
}


#popup ul li:hover ul.submenu {
    display: block;
}

hr {
    border: 0;
    height: 1px;
    background: #555;
    margin: 5px 0;
}

/* Mũi Tên */
li {
    position: relative; /* Để cho phép căn chỉnh mũi tên ở bên phải */
}

.arrow {
    position: absolute;
    right: 10px; /* Cách bên phải một khoảng 10px */
    top: 50%;
    transform: translateY(-50%); /* Căn giữa mũi tên theo chiều dọc */
}







  