body {
    font-family: 'Outfit', sans-serif;
    background: rgb(195,61,155);
    background: linear-gradient(90deg, rgba(195,61,155,1) 28%, rgba(103,135,232,1) 67%, rgba(0,255,125,1) 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    max-width: 90%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stickman {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: jump 0.5s ease-in-out infinite;
}

@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hidden-text {
    color: #ff4757;
    font-size: 2rem;
    margin: 10px 0;
    font-weight: bold;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    min-width: 120px;
}

button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

input[type="text"] {
    padding: 10px;
    font-size: 1rem;
    margin: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.result {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: bold;
}

.translation, .definition {
    font-size: 1rem;
    margin: 8px 0;
    color: #ffdd57;
    font-family: 'Noto Sans Thai Looped', sans-serif;
}

.progress, .score, .hearts {
    font-size: 1.2rem;
    margin: 10px 0;
}

.info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.animation-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.heart {
    font-size: 1.2rem;
    color: #000000;
    margin: 0 4px;
}

.made-by {
    margin-top: 10px;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .stickman {
        font-size: 2rem;
    }
    .hidden-text {
        font-size: 1.6rem;
    }
    button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    input[type="text"] {
        font-size: 0.9rem;
    }
    .result, .translation, .definition, .progress, .score, .hearts {
        font-size: 1rem;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 4px solid rgb(255, 255, 255);
}

th, td {
    padding: 8px;
    text-align: center;
}

th {
    background-color: #000000;
}

.mistake-row {
    color: #000000; /* Change this color code to your desired color */
}
