html, body {
    height: 100vh;
}

body { 
    text-align: center; 
    padding-top: 80px; 
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 3rem;
    font: 20px Helvetica, sans-serif; 
    color: #333; 
    background: #eeeeee; 
    display: flex;
    flex-direction: column;
}

h1 { font-size: 48px; }
article { display: block; text-align: center; max-width: 740px; margin: 0 auto; flex: 1 0 auto;}
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
.svg-icon { animation-iteration-count: infinite; animation-timing-function: linear; }
.svg-icon-large { width: 6em; height: 6em; animation-duration: 6000ms; animation-name: spinLeft; margin-left: -80px; }
.svg-icon-small { width: 4em; height: 4em; position: absolute; margin-left: -15px; margin-top: -25px; animation-duration: 4000ms; animation-name: spinRight; }
.svg-icon path, .svg-icon polygon, .svg-icon rect { fill: #CCCCCC; }
.svg-icon-small path { stroke: #CCCCCC; stroke-width: .3; }
@keyframes spinLeft { from {transform:rotate(0deg);} to {transform:rotate(360deg);} }
@keyframes spinRight { from {transform:rotate(0deg);} to {transform:rotate(-360deg);} }

.page {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
  }
  .page .component {
    margin: 0;
    background: #fff;
    box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.3);
    border-radius: 0.25rem;
    padding: 1rem;
    width: 100%;
    min-width: 18rem;
    font-size: 10px;
    margin-bottom: 3rem;
  }
  .page .avatar {
    background-color: #e6e6e6;
    background-image: url("https://profile-images.xing.com/images/20df688db43c3de5a9ae746fb5b39057-3/tom-kaufmann.1024x1024.jpg");
    background-size: cover;
    border-radius: 100%;
    width: 10em;
    height: 10em;
    margin: 0 auto;
    border: 0.125rem solid #ccc;
  }
  .page .user_info {
    text-align: center;
    margin: 0.5rem 0 1.25rem;
  }
  .page .user_info h1 {
    font-size: 3.4em;
    color: #333;
    margin-bottom: 0.7rem;
  }
  .page .user_info h2 {
    font-size: 1.6em;
    color: #3462a5;
  }

  .page .btn {
    padding: 1rem;
    font-size: 2.4em;
    text-align: center;
    background: #3c64a1;
    color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 0 2px rgba(128, 128, 128, 0.5);
    transition: all 0.2s;
    display: block;
  }
  .page .btn:hover {
    cursor: pointer;
    background: #233858;
  }

  .page .btn2 {
    padding: 1rem;
    font-size: 2.4em;
    text-align: center;
    background: #3462a5;
    color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 0 2px rgba(128, 128, 128, 0.5);
    transition: all 0.2s;
    display: block;
    margin-top: 1rem;
  }
  .page .btn2:hover {
    cursor: pointer;
    background: #284a7f;
  }
  
  @media (min-width: 768px) {

    body {
        padding-top: 100px;
    }

    article {
        text-align: left;
    }

    .svg-icon-large {
        margin-left: 0;
    }
    .page .component {
      display: flex;
      align-items: center;
      padding: 0 1rem 0 0;
      width: 800px;
      font-size: 10px;
      margin-bottom: 1rem;
    }
    .page .avatar, .page .user_info, .page .btn {
      flex: 1;
    }

    .page .avatar, .page .user_info, .page .btn2 {
        flex: 1;
      }
    .page .avatar {
      max-width: 10em;
      height: 10em;
      margin: 0;
      border-radius: 0;
      border: 0;
    }
    .page .user_info {
      text-align: left;
      margin: 0 1rem 0 1rem;
    }
    .page .user_info h1 {
      font-size: 2.4em;
    }
    .page .btn {
      padding: 1rem;
      font-size: 1.6em;
      max-width: 7rem;
      display: inline;
    }

    .page .btn2 {
        padding: 1rem;
        font-size: 1.6em;
        max-width: 7rem;
        margin-left: 2rem;
        display: inline;
        margin-top: 0;
      }
  }

  .footer {
    flex-shrink: 0;
    padding-bottom: 2rem;
  }
  
  