html {
    height: 100%;
    width: 100%;
    background-color: #ffece1;
    font-family: 'Poppins', sans-serif;
}


/* HEADER */
h1 {
    height: 50px;
    text-align: center;
    font-size: 3rem;
    color: #22223b;
    background: none;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

#study-intro {
    text-align: center;
    font-style: italic;
    color: #4a4e69;
    margin-bottom: 30px;
    font-size: 1.3rem;

}

/* INPUT */
#inputNotes {
    width: 350px;
    height: 45px;
    font-size: 16px;
    padding: 10px;
    border: 2px solid #c9ada7;
    border-radius: 8px;
    margin-bottom: 20px;
    background-color: #f2e9e4;
    color: #22223b;
}

/* BUTTONS */
button {
    padding: 10px 20px;
    margin: 8px;
    font-size: 14px;
    background-color: #4a4e69;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #22223b;
    transform: translateY(-3px);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.feature-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    max-width: 1100px;
}

#study-method-header {
    margin-top: 0px;

}

.feature-card {
    background-color: #c9ada7;
    color: #22223b;
    border-radius: 12px;
    width: 220px;
    height: 180px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: "Quicksand";
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 21px;
    font-weight: 700;
}

.feature-card p {
    font-size: 16px;
    margin-top: 13px;
    color: #22223b;
    padding: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.feature-card:first-child h3 {
    margin-top: 10px;
  }

.hero {
    text-align: center;
    padding: 60px 20px 0px;
}

.game-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #22223b;
    margin-bottom: 20px;
    text-shadow: 0 4px 18px rgba(74, 78, 105, 0.25);
}


.hero-subtitle {
    font-size: 1.5rem;
    color: #4a4e69;
    margin-top: 40px;
    margin-bottom: 20px;
}


.start-btn {
    font-size: 1.1rem;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background-color: #4a4e69;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.start-btn:hover {
    background-color: #22223b;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.note-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    gap: 3px;
}

h2 {
    color: #22223b;
}

.flag-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: auto;
}

.flag-img {

    width: 220px;
    height: auto;
    border: 3px solid #4a4e69;
    border-radius: 12px;
    margin: 20px 0;
}


#guess {
    width: 300px;
    height: 45px;
    font-size: 16px;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid #c9ada7;
    border-radius: 8px;
    background-color: #f2e9e4;
    color: #22223b;
}

#result {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 15px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.input-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#guess {
    margin: 0;
}

#result {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 15px 0 10px;
}

.center-button {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.glow-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #22223b;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(74, 78, 105, 0.3);
    letter-spacing: 1px;
}

.glow-title2 {
    font-size: 3rem;
    font-weight: 800;
    color: #22223b;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(74, 78, 105, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4a4e69;
    margin-bottom: 40px;
}

.hero-subtitle2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4a4e69;
    margin-top: 60px;
    margin-bottom: 0px;
    padding: 30px;
}

.note-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.quiz-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
}

#question-box {
    background-color: #f2e9e4;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

#question-text {
    font-size: 1.5rem;
    color: #22223b;
    margin-bottom: 20px;
}

.button-group button {
    margin: 10px;
    padding: 12px 25px;
    background-color: #4a4e69;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button-group button:hover {
    background-color: #22223b;
}

h3 {
    height: 10px;
    text-align: center;
    font-size: 3rem;
    color: #22223b;
    background: none;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.quiz-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
}

#vocab-box {
    background-color: #f2e9e4;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

#vocab-word {
    font-size: 1.8rem;
    color: #22223b;
    margin-bottom: 20px;
}

#vocab-input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #c9ada7;
    background-color: #fefefe;
    color: #22223b;
    margin-bottom: 20px;
}

#vocab-feedback {
    font-size: 1rem;
    font-weight: 500;
    margin: 15px 0;
}

.button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

/* === QUESTIONS PAGE STYLING === */
.quiz-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
}

.glow-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #22223b;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(74, 78, 105, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4a4e69;
    margin-bottom: 40px;
}

#question-box {
    background-color: #f2e9e4;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

#question-text {
    font-size: 1.5rem;
    color: #22223b;
    margin-bottom: 20px;
}

#user-answer {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #c9ada7;
    background-color: #fff;
    color: #22223b;
    margin-bottom: 20px;
    resize: vertical;
}

#feedback {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
}

.button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.start-btn {
    font-size: 1rem;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    background-color: #4a4e69;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.start-btn:hover {
    background-color: #22223b;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.chat-history {
    background-color: #fff7f5;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
}

#userInput {
    width: 100%;
    max-width: 600px;
    padding: 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #c9ada7;
    background-color: #fff;
    color: #22223b;
    resize: vertical;
}

#chat-output p strong {
    color: #4a4e69;
    /* Default color for all strong text */
}

#chat-output .user-text {
    color: #0077cc;
    /* Blue for User */
}

#chat-output .gpt-text {
    color: #cc5500;
    /* Orange for GPT */
}