.image-row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 20px 0;
  gap: 30px; /* Add spacing between images */
}

.image-row img {
  width: 5vw; /* Responsive width based on viewport width */
  height: auto; /* Maintain aspect ratio */
}

.scattered-container {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust height as needed */
  margin: 20px 0;
}

.scattered-container img {
  position: absolute;
  width: 60px; /* Resize images */
  height: auto; /* Maintain aspect ratio */
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px; /* Space between items */
  justify-items: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  width: 300%;
  margin: 20px 0;
}

/* Terminal Window Styles */
.terminal-window {
    width: 100%; /* Full width of the grid container */
    height: 100%; /* Full height of the grid container */
    background: #1a1a1a; /* Darker background for modern look */
    border-radius: 8px;
    border: 1px solid #a855f7; /* Purple border for variety */
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5); /* Purple glow */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-left: auto; /* Move terminal to the right */
}

.terminal-header {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: #2a2a2a;
}

.window-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.window-button.red { background: #ff5555; }
.window-button.yellow { background: #ffaa00; }
.window-button.green { background: #55ff55; }

.terminal-body {
    flex: 1; /* Fill remaining space */
    padding: 1rem;
    color: #e6e6e6; /* Light gray for default text */
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-y: auto; /* Scroll if content overflows */
}

/* Syntax highlighting colors - Enhanced with new palette */
.command { color: #00d4ff; } /* Cyan for commands */
.keyword { color: #d787ff; } /* Purple for keywords */
.string { color: #ffcb6b; } /* Yellow for strings */
.number { color: #00ffab; } /* Green for numbers */
.output { color: #e6e6e6; } /* Light gray for outputs */
.function { color: #f472b6; } /* Pink for functions */
.variable { color: #fb923c; } /* Orange for variables */
  
.typing {
    display: flex;
    align-items: center;
}
  
.cursor {
    display: inline-block;
    width: 8px;
    height: 1.2em;
    background: #a855f7; /* Purple cursor to match new theme */
    margin-left: 2px;
    animation: blink 0.8s infinite;
}
  
@keyframes blink {
    50% { opacity: 0; }
}

/* New Color Palette Classes */
.glow-purple {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.6), 0 0 40px rgba(168, 85, 247, 0.4);
}

.glow-pink {
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.6), 0 0 40px rgba(236, 72, 153, 0.4);
}

.glow-orange {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.6), 0 0 40px rgba(249, 115, 22, 0.4);
}

.glow-cyan {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6), 0 0 40px rgba(6, 182, 212, 0.4);
}

.gradient-multi {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 25%, #f97316 50%, #06b6d4 75%, #a855f7 100%);
    background-size: 200% 200%;
    animation: gradient-move 8s ease infinite;
}

@keyframes gradient-move {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.border-gradient {
    border: 2px solid transparent;
    background-image: linear-gradient(#1a1a1a, #1a1a1a), 
                      linear-gradient(135deg, #a855f7, #ec4899, #06b6d4);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-pink {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-multi {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 33%, #f97316 66%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-move 6s ease infinite;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
}
