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

main {
  margin-top: -2rem;
}

.dots-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(0, 255, 0, 0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.1s ease-out;
}

.decor-circle {
  position: absolute;
  border: 1px solid rgba(0, 255, 0, 0.1);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: pulse 5s ease-in-out infinite;
}

.decor-circle:nth-child(2) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.decor-circle:nth-child(3) {
  top: 25%;
  right: 15%;
  animation-delay: 1s;
}

.decor-circle:nth-child(4) {
  bottom: 15%;
  left: 20%;
  animation-delay: 2s;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.2;
  }
}

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

.toggle-ios {
  width: 36px;
  height: 20px;
  background-color: #2d3748;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s;
}

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

.toggle-ios-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-color: white;
  border-radius: 9999px;
  transition: transform 0.2s;
}

.toggle-ios.enabled .toggle-ios-thumb {
  transform: translateX(16px);
}

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

h1 {
  font-size: 2.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 2rem;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.gallery-item {
  background-color: #1a1a1a;
  border: 1px solid #48bb78;
  border-radius: 20px;
  height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: scale(1.03);
  background-color: #2d2d2d;
}

.gallery-item h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #9ae6b4;
}

.gallery-item p {
  font-size: 0.85rem;
  color: #c6f6d5;
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-item a {
  color: #48bb78;
  text-decoration: underline;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}


@media (max-width: 1000px) {

  main {
    margin-top: 2rem;
  }

  .toggle-wrapper {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  main {
    margin-top: 2rem;
  }

  .toggle-wrapper {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  main {
    margin-top: 2rem;
  }

  .toggle-wrapper {
    display: none;
  }

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