.minigame .minigame-container { background: linear-gradient(180.0deg, #D6641F 0.0%, #E27C3E 33%, #DD824C 67%, #BC8564 100%); } .minigame .predict-image-container { width: 100px; height: 150px; color: gray; background: gray; border-radius: 10px; margin: 5px; margin-bottom: 15px; padding-top: 1px; padding: 2px; padding-top: 3px; } .minigame .predict-image-container .predict-img { width: 100%; left: 0px; /* position: absolute;*/ border-radius: 10px; } .minigame .choosing { background: green; /* padding-top: 3px;*/ } .minigame .btn-style { min-width: 100px; text-align: center; } .minigame .text-white { color: white; } .minigame .dropdown-active { position: absolute; inset: 0px auto auto 0px; margin: 0px; transform: translate(290px, 474px) !important; } .minigame .dropdown-inactive { position: absolute; inset: 0px auto auto 0px; margin: 0px; transform: translate(213px, 474px) !important; } .minigame .top-100 { margin-top: 150px; } .minigame .top-50 { margin-top: 50px; } .minigame .top-30 { margin-top: 40px; } .minigame .bottom-30 { margin-top: 40px; } .minigame .text-s-36 { font-size: 36px; } .minigame .text-s-15 { font-size: 15px; } .minigame .hide { display: none !important; } .minigame .ranking-box { background: transparent; /* padding: 20px; */ } .minigame .ranking-box .box { border: 1px solid transparent; border-radius: 20px; } .minigame .ranking-box .box .box-item { background: linear-gradient(180.08deg, rgba(238, 0, 51, 0.85) 0.05%, rgba(105, 14, 66, 0.85) 63.07%, rgba(58, 24, 47, 0.85) 82.44%, rgba(27, 25, 38, 0.85) 99.91%); margin-top: 10px; border: 1px solid white; } .minigame .ranking-box-header { background: linear-gradient(82.89deg, #ff5f08 5.39%, #ff5ff9 94.31%); padding: 10px; border-radius: 10px; border: 1px solid white; max-width: 230px; text-align: center; margin: auto; } .minigame .ranking-data { margin: 10px; margin-top: 30px; border: 1px solid white; border-radius: 10px; padding: 20px; color: white; } .minigame .ranking-data .data-line { margin-bottom: 10px; } .minigame .ranking-data .data-line .right { text-align: right; display: block; } .minigame .bottom-border { border-bottom: 1px solid white; } .minigame .text-s-32 { font-size: 18px; line-height: 30px; } .minigame .text-black-color { color: black; } .minigame .button-box { min-width: 200px; text-align: center; display: block; } .minigame .answer-box { min-width: 200px; border-radius: 5px; padding: 12px 20px; text-align: center; font-weight: 600; margin: 10px; } .minigame .answer-active { background: green; color: white; } .minigame .img-result { margin: auto; width: 110px; text-align: center; } .minigame .rule-box { padding: 25px; color: white; font-size: 12px; } .answer-box button { background-color: #f0f0f0; color: #333; padding: 10px; border-radius: 5px; width: 100%; /* Đảm bảo nút bấm chiếm toàn bộ chiều rộng của .answer-box */ box-sizing: border-box; /* Đảm bảo padding và border không làm tăng kích thước phần tử */ cursor: pointer; transition: background-color 0.3s; display: block; /* Đảm bảo nút bấm chiếm toàn bộ không gian của .answer-box */ position: relative; /* Đặt vị trí tương đối để tương tác đúng với .answer-box */ } .answer-box button.selected { background-color: #4CAF50; /* Màu nền khi chọn */ color: white; /* Màu chữ khi chọn */ } .answer-box button:hover { background-color: green; color: white; /* Đổi màu chữ khi hover */ cursor: pointer; /* Hiển thị con trỏ chuột như tay khi hover */ } .popup-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 10000; } .popup-content { background-color: #fff; padding: 20px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); position: relative; /* This is necessary for positioning the close button */ } .close-popup-button { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; background-color: #f44336; /* Red background */ color: white; border: none; border-radius: 50%; font-size: 18px; font-weight: bold; text-align: center; cursor: pointer; line-height: 30px; /* Center the "X" vertically */ } .close-popup-button:hover { background-color: #d32f2f; /* Darker red on hover */ } .Home-popup-button { margin-top: 15px; padding: 10px 20px; background-color: #007bff; color: #fff; border: none; border-radius: 5px; cursor: pointer; } .Home-popup-button:hover { background-color: #0056b3; } .hidden { display: none; }