/* ===== CHUNG ===== */
body {
    font-family: Arial, Helvetica, sans-serif;
    /*background-color: #fff0f0;   nền hồng nhạt  */
    background-color: #fff9db;   /* nền vàng nhạt */
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td, th {
    padding: 12px;
    vertical-align: top;
}


/* ===== MENU ===== */
.menu {
    background-color: #b30000;   /* đỏ đậm */
}

.menu a {
    color: #fffacd;              /* vàng nhạt */
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.menu a:hover {
    color: white;
    text-decoration: underline;
}


/* ===== TIÊU ĐỀ ===== */
h1 {
    color: #b30000;
    text-align: center;
    font-size: clamp(22px, 4vw, 40px);
}

h2 {
    color: #b30000;
    /* background-color: #ffe5e5; */
    background-color: #fff4b3;   
    border-left: 8px solid #b30000;
    padding: 8px;
    font-size: clamp(18px, 3vw, 28px);
}

h3 {
    color: #006400;             
}


/* ===== ĐÈN tròn ===== */
.khung-tet{
    display: flex;
    flex-direction: row;     /* nằm ngang */
    justify-content: center; 
    align-items: center;     /* ngang ảnh */
    gap: 10%;                 /* khoảng cách */
    position: relative;
}

.longden{
    display: flex;
    flex-direction: column;
    align-items: center;
    /*width: 150px;*/
    width: clamp(80px, 12vw, 150px);

    animation: lac 2s ease-in-out infinite;
    transform-origin: top center; /* điểm xoay ở dây treo */
}

.day-tren{
    width: 3px;
    height: 100px;
    background: gold;
}

.nut-vang{
    width: 70px;
    height: 15px;
    background: linear-gradient(gold, orange);
    border-radius: 4px;
    margin-bottom: -8px;  /* kéo sát vào đèn */
    z-index: 2;
}

/* thân tròn */
.than{
   /*width: 130px;
    height: 130px;
    font-size: 26px;
    font-size: 26px;*/

    width: clamp(70px, 10vw, 130px);
    height: clamp(70px, 10vw, 130px);
    font-size: clamp(14px, 2.5vw, 26px);
    background: radial-gradient(circle, #ff4d4d 40%, #990000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: yellow;
    font-family: cursive;
    text-shadow: 0 0 15px yellow;
    box-shadow: 0 0 25px orange;
}

.day-duoi{
    width: 3px;
    height: 50px;
    background: gold;
}

.bang-chu{
    /*width: 100px;
    font-size: 25px;*/
    
    width: clamp(60px, 8vw, 100px);
    font-size: clamp(14px, 2vw, 25px);
    background: linear-gradient(#b30000, #800000);
    color: gold;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    border: 3px solid gold;
    font-family: cursive;
    line-height: 1.8;
}

@keyframes lac{
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(5deg); }
    50%  { transform: rotate(0deg); }
    75%  { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* hình giữa */
.hinh-tet{
    width: 45%;
    max-width: 600px;
    border-radius: 10px;
}

/* ===== NỘI DUNG ===== */
p, li {
    font-size: 16px;
    line-height: 1.7;
}

/* ===== KHUNG NỘI DUNG ===== */
.card {
    background-color: #ffffff; 
    /* border: 2px solid #f4b4b4; */
    border: 2px solid #f4c430;   /* viền vàng */
    border-radius: clamp(20px, 5vw, 100px);
    padding: clamp(15px, 3vw, 40px);
   
    /*border-radius: 100px;
    padding: 40px;*/

}


/* ===== ẢNH ===== */
img {
    border-radius: 10px;
    /* border: 3px solid #f4b4b4; */
    border: 3px solid #f4c430;   /* viền vàng */
}


/* ===== BẢNG ẨM THỰC ===== */
th {
    background-color: #b30000;
    /* color: #fffacd; */
    color: #ffe066;
}

tr:nth-child(even) {
    /* background-color: #ffeaea; */
    background-color: #fff8cc;   /* vàng rất nhạt */
}


/* ===== FORM ===== */
input, textarea {
    width: 90%;
    padding: 6px;
    border: 1px solid #b30000;
}


/* ===== FOOTER ===== */
.footer {
    background-color: #006400;
    /* color: #fffacd; */
    color: #ffe066;
    text-align: center;
    padding: 15px;
}




