.outer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    padding-left: 10%;
    padding-right: 5%;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px; /* Optional: to prevent it from becoming too wide */
    flex-direction: column; /* Stack items vertically on smaller screens */
    text-align: center; /* Center text on smaller screens */
}

.text-content {
    flex: 1;
    max-width: 100%; /* Full width on smaller screens */
    margin-bottom: 20px; /* Add margin for spacing */
}

.image-container {
    flex-shrink: 0;
    margin-left: 0; /* Remove margin for smaller screens */
    max-width: 100%; /* Full width on smaller screens */
}

.image-container img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Adjust the max-width as needed */
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .inner {
        flex-direction: row; /* Default to row direction for larger screens */
        text-align: left; /* Align text to the left for larger screens */
    }
    .text-content {
        max-width: 60%; /* Set max-width for larger screens */
        margin-bottom: 0; /* Remove bottom margin for larger screens */
    }
    .image-container {
        margin-left: 20px; /* Add margin for larger screens */
    }
}

@media (max-width: 768px) {
    .text-content {
        max-width: 100%; /* Full width for smaller screens */
    }
    .image-container img {
        max-width: 80%; /* Reduce max-width for images on smaller screens */
    }
}

@media (max-width: 480px) {
    .outer {
        padding-left: 5%;
        padding-right: 5%;
    }
    .image-container img {
        max-width: 100%; /* Full width for images on the smallest screens */
    }
}