html { font-size: 100%; margin: 0; padding: 0; }

body {
    margin: 0;
    padding: 0;
    background-image: url(../img/melisa-popanicic-ZRlaOMQWLK4-unsplash.jpg);
    background-size: 130%;
    background-repeat: no-repeat;
    background-position-x: 55%;
    background-position-y: -15%;
  }

header {
    background-color: #002841;
    display: flex;
    padding: 10px;
  }

#logo {
    height: 3.5rem;
    width: auto;
    flex: 1;
    position: relative;
    left: -5px; 
    top: 20px;
}

header div {flex: 3;
    font-weight: bold;
    font-family: arial;
    color: white;
    font-size: 24px;
    position: relative;
    top: 35px;
    left:-2px;
}  /* 3 times more space for div than logo */

nav {
    width: 300px;
    margin: 0 auto;
    height: 60px;
    padding: 10px;
      padding-bottom: 10px;
    background-color: rgba(240, 248, 255, 0.52);
    position: relative;
    top: 515px;
    padding-bottom: 14px;
  }

nav ul.navigation {
    list-style-type: none;
    position: relative;  /* absolute positioning calculated from top/left of this box */
    margin: 0 auto;
    padding: 0;
}

.icon {
    height: 50px;
    width: 50px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 1px;
}

.icon svg {
    display: block;
    width: 100%;
    height: auto;
    fill: #009fff;
}

.home { 
    left: 5px;
}

.download {
    left: 65px;
}

.upload {
    left: 125px;
}

.support {
    left: 185px;
    top: 0.325rem;
}

.support span {
    top: -0.58rem;
    left: -0.1rem;
}

.faq {
    left: 245px;
}


a span {
    display: block;
    width: 100%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.55rem;
    position: relative;
    top: -0.3rem;
}

h1 {
    position: relative;
    background-color: #d9f2ff61;
    padding-left: 117px;
    top: -22px;
    padding-top: 12px;
    color: #fff;
    padding-bottom: 10px;
    font-family: arial;
  }

body.body-faq h1 {
    position: relative;
    padding-left: 134px;
    top: 15px;
  }

  body.body-support h1 {
    position: relative;
    padding-left: 100px;
    top: 15px;
  }

  body.body-upload h1 {
    position: relative;
    padding-left: 107px;
    top: 15px;
  }

  body.body-download h1 {
    position: relative;
    padding-left: 83px;
    top: 15px;
  }

  body.body-index h1 {
    top: 15px;
  }
  


/* =========== LoVeHA Rule for Text Links =========== */

a {
    position: relative;
}

a:link {
    color: #009fff;
    text-decoration: none;
}

a:visited {color: #444;}

a:hover {
    text-decoration: underline;
    color: white;
}

a:active {color: magenta;}




/* =========== LoVeHA Rule for SVG Links =========== */

a:link svg {
    fill: #009fff;
}

a:visited svg {
    fill: #444;
}


@keyframes wiggle {
    0% { transform: rotate(0deg); }
    40% { transform: rotate(4deg); }
    95% { transform: rotate(-4deg); }
    100% { transform: rotate(0deg); }
}

a:hover svg  {
    animation: wiggle 0.5s infinite;
    fill: white;
}

a:active svg {
    fill: magenta;
}

li.currentPage::before {
    position: absolute;
    content: " ";
    top: 2px;
    left: 0px;
    display: block;
    z-index: 1;
    height: 1rem;
    width: 1rem;
    background-size: contain;
    background-image: url('data:image/svg+xml,<svg width="800px" height="800px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M23 13H1v-2h22z"/><path fill="none" d="M0 0h24v24H0z"/></svg>');
}

li.support.currentPage::before {
    top: -7px;
    left: 15px;
    z-index: 1;
  }

li.faq.currentPage::before {
    top: -6px;
    left: 16px;
    z-index: 1;
  }

li.upload.currentPage::before {
    top: -3px;
    left: 16px;
    z-index: 1;
  }

li.download.currentPage::before {
    top: -3px;
    left: 16px;
    z-index: 1;
}

li.home.currentPage::before {
    top: -4px;
    left: 16px;
    z-index: 1;
  }