.project-section {
  border-left: 5px solid #282f36;
}

.project-card-title {
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 30px;
  cursor: pointer;
}

.project-link-button-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 25px;
}

.project-link-button {
  display: inline-block;
  padding: 8px 16px;
  color: #333333;
  background-color: #f0f0f0;
  border: 1px solid #333333;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  margin: 0;
  transition: all 0.2s ease-in-out;
}

.project-link-button:hover {
  background-color: #333333;
  color: #fff;
}

.project-link-button-note {
  font-size: 14px;
  color: #666666;
  margin-top: 5px;
}

.project-item-container {
  text-align: center;
  justify-content: center;
}

.detail-trigger {
  cursor: pointer;
  font-weight: bold;
}

.project-iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Reinstated box-model styles for media elements */
.project-banner,
.project-image,
.project-gif,
.project-video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.project-item-container a:hover .project-video {
  opacity: 0.9;
}

.project-item-container-row {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 15px;
}

@media (max-width: 800px) {
  .project-item-container {
    margin: 15px 0;
  }

  .project-item-container-row {
    flex-direction: column;
    justify-content: flex-start;
  }
}