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

body {
  margin: 0;
  background: radial-gradient(circle at center, #0f0f0f 0%, #000000 100%);
  color: #00ff88;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  position: relative;
  min-height: 100vh;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.logo img {
  width: 100px;
  height: auto;
}

.typewriter {
  font-size: 3rem;
  letter-spacing: 4px;
  font-weight: bold;
  color: #00ff88;
  text-shadow: 0 0 4px #00ff88, 0 0 8px #007755;
}

.cursor {
  display: inline-block;
  animation: blink 1s step-start infinite;
  font-weight: bold;
  color: #00ff88;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.pink,
.highlight-pink {
  color: #ff44dd !important;
  text-shadow: 0 0 4px #ff44dd, 0 0 8px #aa2277 !important;
}

.subtext {
  font-size: 1.5rem;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 1.2s ease-in;
}

.fade-in {
  opacity: 1;
}

.hidden {
  display: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 20px;
}

a {
  color: #00ff88;
  text-decoration: none;
  font-size: 1.2rem;
  border: 2px solid #00ff88;
  padding: 12px 24px;
  border-radius: 12px;
  transition: background 0.3s, color 0.3s;
  margin: 10px;
}

a:hover {
  background: #00ff88;
  color: #000;
}

.bg-circuit {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url('images/background-circuit.png') center/cover no-repeat;
  opacity: 0.15;
  z-index: -1;
}

.about-main {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px 80px;
}

.about-photo {
  width: 150px;
  border-radius: 10px;
  box-shadow: 0 0 20px #00ff88;
  margin-bottom: 20px;
}

h2 {
  color: #00ff88;
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.homepage {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  flex-direction: column;
}

.homepage-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

/* Prevent dark mode extensions from inverting your dark theme */
@media (prefers-color-scheme: dark) {
  html, body {
    background-color: #000 !important;
    color: #00ff88 !important;
  }

  * {
    background-color: transparent !important;
    color: inherit !important;
    border-color: #00ff88 !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
  
}
