

.words-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.05);
}

.card h2 {
    font-size: 1.5em;
    color: #333;
}

.card p {
    color: #666;
    font-size: 1em;
    margin: 10px 0;
}

.pronunciation {
    font-style: italic;
    color: #555;
}

button.btn {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin: 10px 5px;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

button.btn-primary {
    background-color: #007bff;
    color: white;
}

button.btn-primary:hover {
    background-color: #0056b3;
}

button.btn-secondary {
    background-color: #6c7d74;
    color: white;
}

button.btn-secondary:hover {
    background-color: #5a6268;
}

.result {
    margin-top: 15px;
    font-size: 1.1em;
}

.progress-bar {
    background-color: #e0e0e0;
    border-radius: 4px;
    height: 20px;
    margin-top: 10px;
    width: 100%;
}

.progress {
    background-color: #007bff;
    border-radius: 4px;
    height: 100%;
    width: 0;
    transition: width 0.3s;
}

/* Toastify CSS for notifications */
.toastify {
    font-size: 1em;
    border-radius: 4px;
}
