body {
    align-items: center;
}

#startButton {
    padding:10px;
    border:none;
    background-color: rgb(20, 143, 20);
    color: white;
    font-weight:600;
    border-radius: 10px;
    width: 200px;
    height: 50px;
    margin: 10px;
}

#startButton:hover {
    background-color: rgb(6, 204, 6);
}

#nbWords, #activity {
    padding:10px;
    border:none;
    background-color: rgb(56, 63, 56);
    color: white;
    font-weight:600;
    border-radius: 10px;
    width: 300px;
    height: 50px;
    margin: 10px;
}

#timeSelect:hover {
    background-color: rgb(151, 150, 150);
}

#container_flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.fa-user {
    margin-right: 5px; /* Add some space between the icon and the text */
}

.loading-icon {
    width: 100px;
    height: 100px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin: 0 auto 20px auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cancel-button {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: none;
}

.cancel-button:hover {
    background-color: #c0392b;
}

.categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.category {
    padding: 10px;
}

.categories-container {
    display: flex;
    flex-direction: column;
}

.categories-title {
    padding: 0px 10px;
}

.nb-words-title {
    padding: 0px 10px;
}

