.colorful-semantics { max-width: 1100px; margin: 0 0 0 auto; padding: 2rem; text-align: center; font-family: 'Arial', sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; } .loading { display: flex; justify-content: center; align-items: center; height: 100vh; font-size: 1.5rem; font-weight: bold; } .media-container { position: relative; width: 100%; max-width: 900px; height: 55vh; max-height: 500px; margin: 0 auto 3rem; display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 12px; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25); background-color: #f0f0f0; } .game-media { max-width: 100%; max-height: 100%; object-fit: contain; } .semantic-boxes { display: flex; gap: 1rem; justify-content: center; flex-wrap: nowrap; margin-bottom: 2rem; } .semantic-box { /* Let width grow/shrink based on content so long phrases stay on one line */ width: auto; min-width: 140px; padding: 1.4rem 1.6rem; border-radius: 10px; border: 3px solid #000; font-size: 1.6rem; font-weight: bold; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); display: flex; justify-content: center; align-items: center; min-height: 90px; text-align: center; white-space: nowrap; /* prevent text from wrapping to a new line */ } .options-container { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; } .option { background-color: #d3d3d3; border: 3px solid #000; border-radius: 8px; padding: 1rem 1.5rem; font-size: 1.3rem; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; min-width: 140px; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15); } .option:hover { transform: scale(1.05); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .flying-option { padding: 0.8rem 1.2rem; border: 2px solid #000; border-radius: 6px; font-size: 1.1rem; pointer-events: none; z-index: 100; min-width: 120px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); white-space: nowrap; display: flex; justify-content: center; align-items: center; } .feedback-message { color: #ff3c3c; font-size: 1.2rem; font-weight: bold; margin-top: 1.5rem; min-height: 28px; } .big-question { position: fixed; right: 220px; top: 30%; font-size: 6rem; font-weight: bold; color: #FF69B4; text-align: left; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); z-index: 10; } @media (max-width: 768px) { .semantic-boxes { flex-wrap: wrap; align-items: center; } .semantic-box { width: 80%; } .options-container { flex-direction: column; align-items: center; } .option { width: 80%; } }