body {
    font-family: 'Special Elite', cursive;
    margin: 0;
    padding: 30px;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.1em; /* Increased base font size */
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    color: #2c3e50;
    font-size: 3.5em; /* Increased from 3em */
    border-bottom: 2px solid #3498db;
    padding-bottom: 15px;
}

.instruction {
    font-size: 1.6em; /* Increased from 1.4em */
    color: #555;
    margin-top: 20px;
    font-style: italic;
}

/* New style for wrapper to put images in parallel */
.mystery-images-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow images to wrap on smaller screens */
    justify-content: center; /* Center images horizontally */
    gap: 30px; /* Space between images */
    margin-bottom: 50px;
    max-width: 1000px; /* Adjust as needed for overall image container width */
    width: 100%;
}

.mystery-image-container {
    width: 100%;
    max-width: 450px; /* Adjusted max-width for individual images */
    border: 5px solid #bdc3c7;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent images from shrinking too much */
}

.mystery-image {
    width: 100%;
    height: auto;
    display: block;
}

.questions-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    width: 100%;
    margin-bottom: 50px; /* Add margin below questions container */
}

.question-category {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ecf0f1;
}

.question-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.question-category h2 {
    color: #34495e;
    font-size: 2.5em; /* Increased from 2.2em */
    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 6px solid #3498db;
}

.question-category p {
    margin: 10px 0;
    padding-left: 20px;
    font-size: 1.2em; /* Increased from 1.1em */
}

/* Post-it Note Styles */
.post-it-note {
    background-color: #fffd82; /* Classic post-it yellow */
    padding: 30px 40px;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg); /* Slightly rotate for a natural look */
    max-width: 700px;
    width: 100%;
    margin-top: 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.1); /* Subtle border */
}

.post-it-note h2 {
    font-family: 'Special Elite', cursive;
    color: #2c3e50;
    font-size: 2.8em; /* Big letters for the title */
    margin-bottom: 25px;
    border-bottom: 2px dashed #ffb300; /* A dashed line like drawn on a note */
    padding-bottom: 15px;
    display: inline-block; /* To make the border-bottom only as wide as the text */
}

.post-it-note ul {
    list-style: none; /* No bullets */
    padding: 0;
    margin: 0;
    columns: 2; /* Two columns for the list */
    column-gap: 30px;
    text-align: left; /* Align list items to the left within columns */
}

.post-it-note li {
    font-family: 'Special Elite', cursive;
    font-size: 1.6em; /* Big letters for the list items */
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
}

/* Responsive adjustments for the post-it note */
@media (max-width: 768px) {
    .post-it-note ul {
        columns: 1; /* Single column on smaller screens */
    }
}

/* Styles for the new Mystery Challenge Template */
.mystery-challenge-template {
    background-color: #e0f2f7; /* Light blue background for a fresh start */
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 950px;
    width: 100%;
    margin-top: 60px;
    text-align: center;
    border: 2px solid #a7d9ed;
}

.mystery-challenge-template h2 {
    font-family: 'Special Elite', cursive;
    color: #00796b; /* Darker teal for emphasis */
    font-size: 3.2em;
    margin-bottom: 30px;
    border-bottom: 3px solid #00acc1; /* Vibrant blue-green line */
    padding-bottom: 20px;
}

.template-instruction {
    font-size: 1.4em;
    color: #4a6a78;
    margin-bottom: 40px;
    font-style: italic;
    line-height: 1.6;
}

.template-category {
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 8px solid #00bcd4; /* Accent color on the left */
}

.template-category h3 {
    color: #00796b;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #e0f7fa;
}

/* Renamed from .template-question and styled */
.template-prompt {
    font-size: 1.3em;
    color: #5a7b8a;
    line-height: 1.5;
    padding-left: 10px;
    font-style: italic; /* Add italic for prompts */
    margin-bottom: 5px;
}

/* New style for model answers */
.template-placeholder {
    font-size: 1.2em;
    color: #333; /* Darker color for the answer itself */
    line-height: 1.5;
    padding-left: 20px; /* Indent more for the answer */
    margin-top: 10px;
    background-color: #f7fbfd; /* Slightly different background for placeholder */
    border-left: 3px solid #00bcd4; /* Accent bar */
    padding: 10px 15px;
    border-radius: 4px;
}

/* Bright green color for example text */
.example-text {
    color: #39FF14; /* Bright green */
    font-weight: bold; /* Make it stand out a bit more */
}

.guess-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #a7d9ed;
}

.guess-section h3 {
    color: #00796b;
    font-size: 2.2em;
    margin-bottom: 20px;
}

#celebrityGuess {
    font-family: 'Special Elite', cursive;
    width: 70%;
    padding: 15px 20px;
    font-size: 1.5em;
    border: 2px solid #00acc1;
    border-radius: 5px;
    margin-right: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: border-color 0.3s ease;
}

#celebrityGuess:focus {
    border-color: #00796b;
    outline: none;
}

#submitGuess {
    font-family: 'Special Elite', cursive;
    padding: 15px 30px;
    font-size: 1.5em;
    background-color: #00acc1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#submitGuess:hover {
    background-color: #00796b;
    transform: translateY(-2px);
}

#submitGuess:active {
    background-color: #005f6b;
    transform: translateY(0);
}

/* Styles for Print Worksheet button */
.worksheet-link-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #a7d9ed;
    text-align: center;
    display: flex; /* Use flexbox to align buttons */
    justify-content: center; /* Center buttons horizontally */
    gap: 20px; /* Space between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

#printWorksheet, #printGuessWorksheet { /* Apply styles to both print buttons */
    font-family: 'Special Elite', cursive;
    padding: 15px 30px;
    font-size: 1.5em;
    background-color: #3498db; /* A distinct color, e.g., blue */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Prevent buttons from shrinking */
}

#printWorksheet:hover, #printGuessWorksheet:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

#printWorksheet:active, #printGuessWorksheet:active {
    background-color: #2471a3;
    transform: translateY(0);
}

/* Responsive adjustments for the new template */
@media (max-width: 992px) {
    .mystery-challenge-template {
        padding: 30px;
    }
    .mystery-challenge-template h2 {
        font-size: 2.8em;
    }
    .template-category h3 {
        font-size: 1.8em;
    }
    .template-prompt, .template-placeholder { /* Apply to both prompt and placeholder */
        font-size: 1.2em;
    }
    #celebrityGuess, #submitGuess {
        font-size: 1.3em;
        padding: 12px 18px;
    }
    #celebrityGuess {
        width: 60%; /* Adjust width for smaller screens */
        margin-bottom: 15px; /* Add space between input and button */
    }
    .guess-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #submitGuess {
        width: 50%; /* Make button take more width */
    }
    #printWorksheet, #printGuessWorksheet {
        font-size: 1.3em;
        padding: 12px 18px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    h1 {
        font-size: 2.5em;
    }
    .instruction {
        font-size: 1.2em;
    }
    .mystery-images-wrapper {
        gap: 15px;
    }
    .mystery-image-container {
        max-width: 90%;
    }
    .questions-container {
        padding: 25px;
    }
    .question-category h2 {
        font-size: 2em;
    }
    .question-category p {
        font-size: 1em;
    }
    .mystery-challenge-template {
        padding: 20px;
        margin-top: 40px;
    }
    .mystery-challenge-template h2 {
        font-size: 2.2em;
        margin-bottom: 20px;
    }
    .template-instruction {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .template-category {
        padding: 18px 20px;
        margin-bottom: 18px;
    }
    .template-category h3 {
        font-size: 1.6em;
    }
    .template-prompt, .template-placeholder { /* Apply to both prompt and placeholder */
        font-size: 1.1em;
    }
    .guess-section h3 {
        font-size: 1.8em;
    }
    #celebrityGuess, #submitGuess {
        font-size: 1.1em;
        padding: 10px 15px;
    }
    #celebrityGuess {
        width: 80%;
        margin-right: 0;
    }
    #submitGuess {
        width: 70%;
    }
    #printWorksheet, #printGuessWorksheet {
        width: 70%;
        font-size: 1.1em;
    }
    .worksheet-link-section {
        flex-direction: column; /* Stack buttons vertically on very small screens */
        align-items: center;
    }
}