* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Roboto Mono', monospace;
  background-color: #282c34;
  color: white;
  scroll-behavior: smooth;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  text-align: center;
}

/* Navigation Bar */
.navbar {
  width: 100%;
  padding: 1rem 0;
  top: 0;
  left: 0;
}

.navbar ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.navbar ul li {
  display: inline;
}

.navbar ul li a {
  text-decoration: none;
  color: #c5c6c7;
  font-size: 1.2rem;
  padding: 10px;
}

.navbar ul li a:hover {
  color: #27c93f; /* Highlight the button on hover */
}

/* Title section */
.title-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30vh;
  width: 100%;
  padding-top: 15rem;
  padding-bottom: 5rem;
}

h1.title {
  font-size: 3rem;
}

/* Content below title */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
}

p.about {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 4rem;
  width: 70%;
}

#terminal {
  width: 80%;
  max-width: 750px;
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 50px;
  font-family: 'Roboto Mono', monospace;
  color: #c5c6c7;
}

.top_bar {
  display: flex;
  padding: 10px;
  background-color: #2b2b2b;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.top_bar div {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-right: 10px;
}

.red {
  background-color: #ff5f56;
}

.yellow {
  background-color: #ffbd2e;
}

.green {
  background-color: #27c93f;
}

.main_area {
  padding: 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 1.2rem;
  color: #c5c6c7;
}

/* Styling for terminal commands */
.terminal-prompt {
  color: #00ff00; /* Green text for prompt */
  font-weight: bold;
}

.response {
  color: #ffffff; /* White text for the response */
  margin-left: 20px; /* Indent the response slightly */
  font-style: italic;
}

.clickable{
  color: rgb(42, 209, 255);
  text-decoration: underline;
  cursor: pointer;
}

.clickable2{
  color: rgb(42, 209, 255);
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1em; /* Make the height match the font size */
  background-color: #00ff00; /* Green to match terminal prompt */
  margin-left: 5px;
  animation: blink 1s step-start infinite;
}

.cursor_title {
  display: inline-block;
  width: 20px;
  height: 1em; /* Make the height match the font size */
  background-color: #fff; /* Green to match terminal prompt */
  margin-left: 5px;
  animation: blink 1s step-start infinite;
}

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

/* Section styling */
#projects {
  padding: 20px;
  width: 100%;
  max-width: 800px;
}

footer {
  margin-top: auto;
  padding: 20px;
  font-size: 0.8rem;
  color: #a0a0a0;
}

/* Skills Banner Section */
#skills {
  width: 100%;
  padding: 40px 20px;
  background-color: #282c34;
  text-align: center;
}

#skills h2 {
  color: white;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

/* Skills Banner */
.skills-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.skill-item {
  position: relative; /* Needed for positioning the tooltip */
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.skill-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.skill-item:hover {
  transform: scale(1.1);
}

/* Tooltip Styling */
.skill-item::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -30px; /* Position below the skill item */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.skill-item:hover::after {
  opacity: 1;
  visibility: visible;
}

.projects-section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


/* Mosaic Grid */
.projects-mosaic {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.projects-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.projects-header h2 {
  font-size: 2rem;
  color: #00ff00;
  margin-bottom: 1.5rem;
}

.projects-header p {
  font-size: 1rem;
  color: #c5c6c7;
  margin-bottom: 0.7rem;

}

/* Projects footer with button */
.projects-footer {
  text-align: center;
  margin-top: 2rem;
}

.more-btn {
  text-decoration: none;
  color: #00ff00;
  border: 1px solid #00ff00;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.more-btn:hover {
  background-color: #00ff00;
  color: #1e1e1e;
  box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
}

/* Project Card General Styling */
.project-card {
  display: flex;
  flex-direction: column; /* Vertical layout */
  background-color: #1e1e1e;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00;
}

/* Card Grid Spans */
.project-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card.tall {
  grid-column: span 2;
  grid-row: span 3;
}

.project-card.wide {
  grid-column: span 2;
  grid-row: span 1;
}

.project-card.normal {
  grid-column: span 4;
  grid-row: span 1;
}

/* Image & Info */
.project-card .project-image {
  width: 100%; /* Full width on top */
  height: 200px;
  overflow: hidden;
}

.project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Info Section */
.project-card .project-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #c5c6c7;
  align-items: center;
}

.project-card .project-info h3 {
  color: #00ff00;
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.project-card .project-info p {
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Tags */
.project-card .tags {
  margin-bottom: 12px;
}

.project-card .tag {
  display: inline-block;
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-right: 5px;
  text-transform: uppercase;
}

.project-card .tag:hover {
  cursor: default;
}

/* Buttons */
.project-card .buttons {
  display: flex;
  gap: 10px;
}

.project-card .btn {
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #00ff00;
  color: #00ff00;
  font-weight: bold;
}

.project-card .btn:hover {
  background-color: #00ff00;
  color: #1e1e1e;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card .project-image {
    height: 150px;
  }

  .more-btn {
    padding: 8px 16px;
  }
}

.project-card.tall .project-image {
  height: auto;
  flex: 1 0 auto; /* allow it to grow */
}

.project-card.tall .project-info {
  flex: 0 0 auto; /* only take the height it needs */
}

.fun-facts {
  padding: 4rem 2rem;
  color: #c5c6c7; /* text color matching your dark theme */
  text-align: center;
}

.facts-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.fact-item {
  text-align: center;
}

.fact-item h3 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.fact-item p {
  font-size: 1rem;
  margin: 0;
  color: #aaa;
}

/* Separator line */
.separator {
  width: 1px;
  background-color: #555;
  height: 60px;
  align-self: center;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .facts-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .separator {
    display: none;
  }
}

