/* Reset default browser styles */
body,
h1,
p,
ul,
li {
  margin: 10;
  padding: 10;
  font-family: "Poppins";
  font-size: 14px;
}

.sidebar img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  display: block;
  margin: 0 auto 20px auto;
}

/* Responsive layout for sidebar and main content */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 12px;
  }
  .navbar ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .navbar li {
    width: 100%;
  }
  .hero-content {
    padding: 24px 10px;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 40px 0 30px 0;
  }
  .logo {
    height: 36px;
  }
  .cta-btn {
    font-size: 1em;
    padding: 10px 20px;
  }
}
/*Media query end*/

/* Make images and containers flexible */
img,
.page-header,
main,
article {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.hero {
  background-image: url("../images/page-header.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
}
.hero-content {
  background: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 40px 30px;
  border-radius: 16px;
  margin-top: 40px;
}

/*Style .cta-btn for a modern button*/
.cta-btn {
  display: inline-block;
  background: #0074d9;
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  font-size: 1.2em;
  font-weight: 600;
  text-decoration: none;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover {
  background: #005fa3;
  transform: translateY(-2px) scale(1.03);
}

.page-header {
  /*background-image: url("../images/page-header.jpg"); */ /* Update with your image path */
  background-size: cover; /* Ensures the image covers the whole area */
  background-repeat: no-repeat; /* Prevents tiling */
  background-position: center; /* Centers the image */
  color: #fff;
  padding: 40px 20px;
  border-radius: 12px;
  font-family: "MuseoModerno", "Rakkas", cursive, sans-serif;
  font-size: 2.5em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  text-align: center;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* Set default font and colors */
body {
  font-family: Arial, sans-serif;
  color: #333333;
  /*background-color: #f5f5f5;*/
}

/*Header styles Start*/
header {
  background-color: #f2f2f2;
  padding: 20px;
}

h1 {
  font-family: "Rakkas";
  font-size: 24px;
  margin-bottom: 10px;
}
h2 {
  font-family: "Rakkas";
  font-size: 18px;
  margin-bottom: 10px;
  color: brown;
}
h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: royalblue;
}
h4 {
  font-size: 13px;
  margin-bottom: 10px;
  color: darkmagenta;
}
h5 {
  font-size: 11px;
  margin-bottom: 10px;
  color: chocolate;
}
/*Header styles End*/

/* Navigation styles start */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.navbar ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar li a {
  color: #222;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}
.navbar li a:hover {
  background: #f0f4f8;
}
.logo {
  height: 48px;
  margin-right: 24px;
}
/*Navigation styles end */

/* Main content styles */
main {
  padding: 20px;
}

/* Footer styles */
footer {
  background-color: rgb(131, 155, 131);
  padding: 20px;
  text-align: center;
  font-size: 14px;
}
/* Footer styles end */

/* Table styles Start */
table {
  font-family: Poppins;
  border-collapse: collapse;
  /*width: 100%;*/
  border: 1px solid black;
  font-size: 14px;
}

/*
  th and td are selectors
    th: It targets the table header cells (<th>) in html table
    td: It targets the table data cells (<td>) within an HTML table.
  */
th,
td,
tr {
  border: 1px solid black;
  padding: 5px;
  text-align: left;
  background-color: #f2f2f2;
  font-size: 11px;
}
/* Table styles end */

.code-block {
  background-color: #f1f1f1;
  padding: 10px;
  border-radius: 5px;
  font-family: "Times New Roman", Times, serif;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}
pre {
  /*background-color: lightgrey;*/
  /*padding: 10px;
  border-radius: 5px;*/
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  /*line-height: 1.5;
  white-space: pre-wrap;*/
}
#search-bar {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  background-color: #f1f1f1;
}

/* sidebar start
Search: mdn sidebar
.sidebar {
  height: 100%;
  width: 200px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: honeydew;
  overflow-x: hidden;
  font-size: small;
  overflow-y: auto;
}*/

/* Style the links inside the sidebar 
.sidebar a {
  padding: 6px 8px 6px 16px;
  text-decoration: burlywood;
  color: #818181;
  display: block;
  font-size: x-small;
}*/

/* Change the color of links on hover
.sidebar a:hover {
  color: #333333;
}

.sidebar ul {
  margin: -1px 0;
  font-size: x-small;
}

summary {
  margin-left: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}
sidebar end*/

dl {
  font-family: "Poppins";
  margin-left: 16px;
  margin-top: 0;
  font-size: 13px;
}
dt {
  font-family: "Poppins";
  margin-left: 20px;
  margin-top: 10px;
  font-size: 12px;
}
dd {
  font-family: "Poppins";
  margin-left: 24px;
  margin-bottom: 10px;
  font-size: 11px;
}

p {
  font-family: "Poppins";
  margin-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* li start*/
li {
  list-style-type: none;
}
/* li start*/

/*a start*/
a:link {
  color: blue;
}
/*a start*/

aside {
  font-family: "Poppins";
  font-size: 10px;
}

.image-container {
  display: inline-block; /* Ensures the container shrinks to fit the image */
  margin: 0; /* Removes margin around the container */
  padding: 0; /* Removes padding around the container */
}

.zoomable-image {
  width: 30%; /* Adjusts the image to fit the container */
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.zoomed {
  transform: scale(2); /* Adjust scale as needed */
}

.image-table {
  width: 100%;
  border-collapse: collapse; /* Removes default spacing between table cells */
}

.image-table td {
  padding: 0; /* Removes padding inside table cells */
  margin: 0; /* Removes margin inside table cells */
  text-align: center;
}

#searchResults {
  margin-top: 20px;
}

#searchResults div {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
