diff --git a/index.html b/index.html index 1e50f4c..64ae702 100644 --- a/index.html +++ b/index.html @@ -212,6 +212,133 @@ body { transform: scale(1.1); } +/* Voice instruction button */ +.voice-instruction-btn { + background: var(--yellow); + color: var(--ink); + border: none; + border-radius: 30px; + padding: 15px 30px; + font-size: 20px; + font-weight: 700; + cursor: pointer; + margin: 20px 0; + transition: all 0.3s; + display: inline-flex; + align-items: center; + gap: 10px; +} + +.voice-instruction-btn:hover { + background: #FFD54F; + transform: translateY(-2px); +} + +.voice-instruction-btn.speaking { + animation: pulse 0.6s infinite; +} + +/* Navigation voice buttons */ +.nav-btn { + position: relative; +} + +.nav-voice-icon { + position: absolute; + top: -8px; + right: -8px; + background: var(--yellow); + color: var(--ink); + border: none; + border-radius: 50%; + width: 24px; + height: 24px; + font-size: 12px; + cursor: pointer; + display: none; + align-items: center; + justify-content: center; +} + +.nav-btn:hover .nav-voice-icon { + display: flex; +} + +/* Section title with voice */ +.section-title { + display: flex; + align-items: center; + justify-content: center; + gap: 15px; +} + +.title-voice-btn { + background: var(--yellow); + color: var(--ink); + border: none; + border-radius: 50%; + width: 40px; + height: 40px; + font-size: 20px; + cursor: pointer; + transition: all 0.3s; + display: inline-flex; + align-items: center; + justify-content: center; +} + +.title-voice-btn:hover { + background: #FFD54F; + transform: scale(1.1); +} + +/* Instruction text styling */ +.instruction-text { + text-align: center; + margin-bottom: 30px; + color: var(--gray-500); + font-size: 18px; + display: flex; + align-items: center; + justify-content: center; + gap: 15px; +} + +/* Auto-play instruction on section enter */ +.section-instruction { + background: var(--cyan-50); + border-radius: 16px; + padding: 20px; + margin-bottom: 30px; + text-align: center; + font-size: 18px; + color: var(--ink); + display: flex; + align-items: center; + justify-content: center; + gap: 15px; +} + +.section-instruction .play-btn { + background: var(--yellow); + color: var(--ink); + border: none; + border-radius: 50%; + width: 40px; + height: 40px; + font-size: 20px; + cursor: pointer; + transition: all 0.3s; + display: inline-flex; + align-items: center; + justify-content: center; +} + +.section-instruction .play-btn:hover { + background: #FFD54F; + transform: scale(1.1); +} + /* Mirror Exercise */ .mirror-container { display: flex; @@ -513,12 +640,31 @@ body {
Помогаем детям с дислексией и СДВГ учиться через игру и творчество
+ + @@ -526,7 +672,15 @@ body {- Помоги букве встать правильно! Нажимай на кнопки, чтобы перевернуть букву. -
+- Найди одинаковые буквы! Нажимай на карточки, чтобы перевернуть их. -
+- По методу Дейвиса дети лепят буквы из глины, чтобы лучше их запомнить. - Попробуй слепить букву, которая показана справа! -
+