:root { --bg-main: #252a34; --bg-dark: #1b1f27; --card-bg: #ffffff; --accent: #52adc8; --accent-hover: #3e95af; --text-light: #ffffff; --text-dark: #252a34; --text-muted: #6f777d; --border: #d9d9d9; } /* ================================================== GLOBAL RESET ================================================== */ * { box-sizing: border-box; margin: 0; padding: 0; } /* ================================================== BODY ================================================== */ body { font-family: Arial, Helvetica, sans-serif; background: var(--bg-main); color: var(--text-light); width: 100vw; height: 100vh; overflow: hidden; } /* ================================================== PEPPER TABLET AREA ================================================== */ .tablet-screen { width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; padding: 40px; } /* ================================================== GENERAL SCREEN ================================================== */ .screen { display: none; width: 100%; max-width: 1000px; background: var(--card-bg); color: var(--text-dark); padding: 50px; border-radius: 20px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); text-align: center; } .screen.active { display: block; } /* ================================================== HEADINGS ================================================== */ h1 { font-size: 3.5rem; margin-bottom: 20px; } h2 { font-size: 2.3rem; margin-bottom: 30px; } p { font-size: 1.4rem; line-height: 1.5; } /* ================================================== QUESTION COUNTER ================================================== */ #question-count { color: var(--text-muted); margin-bottom: 20px; } /* ================================================== GENERAL BUTTONS ================================================== */ button { border: none; cursor: pointer; background: var(--accent); color: white; border-radius: 12px; padding: 20px 30px; margin: 10px; font-size: 1.4rem; font-weight: bold; } button:hover { background: var(--accent-hover); } /* ================================================== QUIZ ANSWERS ================================================== */ #answers { margin-top: 40px; display: grid; gap: 15px; } .answer-button { width: 100%; font-size: 1.5rem; padding: 22px; } /* ================================================== QR BOX ================================================== */ .qr-box { margin-top: 40px; border: 2px solid var(--border); border-radius: 15px; padding: 25px; } .qr-placeholder { width: 200px; height: 200px; margin: 20px auto; background: #eeeeee; color: var(--text-muted); display: flex; justify-content: center; align-items: center; border-radius: 10px; font-weight: bold; } .qr-image { display: block; width: 200px; height: 200px; margin: 20px auto; object-fit: contain; border-radius: 10px; border: 2px solid var(--border); } /* ================================================== PROJECT BUTTON CONTAINER ================================================== */ .projects-container { margin-top: 40px; display: grid; gap: 20px; } .project-button { width: 100%; font-size: 1.5rem; padding: 25px; } /* ================================================== BACK BUTTON ================================================== */ .back-button { margin-top: 30px; background: var(--text-muted); } /* ================================================== PLAYING SCREEN ================================================== */ #dance-playing-screen { max-width: 1000px; } #local-preview { width: 100%; margin-top: 15px; } /* ================================================== STANDARD REFRESHERS VIDEO CONTAINER ================================================== */ .refreshers-video-container { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } /* ================================================== STANDARD REFRESHERS VIDEO ================================================== */ .refreshers-video { width: 100%; max-width: 700px; max-height: 340px; border-radius: 12px; object-fit: contain; background: #000000; } /* ================================================== PLAYING SCREEN LOGO / QR IMAGE ================================================== */ .dance-logo { width: 220px; max-width: 60%; margin: 15px auto; display: block; } /* ================================================== REFRESHERS FULL-SCREEN VIDEO MODE This is used for: - Bees - Surprise It gives the video much more of Pepper's tablet screen without stretching or cropping it. ================================================== */ #dance-playing-screen.refreshers-video-mode { width: 100%; max-width: 1100px; height: calc(100vh - 30px); max-height: calc(100vh - 30px); padding: 15px 25px; overflow: hidden; } /* ================================================== SMALLER HEADING DURING VIDEO ================================================== */ #dance-playing-screen.refreshers-video-mode > h1 { font-size: 1.7rem; line-height: 1.1; margin: 0 0 5px 0; } /* ================================================== HIDE NORMAL QR/LOGO DURING VIDEO ================================================== */ #dance-playing-screen.refreshers-video-mode #playing-logo { display: none; } /* ================================================== HIDE NORMAL MESSAGE DURING VIDEO ================================================== */ #dance-playing-screen.refreshers-video-mode #playing-message { display: none; } /* ================================================== VIDEO PREVIEW AREA ================================================== */ #dance-playing-screen.refreshers-video-mode #local-preview { width: 100%; height: calc(100vh - 145px); max-height: calc(100vh - 145px); margin: 0; padding: 0; overflow: hidden; } /* ================================================== FULL-SCREEN VIDEO CONTAINER ================================================== */ .refreshers-video-container { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; } /* ================================================== REFRESHERS VIDEO TITLE ================================================== */ .refreshers-video-title { flex: 0 0 auto; font-size: 1.5rem; line-height: 1.1; margin: 0 0 6px 0; } /* ================================================== REFRESHERS VIDEO object-fit: contain is important. It keeps the correct aspect ratio rather than stretching Bees or Surprise across Pepper's tablet. ================================================== */ .refreshers-video { display: block; flex: 1 1 auto; width: 100%; height: calc(100% - 40px); min-height: 0; max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; background: #000000; border-radius: 10px; } /* ================================================== BACK BUTTON DURING VIDEO ================================================== */ #dance-playing-screen.refreshers-video-mode .back-button { flex: 0 0 auto; margin: 6px 0 0 0; padding: 10px 24px; font-size: 1.1rem; } /* ================================================== REFRESHERS SPEECH SCREEN ================================================== */ .refreshers-speech-container { padding: 20px; } .refreshers-speech-container h2 { margin-bottom: 15px; } /* ================================================== PEPPER TABLET HEIGHT ADJUSTMENTS Pepper's tablet is much wider than it is tall, so reducing padding and headings leaves considerably more room for the actual video. ================================================== */ @media screen and (max-height: 850px) { #dance-playing-screen.refreshers-video-mode { padding: 10px 20px; } #dance-playing-screen.refreshers-video-mode > h1 { font-size: 1.4rem; } #dance-playing-screen.refreshers-video-mode #local-preview { height: calc(100vh - 115px); max-height: calc(100vh - 115px); } .refreshers-video-title { font-size: 1.25rem; margin-bottom: 4px; } #dance-playing-screen.refreshers-video-mode .back-button { padding: 7px 20px; margin-top: 4px; font-size: 1rem; } }