:root { --max-width: 1500px; --container-pad: 16px; --radius-lg: 14px; } * { margin: 0%; padding: 0%; box-sizing: border-box } html, body { height: 100% } body { background-color: oklch(0.205 0 0); color: #fff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding-top: 90px; } /* ---------- Utility ---------- */ .container { width: calc(100% - 32px); max-width: var(--max-width); margin: 0 auto; padding: 20px var(--container-pad); } .row { display: flex; gap: 24px; align-items: flex-start } .col { flex: 1 } a { color: inherit; text-decoration: none } a:focus { outline: 3px solid rgba(66, 165, 245, 0.18); outline-offset: 2px; border-radius: 6px } h1, h2, h3, h4, h5 { margin: 0; padding: 0 } p { margin: 0 } :root { --max-width: 1500px; --accent-2: #fff; /* White text */ --accent-border: #00d26a; /* Green border color */ } body { margin: 0; padding: 0; } /* Header styles */ header.main-header { top: 0; left: 0; width: 100%; z-index: 1000; color: white; background-color: black; margin: 0; padding: 0; border-bottom: 1px solid #222; } /* Inner header */ .header-inner { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 20px 0; max-width: var(--max-width); margin: 0 auto; flex-direction: column; } /* Brand styling */ .brand { display: flex; gap: 12px; align-items: center; width: 100%; justify-content: start; margin-top: 10px; } /* Brand text */ .brand h1 { font-size: 28px; color: orangered; margin: 0; font-weight: bold; letter-spacing: 0.6px; text-align: start; } main.site-main { padding-bottom: 64px } .layout { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; width: 100%; } /* left column: cards */ .left-col { flex: 1 1 66%; min-width: 280px; max-width: 1090px; } /* right sidebar */ .right-col { flex: 0 0 320px; min-width: 430px; max-width: 360px; } /* ---------- Card List ---------- */ .cards-list { display: flex; flex-direction: column; gap: 16px; } .note-card { background: black; border-radius: 5px; padding: 22px; color: #f6f7f8; border: 1px solid #222; } .note-card h4 { font-size: 1.1rem; margin-bottom: 12px; color: white; font-weight: 800 } .note-card p { font-size: 0.95rem; color: #d9e6da; opacity: 0.95 } /* SINGLE CARD - matches screenshot style exactly */ .card { background: black; border-radius: 5px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; user-select: none; min-height: 84px; border: 1px solid #222; margin-bottom: -5px; } .card:focus, .card:hover { transform: scale(1.03); background: #222; } /* left content of card as in screenshot (icon + text stacked) */ .card .left { display: flex; gap: 12px; align-items: center; flex: 1 1 auto; min-width: 0; } .card .icon { width: 60px; height: 60px; border-radius: 18px; background: #333; display: grid; place-items: center; flex: 0 0 64px; } .card svg.icon-svg { width: 32px; height: 32px; fill: #fff; } .card .meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow: hidden; color: white; font-weight: 600; } .card .meta h3 { font-size: 20px; color: white; margin: 0; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .card .meta p { color: #dfe8e0; font-size: 13px; margin: 0; font-weight: 600; opacity: 0.9; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; margin-top: 3px; } .card .right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; } .watch-btn { background: #333; color: white; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; } .watch-btn:active { transform: translateY(1px) } .watch-btn .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.85) } /* small subtle chevron icon after watch text */ .watch-btn svg { width: 14px; height: 14px; margin-top: 1px; fill: white } footer.site-footer { padding: 15px 0 24px; border-top: 1px solid #222; color: white; margin-bottom: -50px; background-color: black; text-align: center; } .footer-inner { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; } .footer-brand { min-width: 220px; display: flex; gap: 12px; align-items: center; color: white; font-weight: 600; } .footer-brand .logo { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #2a7a3a, #4caf50); color: white; font-weight: 600 } .footer-brand .desc { text-align: start; font-size: 0.95rem; color: #cfe8d0; max-width: 420px } .top-sites { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; max-width: 900px; } .site-pill { background-color: #333; ; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 0.88rem; border: 1px solid #444; transition: all .12s ease; color: white; } .site-pill:hover { transform: scale(1.03); color: white; background: #555; } .footer-credits { margin-top: 18px; width: 100%; color: #9fbba5; font-size: 0.88rem } .article-box { background: black; border-radius: 5px; padding: 24px; width: 100%; max-width: 1100px; margin: auto; border: 1px solid #222; } .article-box h2 { font-size: 24px; margin-bottom: 12px; color: white; } .article-box h1 { font-size: 28px; margin-bottom: 12px; color: white; } .article-box h3 { font-size: 20px; margin-top: 20px; margin-bottom: 10px; color: #ffffff; } .article-box p { font-size: 15px; line-height: 1.6; color: #ddd; margin-bottom: 12px; } .article-box ul { list-style: none; padding-left: 0; } .article-box strong { font-weight: 500; } .article-box ul, li { margin: 6px 0; padding-left: 18px; position: relative; color: white; font-size: 15px; } .article-box ul li::before { content: "✔"; position: absolute; left: 0; color: white; } /* Tablet screens (max-width: 1024px) */ @media (max-width: 1024px) { .layout { flex-direction: column; gap: 16px; } .left-col, .right-col { max-width: 100%; flex: 1 1 100%; min-width: auto; } .article-box { padding: 18px; } .article-box h1 { font-size: 24px; } .article-box h2 { font-size: 20px; } .article-box h3 { font-size: 18px; } } /* Mobile screens (max-width: 768px) */ @media (max-width: 768px) { body { padding-top: 70px; margin: 0%; padding: 0%; } .layout { flex-direction: column; gap: 12px; } .left-col, .right-col { width: 100%; flex: 1 1 100%; } .card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; } .card .left { width: 100%; gap: 10px; } .card .icon { width: 50px; height: 50px; } .card .meta h3 { font-size: 16px; } .card .meta p { font-size: 12px; } .watch-btn { width: 100%; justify-content: center; font-size: 14px; padding: 10px; } .note-card { padding: 16px; font-size: 14px; } .article-box { padding: 16px; } .article-box h1 { font-size: 22px; } .article-box h2 { font-size: 18px; } .article-box h3 { font-size: 16px; } .article-box p, .article-box li { font-size: 14px; } footer.site-footer { text-align: center; padding: 16px; } .footer-inner { flex-direction: column; gap: 12px; } .footer-brand { flex-direction: column; align-items: center; text-align: center; } } @media (max-width: 600px) { .header-inner { flex-direction: column; align-items: flex-start; padding: 15px 10px; } .brand h1 { font-size: 22px; } } /* Tablet devices (<= 900px and > 600px) */ @media (min-width: 601px) and (max-width: 900px) { .header-inner { padding: 18px 15px; flex-direction: column; } .brand h1 { font-size: 24px; } }