body {
    background-image: url("../images/notes-form.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Nunito', sans-serif;

    display: flex;
    flex-direction: row;
    align-items: center;
}

.text-heading {
    text-align: center;
    color: white;
    font-size: 34px;
    font-weight: bolder;
    margin: 0 auto;
    padding: 22px;
    border-bottom: 5px solid #c4d109d3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
}

.form-container {
    background-image: url("../images/notes-background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    border-radius: 8px;
    border: solid 3px white;
    width: 50%;



    margin: 0 auto;
    justify-items: center;
}

.form-container input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
}
#restart-button {
    width:fit-content;
    background-color: #3498db;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}
#randomize-button, #submit-button, #give-up-button {
    width: 50%;
    padding: 10px;
    margin-top: 10px;
    font-size: 16px;
    background-color: #c9bd20; 
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;

}

.form-container button:hover {
    background-color: #45a049;
}

.result-message {
    margin-top: 20px;
    font-size: 18px;
}


#notesContainer {
    display: flex;
    flex-direction: column;
    align-self: start;
    align-items: center;

}

#notesDisplay {
    font-family: 'Courier New', Courier, monospace;
    color: #141302;
    background-color: #d8d6bc;
    border: 2px solid #d4e20c;
    padding: 10px;
    width: fit-content;

    border-radius: 8px;
    font-weight: bold;
    font-size: 1.6rem;
    text-align: center;
    margin-top: 20px;
}

#randomize-button-container {
    display: flex;
    justify-content: center;
    align-items: center;

}

#randomize-button {
    width: fit-content;
}

#answerInput-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#answerInput {
    width: 260px;
    border: 2px solid hsl(56, 82%, 46%);
    border-radius: 8px;
}

#answerForm {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#answerForm button {
    margin: 10px;
    width: fit-content;
}

#streakDisplay {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#restart-button-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#streak {
    font-family: 'Courier New', Courier, monospace;
    color: #c9bd20;

    background-color: #292707;
    border: 2px solid #ddd;
    padding: 10px;
    width: fit-content;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.6rem;
    text-align: center;
    margin-top: 10px;
}

@keyframes shuffle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.note-card.shuffle-effect {
    animation: shuffle 2s ease-in-out;
}




#message {
    transition: color 0.3s ease;
    font-weight: bold;
    font-size: larger;
    background: rgba(241, 235, 177, 0.6);
    border-radius: 8px;
}




button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}


input[type="number"],
button {
    transition: all 0.2s ease-in-out;
}

#explanation {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(245, 245, 245, 0.8);
    border-radius: 8px;
    font-size: larger;
    color: #333;
    display: none;
}

#explanation .highlight {
    color: green;
    font-weight: bold;
    background-color: #f0f0c9;
    padding: 2px 4px;
    border-radius: 3px;
}

#message {
    font-weight: bold;
    font-size: larger;
    background: rgba(241, 235, 177, 0.6);
    border-radius: 8px;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
}

.all-notes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.note-card {
    display: inline-block;
    width: 50px;
    height: 70px;
    border: 2px solid #c9bd20;
    margin: 5px;
    text-align: center;
    line-height: 70px;
    font-weight: bold;
    font-size: 1.5rem;
    background-color: #292707;
    color: #c9bd20;
    border-radius: 8px;
}

.highlighted-note {
    background-color: #45a049;
    color: white;
}

#give-up-button {
    background-color: #e74c3c;
}

#randomize-button.disabled-btn, 
#answerInput.disabled-btn,
#submit-button.disabled-btn,
#give-up-button.disabled-btn {
    opacity: 0.5;
    color: white;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #333;
    border: 2px solid red;
}

#answerInput.disabled-btn-g {
    opacity: 0.5;
    color: white;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #505551;
    border: 2px solid #2dd114ef;

}
#submit-button.disabled-btn-g,
#give-up-button.disabled-btn-g {
    opacity: 0.5;
    color: white;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #07ee13;
    border: 2px solid #414e3fef;
}

.note-giveUp {
    box-shadow:inset 0px 4px 15px #dd0d0de1;
    opacity: 0.7;
}

.note-correct-g {
    box-shadow:inset 0px 4px 15px hsla(106, 89%, 46%, 0.882);
    opacity: 0.7;
}