.container {
display: flex;
flex-wrap: wrap;
padding: 0 10px;
}
.content,
.content-details,
.sidebar {
padding: 10px;
}
.content {
flex-grow: 1;
background-color: #DDD;
}
.content-details {
width: 100%;
order: 2;
background-color: orange;
}
.sidebar {
width: 200px;
background-color: green;
}