
  

/* Set background on html instead of body */
html {
    background: radial-gradient(circle at center, #f1f5f9, #e2e8f0);
    height: 100%;
  }
  
  body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  .monitor-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 200, 200, 0.4);
    border-radius: 12px;
    box-shadow:
      0 4px 6px rgba(0, 0, 0, 0.1),
      0 12px 24px rgba(0, 0, 0, 0.12),
      0 0 20px rgba(60, 120, 255, 0.1); /* blue glow */
  
    width: 800px;
    max-width: 95%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    transition: transform 0.7s ease, box-shadow 0.3s ease;
  }
  
  /* Float effect on hover */
  .monitor-container:hover {
    transform: translateY(-12px);
    box-shadow:
      0 10px 25px rgba(0, 0, 0, 0.12),
      0 20px 40px rgba(0, 0, 0, 0.2),
      0 0 40px rgba(60, 120, 255, 0.25); /* accentuated glow */
  }
  
  
  /* Terminal Header */
  .monitor-header {
    background-color: #e5e7eb;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
  }
  .red { background-color: #ff5f56; }
  .yellow { background-color: #ffbd2e; }
  .green { background-color: #27c93f; }
  
  .monitor-title {
    color: #333;
    font-size: 0.9rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Terminal Main Area */
  #terminal {
    background-color: white;
    padding: 1rem;
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #1e3a8a;
    scrollbar-width: none;
  }
  
  #terminal::-webkit-scrollbar {
    display: none;
  }
  
  .output {
    white-space: pre-wrap;
  }
  
  .input-line {
    display: flex;
    align-items: center;
  }
  
  .prompt {
    margin-right: 5px;
    color: #1e3a8a;
  }
  
  #typed {
    white-space: pre-wrap;
  }
  
  #cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: currentColor;
    animation: blink 1s step-start infinite;
    vertical-align: bottom;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  /* Background Buttons */
  #bg-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-bottom: 30px;
  }
  
  #bg-controls button {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease;
  }
  
  #bg-controls button:hover {
    background-color: #1d4ed8;
  }
  
  #bg-upload {
    display: none;
  }
  
  /* Modal for Resume */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content.embed-modal {
    position: relative;
    width: 95vw;
    height: 95vh;
    background-color: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  }
  
  .pdf-viewer {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    background-color: #fff;
    object-fit: contain;
  }
  
  #close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 28px;
    height: 28px;
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #2563eb;
    border: none;
    box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 1001;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  
  #close-modal:hover {
    background-color: #1d4ed8;
    color: #fff;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }
  
  @keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
  }
  
  .modal.show {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
  }
  
  .modal.hide {
    animation: fadeOut 0.3s ease forwards;
  }
  .resume-box {
    background: rgba(240, 248, 255, 0.85);
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }
  
  .resume-box h3 {
    margin-top: 1rem;
    color: #1d4ed8;
  }
  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 1rem;
  }
  
  @media (min-width: 600px) {
    .project-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .project-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    color: #1e293b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }
  
  .project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .project-card h4 {
    margin: 0 0 0.5rem;
    color: #2563eb;
  }
  
  .project-card p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .project-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
  }
  
  .project-card a:hover {
    text-decoration: underline;
  }
  .modal-content.project-modal {
    position: relative;
    width: 90%;
    height: 90%;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  }
  
  #project-frame {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  #close-project-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 28px;
    height: 28px;
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #2563eb;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }
  
  