@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap');

body {
  
}

/*
Theme Name: Mohammad Al Khani Theme
Theme URI: https://alkhani.dev
Author: Mohammad Al Khani
Description: A dark-themed, developer-centric WordPress theme with a background of tech logos.
Version: 1.0
*/

body {
  font-family: 'Ubuntu', sans-serif;
  margin: 0;
  background: url('wordpress/theme/background.png') repeat;
  background-color: #0d0d0d;
  font-size: 18px;
  line-height: 1.8;
  color: #d1d5db;
  margin: 0;
  padding: 0 1rem;
}

header nav {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-weight: bold;
  color: #f3f4f6;
}

.top-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem;
  font-family: 'Quicksand', 'Helvetica Neue', sans-serif;
  font-weight: bold;
  background-color: #111;
  color: #f3f4f6;
}

.top-menu a {
  margin-left: 1rem;
  color: #f3f4f6;
  text-decoration: none;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  display: flex;
  padding: 2rem;
}

.main-content {
  flex: 2;
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  margin-right: 2rem;
}

.sidebar {
  flex: 1;
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
}

.post-box {
  background: #2a2a2a;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  font-size: 16px
}

.post-box h2 {
  margin-top: 0;
}

.post-box p, .post-box div {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.main-content h1 {
  margin-bottom: 2rem;
}

.main-content {
  display: flex;
  flex-direction: column;
}

.post-box h2, .post-box div {
  text-align: left;
}

.sidebar ul {
  padding-left: 1rem;
}

.sidebar h3 {
  margin-bottom: 0.5rem;
}

.sidebar ul li {
  font-size: 0.9rem;
  line-height: 1.4;
}

.sidebar {
  max-width: 250px;
}

.post-box h2 {
  margin-bottom: 0.5rem;
  text-align: left;
}

.post-box > div {
  margin-left: 1.5rem;
  text-align: left;
}

.post-box small {
  display: block;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #cccccc;
}

.post-box {
  display: flex;
  flex-direction: column;
}

.post-box h2,
.post-box small,
.post-box > div,
.post-box p a {
  text-align: left;
  margin-left: 1.5rem;
}

.post-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.post-box h2,
.post-box small,
.post-box > div,
.post-box p a {
  width: 100%;
  margin: 0.25rem 0;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  flex: 1;
}

.container {
  flex: 1;
}

.post-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}

.post-box h2,
.post-box small,
.post-box > div,
.post-box p a {
  padding-left: 0;
  margin-left: 0;
  width: 100%;
}

footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.8rem;
  color: #6b7280;
}

footer a {
  color: #3b82f6;
  text-decoration: none;
}

.post-box h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.menu-left {
  font-size: 1rem;
}

.menu-right a:hover {
  text-decoration: underline;
}