/* 
    File: documentation.css
    Author: Kyle Tranfaglia
    Purpose: Styling for the Documentation page
    Last Updated: 11/13/24
*/
/* General formatting */
body {
  background-color: whitesmoke;
  margin: 0;
  font-family: Arial, sans-serif;
}
hr {
  margin: 0;
  border: none;
  background-color: black;
  height: 3px;
  margin-bottom: 10px;
}
.head {
  font-size: 35px;
  text-decoration: underline;
  line-height: none;
}
/* Sidebar formatting */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  padding: 139px 20px 0 20px;
  width: 200px;
  height: 100%;
  background-color: #add8e6;
  overflow-y: auto;
  border-right: 3px solid #444444;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.main_menu {
  list-style-type: none;
  padding: 0;
}
.menu_item {
  margin-bottom: 10px;
}
.menu_title {
  font-size: 18px;
  line-height: 1.8;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.menu_title::before {
  content: "\25B6";
  margin-right: 5px;
  transition: transform 0.3s ease;
}
.menu_title.active::before {
  transform: rotate(90deg);
}
.submenu {
  display: none;
  list-style-type: none;
}
.submenu.active {
  display: block;
}
.subtitle {
  font-size: 17px;
  line-height: 1.6;
  text-decoration: none;
  color: black;
}
.subtitle:hover {
  color: #666666;
}
/* Documentation text formatting */
.doc_content {
  margin-left: 200px;
  padding: 20px;
}
.doc_container {
  display: flex;
  flex-direction: row;
}
.shortcut_container {
  display: flex;
  gap: 5px;
}
.flex_item {
  margin: 0 0 0 77px;
}
/* Back to top hover button formatting */ 
.hovering_button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  display: none;
  transition: opacity 0.3s ease;
}
.hovering_button:hover {
  background-color: #0056b3;
}
.hovering_button.show {
  display: inline-block;
}