@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
  margin: 2rem 4rem;
  font-weight: 400;
  font-size: 1.2rem;
  font-family: "VT323", system-ui;
  line-height: 135%;
  background: black;
  color: limegreen;
  text-align: center;
  cursor: url('cursor.png'), auto;
  
  /* 8-bit pixelated background */
  background-image: 
    linear-gradient(45deg, rgba(0,255,0,0.05) 25%, transparent 25%, transparent 75%, rgba(0,255,0,0.05) 75%), 
    linear-gradient(45deg, rgba(0,255,0,0.05) 25%, transparent 25%, transparent 75%, rgba(0,255,0,0.05) 75%);
  background-size: 8px 8px;
}

.window {
  border: 4px solid #00ff00;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  margin: 40px auto;
  background: black;
  box-shadow: 8px 8px #008800; /* Pixel shadow effect */
  position: relative;
}

/* CRT Scanline Effect */
.window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 0, 0.05) 0px,
    rgba(0, 255, 0, 0.03) 2px,
    transparent 4px
  );
  pointer-events: none;
}

.title-bar {
  background: #00ff00;
  color: black;
  padding: 10px;
  font-size: 14px;
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 120%;
  text-shadow: 3px 3px #008800;
}

/* BIOS-style blinking effect */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.Firmware-Friends {
  font-variant: small-caps;
  color: yellow;
  animation: blink 1s infinite;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* 8-bit Button Style */
.button {
  background-color: black;
  color: limegreen;
  font-family: "VT323", system-ui;
  font-size: 12px;
  padding: 10px;
  border: 4px solid #00ff00;
  box-shadow: 4px 4px #008800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.1s;
  position: relative;
}

/* Glitch animation */
@keyframes glitch {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, -2px); }
  80% { transform: translate(1px, 2px); }
  100% { transform: translate(0, 0); }
}

.button:hover {
  animation: glitch 0.1s infinite;
}

.button:active {
  box-shadow: none;
  transform: translate(4px, 4px);
}

footer {
  margin-top: 20px;
  color: #00ff00;
}

.linkedin-link {
  color: #00ff00;
  text-decoration: none;
  font-weight: bold;
}

.linkedin-link:hover {
  text-decoration: underline;
  color: #55ff55;
}
