.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.image-container {
  width: 100%;
  border-radius: 25px;
}
@media screen and (min-width: 768px) {
  .image-container {
    flex: 1;
    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;
  border-radius: 25px !important;
}

.text-container {
  width: 100%;
  color: #6B818C;
}
@media screen and (min-width: 768px) {
  .text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.text-box {
  padding: 20px;
  margin: 10px;
  cursor: pointer;
  width: 80%;
  transition: font-weight 0.3s, background-color 0.3s, transform 0.3s;
}
@media screen and (max-width: 768px) {
  .text-box {
    display: none;
  }
}
.text-box .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;
}