body {
  margin: 0;
  padding: 6rem 1.5rem 5rem 1.5rem;
  font-family: monospace;
  background: linear-gradient(to bottom right, #000000, #1a1a1a, #4a5568);
  color: #9ae6b4;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.toggle-wrapper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

.toggle-ios {
  width: 50px;
  height: 28px;
  background: #444;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-ios.enabled {
  background: #48bb78;
}

.toggle-ios-thumb {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.3s ease;
}

.toggle-ios.enabled .toggle-ios-thumb {
  left: 24px;
}

.footer-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.75rem;
  color: #48bb78;
  z-index: 999;
}

.dots-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0, 255, 0, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
  z-index: 1;
  position: relative;
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: rgba(26, 31, 43, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 255, 128, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 420px;
  max-height: 400px;
}

.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(0, 255, 128, 0.3);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.project-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #9ae6b4;
  margin: 0;
}

.project-description {
  color: #c6f6d5;
  font-size: 1rem;
  line-height: 1.4;
  flex-grow: 1;
}

.project-dates {
  font-size: 0.9rem;
  color: #a0aec0;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #4a5568;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}


@media (max-width: 600px) {
  .project-name {
    font-size: 0.9rem;
  }

  .toggle-wrapper {
    display: none;
  }

}
