html, body {
  height: 100%;
  margin: 0;
  display: flex;
  background-color: #9cbfd7;
  flex-direction: column;
}

/* Header styling
header {
  background-color: #eff8ff;
  padding: 20px 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-bottom: 2px solid #ddd;
  width: calc(100% - 300px); /* Adjust width to account for side panel */
  /* position: fixed;
  top: 0;
  left: 300px; /* Align with side panel */
  /* z-index: 1000; 
} */

/* header h1 {
  margin: 10px 0 0 0;
  font-size: 24px;
  font-family: "Source Code Pro", monospace;
} */

/* Side panel styling */
#side-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px; /* Width of the sidebar */
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  overflow-y: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center horizontally */
  justify-content: flex-start; /* Align items to the start vertically */
  background-color: #d4e8f7;
  font-family: "Source Code Pro", monospace;
}

/* Side panel image styling */
.side-panel-img {
  width: 60%; /* Full width of the side panel */
  height: auto; /* Maintain aspect ratio */
  max-height: 320px; /* Adjust to your preferred maximum height */
  border-radius: 5px; /* Optional: rounded corners */
  margin-bottom: 20px; /* Space between image and content */
}


/* Button container styling */
.button-container {
  display: flex;
  flex-direction: column; /* Arrange buttons vertically */
  gap: 10px;
  width: 100%;
  padding: 10px;
  box-shadow: none; /* Remove shadow */
  margin-top: 20px; /* Space from other content */
}

.button-container button,
.button-container a {
  margin: 0;
  padding: 10px 20px;
  font-size: 16px;
  font-family: "Source Code Pro", monospace;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: #01223a;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

.button-container button:hover,
.button-container a:hover {
  background-color: #08395c;
}

/* Main content styling */
main {
  flex: 1;
  overflow-y: auto;
  margin-top: 0; /* Remove margin to align with the top of the page */
  margin-left: 300px; /* Adjust for the width of the side panel */
 
  padding: 0;
  position: relative;
}

/* Grid container styling */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  width: 100%;
  padding: 2px;
  box-sizing: border-box;
  margin: 0;
  position: relative;
}

.grid-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 46, 43, 0.412); /* Adjust the color and opacity as needed */
  z-index: 1; /* Ensure it is below the side panel */
}

.grid-item {
  background-color: #fff;
  border: 0 solid #ddd;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Media Queries */
@media (max-width: 768px) {
  .button-container button,
  .button-container a {
    margin: 5px;
    padding: 8px 14px;
    font-size: 12px;
  }

  .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 5px;
  }

  #side-panel {
    width: 250px; /* Adjust for smaller screens */
  }

  main {
    margin-left: 250px; /* Adjust for the smaller side panel */
  }
}

@media (max-width: 480px) {
  .button-container button,
  .button-container a {
    margin: 3px;
    padding: 6px 12px;
    font-size: 10px;
  }

  .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 2px;
  }

  #side-panel {
    width: 200px; /* Adjust for very small screens */
  }

  main {
    margin-left: 200px; /* Adjust for the very small side panel */
  }
}

/* Add the new styles for the sidebar paragraph here */
#side-panel p {
  font-size: 11px; /* Adjust the font size as needed */
  line-height: 1.5; /* Adjust line height for better readability */
  color: #333; /* Optional: adjust text color for contrast */
  text-align: center;
}
#side-panel .side-panel-header {
  font-size: 35px; /* Increase font size */
  font-weight: bold; /* Make the text bold */
  margin-bottom: 20px; /* Space below the header */
  text-align: center; /* Center the header text */
  color: #01223a; /* Optional: change the text color */
}