/*
Theme Name: Version 1
Theme URI: http://ohmymorning.com
Author: Ray
Author URI: http://www.rayanneolaes.com
*/


body, html { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body { font-family: "Inter", sans-serif; background-color: var(--bg); color: var(--text);  transition: background 0.3s, color 0.3s; line-height: 2em; }

a { font-family: "JetBrains Mono"; text-decoration: none; color: var(--link);}
a:hover { color: var(--link-hover); }
b { color: var(--link-hover); }

.topnav { border-color: var(--nav-border); border-style: solid; border-bottom-width: 1px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; padding: 10px; overflow: hidden;  }
.topnav a { float: left; display: block; color: var(--link-hover); text-align: center; padding: 10px; text-decoration: none; font-size: 14px; }
.topnav a:hover { background-color: #ddd; color: #444; }
.topnav a.active { background-color: var(--accent); color: #fff; }
.topnav .icon { display: none; }
@media screen and (max-width: 600px) { .topnav a:not(:first-child) { display: none; } .topnav a.icon { float: right; display: block; } }
@media screen and (max-width: 600px) { .topnav.responsive {position: relative; }  .topnav.responsive .icon { position: absolute; right: 0; top: 0; } .topnav.responsive a { float: none; display: block; text-align: left;  } }
#container { width: 70%; margin: 0 auto; }
#navigation { color: var(--text); background: var(--subbg); border-bottom-width: 1px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-style: solid; border-color: var(--border); font-size: 12px; font-family: ui-monospace,'Cascadia Code',Menlo,Consolas,monospace; }
#navigation a { color: var(--link); margin: 0px 10px; }
#navigation a:hover { color: var(--link-hover); }
.nav-slide { position: relative; text-decoration: none; color: var(--accent); }
.nav-slide::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px;  background: var(--link); transform: scaleX(0); transform-origin: left;  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1); }
.nav-slide:hover::after { transform: scaleX(1); }
.nav-13__label { font-size: .75rem;  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;  color: var(--accent); margin-bottom: 24px; }
.nav-13__hero h1 { font-size: clamp(3rem,9vw,7rem); font-weight: 700; color: var(--text); letter-spacing: -.05em; line-height: .75; margin-bottom: 24px; }
.nav-13__hero h1 span { color: transparent; -webkit-text-stroke: 1px var(--link); }
.favicon { margin-right: 20px; position: relative; border-radius: 100px; width: 100px; }
.favicon img { margin-top: 20px; float: left; }
.description  { font-family: "Space Grotesk"; background: var(--subbg); padding: 20px; margin-top: 60px; border-style: solid; border-width: 1px; border-color: var(--border); }
.post { }
.title { margin-top: 20px; }
.title a { padding-right: 20px; background: var(--bg); color: var(--link-hover); font-size: 18px; }
.border { border-bottom-width: 1px; border-top-width: 0px; border-right-width: 0px; border-left-width: 0px; border-style: solid; border-color: var(--border); margin-top: -15px; }
blockquote { font-family: ui-monospace,'Cascadia Code',Menlo,Consolas,monospace; }

#footer { margin: 30px 0px;  font-size: 12px; bottom: 0; position: absolute; }
#footer a { background-color: var(--border); color: var(--link-hover); }
#footer a:hover { color: var(--link-hover); }
.slide-in { position: relative; text-decoration: none; color: var(--accent); }
.slide-in::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px;  background: var(--accent); transform: scaleX(0); transform-origin: left;  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1); }
.slide-in:hover::after { transform: scaleX(1); }

:root {
  --bg: #000;
  --text: #B3B3B3;
  --link: #ccc; 
  --link-hover: #fff;
  --accent: #4876E8;
  --subbg: #141414;
  --border: #1a1a1a; 
  --nav-border: #333; 
  --toggle-bg: #222;
  --toggle-circle: #ffffff;
}

:has(#light-mode-toggle:checked) {
  --bg: #fff;
  --text: #3D3D3D; 
  --link: #454545;
  --link-hover: #000;
  --accent: #E8562E; 
  --subbg: #F4F6FA;
  --border: #E6E6E7;
  --nav-border: #ddd; 
  --toggle-bg: #E0E0E0;
  --toggle-circle: #fff; }
  
.togglebutton { text-align: right; }
.logo { font-size: 1.5em; font-weight: bold; }
#light-mode-toggle { display: none; }
.toggle { display: inline-block; width: 40px; height: 25px; background: var(--toggle-bg); border-radius: 30px; position: relative; cursor: pointer; transition: background 0.3s; }
.toggle::before { content: ""; position: absolute; top: 5px; left: 5px; width: 15px; height: 15px; background: var(--toggle-circle); border-radius: 50%; transition: transform 0.3s; }
#light-mode-toggle:checked + .toggle::before { transform: translateX(15px); }