@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700;800&display=swap"); /* root is dark theme */ :root { --theme: #1d1e20; --primary: #d8d8d9; --secondary: #eb5234; --accent: #ff005a; --panel: rgba(216, 216, 217); --panel-text: #303030; --menu-text-bg: #303030; --not-found: #030005; } .light { --theme: #d8d8d9; --primary: rgba(0, 0, 0, 0.88); --secondary: #eb5234; --accent: #ff005a; --panel: #303030; --panel-text: rgba(216, 216, 217); --menu-text-bg: #9e9e9e; --not-found: #303030; } body { transition: 0.8s; font-size: 18px; line-height: 1.6; word-break: break-word; background: var(--theme); font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, Oxygen, Ubuntu, Cantarell, open sans, helvetica neue, sans-serif; } body.js-stop-transition * { transition: none !important; } a:hover { cursor: pointer; } a, body, h1 { color: var(--primary); } header, nav { display: block } ul { padding: 0 } ul li::before { content: ''; position: absolute; margin-top: 42pt; width: 0; background-color: var(--secondary); z-index: 9999; height: 3pt; transition: 0.8s all; } ul li#home-link:hover::before, ul li#about-link:hover::before { width: 45pt; } ul li#projects-link:hover::before { width: 58pt; } a { transition: 0.8s; } a:hover { color: var(--secondary); } a { text-decoration: none } body, ul { margin: 0 } .nav { color: var(--primary); display: flex; flex-wrap: wrap; justify-content: space-between; max-width: calc(1024pt + 24pt * 2); margin-inline-start: auto; margin-inline-end: auto; line-height: 60pt; } .nav a { display: block } .logo, #menu { display: flex; margin: auto 24pt; } .logo { flex-wrap: inherit } .logo a { font-size: 24px; font-weight: 700 } .logo a img { display: inline; vertical-align: middle; pointer-events: none; transform: translate(0, -10%); border-radius: 6pt; margin-inline-end: 8pt } #menu { list-style: none; word-break: keep-all; overflow-x: auto; white-space: nowrap } #menu li+li { margin-inline-start: 24pt; } #menu a { font-size: 16px; } #menu .active { font-weight: 500; } .main { zoom: 110%; text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50%; padding: 10pt; color: var(--primary); } .svg-wrapper { margin: 0 auto; width: 320pt; position: relative; height: 64pt; overflow-y: hidden; } .shape { z-index: 9999; stroke-dasharray: 140 540; stroke-dashoffset: -474; stroke-width: 8pt; fill: transparent; stroke: var(--secondary); transition: stroke-width 1s, stroke-dashoffset 1s, stroke-dasharray 1s; } .svg-wrapper:hover .shape { stroke-width: 2pt; stroke-dashoffset: 0; stroke-dasharray: 760; } .name { transition: 0.8s; font-size: 30px; font-weight: 900; margin-bottom: 10pt; transform: translate(0, -64pt); } .name:hover { color: var(--secondary); cursor: default; } .des { transition: 0.8s; font-size: larger; } .des:hover { color: var(--secondary); cursor: default; } .des:focus { color: var(--secondary); } .profile { width: 190pt; height: 190pt; border-radius: 50%; transition: 0.8s; } .social-icons { padding: 12pt 0; } .social-icons a:not(:last-of-type) { margin-inline-end: 12pt; } .social-icons a svg { height: 26pt; width: 26pt; } .social-icons a { color: var(--primary); text-decoration: none; } .icon { transition: 0.8s; } .icon:hover { color: var(--secondary); } .logo-switches { flex-wrap: inherit } #theme-toggle svg { height: 18pt; } button#theme-toggle { background-color: var(--theme); border: none; color: var(--primary); font-size: 26px; margin: auto 4pt; transition: 0.8s; } button#theme-toggle:hover { cursor: pointer; color: var(--secondary); } body.light #moon { vertical-align: middle; display: none; } body:not(.light) #sun { display: none; } /* Mobile Nav */ .cta { cursor: pointer; font-weight: 600; transition: 0.8s; position: absolute; right: 14%; } .menu { display: none; color: var(--primary); size: 125%; } .overlay { height: 100%; width: 0; position: fixed; z-index: 1; left: 0; top: 0; background-color: #24252a; overflow-x: hidden; transition: all 0.5s ease 0s; } .overlay--active { width: 100%; } .overlay__content { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; } .overlay a { color: white; text-decoration: none; padding: 15pt; font-size: 36px; display: block; transition: all 0.3s ease 0s; } .overlay a:hover, .overlay a:focus { color: var(--secondary); } .overlay .close { position: absolute; top: 20pt; right: 45pt; font-size: 60px; color: #edf0f1; cursor: pointer; } .mobile-name { display: none; transition: 0.8s; font-size: 30px; font-weight: 900; } .mobile-name:hover { color: var(--secondary); cursor: default; } @media screen and (max-width:768pt) { .profile img { transform: scale(.85); } .profile { width: 128pt; height: auto; } .first-entry { min-height: 260pt; } .archive-month { flex-direction: column; } .archive-year { margin-top: 20pt; } .footer { padding: calc((60 - 24pt - 10pt)/2)24pt; } } @media only screen and (max-width: 740pt) { .nav__links li a, .svg-wrapper#main-wrapper { display: none; } .menu, .mobile-name { display: block; } }