* {
  box-sizing: border-box;
}

:root {
  --primary-color: #0066cc;
  --primary-dark: #0052a3;
  --accent-color: #ff6b35;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-light: #e0e0e0;
  --bg-light: #f8f9fa;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", sans-serif;
  padding: var(--spacing-lg);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* Header/Blog Title */
header.header {
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
  text-align: center;
  border-bottom: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-lg);
}

header.header h1 {
  margin: 0;
  color: var(--text-dark);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

header.header i {
  display: block;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: var(--spacing-md);
  font-weight: 400;
}

/*Create two unequal columns that floats next to each other */
/* Left column */
section.leftcolumn {
  float: left;
  width: 75%;
}

/* Right column */
aside.rightcolumn {
  float: left;
  width: 25%;
  padding-left: var(--spacing-lg);
}

/* Fake image */
.fakeimg {
  width: 100%;
  padding: 10px;
}

/* Add a card effect for articles */
.card {
  background-color: white;
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
}

article.card {
  border-left: 4px solid var(--accent-color);
}

article.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card h2 {
  margin-top: 0;
  color: var(--text-dark);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.card h3 {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
footer.footer {
  padding: var(--spacing-xl);
  text-align: center;
  background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  margin-top: var(--spacing-xl);
  border-top: 2px solid var(--border-light);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

footer.footer h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top
of each other instead of next to each other */

@media screen and (max-width: 800px) {
  .leftcolumn,
  .rightcolumn {
    width: 100%;
    padding: 0;
  }
}

.blog-preview {
  overflow: hidden;
  padding: 0;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.blog-preview a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-left: var(--spacing-sm);
  transition: all 0.2s ease;
  display: inline-block;
}

.blog-preview a:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.blog-preview a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

#twenty_twenty_five_blog_posts {
  margin-bottom: var(--spacing-md);
}

nav.card {
  border-left: 4px solid var(--primary-color);
}

nav.card h3 {
  margin-top: 0;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}

nav.card label {
  display: block;
  color: var(--text-light);
  font-weight: 600;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

select {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 0.95rem;
  background-color: white;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  color: var(--text-dark);
  transition: all 0.2s ease;
  font-family: inherit;
}

select:hover {
  border-color: var(--primary-color);
  background-color: #fafbfc;
}

select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.card img {
  border-radius: 6px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: var(--spacing-lg);
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  object-fit: cover;
}

article.card img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.floating-btn {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 150px;
  height: 56px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  font-weight: 600;
}

.floating-btn:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-lg),
    0 8px 16px rgba(0, 102, 204, 0.3);
}

.floating-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 600;
  transition: all 0.2s ease;
}

.floating-btn:active a {
  transform: scale(0.98);
}

.follow-me {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.follow-me a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.follow-me a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-md);
  background: var(--primary-color);
}

.follow-me img {
  width: 28px;
  height: 28px;
  filter: brightness(0.7);
  transition: filter 0.3s ease;
}

.follow-me a:hover img {
  filter: brightness(2) invert(1);
}
