title: How to put text below centered image responsive?
body: <p>I create a responsive web page with image as background and another image(logo) centered in page.</p>
  
  <p>The problem is that I want to put a text right below the centered image (logo) with a title. I tried to put it using padding-top, but it's inefficient and not very responsive.</p>
  
  <p>I want to responsively put the text below the centered image.</p>
  
  <p>Here is my <strong>code</strong>.</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>@font-face {
    font-family: 'Raleway';
    src: url('assets/font/Raleway-Thin.ttf') format ('ttf');
  }
  html,
  body {
    margin: 0;
    height: 100%;
    overflow: hidden;
  }
  body {
    background-image: url('assets/image/bg.png');
    background-size: cover;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-repeat: no-repeat;
  }
  p {
    font-family: 'Raleway';
    color: white;
    text-align: center;
    padding-top: 60% font-size: 17px;
  }
  img.ri {
    position: absolute;
    max-width: 40%;
    top: 10%;
    left: 10%;
  }
  img.ri:empty {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  @media screen and (orientation: portrait) {
    p {
      font-family: 'Raleway';
      color: white;
      text-align: center;
      font-size: 14px;
      padding-top: 65%
    }
    img.ri {
      max-width: 75%;
    }
  }
  @media screen and (orientation: landscape) {
    img.ri {
      max-height: 85%;
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
    &lt;img class="ri" src="assets/image/logo.png"&gt;
    &lt;p&gt;THIS WEBSITE IS CURRENTLY UNDER MAINTENANCE&lt;/p&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>