.historio {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 900px; /* Set a max width for the main container */
  margin: 0 auto; /* Center the container */
  margin-top: 30px;
}

.historio-first {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 20px;
  margin-bottom: 150px;
}

.img-div {
  width: 400px; /* Smaller width for the first image */
  height: 280px; /* Adjusted height to keep proportions */
}

.img-div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-div p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.text-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(100% - 440px); /* Account for img-div width and gap */
}

.text-div h1 {
  font-size: 24px;
  margin-bottom: 10px;
  margin-left: 40px;
}

.text-div p {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.historio-first > div:nth-child(2) {
  width: 1px;
  height: 800px;
  background-color: #000000;
  margin: 0 20px;
}

.video-player {
  width: 100%;
  max-width: 500px; /* Limits the maximum width of the video player */
  margin: 20px auto; /* Centers the video player */
  aspect-ratio: 16 / 9; /* Maintains a 16:9 aspect ratio */
  background-color: #000; /* Adds a background color for better framing */
}

.historio-third {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.historio-third img {
  width: 640px;
  height: 440px;
  object-fit: cover;
  margin-bottom: 10px;
}

.historio-third p {
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  width: 100%;
  max-width: 640px;
}

.text-div .learn-more {
  margin-top: 30px;
}