* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Tahoma, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff9e9;
}
/* #fff9e9; */
/* Navigation styles */
.navbar {
    background-color: #4A4947;
    color: #fff9e9;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color:#fff9e9;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #83807C
}

.nav-links a.active {
    background-color: #83807C
}

/* Content styles */
.content {
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    background-color:#fff9e9;
    color: #4A4947;
    /* border-radius: 8px; */
    /* box-shadow: 0 1px 3px rgba(0,0,0,0.1); */
    /* padding: 2rem; */
}

/* Add these rules for lists within the container */
.container ul {
    margin-left: 20px;  /* Indent the list */
    padding-left: 0;    /* Remove default padding */
    list-style-type: disc;  /* Use disc bullets */
}
.container ol {
    margin-left: 20px;  /* Indent the list */
    padding-left: 0;    /* Remove default padding */
}

.container li {
    margin-bottom: 0.5rem;  /* Space between list items */
    color: #4A4947;         /* Inherit container text color */
    line-height: 1.6;       /* Better line spacing */
}

/* Optional: Style nested lists */
.container ul ul {
    margin-left: 40px;  /* More indent for nested lists */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.container ol ul {
    margin-left: 40px;  /* More indent for nested lists */
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4A4947;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

code {
    background-color: #ffffff;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #1c793d;
}

pre {
    background-color:  #ffffff;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

/* Footer styles */
.footer {
    background-color: #4A4947;
    color:#fff9e9;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
}

/* GIF/Images Grid */
.gif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .gif-grid figure {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  
  .gif-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .gif-grid png {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .gif-grid figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    }
    img {
        width: 75%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

th {
    background-color:#4A4947;
    color: #fff9e9;
    font-weight: 600;
    padding: 15px;
    text-align: left;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

tr:nth-child(even) {
    background-color: #f8f8f8;
}

tr:hover {
    background-color: #ffffff;
    transition: background-color 0.3s;
}

tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 600px) {
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px;
    }
}