title: I want a fade in and out animation that stops inbetween
body: <p>I am working on a home page for a school project and I want to have fade in and out transitions between a few paragraphs and titles but the thing is I need it to stay on the page for a few seconds and not just fade right in and out so that the user can read it,</p>
  <p>here's the code what I try but it seems doesn't work properly:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>* {
    margin: 0;
  }
  
  .WelcomeMenu {
    background-image: linear-gradient(rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.8)), url('https://images.ctfassets.net/hrltx12pl8hq/4plHDVeTkWuFMihxQnzBSb/aea2f06d675c3d710d095306e377382f/shutterstock_554314555_copy.jpg ');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
  }
  
  .WelcomeMenu h1 {
    font-size: 45px;
    background-color: transparent;
    color: #ffff;
    padding: 0;
    padding-top: 16%;
    padding-left: 7%;
  }
  
  .WelcomeMenu h1:after {
    content: '\2713';
  }
  
  #think:after {
    content: '\01F4A1';
  }
  
  .WelcomeMenu h2 {
    font-size: 23px;
    background-color: transparent;
    padding-left: 7%;
    padding-top: 0.8%;
    color: #fff;
  }
  
  .WelcomeMenu p {
    color: #ffff;
    font-size: 20px;
    margin-top: 1%;
    padding-left: 7%
  }
  
  .Fade1 {
    -webkit-animation: fadeinout 4s linear forwards;
    animation: fadeinout 4s linear forwards;
    opacity: 0;
  }
  
  @-webkit-keyframes fadeinout {
    50% {
      opacity: 1;
    }
  }
  @keyframes fadeinout {
    50% {
      opacity: 1;
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section class="WelcomeMenu"&gt;
    &lt;div class="Fade1"&gt;
      &lt;h1&gt; 
        &lt;span style="font-weight: 1000;color: #F10000; font-size: 64px;"&gt;STOP&lt;/span&gt;
        &lt;span style="font-weight: 600;" id="think"&gt;THINK &lt;/span&gt;
        &lt;span style=" font-weight: 600;"&gt; &amp; CHECK&lt;/span&gt;
      &lt;/h1&gt;
      &lt;p&gt;
        Have you ever wondered how factual the news you just &lt;br&gt; scrolled past on TikTok are? Do you wanna learn how to &lt;br&gt; fact check the information your favorite artists are spreading?
      &lt;/p&gt;
      &lt;h2&gt; Check out this page to learn more!
        &lt;h2&gt;
    &lt;/div&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>