body, html {
  height: 100%;
  margin: 0;
  font-family: 'Roboto', monospace; /* Use Roboto for consistency */
  background: linear-gradient(to right, #2a5298, #2c3d97); /* Corrected background */
  display: flex;
  align-items: flex-end; /* Align terminal input to the bottom */
  justify-content: center; /* Center content horizontally */
}

header {
  width: 100%;
  padding: 18px 0;
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:  /* Match the terminal background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  font-size: 18px; /* Decreased font size for smaller header */
  color: white;
}

#terminal-container {
  width: 100%;
  max-width: 800px; /* Set max width for the terminal */
  margin: auto;
  display: flex;
  flex-direction: column;
  height: 80%;
  background: #16222a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#terminal {
  padding: 20px;
  background-color: #16222a;
  color: #ffffff;
  box-shadow: inset 0 0 10px #000000;
  overflow-y: auto;
  flex-grow: 1; /* Allow terminal output to grow */
  border-radius: 10px;
}

#terminal-output {
  white-space: pre-wrap;
}

#terminal-input {
  width: calc(100% - 40px); /* Account for padding */
  border: none;
  background-color: #0d1117;
  color: #58a6ff;
  border-bottom: 2px solid #3bb2a0;
  outline: none;
  padding: 10px 20px; /* Add some padding */
  margin: 10px 20px; /* Separate input from output */
  box-sizing: border-box; /* Include padding in width calculation */
  border-radius: 5px;
  animation: glow 1.5s infinite alternate; /* Add glow effect */
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #3bb2a0;
  }
  to {
    box-shadow: 0 0 20px #3bb2a0;
  }
}

.message-thread {
    position: fixed;
    left: 0;
    top: 1px; /* Adjust based on header height */
    width: 18%; /* Adjust width as needed */
    background: #16222A;
    box-shadow: 0.35px 0.35px 0.35px #3bb2a0;
    overflow-y: scroll; /* Enables vertical scrolling */
    padding: 30px;
    box-sizing: border-box;
    bottom: 0; /* Extend to the bottom */
    z-index: 5; /* Ensure it's below the footer in the visual stack */
}

.message-thread p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hides scrollbar for Chrome, Safari, Opera */
.message-thread::-webkit-scrollbar {
    display: none;
}

/* Hides scrollbar for IE, Edge, and Firefox */
.message-thread {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.message-options {
    display: none;
    position: absolute;
    right: 0;
    background-color: 
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.message-options a {
    color: white; /* Text color for options */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.message-options a:hover {
    background-color: #f1f1f1; /* Lighter grey on hover for options */
}

.message {
    position: relative;
    padding: 10px;
    margin: 5px;
    background-color:  /* Default background color for messages */
    cursor: pointer;
    border-radius: 5px;
}

.dots {
    cursor: pointer;
    float: right;
    padding-left: 5px;
}

/* Adding styles for interactions */
.message:hover {
    background-color: #ddd; /* Slightly darker than default on hover */
}

.message:active {
    background-color: #ccc; /* Even darker when clicked */
}

/* Hamburger menu styling */
.hamburger-menu {
    position: fixed;
    left: 267px;
    top: 15px;
    cursor: pointer;
    z-index: 1;
}

.hamburger-menu div {
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: 0.4s;
}

.hamburger-menu.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
}

.hamburger-menu.active div:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active div:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
}

/* Enhanced style for the vertical menu */
.vertical-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 60px; /* Adjust based on header height */
    left: 260px; /* Adjust as needed */
    width: 160px; /* Thinner width for menu items */
    background: linear-gradient(135deg, #243B55, #16222A); /* Gradient background */
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for 3D effect */
    z-index: 11;
    overflow: hidden; /* Ensure overflowing content doesn't break layout */
    border-radius: 12px; /* Rounded corners for a modern look */
    transition: all 0.5s ease; /* Smooth transition for showing/hiding */
    opacity: 0.95; /* Slightly transparent for a modern feel */
    backdrop-filter: blur(8px); /* Blur effect for a frosted glass look */
}

/* Enhanced link styling */
.vertical-menu a {
    position: relative;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
    color: white;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease; /* Smooth transition */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); /* Text shadow for readability */
    text-align: center; /* Center-align the link text */
    border-radius: 6px; /* Rounded corners for links */
    font-family: 'Arial', sans-serif; /* Custom font for links */
    font-size: 14px; /* Font size for links */
    margin: 5px 10px; /* Margin between links */
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent background for links */
    overflow: hidden;
}

/* Gradient hover effect */
.vertical-menu a:hover {
    background: linear-gradient(145deg, #3bb2a0, #16222A); /* Smooth gradient on hover */
    color: #EFEFEF; /* Lighter text color for contrast */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Shadow on hover */
    transform: scale(1.08); /* Slightly enlarge on hover */
}

/* Active link styling */
.vertical-menu a.active {
    background-color: #3bb2a0; /* Highlight color for the active link */
    color: #ffffff; /* Ensure text color contrasts well with the active background */
    font-weight: bold; /* Make active link more prominent */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Shadow for active link */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .vertical-menu {
        left: auto;
        right: 10px; /* Adjust menu to the right for better accessibility */
        width: 140px; /* Further reduce width on smaller screens */
    }
    .vertical-menu a {
        padding: 6px 10px;
        font-size: 13px; /* Adjust font size on smaller screens */
    }
}

/* Animation for menu appearance */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vertical-menu {
    animation: slideIn 0.5s ease-in-out;
}

/* Additional styling for modern look */
.vertical-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.2); /* Overlay at the top for visual separation */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.vertical-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3bb2a0;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.vertical-menu a:hover::before {
    width: 100%;
    left: 0;
}

/* Additional enhancements */
.vertical-menu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, #3bb2a0, #16222A);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.vertical-menu a:hover::after {
    transform: scaleY(1);
}

