@font-face {
  font-family: 'CommitMono';
  src: url('../font/CommitMonoV142-VF.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'CommitMono', monospace;
  background: #777777;
  color: black; /* Black text on dark background */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

/* Style the navigation bar */
nav {
  position: relative; /* Position the navigation relative to its parent */
  top: 0; /* Align to the top of the page */
  right: 0; /* Align to the right side of the page */
  box-sizing: border-box;
}

nav ul {
  list-style-type: none; /* Remove list bullets */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  display: inline-block; /* Allows the bottom border to size with content */
  border-bottom: 2px solid #ffff00; /* Yellow line separator */
  float: right; /* Align the ul to the right */
}

nav .nav-item {
  display: inline-block; /* Display nav items inline */
  margin-left: 1em; /* Add space between items */
  padding: 0.5em; /* Add padding to the items */
}

nav .nav-item.current-page {
  background-color: #555555; /* Highlight color for the current page */
  border-radius: 5px; /* Rounded corners */
  font-weight: bold;
}

/* Adjust the main content area */
#splash {
  max-width: 800px; /* Adjust the width as needed */
  margin: 1em; /* Center the content */
  margin-bottom: 1em;
  padding: 1em; /* Add some padding around the content */
}

/* Hyperlink styles */
a {
  color: #ffffff; /* Default link color - white */
  text-decoration: none; /* Removes underline */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for color and background */
}

/* Hover state */
a:hover {
  color: #000000; /* Text color on hover - black for contrast */
  background-color: #ffff00; /* Background color on hover - yellow */
  text-decoration: none; /* Ensures no underline appears on hover */
}

/* Active (on click) state */
a:active {
  color: #ff0000; /* Text color when link is clicked - contrasting color, red */
  background-color: #ffff00; /* Maintain the yellow background on click */
}

#footer {
  /* Shift the footer to the right */
  margin-right: 2em; /* Adjust this value as needed to shift the footer */
  text-align: right; /* Align the text to the right */
  margin-bottom: 1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav {
    text-align: center; /* Center align the nav items on small screens */
  }

  nav ul {
    float: none; /* Remove float for smaller screens */
    display: block; /* Stack the list items */
  }

  nav .nav-item {
    display: block; /* Stack the items vertically */
    margin: 0; /* Remove margin */
  }
  #footer {
    margin-right: 1em; /* Adjust for smaller screens if necessary */
    text-align: center; /* Optionally center footer content on smaller screens */
  }
}

/* Interactive Projects Part */

.project {
  margin-bottom: 2em;
  padding-left: 1em;
}

.project-misc {
  display: inline-block;
  width: 25%;
  border-style: solid;
  padding: 1em 1em 1em 1em;
  margin-left: 2em;
  margin-top: 2em;
}

.project-thumbnail {
  width: 200px; /* Adjust as necessary */
  height: auto;
  margin-right: 1em;
  float: left;
}

.project-info {
  overflow: hidden; /* Clear the float */
}

.project-description {
  margin-bottom: 1em;
}

.project-technologies {
  font-style: italic;
}

.project-link {
  display: inline-block;
  background-color: #555555;
  color: #ffffff;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.project-link:hover, .project-link:active {
  background-color: #ffff00;
  color: #000000;
}

/* Footer adjustment */
#footer {
  margin-right: 2em; /* Adjust this value as needed */
  text-align: right; /* Align the text to the right */
}

/* Occybyte Parts */
.occy-page {
  background: black;
  font-size: small;
}

.occy-header {
  background: #777777;
  border-style: solid;
  padding-left: 1em;
}

.occy-intro {
  color: #919ea8;
  padding-left: 1em;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.acknowledge, #divine-question {
  cursor: pointer; /* Change cursor to indicate it's clickable */
  padding-left: 1em;
  color: #fafafa;
}

.blink{
  animation: blink 1s linear infinite;
}

.terminal-box {
  padding-left: 1em;
  padding-bottom: .50em;
  position: fixed;
  bottom: 10px;
  width: 800px; /* Adjust as needed */
  height: 700px; /* Adjust as needed */
  overflow: auto;
  z-index: 1000;
}

.terminal-box{
  padding-left: 1em;
}

/* MidJ  */

.midj-body {
  background-color: #222222; /* Background color of the body */
  padding: 20px;
}

.midj-header h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #fafafa;
}

.picture-box {
  margin-bottom: 20px;
  background-color: #777777;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
}

.picture-box img {
  max-width: 100%; /* Ensure the image is responsive */
  height: auto;
  border: 1px solid #ccc;
}

.caption {
  color: #fafafa;
  font-style: italic;
  margin-top: 10px;
}

/* Occybte More */

#login-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#terminal-container {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 20px;
}

input, button {
  margin: 5px;
  padding: 10px;
  background: none;
  border: 1px solid ghostwhite; /* input buttons: box */
  color: ghostwhite; /* input buttons: username, password submit */
  font-size: 16px;
}

button {
  cursor: pointer;
}

.hidden {
  display: none;
}

/* Fixed terminal height */
#terminal {
  width: 600px; /* Default width, it will be overridden by specific styles */
  height: 150px; /* Fixed height for the terminal */
  background-color: black;
  border: none;
  color: green;
  font-family: 'Titillium Web', Courier, monospace;
  resize: none;
  transition: width 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out; /* Removed height from transition */
}

#terminal-input {
  width: calc(100% - 2px); /* Input takes full width minus the border */
  margin-top: 5px; /* Spacing between terminal and input */
  padding: 10px; /* Padding inside the input */
  box-sizing: border-box; /* Ensures padding and border are included in the width */
  border: 1px solid green;
}


/* ...existing styles... */
#link-container {
  padding-left: 1em;
}

.hidden {
  display: none;
}



/* Bottom-left terminal styles */
.bottom-left-terminal #terminal {
  width: calc(100% - 40px); /* full width minus margin */
  /* Height is now constant, so we don't change it here */
}

.bottom-left-terminal #terminal-input {
  width: calc(100% - 40px); /* full width minus margin */
  margin-top: 5px;
}

/* Underneath input terminal styles */
.underneath-input #terminal {
  width: 600px; /* fixed width */
  /* Height is now constant, so we don't change it here */
}

.underneath-input #terminal-input {
  width: 590px; /* slightly less than terminal width to fit nicely */
  display: block;
  margin-top: 5px; /* space between terminal and input */
}


/* Adjust the container for the underneath input style */
.underneath-input #terminal-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}


/* Color themes */
.white-text,
.white-text input,
.white-text button,
.white-text #terminal {
  color: white;
  border-color: white;
}

.white-text input::placeholder {
  color: white;
  opacity: 0.7; /* Adjust opacity for better visibility */
}

.vibrant-purple-text,
.vibrant-purple-text input,
.vibrant-purple-text button,
.vibrant-purple-text #terminal {
  color: #a020f0; /* Example of a vibrant purple */
  border-color: #a020f0;
}

.vibrant-purple-text input::placeholder {
  color: #a020f0;
  opacity: 0.7; /* Adjust opacity for better visibility */
}

.vibrant-green-text,
.vibrant-green-text input,
.vibrant-green-text button,
.vibrant-green-text #terminal {
  color: green; /* Example of a vibrant green */
  border-color: green;
}

.vibrant-green-text input::placeholder {
  color: green;
  opacity: 0.7; /* Adjust opacity for better visibility */
}

/* Update the color theme styles to include the input box */
.white-text #terminal-input,
.vibrant-purple-text #terminal-input,
.vibrant-green-text #terminal-input {
  color: currentColor; /* Use the current color for text */
  border-color: currentColor; /* Use the current color for border */
}

.white-text #terminal-input::placeholder,
.vibrant-purple-text #terminal-input::placeholder,
.vibrant-green-text #terminal-input::placeholder {
  color: currentColor; /* Use the current color for placeholder text */
  opacity: 0.7; /* Adjust opacity for better visibility */
}