body {
    font-family: Arial, sans-serif;
    background-color: #CCCCCC;
    margin: 0;
    padding: 20px;
}

.stars-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.star-category {
    background-image: url('images/hinhnen.png'); /* Đường dẫn tới hình ảnh bông lúa */
    width: 49%;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.star-category h2 {
    text-align: center;
	color:#fecf1f;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.star-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.first-tier,
.second-tier,
.third-tier,
.fourth-tier {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin-bottom: 50px;
}

.star {
    position: relative;
    text-align: center;
    margin: 20px;
    width: 150px;
    height: 150px;
    cursor: pointer;
    transition: transform 0.3s;
}

.star::before {
    content: "";
    background-image: url('images/bgvuongniem.png'); /* Đường dẫn tới hình ảnh bông lúa */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -30%; /* Điều chỉnh để bông lúa bao quanh hình ảnh nhiều hơn */
    left: -30%;
    width: 160%; /* Tăng kích thước để bao ngoài hình nhân vật */
    height: 160%;
    z-index: 1;
    border-radius: 50%;
}

.personal-img {
    position: relative;
    z-index: 2;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.star img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.star p {
    text-align: center;
    margin-top: 40px;
    font-weight: bold;
    font-size: 14px; /* Tăng kích thước chữ để nổi bật hơn */
    color:#fecf1f; /* Màu xanh cho chữ */
    font-family: 'Poppins', sans-serif; /* Sử dụng font chữ đẹp */
	text-transform:uppercase;
	 
	/*
    white-space: nowrap; /* 1- Ngăn chặn việc xuống dòng của văn bản. Tất cả nội dung văn bản sẽ nằm trên một dòng. */
    /*
	overflow: hidden; /* 2- Ẩn phần văn bản vượt quá kích thước của phần tử. */
    /*
	text-overflow: ellipsis; /* 3- Thay thế phần văn bản bị cắt bằng dấu ba chấm ("..."). (3 phần tử này dùng phải có thêm width: 200px; or max-width*/
	
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Thêm bóng chữ để tạo hiệu ứng nổi bật */
}

.star:hover {
    transform: scale(1.1);
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 20px;
    width: 500px;
	height:500px;
    border-radius: 10px;
}

.popup-content {
    text-align: center;
}

.popup-content img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
}
