<https://faylette.github.io/3-column-preview-card-component-main/>

I'm working on this and trying to apply a border radius to the containing element, and it does appear, but only when the element touches the edges of the browser. This occurs whether the flex-direction is row or column.

[border radius disappearing when not touching edge of browser](https://i.stack.imgur.com/rbvcN.png)

[border radius appearing as desired when touching edge of browser](https://i.stack.imgur.com/Xy4XR.png)

Here is the relevant CSS code.

```css
/* contains each of the containers (car cards) */
.content {
    display: flex;
    overflow: hidden;
    border-radius: 10px;
}

/* each car card */
.container {
    width: 350px;
    padding: 40px;
}

div#sedans {
    background-color: hsl(31, 77%, 52%);
}

div#suvs {
    background-color: hsl(184, 100%, 22%);
}

div#luxury {
    background-color: hsl(179, 100%, 13%);
}

@media (max-width: 600px) {
    .content {
        flex-direction: column;
        width: 500px;
    }
}
```

```html
<div class="content">

    <div class="container" id="sedans">
      <img src="images/icon-sedans.svg">
      <h2>Sedans</h2>
      <p>
        Choose a sedan for its affordability and excellent fuel economy. Ideal for cruising in the city
        or on your next road trip.
      </p>
      <button class="btn1">Learn More</button>
    </div>

    <div class="container" id="suvs">
      <img src="images/icon-suvs.svg">
      <h2>SUVs</h2>
      <p>
        Take an SUV for its spacious interior, power, and versatility. Perfect for your next family vacation
        and off-road adventures.
      </p>
      <button class="btn2">Learn More</button>
    </div>

    <div class="container" id="luxury">
      <img src="images/icon-luxury.svg">
      <h2>Luxury</h2>
      <p>
        Cruise in the best car brands without the bloated prices. Enjoy the enhanced comfort of a luxury
        rental and arrive in style.
      </p>
      <button class="btn3">Learn More</button>
    </div>
  </div>
```

Please let me know how I can fix this and, as this is my first post on Stack Overflow, if I did anything wrong in asking this question. Thank you!