@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=VT323&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
.repo-link {
  color: #00ffff;
  padding: 5px;
}
.repo-link:hover {
  border-color: #00ffff;
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px #00ffff;
  transform: scale(1.5);
}
.repo-summary {
  color: #00ffff;
}
body {
  background: linear-gradient(45deg, #000428, #004e92);
  font-family: "VT323", monospace;
  color: #00ff00;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Matrix rain effect */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.matrix-char {
  position: absolute;
  color: #00ff00;
  font-size: 20px;
  animation: matrix-fall 3s linear infinite;
  opacity: 0.7;
}

@keyframes matrix-fall {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Header */
.header {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 3px solid #00ff00;
  position: relative;
}

.title {
  font-family: "Orbitron", monospace;
  font-size: 3em;
  font-weight: 900;
  text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00,
    0 0 40px #00ff00;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
  }
  to {
    text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff00,
      0 0 50px #00ff00;
  }
}

.subtitle {
  font-size: 1.5em;
  color: #ffff00;
  margin-top: 10px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Navigation */
.nav {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px;
  border-bottom: 2px solid #ff00ff;
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav a {
  color: #00ffff;
  text-decoration: none;
  font-size: 1.2em;
  padding: 10px 20px;
  border: 2px solid transparent;
  transition: all 0.3s;
  position: relative;
}

.nav a:hover {
  border-color: #00ffff;
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px #00ffff;
  transform: scale(1.1);
}

/* Main content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.section {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #ff00ff;
  margin: 20px 0;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 0, 255, 0.2),
    transparent
  );
  animation: scan 3s infinite;
}

@keyframes scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.section h2 {
  font-family: "Orbitron", monospace;
  font-size: 2em;
  color: #ff00ff;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 0 0 10px #ff00ff;
}

.section p {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Skills section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-item {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  padding: 15px;
  text-align: center;
  border-radius: 5px;
  transition: all 0.3s;
  position: relative;
}

.skill-item:hover {
  background: rgba(0, 255, 0, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.skill-item::after {
  content: ">";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #00ff00;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Contact section */
.contact-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  text-align: center;
  padding: 15px;
  border: 1px solid #00ffff;
  border-radius: 5px;
  background: rgba(0, 255, 255, 0.1);
  transition: all 0.3s;
}

.contact-item:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
  border-top: 3px solid #00ff00;
  margin-top: 40px;
}

.footer p {
  font-size: 1.2em;
  animation: color-change 4s infinite;
}

@keyframes color-change {
  0% {
    color: #00ff00;
  }
  25% {
    color: #ffff00;
  }
  50% {
    color: #ff00ff;
  }
  75% {
    color: #00ffff;
  }
  100% {
    color: #00ff00;
  }
}

/* Marquee effect */
.marquee {
  background: rgba(255, 0, 0, 0.8);
  color: white;
  padding: 10px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.marquee span {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Cursor effect */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #00ff00;
  animation: blink 1s infinite;
  margin-left: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
  .title {
    font-size: 2em;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: column;
  }
}
