/* Header Section */
.header {
  width: 100%;
  height: 400px; /* Adjusted height */
  min-height: fit-content;
  color: var(--black);
  background-color: var(--light-grey);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-details {
  width: 1200px; /* Take full width of the header */
  height: fit-content;
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  text-align: justify;
  padding: 2rem;
  gap: 1rem;
}

.header-content {
  max-width: 100%;
  display: flex;
  flex-direction: column; /* Stack children vertically */
  align-items: flex-start; /* Align children to the left */
  gap: 1rem;
}

.header-background {
  align-self: center;
  height: 300px;
  width: 300px;
  min-width: 300px;
  min-height: 300px;
  border: 1px solid var(--black);
  padding: 0.5rem;
  background-color: white;
}

.header-background img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.header-content h1 {
  font-size: 2.5rem; /* Adjust font size as needed */
  margin: 0;
  color: var(--black);
}

.header-content p {
  word-spacing: 2px;
  max-width: 400px;
}

/* Header list styles */
.header-list p {
  display: inline;
}

.header-list a:hover {
  color: var(--yellow);
}

/* Responsive Design */
@media only screen and (max-width: 1200px) {
  .header-details {
    flex-wrap: wrap;
    justify-content: center;
  }
}
