I have trouble with css. Currently trying to achieve 2 things.
I need for text to always be aligned with navbar first item. No matter the browser width Showned in pictures.
.

I need to make image entire right side to be fullWidth. So it's width should be same width the same as navbar background. Basically width should be entire right side.
I tried using wrappers. But this does not seem like wrapper will be a correct fix here. To be honest I think I lack specific knowledge to solve this issue. So I was unable to generate and try new ideas.
export const NavbarWrapper = styled.div`
margin-right: auto;
margin-left: auto;
max-width: 600px;
padding-right: 24px;
padding-left: 24px;
`;
const ContainerStyled = styled.div`
.content_container {
display: flex;
}
.img {
width: 100%;
}
`;
export default function App() {
return (
<ContainerStyled>
<Navbar />
<NavbarWrapper>
<div className="content_container">
<p className="title">
This should be responsive to navbar on all sizes
</p>
<img className="img" src="/image.jpg" alt="grey bridge" />
</div>
</NavbarWrapper>
</ContainerStyled>
);
}
Reproducable example For inspecting I suggest clicking third button on codeSandbox browser for better viewing experience.


