body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: url("../img/bglixi.png") center/100% no-repeat, #1c2033;;    

}

#puzzle-container {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 5px;
    justify-content: center;
}

#puzzle-container img {
    width: 100px;
    height: 100px;
    cursor: pointer;
}

button {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #ff4500;
}
p {
    font-size: 36px;

}
/* Hiệu ứng pháo hoa */
@keyframes fireworks {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(3);
        opacity: 0.7;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

#fireworks {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, red, orange, yellow);
    border-radius: 50%;
    animation: fireworks 1s ease-out;
    display: none;
}

.hidden {
    display: none;
}

#lixi-button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

#lixi-button:disabled {
    background-color: gray;
}

  /* From Uiverse.io by elijahgummer */ 
.golden-button {
    touch-action: manipulation;
    display: inline-block;
    outline: none;
    font-family: inherit;
    font-size: 1em;
    box-sizing: border-box;
    border: none;
    border-radius: 0.3em;
    height: 2.75em;
    line-height: 2.5em;
    text-transform: uppercase;
    padding: 0 1em;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(110, 80, 20, 0.4),
      inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
      inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
    background-image: linear-gradient(
      160deg,
      #a54e07,
      #b47e11,
      #fef1a2,
      #bc881b,
      #a54e07
    );
    border: 1px solid #a55d07;
    color: rgb(120, 50, 5);
    text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-size: 100% 100%;
    background-position: center;
  }
  
  .golden-button:focus,
  .golden-button:hover {
    background-size: 150% 150%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23),
      inset 0 -2px 5px 1px #b17d10, inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
    border: 1px solid rgba(165, 93, 7, 0.6);
    color: rgba(120, 50, 5, 0.8);
  }
  
  .golden-button:active {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(110, 80, 20, 0.4),
      inset 0 -2px 5px 1px #b17d10, inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
  }
  h1 {
    font-family: 'Georgia', serif; /* Phông chữ đặc biệt */
    font-size: 4em; /* Kích thước chữ lớn */
    color: #ff6347; /* Màu sắc nổi bật (Tomato) */
    text-align: center; /* Căn giữa nội dung */
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* Hiệu ứng gradient */
    -webkit-background-clip: text; /* Chỉ hiển thị gradient trên chữ */
    -webkit-text-fill-color: transparent; /* Làm cho phần nền không hiển thị */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Hiệu ứng bóng chữ */
    margin: 20px 0; /* Khoảng cách bên ngoài */
    padding: 10px; /* Khoảng cách bên trong */
}
h2 {
        font-family: 'Georgia', serif; /* Phông chữ đặc biệt */
        font-size: 2em; /* Kích thước chữ lớn */
        color: #ff6347; /* Màu sắc nổi bật (Tomato) */
        text-align: center; /* Căn giữa nội dung */
        background: linear-gradient(to right, #ff7e5f, #feb47b); /* Hiệu ứng gradient */
        -webkit-background-clip: text; /* Chỉ hiển thị gradient trên chữ */
        -webkit-text-fill-color: transparent; /* Làm cho phần nền không hiển thị */
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Hiệu ứng bóng chữ */
    }