/* Global Styling */
body {
  display: flex;
  background-color: #f9f9f9;
  font-family: 'Roboto', sans-serif;
  padding-left: 20px;
}

/* Sidebar Styling */
.sphinxsidebar {
  flex: 0 0 250px;
  margin-right: 20px;
  background: linear-gradient(180deg, #EBF5FB, #D6EAF8);
  border-right: 3px solid #AED6F1;
  padding: 15px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sphinxsidebar .sphinxsidebarwrapper {
  position: relative;
}

/* Ensure the logo remains visible */
.sphinxsidebar img {
  display: block !important;
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* Navigation Panel */
.sphinxsidebar ul {
  padding-left: 20px;
}

.sphinxsidebar li {
  margin: 10px 0;
}

/* Main Content Styling */
body .body {
  margin-left: 20px;
  flex: 1;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Typography */
h1 {
  color: #D35400;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h2 {
  color: #2980B9;
  margin-top: 25px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
}

p {
  line-height: 1.6;
}

/* Code Blocks */
.highlight pre {
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
}

/* Buttons */
button {
  background-color: #2980B9;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #1F618D;
}

/* Footer Styling */
footer {
  margin-top: 40px;
  padding: 10px;
  text-align: center;
  background: #D6EAF8;
  border-top: 3px solid #AED6F1;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .sphinxsidebar {
      flex: 1 0 100%;
      margin-right: 0;
      border-right: none;
      border-bottom: 3px solid #AED6F1;
  }

  body .body {
      margin-left: 0;
  }
}
