﻿/* Reset mặc định */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    background: url('https://jxmu.vn/include/web_skins/fova/images/bg_header.jpg') no-repeat center center fixed, #1a0f07;
    font-family: 'Roboto', Arial, sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
}

/* Menu Icon */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
    position: fixed;
    top: 35px;
    left: 35px;
    color: #ffffff;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.menu-icon:hover {
    transform: scale(1.05);
}



.navbar.show {
    transform: translateX(0);
}

.navbar li {
    list-style: none;
    margin: 15px 0;
    width: 100%;
    text-align: center;
}

.navbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.15);
    transform: translateX(5px);
}

/* Container */
.container {
    /* Adjusted margin-top to ~50px to push content down */
    margin: 70px 20px 20px 260px;
    max-width: calc(100% - 280px);
    padding: 20px;
    background: rgba(44, 47, 51, 0.9);
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex: 1;
    /* Note: To adjust the top margin, change 'margin: 70px' to desired value (e.g., '50px' or '100px') */
}

/* Tiêu đề */
h1, h2 {
    color: #ffffff;
    text-align: center;
    font-family: 'Roboto', serif;
    margin-bottom: 20px;
}

h1 {
    font-size: 32px;
    letter-spacing: 1px;
}

h2 {
    font-size: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid #4a4a4a;
}

/* Nội dung */
p {
    margin: 10px 0;
    font-size: 16px;
    font-weight: 400;
}

b, strong {
    color: #ffffff;
    font-weight: 600;
}

/* Danh sách */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 12px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
}

ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b0b0b0;
    font-size: 18px;
}

/* Nút Call-to-Action */
.button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #FFD700;
    color: #1c2526;
    text-decoration: none;
    border-radius: 6px;
    margin: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* Hình ảnh */
.bbImage {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #4a4a4a;
    transition: transform 0.3s ease;
}

.bbImage:hover {
    transform: scale(1.02);
}

/* Highlight */
.highlight {
    color: #b0b0b0;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 24px;
        top: 10px;
        left: 10px;
    }
    .navbar {
        width: 200px;
        top: 0;
        left: 0;
        height: 100vh;
        border: none;
        border-radius: 0;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%);
        /* Maintain vertical centering for mobile */
        justify-content: center;
        align-items: center;
        /* Note: To adjust mobile navbar centering, modify 'justify-content' as above */
    }
    .navbar.show {
        transform: translateX(0);
    }
    .navbar li {
        margin: 10px 0;
    }
    .navbar a {
        font-size: 14px;
        padding: 8px 12px;
    }
    .container {
        /* Adjusted top margin for mobile */
        margin: 70px 10px;
        padding: 15px;
        max-width: calc(100% - 20px);
        /* Note: To adjust top margin, change 'margin: 70px' to desired value */
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    p, ul li {
        font-size: 14px;
    }
    .button {
        padding: 8px 15px;
        font-size: 13px;
    }
    .bbImage {
        margin: 15px 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .menu-icon {
        display: none;
    }
    .navbar {
        width: 200px;
        top: 15px;
        left: 15px;
        height: calc(100vh - 30px);
        border: 2px solid #FFD700;
        border-radius: 6px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 8px rgba(255, 215, 0, 0.2);
        transform: translateX(0);
        /* Maintain vertical centering */
        justify-content: center;
        align-items: center;
        /* Note: To adjust tablet navbar centering, modify 'justify-content' as above */
    }
    .container {
        /* Adjusted top margin for tablet */
        margin: 70px 15px 20px 230px;
        padding: 20px;
        max-width: calc(100% - 260px);
        /* Note: To adjust top margin, change 'margin: 70px' to desired value */
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 22px;
    }
    .navbar a {
        font-size: 15px;
        padding: 8px 14px;
    }
    .button {
        padding: 9px 20px;
    }
}

@media (min-width: 1025px) {
    .menu-icon {
        display: none;
    }
    .navbar {
        width: 220px;
        top: 20px;
        left: 20px;
        height: calc(100vh - 40px);
        border: 2px solid #FFD700;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 0 8px rgba(255, 215, 0, 0.2);
        transform: translateX(0);
        /* Maintain vertical centering */
        justify-content: center;
        align-items: center;
        /* Note: To adjust desktop navbar centering, modify 'justify-content' as above */
    }
    .container {
        /* Adjusted top margin for desktop */
        margin: 200px 20px 20px 260px;
        max-width: calc(100% - 280px);
        /* Note: To adjust top margin, change 'margin: 70px' to desired value */
    }
    .navbar a {
        padding: 10px 15px;
    }
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #4a4a4a;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

th {
    background: #2c2f33;
    color: #ffffff;
    font-weight: 600;
}
/* CSS from user */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        .button {
            display: inline-block;
            background: #8b0000;
            color: #ffd700;
            padding: 12px 25px;
            text-decoration: none;
            border-radius: 5px;
            margin: 10px;
            font-size: 16px;
            font-weight: bold;
            transition: background 0.3s, color 0.3s;
        }
        .button:hover {
            background: #ff4500;
            color: #fff;
        }
        body {
            background: url('https://jxmu.vn/include/web_skins/fova/images/bg_header.jpg') no-repeat center center fixed;
            background-size: cover;
            font-family: Arial, sans-serif;
            color: #fff;
            line-height: 1.6;
        }
        .container {
            max-width: 1200px;
            margin: 80px auto 20px;
            padding: 25px;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
        }
        h1 {
            color: #ffd700;
            text-align: center;
            margin-bottom: 25px;
            font-size: 32px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        p {
            margin: 10px 0;
            color: #fff;
            font-size: 16px;
        }
        label {
            display: block;
            margin: 10px 0 5px;
            color: #ffd700;
            font-size: 16px;
        }
        input[type="text"], input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ffd700;
            border-radius: 5px;
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            font-size: 16px;
        }
        input[type="text"]::placeholder, input[type="password"]::placeholder {
            color: #ccc;
        }
        #errorr {
            color: #ff4500;
            text-align: center;
            margin-bottom: 15px;
        }
        .footer {
            background: rgba(0, 0, 0, 0.9);
            padding: 20px;
            text-align: center;
            color: #fff;
            font-size: 14px;
            position: relative;
            border-top: 3px solid #ffd700;
        }
        .footer-bar {
            height: 5px;
            background: linear-gradient(to right, #8b0000, #ffd700, #8b0000);
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }
        #bttop {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #8b0000;
            color: #ffd700;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            display: none;
        }
        #bttop:hover {
            background: #ff4500;
            color: #fff;
        }
/* Reset mặc định */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    background: url('https://jxmu.vn/include/web_skins/fova/images/bg_header.jpg') no-repeat center center fixed, #1a0f07;
    background-size: cover;
    font-family: 'Roboto', Arial, sans-serif; /* Font dễ đọc cho nội dung thường */
    color: #f5f5f5;
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Menu Icon */
.menu-icon {
    display: none;
    font-size: 32px;
    cursor: pointer;
    position: fixed;
    top: 15px;
    left: 15px;
    color: #ffd700;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.menu-icon:hover {
    transform: scale(1.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #2b1a0a 0%, #4b2e11 50%, #1a0f07 100%);
    border-right: 3px solid #ffd700;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding-top: 70px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
}

.navbar.show {
    left: 0;
}

.navbar li {
    list-style: none;
    margin: 15px 0;
}

.navbar a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #ffd700;
    font-size: 16px; /* Giảm nhẹ để dễ đọc */
    font-weight: 500; /* Giảm độ đậm cho thanh thoát */
    text-align: center;
    background: rgba(43, 26, 10, 0.8);
    border: 1px solid #8b5a2b;
    border-radius: 10px;
    margin: 0 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease-out;
    letter-spacing: 0.5px;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 100px auto 30px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ffd700;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

/* Tiêu đề */
h1, h2 {
    color: #ffd700;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    font-family: 'Cinzel Decorative', serif; /* Giữ font trung cổ cho tiêu đề */
}

h1 {
    margin-bottom: 30px;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ffd700, #ff4500);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    margin: 25px 0 20px;
    font-size: 26px;
    padding-bottom: 8px;
    border-bottom: 2px dashed #ffd700;
}

/* Nội dung */
p {
    margin: 12px 0;
    font-size: 16px; /* Giảm nhẹ và chuẩn hóa */
    font-weight: 400; /* Font-weight nhẹ hơn để dễ đọc */
}

b, strong {
    color: #ffd700;
    font-weight: 700; /* Đậm vừa phải */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Danh sách */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px; /* Chuẩn hóa với p */
    font-weight: 400; /* Nhẹ hơn để dễ đọc */
}

ul li:before {
    content: "⚔";
    position: absolute;
    left: 5px;
    color: #ffd700;
    font-size: 20px;
    animation: pulse 2s infinite;
}

/* Nút Call-to-Action */
.button {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(45deg, #8b0000, #ff4500);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    margin: 15px 10px;
    font-size: 15px; /* Giảm nhẹ để cân đối */
    font-weight: 500; /* Nhẹ hơn cho dễ đọc */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.button:hover {
    background: linear-gradient(45deg, #ff4500, #ffd700);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.6);
}

.button:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.button:hover:after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Hình ảnh */
.bbImage {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    transition: transform 0.3s ease;
}

.bbImage:hover {
    transform: scale(1.03);
}

/* Highlight */
.highlight {
    color: #ff4500;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(43, 26, 10, 0.95), rgba(26, 15, 7, 0.95));
    padding: 40px 20px;
    text-align: center;
    color: #ffd700;
    font-size: 15px;
    position: relative;
    border-top: 4px solid #ffd700;
    margin-top: 40px;
    box-shadow: 0 -5px 20px rgba(255, 215, 0, 0.2);
    overflow: hidden;
}

.footer-bar {
    height: 8px;
    background: linear-gradient(90deg, #ffd700, #ff4500, #ffd700);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: gradientMove 5s infinite linear;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer a, .social-link {
    color: #ffd700;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500; /* Nhẹ hơn cho dễ đọc */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer a:hover, .social-link:hover {
    color: #ff4500;
    transform: translateY(-3px);
    text-shadow: 0 2px 5px rgba(255, 69, 0, 0.5);
}

.social-link .icon {
    color: #ff4500;
    margin-right: 8px;
    font-size: 22px;
    transition: transform 0.3s ease;
}

.social-link:hover .icon {
    transform: rotate(15deg) scale(1.1);
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"%3E%3Ccircle cx="10" cy="10" r="1" fill="%23ffd700" opacity="0.3"/%3E%3Ccircle cx="50" cy="50" r="2" fill="%23ff4500" opacity="0.2"/%3E%3Ccircle cx="150" cy="20" r="1" fill="%23ffd700" opacity="0.4"/%3E%3Ccircle cx="180" cy="180" r="2" fill="%23ff4500" opacity="0.3"/%3E%3C/svg%3E');
    opacity: 0.1;
    animation: dustMove 10s infinite linear;
}

/* Hiệu ứng Keyframes */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes dustMove {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) { /* Mobile nhỏ */
    .menu-icon { display: block; font-size: 28px; top: 10px; left: 10px; }
    .navbar { width: 240px; padding-top: 60px; }
    .navbar a { padding: 10px 15px; font-size: 14px; margin: 0 10px; }
    .container { margin: 70px 10px 20px; padding: 15px; }
    h1 { font-size: 24px; letter-spacing: 2px; }
    h2 { font-size: 20px; }
    p, ul li { font-size: 14px; }
    .button { padding: 8px 20px; font-size: 13px; margin: 10px 5px; }
    .bbImage { margin: 15px 0; }
    .footer { padding: 30px 15px; font-size: 13px; }
    .footer a, .social-link { margin: 0 10px; }
    .social-link .icon { font-size: 18px; }
}

@media (min-width: 481px) and (max-width: 768px) { /* Tablet */
    .menu-icon { display: block; font-size: 30px; }
    .navbar { width: 260px; }
    .navbar a { padding: 11px 18px; font-size: 15px; }
    .container { margin: 80px 20px 20px; padding: 20px; }
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
    p, ul li { font-size: 15px; }
    .button { padding: 9px 22px; font-size: 14px; }
    .bbImage { margin: 20px 0; }
    .footer { padding: 35px 20px; }
    .footer a, .social-link { margin: 0 15px; }
    .social-link .icon { font-size: 20px; }
}

@media (min-width: 769px) and (max-width: 1024px) { /* Desktop nhỏ */
    .menu-icon { display: none; }
    .navbar {
        left: 0;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        padding: 12px 0;
        border-bottom: 3px solid #ffd700;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
    .navbar li { display: inline-block; margin: 0 12px; }
    .navbar a { padding: 10px 18px; font-size: 15px; }
    .container { margin: 90px 30px 30px; padding: 25px; }
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    .button { padding: 10px 25px; }
    .footer { padding: 40px 30px; }
}

@media (min-width: 1025px) { /* Desktop lớn */
    .menu-icon { display: none; }
    .navbar {
        left: 0;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        padding: 15px 0;
        border-bottom: 3px solid #ffd700;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
    .navbar li { display: inline-block; margin: 0 15px; }
    .navbar a { padding: 12px 20px; }
    .container { margin: 100px auto 30px; padding: 30px; }
}

  table {
            width: 100%;
            border-collapse: collapse;
            
        }
        th, td {
            border: 1px solid black;
            padding: 8px;
            text-align: center;
        }
        th {
            background-color: #f58802;
        }
        th, td {
            border: 1px solid red; /* Đổi màu viền thành đỏ */
            padding: 8px;
            text-align: left;
        }
        