* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Special Elite', 'Courier New', monospace;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding-top: 20px;
    position: relative;
}

.video-container {
    position: relative;
    margin: 20px auto;
    width: 80%;
    max-width: 560px;
    z-index: 200;
    text-align: center;
}

.video-container iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.post-it {
    position: relative;
    margin: 20px auto;
    width: 80%;
    max-width: 750px;
    background-color: #fef9a7;
    padding: 20px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    font-size: 1rem;
    line-height: 1.5;
    z-index: 100;
    transform: rotate(-1deg);
}

.post-it p {
    color: #333;
}

.adjectives-post-it {
    transform: rotate(1deg);
    margin-top: 40px;
    background-color: #a8e6cf;
}

.adjectives-post-it h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.adjective-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.adjective-columns ul {
    list-style-type: none;
    padding: 0;
}

.adjective-columns li {
    margin-bottom: 8px;
}

.quantities-post-it {
    transform: rotate(1.5deg);
    margin-top: 40px;
    background-color: #b19cd9; /* Light purple color */
}

.quantity-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.distance-post-it {
    transform: rotate(-1deg);
    margin-top: 40px;
    background-color: #98d8c8; /* Light teal color */
}

.distance-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.emotions-post-it {
    transform: rotate(-1.5deg);
    margin-top: 40px;
    background-color: #ffb6c1; /* Light pink color */
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-style: italic;
}

.instructions {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.instructions h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.instructions ol {
    padding-left: 1.5rem;
}

.game-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#text-display {
    background-color: #ecf0f1;
    padding: 1.5rem;
    border-radius: 6px;
    min-height: 150px;
    font-size: 1.1rem;
    line-height: 1.8;
}

#text-display h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 0.5rem;
}

.controls {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.teacher-controls {
    display: flex;
    gap: 0.5rem;
}

button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#start-btn, #next-btn {
    background-color: #3498db;
    color: white;
}

#start-btn:hover, #next-btn:hover {
    background-color: #2980b9;
}

#more-btn {
    background-color: #e74c3c;
    color: white;
}

#more-btn:hover {
    background-color: #c0392b;
}

#less-btn {
    background-color: #2ecc71;
    color: white;
}

#less-btn:hover {
    background-color: #27ae60;
}

#other-btn {
    background-color: #f39c12;
    color: white;
}

#other-btn:hover {
    background-color: #d35400;
}

.example-area {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.example-area h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

#example-display {
    line-height: 1.6;
}

.highlighted {
    background-color: #ffe066;
    padding: 0 4px;
    border-radius: 3px;
}

.changed {
    background-color: #9be3ff;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: bold;
}

.teacher-controls button {
    min-width: 80px;
}

.index {
    background-color: #eaf5ff;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border-left: 4px solid #3498db;
}

.index h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.index ul {
    list-style-type: none;
    padding-left: 0.5rem;
}

.index li {
    margin-bottom: 0.5rem;
}

.index a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.index a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

.index.visible, .instructions.visible, .game-area.visible {
    transition-delay: 0.2s;
}

.example-area.visible {
    transition-delay: 0.3s;
}

.index li, .instructions li {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(0.1s * var(--item-index, 0));
}

.index.visible li, .instructions.visible li {
    opacity: 1;
    transform: translateX(0);
}

.level-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.level-switcher button {
    padding: 0.5rem 1rem;
    background-color: #ecf0f1;
    color: #2c3e50;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.level-switcher button.active {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}

.level-switcher button:hover:not(.active) {
    background-color: #d6dbdf;
}

.print-button-container {
    text-align: center;
    margin: 30px auto 10px;
    padding: 15px;
    background-color: #e8f4fc;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.print-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.print-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.print-btn:before {
    content: "📋";
    margin-right: 8px;
    font-size: 1.2rem;
}

.print-info {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
}

.wall-poster-preview {
    margin: 40px auto;
    padding: 20px;
    background-color: #f0f8ff;
    border-radius: 8px;
    border: 2px dashed #3498db;
}

.wall-poster-preview h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}

.poster-container {
    max-width: 100%;
    overflow-x: auto;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.poster {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 15px;
    padding: 20px;
    min-width: 900px;
}

.poster .title {
    grid-column: span 3;
    text-align: center;
    background-color: #3498db;
    color: white;
    padding: 20px;
    border-radius: 8px;
}

.poster h1 {
    font-size: 28px;
    margin: 0;
}

.poster h2 {
    font-size: 18px;
    margin: 0;
    margin-top: 8px;
}

.poster h3 {
    font-size: 16px;
    margin: 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.poster .instructions {
    grid-column: span 3;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 2px dashed #3498db;
}

.poster .instructions ol {
    margin: 0;
    padding-left: 25px;
}

.poster .instructions li {
    font-size: 14px;
    margin-bottom: 5px;
}

.poster .section {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
}

.poster .section.adjectives {
    background-color: #a8e6cf;
}

.poster .section.emotions {
    background-color: #ffb6c1;
}

.poster .section.quantities {
    background-color: #b19cd9;
}

.poster .section.distances {
    background-color: #98d8c8;
}

.poster .section.examples {
    background-color: #fef9a7;
    grid-column: span 3;
}

.poster ul {
    padding-left: 20px;
    margin: 0;
}

.poster li {
    font-size: 12px;
    margin-bottom: 4px;
}

.poster p {
    font-size: 12px;
    margin: 5px 0;
}

.poster .examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.poster .example {
    background-color: white;
    padding: 8px;
    border-radius: 6px;
}

.poster .example h4 {
    margin: 0;
    margin-bottom: 5px;
    text-align: center;
    background-color: #3498db;
    color: white;
    padding: 5px;
    border-radius: 4px;
    font-size: 14px;
}

.poster .footer {
    grid-column: span 3;
    text-align: center;
    font-style: italic;
    color: #7f8c8d;
    font-size: 12px;
}

@media (max-width: 600px) {
    .controls {
        flex-direction: column;
    }
    
    .teacher-controls {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .poster-container {
        padding: 5px;
    }
    
    .poster {
        min-width: 700px;
        gap: 10px;
        padding: 10px;
    }
}