/* RESET */ /* 1. Use a more-intuitive box-sizing model */ *, *::before, *::after { box-sizing: border-box; } /* 2. Remove default margin */ * { margin: 0; } /* 3. Enable keyword animations */ @media (prefers-reduced-motion: no-preference) { html { interpolate-size: allow-keywords; } } body { /* 4. Add accessible line-height */ line-height: 1.5; /* 5. Improve text rendering */ -webkit-font-smoothing: antialiased; } /* 6. Improve media defaults */ img, picture, video, canvas, svg { display: block; max-width: 100%; } /* 7. Inherit fonts for form controls */ input, button, textarea, select { font: inherit; } /* 8. Avoid text overflows */ p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; } /* 9. Improve line wrapping */ p { text-wrap: pretty; } h1, h2, h3, h4, h5, h6 { text-wrap: balance; } /* 10. Create a root stacking context */ #root, #__next { isolation: isolate; } /* CORE STUFF */ @import url("./reset.css"); :root { --primary: #1a182d; --green: #85a33d; --red: #e70204; } html { background: var(--primary); font-family: Figtree, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 16px; color: rgba(255, 255, 255, 0.75); margin: 0 auto; position: relative; } html, body, #app { min-height: 100%; height: 100%; overflow: hidden; } * { font-weight: 300; } .serif { font-family: "DM Serif Display", sans-serif; } b, strong { font-weight: 700; } .black { font-weight: 900; } .green { color: var(--green); } hr { border: none; border-bottom: 1px rgba(255, 255, 255, 0.25) solid; } body { padding: 2rem; max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; text-align: center; } .title { font-size: 3rem; color: white; text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.25); } a { color: #a5d7ff; text-decoration: none; transition: color 0.2s ease; } a:hover { color: #ffffff; } .accordion { overflow: hidden; position: relative; } .accordion #next { position: absolute; right: 0; top: 0; margin: auto 0; height: 100%; background: none; border: none; color: transparent; transition: color 0.3s ease; } .accordion:hover #next { color: white; } .slides { display: flex; transition: transform 0.3s ease; } .slide { min-width: 100%; display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; }