/* Global styles - share fonts from lightly-salted.com */
@font-face {
  font-family: 'IBM Plex Mono';
  src:
    url('https://assets.lightly-salted.com/fonts/IBMPlexMono-Regular.woff2') format('woff2'),
    url('https://assets.lightly-salted.com/fonts/IBMPlexMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src:
    url('https://assets.lightly-salted.com/fonts/IBMPlexMono-Bold.woff2') format('woff2'),
    url('https://assets.lightly-salted.com/fonts/IBMPlexMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  font-synthesis: none;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src:
    url('https://assets.lightly-salted.com/fonts/IBMPlexMono-Italic.woff2') format('woff2'),
    url('https://assets.lightly-salted.com/fonts/IBMPlexMono-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  font-synthesis: none;
}


body, html {
    font-family: 'IBM Plex Mono', monospace;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #121212; /* Dark background for better contrast */
    color: #f8f9fa; /* Light text for readability */
}

/* Main container styling */
.main {
    width: 100%;
    text-align: center;
    background: transparent;
    z-index: 1;
    top: 20%;
}

/* Styling for links within the main container */
.main a {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    color: #FFFFFF;
    padding: 12px 20px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    border: 1px solid #FFFFFF; /* White border for visibility */
    transition: background-color 0.3s, color 0.3s;
}

.main a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Darker on hover */
    color: rgb(232, 200, 56);/* Gold color on hover */
}

/* Image styles */
.main img {
    width: 40%; /* Default width */
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%; /* Circle shape */
    animation: combinedGlow 2s infinite alternate;
}

/* Heading and paragraph styling */
.main h1, .main p {
    color: #FF8C00; /* Orange color for emphasis */
    opacity: 0; /* Start invisible */
    animation: fadeIn 3s ease-out forwards;
}

.main h1 {
    animation-delay: 0.2s; /* Start after 1 second */
}

.main p {
    animation-delay: 0.2s; /* Start after 2 seconds */
}

/* Background particles styling */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #121212;
    top: 0;
    left: 0;
    z-index: 0;
}


.terminal-block {
    background-color: #1e1e1e;
    color: rgb(232, 200, 56);
    font-family: 'Fira Code', monospace;
    padding: 1rem 1.5rem;
    margin: 2rem auto;
    width: fit-content;
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(232, 200, 56, 0.32);
    animation: fadeInTreminal 0.5s ease-in-out;
}

.prompt-line,
.response-line {
    margin: 0.2rem 0;
    white-space: nowrap;
}

.prompt {
    color: rgba(232, 200, 56, 0.32);
}

@keyframes fadeInTreminal {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}



/* Keyframes for animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes combinedGlow {
  0%, 100% {
    box-shadow: 
      0 0 10px rgba(255, 139, 0, 0.3),
      0 0 25px rgba(255, 139, 0, 0.3),
      0 0 30px rgba(255, 139, 0, 0.3),
      inset 0 0 20px rgba(255, 139, 0, 0.3),
      inset 0 0 60px rgba(255, 139, 0, 0.3);
  }
  50% {
    box-shadow: 
      0 0 2px rgba(255, 140, 0, 0.3),
      0 0 6px rgba(255, 140, 0, 0.3),
      0 0 12px rgba(255, 140, 0, 0.3),
      inset 0 0 5px rgba(255, 140, 0, 0.3),
      inset 0 0 15px rgba(255, 140, 0, 0.3);
  }
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
    .main img {
        width: 55%; /* Increase width for smaller screens */
    }
}

/* Responsive Profile Image */
.profile-image {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.tagline-box {
    max-width: 90vw;
    word-wrap: break-word;
    white-space: normal;
}

/* Consistent label font + mobile grid layout */
.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.button-group a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 64px;
  min-height: 64px;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-group a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px #ffaa00;
}

.button-group i {
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
}

/* Label text under icons */
.button-group .label {
  font-family: 'Courier New', monospace; /* match your site font if different */
  font-size: 0.8rem;
  color: #fff;
  opacity: 0.9;
}

/* Mobile layout: 3 columns */
@media (max-width: 600px) {
  .button-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 1rem 1rem;
  }
}
