/* Style for the sidepanel container */
.sidepanel {
  height: 100%; /* Specify a height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  background: linear-gradient(45deg, #111, #333); /* Darker gradient background */
  left: 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 40px; /* Reduced padding from top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidepanel.active {
  transform: translateX(0);
}

body.active {
  overflow: hidden;
}

/* The sidepanel links styled as buttons */
.sidepanel a {
  padding: 10px 15px; /* Increased padding for a better button feel */
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-decoration: none;
  font-size: 15px;
  color: #f7dea9;
  background-color: transparent;
  display: block;
  transition: all 0.3s ease;
  text-align: center;
  margin-bottom: 5px;
  border-radius: 5px; /* Rounded corners for the button */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  width: calc(100% - 40px); /* Ensure all buttons are the same width */
  max-width: 200px; /* Optional max width to prevent overly wide buttons */
  margin-left: auto; /* Center align the buttons */
  margin-right: auto; /* Center align the buttons */
  border-radius: 20px;
  border-color: rgb(241, 200, 124);
  border-style: dashed;
}

/* When you mouse over the navigation links, change their color and scale */
.sidepanel a:hover {
  color: #ffffff; /* White text on hover */
  transform: scale(1.05); /* Slightly increase the size */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}


/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
  background: transparent;
  color: white;
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.closebtn:hover {
  color: rgb(194, 77, 77);
}

/* Style the button that is used to open the sidepanel */
.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: transparent;
  color: white;
  padding: 10px 15px;
  border: none;
  display: none;
}

.openbtn:hover {
  background-color: transparent;
  color: #285dc9;
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .openbtn {
      display: block;
  }

  .closebtn {
      display: block;
  }
}

/* Add a white line under the logo and "Advance Bot" text */
.header-container {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid white;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.header-container h1 {
  margin: 0;
  padding: 0;
}

.header-container img {
  margin-top: 10px; /* Reduced margin to move it up */
}

.header-container h3 {
  font-size: 12px;
  color: gray;
  margin: 5px 0 0 0; /* Small margin at the top */
}
