title: Size of an images and text in html
body: <p>I can't fit my page to resolution of screen. I have 1920x1080, image is 1920 px width and it is going out of a window. link with code and images: <a href="https://mega.nz/file/rPJB2aCZ#OY7vW1yFZ-d0Fb73UvYvw8D-1NEnSmSV5XSA-Dw0LPU" rel="nofollow noreferrer">https://mega.nz/file/rPJB2aCZ#OY7vW1yFZ-d0Fb73UvYvw8D-1NEnSmSV5XSA-Dw0LPU</a> index1.html and style1.css are unnecessery.</p>
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;meta charset=&quot;UTF-8&quot;&gt;
      &lt;title&gt;Document&lt;/title&gt;
      &lt;link rel=&quot;stylesheet&quot; href=&quot;../css/style.css&quot;&gt;
     &lt;style&gt;
      
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class=&quot;container1&quot;&gt;
      &lt;img style=&quot;width: 100%&quot; src=&quot;../img/Zrzut ekranu 2021-10-18 o 15.21.01.png&quot;&gt;
      &lt;p class=&quot;text1&quot;&gt;
          &lt;b&gt;Opanuj stres i przejmij kontrolę&lt;br&gt;
              w biznesie i życiu prywatnym!&lt;/b&gt;
      &lt;/p&gt;
      &lt;p class=&quot;text2&quot;&gt;
          &lt;b&gt;Poznaj techniki koherencji w trakcie spotkań&lt;br&gt;
              jeden na jeden i zapanuj nad swoim stresem.&lt;/b&gt;
      &lt;/p&gt;
      &lt;button class=&quot;button1&quot;&gt;
          &lt;b&gt;Zapisz się na kurs&lt;/b&gt;
      &lt;/button&gt;
      &lt;button class=&quot;button2&quot;&gt;
          &lt;b&gt;O mnie&lt;/b&gt;
      &lt;/button&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  
  
  .text1 {
      position: relative;
      font-family: Ubuntu;
      font-size: 70px;
      margin: 0;
      color: white;
  }
  .text2 {
      position: relative;
      font-family: Ubuntu;
      font-size: 25px;
      margin: 0;
      color: white;
  }
  .button1 {
      position: relative;
      background-color: #D32A34;
      color: white;
      border: none;
      width: 239px;
      height: 71px;
      font-size: 20px;
  }
  .button2 {
      position: relative;
      border: solid #D32A34;
      color: white;
      background-color: transparent;
      width: 239px;
      height: 71px;
      font-size: 20px;
  }
  </code></pre>