Math with Mrs. Sarah โ Ad
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
width: 100%; height: 100%;
background: #223A2E;
overflow: hidden;
font-family: ‘Work Sans’, sans-serif;
}
.scene {
position: absolute; inset: 0;
display: flex; align-items: center; justify-content: center;
opacity: 0;
}
#s1 { animation: f1 16s infinite; background: linear-gradient(135deg,#1a1a2e,#16213e); flex-direction: column; }
@keyframes f1 { 0%{opacity:0} 3%{opacity:1} 22%{opacity:1} 27%{opacity:0} 100%{opacity:0} }
#s2 { animation: f2 16s infinite; background: #FBF8F0; }
@keyframes f2 { 0%{opacity:0} 25%{opacity:0} 28%{opacity:1} 46%{opacity:1} 51%{opacity:0} 100%{opacity:0} }
#s3 { animation: f3 16s infinite; background: linear-gradient(135deg,#0f3460,#16213e); flex-direction: column; }
@keyframes f3 { 0%{opacity:0} 50%{opacity:0} 53%{opacity:1} 71%{opacity:1} 76%{opacity:0} 100%{opacity:0} }
#s4 { animation: f4 16s infinite; background: linear-gradient(135deg,#2d6a4f,#1b4332); flex-direction: column; }
@keyframes f4 { 0%{opacity:0} 75%{opacity:0} 78%{opacity:1} 97%{opacity:1} 100%{opacity:0} }
@keyframes up { to { opacity:1; transform: translateY(0); } }
@keyframes pop { to { opacity:1; transform: scale(1); } }
h2 { font-family:’Kalam’,cursive; color:#fff; font-size: clamp(1.4rem,4vw,2.4rem); text-align:center; margin-bottom:0.5rem; opacity:0; transform:translateY(12px); animation: up 0.7s ease-out 0.3s forwards; }
p.sub { color:#ddd; font-size: clamp(0.85rem,2.2vw,1.1rem); text-align:center; max-width:580px; padding: 0 1rem; opacity:0; transform:translateY(10px); animation: up 0.7s ease-out 0.8s forwards; }
a.btn { display:inline-block; margin-top:1.2rem; padding:0.6rem 1.8rem; background:#fff; font-weight:700; border-radius:6px; text-decoration:none; font-size:clamp(0.85rem,2vw,1rem); opacity:0; transform:scale(0.9); animation: pop 0.5s ease-out 1.3s forwards; }
/* Scene 2 notebook */
.page { position:relative; width:90%; max-width:700px; height:70%; max-height:380px; background: repeating-linear-gradient(#FBF8F0, #FBF8F0 39px, #AEC6DE 40px); }
.mg { position:absolute; top:0; bottom:0; left:60px; width:2px; background:#D9756B; opacity:0.55; }
.lbl { position:absolute; top:20px; left:80px; font-family:’Kalam’,cursive; font-size:clamp(1rem,2.5vw,1.4rem); color:#2B3A34; font-weight:700; opacity:0; animation: up 0.6s ease-out 0.4s forwards; }
.eq { font-family:’Kalam’,cursive; color:#2B3A34; position:absolute; left:80px; opacity:0; font-size:clamp(0.85rem,2vw,1.1rem); }
.e1 { top:70px; animation: up 0.6s ease-out 1s forwards; }
.e2 { top:118px; animation: up 0.6s ease-out 1.6s forwards; }
.e3 { top:166px; color:#C1622E; font-weight:700; animation: up 0.6s ease-out 2.2s forwards; }
.ck { position:absolute; left:360px; top:158px; width:28px; height:28px; opacity:0; animation: pop 0.5s ease-out 2.8s forwards; }
.cap { position:absolute; bottom:20px; left:80px; right:40px; font-size:clamp(0.75rem,1.8vw,0.95rem); color:#2B3A34; font-weight:500; opacity:0; animation: up 0.6s ease-out 3.3s forwards; }
/* Scene 3 badges */
.badges { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:1rem; }
.badge { border:2px solid #CFCBBE; color:#F6F3EA; font-size:clamp(0.75rem,1.8vw,0.95rem); padding:8px 14px; border-radius:8px; opacity:0; transform:translateY(12px); animation: up 0.5s ease-out forwards; }
.badge:nth-child(1){animation-delay:0.6s} .badge:nth-child(2){animation-delay:0.85s} .badge:nth-child(3){animation-delay:1.1s;border-color:#E8A93D;color:#E8A93D} .badge:nth-child(4){animation-delay:1.35s} .badge:nth-child(5){animation-delay:1.6s}
/* Scene 4 CTA */
.url { margin-top:1.2rem; font-weight:700; font-size:clamp(1rem,2.5vw,1.3rem); color:#1b4332; background:#E8A93D; padding:0.6rem 1.4rem; border-radius:8px; opacity:0; transform:scale(0.9); animation: pop 0.5s ease-out 1.1s forwards; }
.sub2 { margin-top:0.8rem; font-size:clamp(0.75rem,1.8vw,0.9rem); color:#cde; opacity:0; animation: up 0.6s ease-out 1.6s forwards; }
๐ Struggling with Math?
Get handwritten step-by-step solutions from Mrs. Sarah โ clear, detailed, and easy to follow.
๐ Expert Math Tutoring
From algebra to calculus โ short video explanations and written solutions at your fingertips.
๐ Math Made Simple
Stuck on a problem? Send it in โ get a handwritten solution back.