Почему два широкоэкранных тега не расположены рядом друг с другом, когда экран широкий?

Когда ширина браузера превышает 1000 пикселей, контейнер div.flex изменяется так, что теги p могут быть рядом друг с другом. Однако они все еще выше друг друга.

Что я могу сделать, чтобы они были рядом друг с другом на широких экранах и друг над другом на более узких экранах?

(Извините, я изменил вопрос здесь. Хотя я действительно не могу понять, что происходит. С «flex-direction: column» p-теги всегда друг над другом. Без этого они всегда рядом друг с другом.)

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title></title>
    <style type="text/css">
      .flex-container {
          display: flex;
          flex-wrap: wrap;
          flex-direction: column;
          max-width: 800px;
          min-height: 180px;
          border: red 2px solid;
      }
      @media (max-width: 1000px) {
          .flex-container {
              max-width: 400px;
          }
      }
      .flex-container p {
          flex: 1;
          -webkit-box-flex: 1;
          display: block;
          width: 300px;
          margin: 0px;
          margin-right: 20px;
          margin-bottom: 10px;
          border: red 2px solid;
      }
    </style>
  </head>
  <body>
    <div class="flex-container">
      <p>
        This page is for setting up the W+ bookmarklet and adding it
        to your brower's bookmarks bar.
      </p>
      <p>
        The idea of this bookmark is to help searching when you find
        something on a web page.  Maybe you see a book
        title that looks interesting?  Then you can start the W+
        bookmarklet and click the first word and the last word in
        the title.  That will give you a number of alternative
        ways to search for it.
      </p>
    </div>
  </body>
</html>

Ответы на вопрос(2)

Ваш ответ на вопрос