.about-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: var(--bg-color);
  gap: 20px;
  height: auto;
}

.text-content {
  color: #f5f5f5;
  width: 100%;
  padding: 10px 0;
  box-sizing: border-box;
  flex: none;
  max-width: none;
}

.about-detail img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-detail div.text-content {
  font-family: 'Arial', sans-serif;
  color: #333;
}

.about-detail h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

.about-detail p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .about-detail {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    padding: 40px;
    gap: 40px;
  }

  .text-content {
    color: #ffffff;
    flex: 1;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
  }

  .about-detail img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }

  .about-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: left;
  }

  .about-detail p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
  }
}
