/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #121212;
  color: #ffffff;
  display: flex;
  flex-direction: column; /* Add this line to stack header and container vertically */
  align-items: center;
  min-height: 100vh;
}

a {
  color: #ff6347;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

/* Container Styles */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  box-sizing: border-box;
}

h1 {
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Header Styles */
.main-header {
  width: 100%;
  background-color: #333;
  color: white;
  padding: 10px 20px;
  box-sizing: border-box;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.color-orange {
  color: #ff6347;
}

.logo a,
.nav a {
  color: white;
  text-decoration: none;
  font-size: 1.5em;
  transition: color 0.3s ease;
}

.logo a:hover,
.nav a:hover {
  color: #ff6347; /* Tomato color for hover effect */
}

.logo a:hover .color-orange {
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  .logo,
  .nav {
    margin: 10px 0;
  }
}

.title {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.image {
  max-width: 100%;
  height: auto;
  display: block;
}

.prompt {
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border-radius: 5px;
  font-size: 16px;
  max-width: 90%;
  margin: 25px 0;
  box-sizing: border-box;
  padding: 20px;
  max-width: 1024px;
}

.explanation {
  font-size: 24px;
  line-height: 40px;
  max-width: 1000px;
  margin: 75px auto 0 auto;
}

@media (max-width: 768px) {
  .prompt {
    font-size: 12px;
    padding: 5px;
    bottom: 5px;
    right: 5px;
  }
}

.image-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.image-item {
  background: #1f1f1f;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.image-item:hover {
  transform: scale(1.05);
}

.image-item a {
  text-decoration: none;
  color: #f0f0f0;
  display: block;
  text-align: center;
  padding: 10px;
}

.thumbnail {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-bottom: 1px solid #333;
}

.image-item p {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .image-item {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .image-item {
    width: 45%;
  }
}

@media (min-width: 1201px) {
  .image-item {
    width: 30%;
  }
}
