@import "https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Montserrat:wght@400;600&display=swap";:root{--chalk:#f4f4f4;--yellow:#f4ef23;--black:#000001;--page:#d9dce4}*{box-sizing:border-box}html{background:var(--black)}body{color:var(--black);background:var(--page);margin:0;font-family:Permanent Marker,cursive}a{color:inherit}.skip-link{position:absolute;left:-9999px}.skip-link:focus{z-index:20;background:#fff;padding:.75rem;top:1rem;left:1rem}.site-header{min-height:250px;color:var(--chalk);background:#111;grid-template-columns:1fr auto 1fr;align-items:start;padding:16px max(8vw,32px);display:grid;position:relative}.site-header:before{content:"";opacity:.4;z-index:0;pointer-events:none;background:url(/images/portada-1024x576.jpg) 50%/cover no-repeat;position:absolute;inset:0}.primary-nav,.social-nav{z-index:2;align-items:flex-start;gap:8px;display:flex;position:relative}.social-nav{grid-column:3;justify-content:flex-end}.nav-brush,.course-menu summary{min-width:150px;color:var(--black);text-align:center;cursor:pointer;background:url(/images/hover-white.png) 50%/150px 40px no-repeat;padding:9px 24px 11px;font-size:20px;line-height:1;text-decoration:none;transition:transform .2s;display:inline-block}.nav-brush:hover,.course-menu summary:hover{transform:scale(1.08)}.nav-brush.active{color:var(--black);filter:drop-shadow(0 0 5px #f4ef2380);background-image:url(/images/hover-yellow.png)}.nav-brush.youtube{color:var(--chalk);background-image:url(/images/hover-red.png)}.nav-brush.instagram{color:var(--chalk);background-image:url(/images/hover-purple.png)}.course-menu{position:relative}.course-menu summary{list-style:none}.course-menu summary::-webkit-details-marker{display:none}.course-dropdown{border:2px solid var(--chalk);background:var(--black);z-index:5;border-radius:15px;width:240px;padding:10px 0;position:absolute;top:100%;left:0;box-shadow:0 10px 20px #00000080}.course-dropdown a{color:var(--chalk);padding:10px 20px;font-size:22px;text-decoration:none;display:block}.course-dropdown a:hover{color:var(--yellow);background:#ffffff1a;padding-left:30px}.hero{height:0}.welcome{text-align:center;background:var(--page);min-height:610px;padding:45px 20px 48px}.portrait{object-fit:cover;border-radius:50%;width:150px;height:150px}.welcome p{max-width:900px;margin:22px auto 0;font-size:22px;line-height:1.8}mark{background:var(--yellow);padding:0 .12em}.subject{color:#fff;padding:0 .35em;line-height:1.35;display:inline-block}.maths{background:#cf2e2e}.physics{background:#0693e3}.chemistry{background:#00d084}.technology{background:#fcb900}.course-page{max-width:1180px;min-height:610px;margin:0 auto;padding:35px 22px 60px}.course-page>h2,.course-section h1{text-align:center;margin:0 0 22px;font-size:clamp(28px,4vw,44px)}.course-section{border-radius:18px;margin:0 0 54px;padding:24px}.course-section h1{text-align:left;color:#fff;font-size:clamp(22px,3vw,32px)}.course-section--maths{background:#cf2e2e}.course-section--physics{background:#0693e3}.course-section--chemistry{background:#00d084}.course-section--technology{background:#fcb900}.blackboard-wrapper{background:#1a1a1a;border-radius:10px;padding:10px;box-shadow:0 10px 40px #0006}.youtube-player{aspect-ratio:16/9;background:#000;border:6px solid #fff;border-radius:12px;width:100%;display:block}.video-carousel{scrollbar-width:thin;gap:12px;margin-top:14px;padding:10px 4px 14px;display:flex;overflow-x:auto}.video-thumb{color:var(--chalk);text-align:left;cursor:pointer;background:#1a1a1a;border:3px solid #0000;border-radius:8px;flex:0 0 160px;gap:6px;padding:6px;font-family:Montserrat,sans-serif;font-size:12px;line-height:1.3;transition:border-color .2s,transform .2s;display:grid}.video-thumb img{border-radius:5px;width:100%;height:auto;display:block}.video-thumb span{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.video-thumb:hover{transform:translateY(-2px)}.video-thumb.active{border-color:var(--yellow)}.watch-more{border:2px dashed var(--yellow);color:#fff;background:#222;border-radius:6px;width:fit-content;margin:17px auto 0;padding:10px 18px;font-size:17px;text-decoration:none;display:block;position:relative}.watch-more:before,.watch-more:after{color:var(--black);font-size:34px;position:absolute;top:50%;transform:translateY(-50%)}.watch-more:before{content:"➜";left:-46px}.watch-more:after{content:"➜";right:-46px;transform:translateY(-50%)scaleX(-1)}.watch-more:hover{background:#000}.site-footer{color:var(--chalk);background:var(--black);text-align:center;padding:24px;font-family:Montserrat,sans-serif;font-size:14px}.site-footer p{margin:10px 0 0}.footer-socials{justify-content:center;gap:16px;display:flex}.footer-socials a{color:var(--chalk)}.social-icon{justify-content:center;align-items:center;margin-right:8px;display:inline-flex}.social-icon svg{width:100%;height:100%}.instagram-icon{width:27px;height:27px}.youtube-icon{width:34px;height:34px}.footer-bottom{flex-direction:column;align-items:center;gap:6px;display:flex;position:relative}.footer-credit{color:var(--chalk);align-items:center;gap:15px;font-family:Montserrat,sans-serif;font-size:12px;text-decoration:none;display:inline-flex}.footer-credit img{width:70px;height:70px}.footer-credit:hover{color:var(--yellow)}.back-to-top{display:none}@media (width>=922px){.site-footer{border-radius:0 0 22px 22px;justify-content:center;align-items:center;min-height:136px;padding:24px;display:flex}.site-footer .footer-socials{display:none}.site-footer p{color:var(--yellow);margin:0;font:24px/1 Permanent Marker,cursive}.site-footer .footer-bottom{flex-direction:row;justify-content:space-between;width:100%;max-width:1180px;margin:0 auto}.site-footer .footer-credit{color:#fff;font:24px/1 Permanent Marker,cursive}}@media (width<=921px){.site-header{background-position:50%;flex-direction:column;justify-content:center;min-height:242px;padding:16px 0;display:flex}.social-nav{display:none}.primary-nav{width:min(360px,85vw);margin:0 auto;display:block}.nav-brush,.course-menu summary{width:100%;min-width:0;color:var(--black);text-align:center;background-color:var(--black);background-position:50%;background-size:100% 54px;padding:17px 32px;font-size:20px}.course-menu summary span{margin-left:6px}.course-menu{display:block}.course-dropdown{border:0;border-radius:0 0 12px 12px;width:100%;position:absolute;top:100%;left:0}.course-dropdown a{border-bottom:2px solid var(--yellow);color:#0f0;padding-left:40px;font-size:18px}.welcome{min-height:620px;padding-top:43px}.welcome p{font-size:20px;line-height:1.7}.portrait{width:150px;height:150px}.course-page{padding:32px 14px}.course-section h1{text-align:center}.site-footer{padding:0;font-family:Permanent Marker,cursive;font-size:20px}.site-footer .footer-socials{background:var(--yellow);align-items:center;gap:42px;min-height:228px;padding:28px 20px;display:flex}.site-footer .footer-socials a{color:var(--black);align-items:center;font-size:25px;text-decoration:none;display:inline-flex}.site-footer .social-icon{margin-right:10px}.site-footer .footer-bottom{background:var(--black);justify-content:center;align-items:center;min-height:176px;padding:24px;display:flex}.site-footer .footer-bottom p{color:var(--yellow);margin:0;font:24px/1 Permanent Marker,cursive}.site-footer .footer-credit{color:#fff;font:24px/1 Permanent Marker,cursive}.back-to-top{width:55px;height:55px;color:var(--black);background:var(--yellow);border-radius:4px;justify-content:center;align-items:center;font:700 42px/1 Arial,sans-serif;text-decoration:none;display:flex;position:absolute;top:50%;right:24px;transform:translateY(-50%)}.site-footer .instagram-icon{width:44px;height:44px}.site-footer .youtube-icon{width:48px;height:48px}}
