/* Tổng thể nền */
body {
    font-family: 'Arial', sans-serif;
    color: white;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Logo "Happy New Year" */
h1 {
    color: #FF7F32; /* Màu cam */
    font-size: 3em;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Form chọn độ tuổi */
form {
    background-color: rgba(0, 0, 0, 0.4); /* Nền bán trong suốt */
    padding: 30px;
    margin-top: 50px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Thẻ label và select */
label, select {
    font-size: 1.2em;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

/* Chỉnh giao diện select */
select {
    width: 100%;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    color: #333;
}

/* Nút submit */
button {
    background-color: #FF7F32; /* Màu cam */
    color: white;
    font-size: 1.2em;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #FF5C1E; /* Cam đậm khi hover */
}

/* Hiển thị thông điệp */
#message {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(0, 255, 0, 0.6); /* Màu xanh lá */
    border-radius: 5px;
    color: #fff;
    font-size: 1.2em;
    display: none; /* Ẩn thông điệp ban đầu */
}

/* Ẩn phần tử */
.hidden {
    display: none;
}

/* Thêm hiệu ứng cho form khi được focus */
form:focus-within {
    box-shadow: 0 0 20px rgba(255, 127, 50, 0.8); /* Hiệu ứng ánh sáng cam */
}
/* Container cho mã QR */
.qr-container {
    text-align: center;
    padding: 10%;
    background-color: #fff5e6; /* Màu nền nhẹ nhàng */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    width: 90%;
    max-width: 400px;
    transition: all 0.3s ease-in-out;
}

/* Văn bản hướng dẫn */
.qr-text {
    font-size: 18px;
    color: #ff6600; /* Màu cam cho văn bản */
    font-weight: bold;
    margin-bottom: 15px;
}

/* Mã QR */
.qr-img {
    width: 80%;
    height: 80%;
    border-radius: 10px; /* Bo góc mềm mại */
    transition: transform 0.3s ease;
}

/* Hiệu ứng hover */
.qr-container:hover {
    transform: scale(1.05);
}

.qr-img:hover {
    transform: scale(1.1); /* Phóng to mã QR khi hover */
}
.hidden {
    display: none;
}