body {
    font-family: Arial, sans-serif, 'Segoe UI';
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    z-index: 1;
    position: fixed;
    top: 0; /* Ensure it's at the top of the page */
    left: 0; /* Ensure it's aligned with the left edge */
    width: 100%;
    background-color: #00a2e8;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 1.2em;
}

.navbar a:hover {
    background-color: #72c5e9;
}

.sidebar {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: left;
    justify-content: left;
    height: calc(88vh - 100px); /* Adjust the height as needed */
    bottom: 0; /* Stretch to the bottom */
    left: 50px; /* Adjust the left position as needed */
    margin-bottom: 130px;
    margin-top: 100px;
    padding: 10px;
    position: fixed;
    width: 200px;
}

.sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

.sidebar ul li {
    margin-bottom: 8px;
}

.sidebar ul ul {
    margin-left: 40px; 
    list-style-type: disc; 
}

.sidebar ul ul li {
    margin-bottom: 6px; 
}

.sidebar-text a {
    font-size: 1.05em;
    color: #333;
    text-decoration: none;
}

.sidebar-text a:hover {
    color: #acacac;
}

/* Button to toggle sidebar */
.toggle-sidebar-btn {
    scale: 1.5;
    margin-top: 100px;
    margin-left: 10px;
    display: none; /* Hidden by default */
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 10px;
    background-color: #00a2e8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2; /* Ensure it appears on top */
}

.toggle-sidebar-btn:hover {
    background-color: #72c5e9;
}

/* Show the button when sidebar is hidden on smaller screens */
@media screen and (max-width: 768px) {
    .toggle-sidebar-btn {
        display: block;
    }

    .sidebar {
        display: none;
    }
}


.container {
    max-width: 800px;
    margin: 80px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    flex: 1;
}

h1 {
    color: #00a2e8;
    font-size: 2.5em;
}

h2, h3, h4 {
    font-size: 1.5em;
    color: #333;
    margin-top: 20px;
}

p {
    font-size: 1.2em;
    margin: 10px 0;
}

ul {
    list-style: disc;
    margin-left: 20px;
}

footer {
    z-index: 1;
    background-color: #00b3ff;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    font-size: 1em;
}

.social-media a {
    margin: 0 10px;
    text-decoration: none;
    color: white;
}

.social-media a:hover {
    color: #72c5e9;
}

hr {
    margin: 20px 0;
    border: none;
    border-bottom: 1px solid #ccc;
}



.file-info {
    margin-top: 20px;
    font-size: 1.2em;
    color: #333;
}

.preview-image img {
    max-width: 100%; /* Make the image take up no more than 100% of the container's width */
    height: auto; /* Automatically adjust height to maintain the aspect ratio */
    display: block;
    margin: 0 auto; /* Center the image horizontally */
}


.highlight {
    background-color: #84d3f5;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
}

html {
    scroll-behavior: smooth;
}


/* From Uiverse.io by Creatlydev */ 
.DL-Button {
    line-height: 1;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.75em 1em;
    padding-right: 1.25em;
    color: #fff;
    border: 1px solid transparent;
    font-weight: 700;
    border-radius: 2em;
    font-size: 1rem;
    box-shadow: 0 0.7em 1.5em -0.5em hsla(249, 62%, 51%, 0.745);
    transition: transform 0.3s;
    width: 10.44rem;
    text-align: center;
    padding-left: 1.7rem;
  
    background: linear-gradient(
      90deg,
      #00a2e8 0%,
      #00b3ff 100%
    );
  }
  
  .DL-Button__Icon {
    width: 1.5em;
    height: 1.5em;
  }
  
  .DL-Button:hover {
    border-color: #f4f5f2;
  }
  
  .DL-Button:active {
    transform: scale(0.98);
    box-shadow: 0 0.5em 1.5em -0.5em hsla(249, 62%, 51%, 0.745);
  }

  a > .DL-Button {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  /* From Uiverse.io by Creatlydev */ 
.btn-github {
    cursor: pointer;
    display: flex;
    gap: 0.5rem;
    border: none;
  
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 100px;
    font-weight: 800;
    place-content: center;
  
    padding: 0.75rem 1rem;
    font-size: 0.825rem;
    line-height: 1rem;
  
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.04),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    color: #fff;
  }
  
  .btn-github:hover {
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.08),
      inset 0 0 0 1px rgba(252, 232, 3, 0.08);
    color: #fce803;
    transform: translate(0, -0.25rem);
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  a > .btn-github {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }
