@charset "UTF-8";
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.container.image-left {
  flex-direction: row;
}
.container.image-right {
  flex-direction: row-reverse;
}

/* ✅ Use CSS variables and media queries to control widths without !important */
.image-container,
.text-container {
  width: 100%;
  max-width: 100%;
  flex: unset;
}
@media screen and (min-width: 768px) {
  .image-container,
  .text-container {
    width: var(--desktop-width, 50%);
  }
}

.image-container {
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.image-container img {
  max-width: 100%;
  height: auto;
  transition: opacity 0.5s ease-in-out;
}
.image-container #main-image {
  border-radius: 25px;
}

.text-container {
  color: #6B818C;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  margin: 10px;
  width: 80%;
  cursor: pointer;
  transition: font-weight 0.3s, background-color 0.3s, transform 0.3s;
}
@media screen and (max-width: 768px) {
  .text-box {
    display: none;
  }
}
.text-box .side-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.text-box .text-content {
  display: flex;
  flex-direction: column;
}
.text-box .text-content .textOne {
  margin-bottom: 10px;
}
.text-box:hover {
  transform: scale(1.05);
  color: white;
}
.text-box.active {
  transform: scale(1.05);
  color: white;
}
@media screen and (max-width: 768px) {
  .text-box.active {
    display: block;
  }
}
.text-box.active .textOne {
  font-weight: bold;
}