/* Header Section */
.header {
  width: 100%;
  height: 200px; /* Adjusted height */
  min-height: fit-content;
  background: url("../assets/insbg.JPG") no-repeat center center/cover;
  display: flex;
  justify-content: flex-start; /* Align content to the start horizontally */
  align-items: center;
  color: white;
  text-align: left; /* Align text to the left */
  padding: 20px;
}

.header-content {
  width: 100%; /* Take full width of the header */
  max-width: 1200px;
  margin: auto;
}

.header-content h1 {
  font-size: 2.5rem; /* Adjust font size as needed */
  margin: 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.image-container {
  width: 100px;
  height: 100px;
  min-width: 100px;
  min-height: 100px;
  border-radius: 50%;
  background-color: var(--yellow);
  padding: 0.2rem;
  overflow: hidden;
}

.image-container img {
  border-radius: 50%;
}

/* END OF HEADER */

/* USER CONTENT */

.user-profile-content {
  display: flex;
  gap: 1rem;
}

.user-profile-left,
.user-profile-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  min-width: 500px;
}

/* INPUT DESIGN */

.user-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.user-details-w-button {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.user-details-w-button button {
  padding: 0.5rem;
  border: none;
  background-color: var(--yellow);
  cursor: pointer;
}

.user-details-w-button button:hover {
  background-color: var(--dark- yellow);
}

.workout-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.workout {
  display: flex;
  padding: 0.5rem;
  background-color: var(--light-grey);
  gap: 1rem;
  border-radius: 5px;
}

.workout-image {
  object-fit: contain;
  height: 100px;
  width: 100px;
}

.workout-image img {
  height: 100%;
}

.workout-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* form responsive design */
@media (max-width: 1024px) {
  .user-profile-content {
    flex-wrap: wrap-reverse;
  }
  .user-profile-left,
  .user-profile-right {
    min-width: 200px;
  }
}

/* form responsive design */
@media (max-width: 768px) {
  .header {
    height: fit-content; /* Adjusted height */
  }

  .profile-header {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
}
