body {
    background-color: black;
    font-family: monospace;
    color: white
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
}

.container {
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
}

.container img {
  display: block;
  margin: 40px auto 20px auto;
  max-width: 100%;
  height: auto;
  transform: translateX(-15px);
}

.content {
  text-align: center;
}

.navbar ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.navbar a:hover {
  text-decoration: underline;
}

.works-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 900px; /* Previously 1000px */
  margin: auto;
  padding: 20px;
}

.works-item a {
  color: white;
  text-decoration: none;
}

.works-item h2 {
  font-size: 24px;
  margin-top: 50px;
  margin-bottom: 15px;
  text-align: center;
}

.works-preview {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.works-preview.left {
  background-color: rgba(17, 17, 17, 0.7);
  padding: 20px;
  border-radius: 5px;
  border-left: 3px solid #444;
}

.works-preview.right {
  background-color: rgba(17, 17, 17, 0.7);
  padding: 20px;
  border-radius: 5px;
  border-right: 3px solid #444;
}

.works-preview.left iframe {
  order: 0;
}

.works-preview.right iframe {
  order: 1;
}

.works-preview.right p {
  order: 0;
  text-align: right;
}

.works-preview.left p {
  order: 0;
}

.works-preview p {
  flex: 1;
  margin: 0;
  text-align: justify;
}

.date {
  color: #818181;
  margin: 0;
  margin-bottom: 50px;
}

.date.right {
  text-align: right;
}

/* Optional responsive layout */
@media (max-width: 768px) {
  .works-preview {
    flex-direction: column;
    align-items: center;
  }

  .works-preview iframe {
    width: 100%;
    max-width: 100%;
  }

  .works-preview p {
    text-align: left;
  }
}
