


/* Main container */
.container {
    display: flex;            /* Flexbox layout */
    flex-wrap: wrap;          /* Allows wrapping for smaller screens */
    max-width: 100%;          /* Prevents overflowing */
    height: 100%;             /* Ensures height adjusts based on content */
    margin: 0 auto;           /* Centers the container on the page */
    padding: 20px;            /* Adds spacing around the container */
    box-sizing: border-box;   /* Includes padding in width/height calculations */
}


.left-50 {
    flex: 1;              /* Takes up 25% of the container */
    display: flex;
    align-items: center;
    justify-content: center;
    
}


.right-50 {
    flex: 1;
    transform: translateY(-15%);
    padding-left: 5%;
    overflow-wrap: break-word;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.right-50 p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    color: white;
}
/* Media Query for Smaller Screens */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;   /* Stacks items vertically */
        align-items: center;      /* Centers the content */
    }

    .left, .right {
        flex: none;               /* Removes equal spacing */
        width: 100%;              /* Each takes up full width */
        text-align: center;       /* Centers text for smaller screens */
    }

    .right {
        padding-top: 10px;        /* Adds space between photo and text */
    }
}

.left-50 img {
    border-radius: 16px;
}

.right-50 h1 {
    color: white;
}