/* Plik: style.css */
body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f3e9d2;
    color: #5c5c5c;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #fcf9f2;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #d1b49a;
    font-size: 2.5rem;
}

.task-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.maileg-character {
    width: 150px;
    height: 150px;
    margin-right: 20px;
}

.maileg-character img {
    width: 100%;
    animation: bounce 2s infinite ease-in-out;
}

.question-box {
    background-color: #e6e6e6;
    border-radius: 15px;
    padding: 20px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

#question {
    font-size: 2rem;
    font-weight: bold;
    color: #795548;
    margin: 0 0 15px 0;
}

.input-area {
    display: flex;
    gap: 10px;
    justify-content: center;
}

#answer-input {
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 1.2rem;
    width: 120px;
    text-align: center;
}

#check-button {
    background-color: #a8d5ba;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#check-button:hover {
    background-color: #8bb7a0;
}

#feedback {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.correct {
    color: green;
}

.incorrect {
    color: red;
}

.hidden {
    display: none;
}

.progress-bar {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #795548;
}

/* Animacje dla postaci */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
/* Styl dla menu nawigacyjnego */
.nav-menu {
    background-color: #f3e9d2;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.nav-link {
    text-decoration: none;
    color: #795548;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 10px;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.nav-link:hover {
    background-color: #d1b49a;
    color: white;
}

.nav-link.active {
    background-color: #a8d5ba;
    color: white;
}

@media (max-width: 600px) {
    .nav-menu {
        flex-wrap: wrap;
        gap: 5px;
    }
    .nav-link {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}
