html {
    box-sizing: border-box;
    font-size: 16px;
    -ms-text-size-adjust: 100%; 
    -webkit-text-size-adjust: 100%; 
  }
  
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
  body, h1, h2, h3, p{
    font-family: 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: normal;
    line-height: 1.5;
  }
  img {
    border: 0;
    max-width: 100%;
    height: auto;
  }

a:active,
a:hover {
    outline: 0;
}
h1 {
    font-size: 3rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.8rem;
}
h1 {
    margin-bottom: 1rem;
    text-align: center;
}
h1::after {
    padding-top: 3rem;
    content: "";
    display: block;
    width: 4rem;
    border-bottom: 5px solid rgba(0,0,0,.1);
    margin: 0 auto 3rem;
}
p {
    margin-bottom: .9rem;
}
#primary-header > div {
    background-color: #f7f7f7;
}
#logo-wrapper {
    background: url(../assets/logo.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 96%;
    height: 200px;
    display: flex; 	
    align-items: center;
    justify-content: center; 
    text-align: center;
}   
#appmg-malaria-title a {
    text-decoration: none;
} 
#appmg-malaria-title span {
    opacity: 0;
    display: block;
    color: transparent;
}
@media (min-width: 950px) {
    #logo-wrapper {
        background-size: auto;
    }
  }
  .head-menu {
    text-align: center;
    background: -webkit-linear-gradient(358deg, #19c6d2, #077866);
    background: -moz-linear-gradient(358deg, #19c6d2, #077866);
    background: -ms-linear-gradient(358deg, #19c6d2, #077866);
    background: -o-linear-gradient(358deg, #19c6d2, #077866);
    background: linear-gradient(358deg, #19c6d2, #077866);
    
  }
.head-menu > div {
    padding: 0 1rem;
    display: block;

}
.head-menu a {
    text-decoration: none;
    display: block;
    padding: .8rem 1.2rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.2em;
    border-bottom: 1px solid #fff;
}
.head-menu a.visited {
    text-decoration: underline;
}
.head-menu a:hover,
.head-menu a:focus {
    text-decoration: underline;
}
#main-wrapper {
    padding: 2em 1em;
    background: #f7f7f7;
    margin-top: 3em;
    margin: 3em auto;  
    width: 98%; 
}
#main-wrapper a {
    color: #04544c;
    text-decoration: none;
    border-bottom: 1px solid #549e97;
}
#main-wrapper a:hover,
#main-wrapper a:focus {
    color: #228b81;   
    border-bottom: 1px solid #04544c;
}
@media (min-width: 950px) {
    .head-menu > div {
        display: inline-block;
    
    }
    .head-menu a {
        display: inline-block;
        border-bottom: 0;
    }
    #main-wrapper {
      padding-right: 1em;
      padding-left: 1em;
      max-width: 960px;
    }
  }

#footer-wrapper {
    text-align: center;
}
#footer-wrapper p {
    font-size: .9rem;
    padding-top: 35px;
    padding-bottom: 35px;
}