/* Reset and base styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f2f2f2;
  color: #333;
}

/* Navigation Bar Styles */
nav {
  background: #e0e0e0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}


.no-bullets {
  list-style-type: none; /* Remove bullets */
}
img{
  position: relative;
  top: 0px;
  left: -20px
}
h3,h4{
    color: #036DA7
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #444;
  text-decoration: none;
}

.navbar-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  margin: 0 15px;
}

.navbar-links a {
  text-decoration: none;
  color: #666;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: #111;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar-links {
    flex-direction: column;
    align-items: center;
    display: none;
    background: #e0e0e0;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }

  .navbar-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8em;
    color: #444;
    cursor: pointer;
  }
}

.menu-toggle {
  display: none;
}


/* General code block styling */
pre {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
}

code {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #333;
}

/* General Styling for Code Blocks */
pre {
  background-color: #f9f9f9;
  padding: 15px;           /* Add padding for readability */
  border-radius: 8px;      /* Rounded corners */
  border: 1px solid #ddd;  /* Light border */
  overflow-x: auto;        /* Allow horizontal scrolling */
  max-height: 300px;       /* Set maximum height */
      overflow: auto;          /* Enable scrolling if content exceeds max-height */
  }
}

code {
  font-family: "Courier New", Courier, monospace; /* Monospace font */
  font-size: 14px;
  line-height: 1.5;
  color: #333; /* Default font color */
}

/* Syntax Highlighting Rules */
.language-freefem .hljs-comment {
  color: #22863a; /* Green for strings */
}

.language-freefem .hljs-keyword {
  color: #005cc5; /* Blue for FreeFEM keywords */
  font-weight: bold;
}

.language-freefem .hljs-number {
  color: #005cc5; /* Blue for numbers */
}

.language-freefem .hljs-string {
  color: #22863a; /* Green for strings */
}

.language-freefem .hljs-function {
  color: #00008b; /* Purple for function names */
  font-weight: bold;
}

.language-freefem .hljs-variable {
  color: #6f42c1; 
  font-weight: bold;
}

.language-freefem .hljs-operator {
  color: #d73a49; /* Red for operators like `=` */
  font-weight: bold;
}

.language-freefem .hljs-builtin-name {
  color: #005cc5; /* Blue for built-in functions and types */
}

/* Highlighted Lines */
pre code .highlighted-line {
  background-color: #ffeeba; /* Light yellow background for emphasis */
  display: block;
  margin: 0 -15px; /* Adjust padding to align with code block */
  padding: 0 15px;
  border-left: 3px solid #ffc107; /* Yellow border for emphasis */
}



