/* ===========================
   GLOBAL STYLES
=========================== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #898e96;
  background-color: #fff;
  font-weight: 300;
  line-height: 1.5;
  text-align: justify;
}

a {
  text-decoration: none;
  color: inherit;
  
}

h1, h2, h3 {
  margin: 0 0 10px;
  font-weight: 600;
}
h4 {
  margin: 0 0 10px;
  font-weight: 350;
}

/* ===========================
   HEADER M BAR
=========================== */

* ---------- Header Styling ---------- */
.site-header {
  width: 100%;
  background-color: #fff;
  color: #2c3e50;
  padding: 15px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 100;
  font-weight: 250;
  font-family: 'Segoe UI', sans-serif;
}

/* Navigation links */
.site-header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 30px;
}

.site-header nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 5px;
}

.site-header nav a:hover {
  background-color: #2c3e50;
  color: #fff;
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #2c3e50;
}

/* Responsive menu */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 15px;
  }

  .site-header nav {
    width: 100%;
    gap: 15px;
  }


  .site-header nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .site-header nav a {
    padding: 12px;
    color: #2c3e50;
  }

  .site-header nav a:hover {
    background-color: #f0f0f0;
    color: #000;
  }
}
/* ===========================
   INTRO WELCOME 
=========================== */
.profile-header {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 35px; /* space between image and text */
  padding: 50px;
  margin-left: 18%;
}

.avatar {
  width: 300px;
  height: auto;
  /*border-radius: 50%; /* makes it a circle */
  object-fit: cover;
  border: none; /*3px solid #ddd;*/
}

.profile-info h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #2c3e50;
  font-weight: 300;
 line-height: 1.5em;
}

.subtitle {
  display: block;
  font-size: 1rem;
  color: #777;
  margin: 5px 0;
}

.profile-info h4 {
  margin-top: 5px;
  font-weight: 250;
  color: #444;
  line-height: 1.4em;
}
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 0;
    padding: 20px;
    gap: 15px;
  }

  .avatar {
    max-width: 200px; /* prevent huge image scaling */
  }

  .profile-info h1 {
    font-size: 1.5rem;
  }

  .profile-info h4,
  .profile-info p {
    font-size: 0.95rem;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  #intro p {
    font-size: 0.95rem;
    padding: 0 15px;
    text-align: center;
  }
}
/* ===========================
   CONTENT WRAPPER
=========================== */
main {
  max-width: 1200px;
  margin: 100px auto 40px; /* leaves space for fixed header */
  padding: 0 20px;
}

/* ===========================
   BLOG POST LIST
=========================== */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 0;
}

.post-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}


.post-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.post-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.post-card h2 a {
  color: #2c3e50;
}

.post-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.post-description {
  font-size: 1rem;
  color: #555;
  font-style: italic;
}
.post-container {
      max-width: 75%;
      margin: 30px auto;
      background: #fff;
      padding: 30px;
      /*border-radius: 8px;
      box-shodow: 1.5px 7px rgba(0,0,0,0.1);*/
    }
    .post-title {
      margin-top: 5px;
      color: #2c3e50;
    }
    .post-content {
      line-height: 1.6;
      text-align: justify;
    }
    .post-footer {
      margin-top: 50px;
      display: flex;
      justify-content: space-between;
      font-weight: bold;
    }
    .post-footer a {
      color: #507d94;
      text-decoration: none;
    }
    .post-footer a:hover {
      text-decoration: underline;
    }
    /* General Page Styles */
.page {
  padding: 40px 20px;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Title */
.page-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: center;
}

/* Subtitle */
.page-subtitle {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #666;
}

/* Image */
.page-image {
  display: block;
  /*width: auto;
   height: auto;*/
  max-width: 600px;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  
}

/* Text */
.page-text {
  font-size: 1rem;
  text-align: justify;
  margin: 0 auto;
  max-width: 800px;
}

/* ===========================
   QUOTE
=========================== */
/* Some vars */
$background-color: hsl(50, 5, 97);
$black: hsl(200, 40, 10);
$white: $background-color;
$base-font-size: 1.4em;
$base-line-height: 1.5em;

.brooks {
  position: relative;
  font-family: 'Sanchez', serif;
  font-size: $base-font-size;
  line-height: $base-line-height;
  font-style: italic;
  &:before {
      content: '\201C';
      position: absolute;
      top: 0.25em;
      left: -0.15em;
      color: darken($white, 7%);
      font-size: 6em;
      z-index: -1;
   }
}

.ludwig {
  position: relative;
  padding-left: 1em;
  border-left: 0.2em solid lighten($black, 40%);
  font-family: 'Roboto', serif;
  font-size: $base-font-size;
  line-height: $base-line-height;
  font-weight: 100;
  &:before, &:after {
      content: '\201C';
      font-family: 'Sanchez';
      color: lighten($black, 40%);
   }
   &:after {
      content: '\201D';
   }
}





/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #fff;
  padding: 20px 30px;
  text-align: center;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 0.9rem;
}

