/* What about custom properties? https://youtu.be/zdkY7ymM0Qw?t=2268 */
* {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
   font-weight: normal;
}

html {
   font-size: 10px;
   height: 100%;
}

.page {
   background: #eee url('../images/water.jpg') no-repeat center center fixed;
   background-size: cover;
   display: flex;
   flex: 1 0 auto;
   flex-direction: column;
   font-family: 'Magra', sans-serif;
   font-size: 1rem;
   height: 100%;
   justify-content: space-between;
   line-height: 1.5;
   padding: 1%;
   text-align: center;
}

.branding-and-menu {
   color: #333;
}

.branding {
   font-size: 2.7rem;
}

.branding-highlight {
   color: #51818C;
   font-weight: bold;
}

.menu {
   display: inline-block;
   margin: 0 0 5vh 0;
}

   .menu a {
      border-color: #B4D2D9;
      border-radius: 5%;
      border-style: solid;
      border-width: 1px;
      color: #035159;
      display: block;
      font-size: 1.5rem;
      font-weight: normal;
      margin: 2rem 0 0 0;
      padding: 0 1rem;
      text-decoration: none;
      text-transform: uppercase;
   }

      .menu a:hover {
         color: #035159;
      }

.central-part {
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   margin: 0 0 15vh 0;
}

.blurb {
   font-size: 2rem;
   margin: 0 0 5vh 0;
}

.avatar img {
   border-color: #B4D2D9;
   border-radius: 50%;
   border-style: solid;
   border-width: 2px;
   height: 20vmin;
   width: 20vmin;
}

.contact i {
   color: #888;
   font-size: 2rem;
   margin: 0 5vw 5vh;
}

@media (min-width: 500px) { /* Landscape phone or wider...*/
   .branding-and-menu {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin: 0 5vw;
   }

   .menu {
      align-items: center;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      margin: 0;
   }

      .menu a {
         border-style: none;
         margin: 0;
      }

   .contact i {
      margin: 0 3vw 3vh;
   }
}

@media (min-width: 768px) { /* Tablet or wider...*/
   html {
      font-size: 12px;
   }

   .contact i {
      margin: 0 2vw 2vh;
   }
}
