@charset "UTF-8";
:root {
  /* Light theme */
  --bg: #fefcf6;
  --text: #222;
  --accent: #39263d;
  --muted: #666;
  --border: #e3ddd6;
  --font-english: "IBM Plex Sans", sans-serif;
  --font-arabic: "Cairo", sans-serif;
  --font-serif: "Literata", serif;
  --font-title: "Playfair Display", serif;
  --font-body: "Source Serif 4", serif;
  --font-arabic: "Cairo", sans-serif;
}

/* Dark mode */
[data-theme=dark] {
  --bg: #121212;
  --text: #eae7df;
  --accent: #d7b7df;
  --muted: #9a9a9a;
  --border: #2a2a2a;
}

body {
  animation: fadeIn 0.1s ease;
}

.site-footer {
  margin-top: 6rem;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .page-content {
    padding: 0 1rem;
  }

  .site-title {
    font-size: 2.4rem;
  }

  .posts .post {
    margin-top: 1.2rem;
  }
}
/* ibm-plex-sans-regular - latin */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../assets/fonts/ibm-plex-sans-v8-latin-regular.woff2") format("woff2"), url("../assets/fonts/ibm-plex-sans-v8-latin-regular.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* ibm-plex-sans-700 - latin */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  src: local(""), url("../assets/fonts/ibm-plex-sans-v8-latin-700.woff2") format("woff2"), url("../assets/fonts/ibm-plex-sans-v8-latin-700.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
::selection {
  color: white;
  background-color: brown;
}

::-moz-selection {
  color: white;
  background-color: brown;
}

* {
  margin: 0;
  padding: 0;
}

/*
body {
  font-family: "IBM Plex Sans", sans-serif;
  color: #394655;
  background: #fffef7;
}*/
body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  margin: 40px 32%;
}
.container blockquote {
  margin: 16px 0;
  padding: 0 1em;
  color: brown;
  border-left: 0.25em solid;
}

a {
  text-decoration: none;
  color: brown;
}
a:hover {
  cursor: pointer;
  text-decoration: underline;
}

@media (min-width: 320px) and (max-width: 767px) {
  .container {
    margin: 32px 14%;
  }
}
body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.category {
  margin-top: 25px;
  margin-bottom: 10px;
}

.posts {
  list-style: none;
}
.posts .post {
  margin-top: 16px;
  line-height: 14px;
}
.posts .post-date {
  font-size: 12px;
  color: #585858;
}

/*.posts li {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}*/
.post-date {
  color: var(--muted);
  font-size: 0.85rem;
}

.post-title a {
  font-family: var(--font-body);
  font-size: -8rem;
  color: var(--text);
}

.post-title a:hover {
  color: var(--accent);
}

.name {
  color: #253445;
  font-size: large;
  margin-bottom: 5px;
}

p {
  margin: 8px 0;
}

.top-nav {
  text-align: center;
  margin-bottom: 2rem;
}

.top-nav a {
  margin: 0 1rem;
  color: #555;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
}

.top-nav a:hover {
  text-decoration: underline;
}

/*
.site-header {
  text-align: center;
  margin-bottom: 3rem;
}*/
.site-header {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: left;
}

.site-title {
  font-family: var(--font-title);
  font-size: 2.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  background: linear-gradient(90deg, #cbb4d4, #f7c6d9, #b5d5e5);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2rem;
}

.site-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.page-content {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  opacity: 0.7;
}

#theme-toggle:hover {
  color: var(--accent);
  opacity: 1;
}

/* Arabic posts or elements */
[dir=rtl], .arabic {
  direction: rtl;
  font-family: var(--font-arabic);
  text-align: right;
  line-height: 1.8;
}

/* DARK MODE TITLE — MUST BE LAST */
[data-theme=dark] .site-title {
  background: linear-gradient(90deg, #89b2c7, #a65ac4, #b18e9b, #76abc5);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/*# sourceMappingURL=homepage.css.map */
