@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 */
}

/* Navigation */
nav {
  position: relative;
  top: 0;
  box-sizing: border-box;
  background-color: #111;
  border-bottom: 2px solid #ffff00;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 2em;
}

.nav-brand {
  color: #fafafa;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-brand:hover {
  color: #000;
  background-color: #ffff00;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin-left: auto;
}

.nav-links li a {
  color: #919ea8;
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.nav-links li a:hover {
  color: #000;
  background-color: #ffff00;
}

/* Footer - aligned with #splash, left/right split like occybyte-domain */
.site-footer {
  background-color: #111;
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2em;
  box-sizing: border-box;
  font-size: 0.75rem;
  color: #888;
}

.footer-left {
  flex-shrink: 0;
}

.footer-right {
  flex-shrink: 0;
  margin-left: 2em;
}

.footer-right a {
  color: #ffff00;
  text-decoration: none;
}

.footer-right a:hover {
  color: #000;
  background-color: #ffff00;
}

/* Adjust the main content area */
#splash {
  max-width: 1000px;
  /* Wider content area for blog */
  margin: 2em auto;
  /* Center the content horizontally */
  padding: 2em;
  /* Add some padding around the content */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* 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-inner {
    padding: 0.5rem 1rem;
  }

  .nav-links {
    gap: 0.2rem;
  }

  .nav-links li a {
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
  }

  .footer-right {
    margin-left: 0;
  }

  #footer {
    margin-right: 1em;
    text-align: center;
  }
}

/* Interactive Projects Part */

.project {
  margin-bottom: 2em;
  padding-left: 1em;
}

.project-misc {
  display: block;
  width: auto;
  border: 1px solid #555;
  padding: 1.5em;
  margin-left: 0;
  margin-top: 1.5em;
  background: rgba(40, 40, 40, 0.4);
}

.project-misc:hover {
  border-color: #ffff00;
}

.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%);
}

/* New Section: Contact, Blog, Literature & Assignments */
#contact-blog-assignments {
  position: fixed;
  /* Fix it to the screen */
  right: 0;
  /* Align to the right side */
  top: 100px;
  /* Adjust top position as needed */
  background-color: #777777;
  /* Background color matching the rest of the page */
  border-left: 2px solid #ffff00;
  /* Yellow border to separate from the rest of the content */
  padding: 1em;
  /* Padding around the content */
  width: 250px;
  /* Fixed width for the section */
}

#contact-blog-assignments h3 {
  margin-top: 0;
  /* Remove the default margin from the top of the header */
  color: #ffffff;
  /* White color for the header */
}

#contact-blog-assignments ul {
  list-style-type: none;
  /* Remove bullet points from the list */
  padding: 0;
  /* Remove padding */
  margin: 0;
  /* Remove margin */
}

#contact-blog-assignments li {
  margin-bottom: 0.5em;
  /* Space between the list items */
}

#contact-blog-assignments a {
  color: #ffffff;
  /* Default link color - white */
  text-decoration: none;
  /* No underline */
  transition: background-color 0.3s, color 0.3s;
  /* Smooth transition for color and background */
}

#contact-blog-assignments 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 */
}

#contact-blog-assignments a:active {
  color: #ff0000;
  /* Text color when link is clicked - red */
  background-color: #ffff00;
  /* Maintain the yellow background on click */
}

/* RSS Feed Section */
#rss-feed {
  position: fixed;
  /* Fix it to the screen */
  right: 0;
  /* Align to the right side */
  top: calc(200px + 100%);
  /* Position below the contact-blog-assignments section */
  background-color: #f5f5f5;
  /* Background color */
  border-left: 2px solid #ffff00;
  /* Yellow border to separate from the rest of the content */
  padding: 1em;
  /* Padding around the content */
  width: 250px;
  /* Fixed width for the section */
}

#rss-feed h3 {
  margin-top: 0;
  /* Remove the default margin from the top of the header */
  color: #000000;
  /* Black color for the header */
}

#rss-feed ul {
  list-style-type: none;
  /* Remove bullet points from the list */
  padding: 0;
  /* Remove padding */
  margin: 0;
  /* Remove margin */
}

#rss-feed li {
  margin-bottom: 0.5em;
  /* Space between the list items */
}

#rss-feed a {
  color: #000000;
  /* Default link color - black */
  text-decoration: none;
  /* No underline */
  transition: background-color 0.3s, color 0.3s;
  /* Smooth transition for color and background */
}

#rss-feed a:hover {
  color: #ffffff;
  /* Text color on hover - white for contrast */
  background-color: #000000;
  /* Background color on hover - black */
  text-decoration: none;
  /* Ensures no underline appears on hover */
}

#rss-feed a:active {
  color: #ff0000;
  /* Text color when link is clicked - red */
  background-color: #000000;
  /* Maintain the black background on click */
}

/* OVERVIEW WRITING-LIST AESTHETIC */
.writing-list {
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
  background: rgba(40, 40, 40, 0.4);
  margin-top: 2rem;
}

.writing-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 1rem;
  border-bottom: 1px dashed #ffff00;
}

.writing-item:last-child {
  border-bottom: 0;
}

.writing-item:hover {
  background: rgba(40, 40, 40, 0.8);
}

.writing-main h2 {
  margin: 0 0 0.25rem;
  font-size: 1.3rem;
  color: #fafafa;
}

.writing-main h2 a {
  color: #fafafa;
}

.writing-main h2 a:hover {
  text-decoration: underline;
  background: none;
}

.writing-main p {
  margin: 0;
  color: #919ea8;
  font-size: 0.95rem;
  line-height: 1.45;
}

.writing-meta {
  margin-top: 0.5rem !important;
  color: #7f8a93 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.writing-action .featured-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #555;
  color: #ffffff;
  border: 1px solid #555;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.writing-action .featured-link:hover {
  background: #ffff00;
  color: #000000;
  border-color: #ffff00;
}
