@font-face {
    font-family: 'pixel';
    src: url('../fonts/PIXELADE.TTF');
  }
  
  body,
  html {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    font-family: 'pixel';
    color: #222;
    padding: 0;
    margin: 0;
  }
  
  .navbar {
    background-color: #000 !important;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar a {
    color: #ffffff !important;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .navbar a:hover {
    color: #00ccff !important;
  }
  
  /* Masthead */
.masthead {
  position: relative;
  padding: 6rem 2rem;
  background-image: url('../img/portfolio/allnodes.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  image-rendering: pixelated;
  text-align: center;
  overflow: hidden;
}

.masthead::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.masthead .container {
  position: relative;
  z-index: 2;
}

.masthead h1 {
  font-size: 5rem;
  color: #fff;
  text-shadow: 2px 2px #000;
}

.masthead h3 {
  color: #fff;
  font-style: italic;
  margin-top: 1rem;
}
  
  .section {
    margin: 60px auto;
    width: 85%;
    max-width: 1000px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border: none;
  }
  
  .section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px dotted #000;
    padding-bottom: 10px;
  }

  .tag {
    display: inline-block;
    background-color: #005eff;
    color: white;
    padding: 5px 10px;
    margin-top: 10px;
    font-size: 14px;
    border-radius: 5px;
    font-weight: bold;
  }
  
  /* Terminal-styled code blocks */
  .code-island,
  pre code {
    background-color: #111;
    color: #00ff88;
    padding: 20px;
    font-family: monospace;
    border-radius: 8px;
    margin-top: 20px;
    white-space: pre;
    overflow-x: auto;
    box-shadow: inset 0 0 15px #0f0;
  }
  
  /* Override highlight.js terminal style for syntax */
  .hljs {
    background: #111 !important;
    color: #00ff88 !important;
  }
  
  .video-block {
    margin-top: 30px;
    background-color: #333;
    padding: 10px;
    border: 3px solid #555;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    font-size: 1rem;
  }
  
  .footer {
    padding: 3rem 1rem;
    background-image: url('../img/grass.png');
    background-size: cover;
    background-repeat: repeat-x;
    text-align: center;
    image-rendering: pixelated;
  }
  
  .footer p {
    color: #000;
    margin: 0;
  }

  footer.footer .social-link {
    display: block;
    height: 4rem;
    width: 4rem;
    line-height: 4.3rem;
    font-size: 1.5rem;
    background-color: rgb(30, 115, 25);
    transition: background-color 0.15s ease-in-out;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  }
  
  footer.footer .social-link:hover {
    background-color: rgba(10, 80, 30, 0.637);
    text-decoration: none;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .masthead h1 {
      font-size: 2.5rem;
    }
  
    .masthead h3 {
      font-size: 1.2rem;
    }
  
    .section,
    .code-island {
      width: 95%;
      padding: 20px;
    }
  
    .navbar {
      flex-direction: column;
    }
  
    .navbar a {
      margin: 5px 0;
    }
  }
  