body {

    background-color: #f4f4f4;
    padding: 5px;
    margin: 0;
    justify-content: center;
}

.menu {
    font-family: monospace;
    display: flex; /* Sử dụng flexbox để căn chỉnh */
    justify-content: space-between; /* Tạo không gian giữa .left và .right */
    align-items: center; /* Căn giữa các mục theo chiều dọc */
    padding: 5px;
    font-weight: 900;
    font-size: large;
    
}

.auto-fit{
    background-color: #c2c2c2;
}

.menu a {
    text-decoration: none;
    color: #000000;
}

.menu a:hover {
    color: #ffffff;
}

.auto-fit {
    display: inline-block; /* Cho phép div tự điều chỉnh chiều rộng dựa trên nội dung */
    margin-left: 2px;
    padding: 8px 5px;
    border: 1px solid #000;
    border-radius: 4px;
    white-space: nowrap; /* Ngăn chặn văn bản bên trong div bị bọc dòng */
}

.left, .right {
    display: flex; /* Sử dụng flexbox để căn chỉnh các phần tử con */
}

.right {
    justify-content: flex-end; /* Căn phần tử con sang phải */
}
.key {
    font-family: monospace;
    font-size: 15px;
    line-height: 1.2;
    color: rgb(7, 0, 0);
    width: 50%; /* Hoặc bất kỳ giá trị chiều rộng nào bạn muốn */
    margin: 0 auto;
}

/*Cuộn văn bản*/

.scroll-box {
  height: 85vh;
  overflow-y: auto;
 
}

/* Tăng độ dày thanh cuộn */
.scroll-box::-webkit-scrollbar {
  width: 20px;
}

.scroll-box::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 16px;
}

.scroll-box::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 16px;
}

.scroll-box::-webkit-scrollbar-thumb:hover {
  background: #000;
}