@import url("/css/theme.css");

.row-content {
  display: flex;    
  margin: 20px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  /* background: var(--primary-color); */
  /* background-color: var(--primary-color); */
  /* justify-content: space-between;   */
}

.text-content {
  /* background-color: blue; */  
  opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  align-self: center;
  flex: 1;  
  padding: 20px;
}

.image-content {  
  /* background-color: green; */
  
  flex: 1;
  max-height: 400px;
}

.image-content img {
  /* padding: 20px; */
  width: 100%;
  height: 100%;  
}


@media (max-width: 768px) {
  .row-content {
    flex-direction: column;
  }
  .text-content {
    order: 1 !important;
    width: 100%;
    min-height: unset;
  }
  .image-content {
    order: 2 !important;
    width: 100%;
    min-height: unset;
    max-height: 300px;
    margin-bottom: 24px;
  }
  .text-content,
  .image-content {
    text-align: center;
    min-height: 200px;
    box-sizing: border-box;
  }
  .image-content img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}
