@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Outfit:wght@100..900&display=swap');


body {
    font-family: 'Kanit', sans-serif;
    background: #f2f2f2;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    background: #ff0000;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 18px;
}

.number.extracted {
    background: #ff0000;
    color: #fff;
}

#last-number {
    margin: 20px 0;
}

button {
    padding: 10px 20px;
    margin: 10px;
    background: #008CBA;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #005f73;
}

#qr-code {
    position: fixed;
    bottom: 35px;
    right: 1px;
}

#qr-code img {
    width: 200px;
    height: 200px;
}

footer {
    background: #333;
    color: #fff;
    padding: 5px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 10px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .board-grid {
        grid-template-columns: repeat(10, 1fr);
        gap: 2px;
        padding: 10px;
    }

    .number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    #last-number {
        font-size: 18px;
    }

    #qr-code img {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 24px;
        padding: 15px;
    }
   
}

@media screen and (max-width: 480px) {
    .board-grid {
        grid-template-columns: repeat(10, 1fr);
        gap: 2px;
        padding: 10px;
    }

    .number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    #last-number {
        font-size: 16px;
    }

    #qr-code img {
        width: 80px;
        height: 80px;
    }

    h1 {
        font-size: 20px;
        padding: 10px;
    }
  
}