html, body, header, section, footer {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  height: 100%;
  overflow: auto;
  font-family: 'Helvetica', sans-serif;
  font-size: 16px;
  color: #666;
}

main {
  height: 100%;
}

section {
 height: 100%;
}

p {
  text-align: justify;
}

#about, #expertise, #impact, #contact {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
  padding: 85px 45px 0 45px;
  max-width: 960px;
}

.back-to-home {
  text-align: center;
  margin-bottom: 8px;
  opacity: 0;
  transition: all 0.3s ease;
}

.back-to-home a {
  text-decoration: underline;
  color: #4e4d4d;
  font-weight: 300;
}

.back-to-home a:hover {
  color: rgb(40, 116, 203);
}

header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  background-color: #fff;
}

header nav {
  display: flex;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

header nav img {
  height: 50px;
}

header nav ul {
  display: flex;
  margin: 15px 0;
  padding: 0;
}

header nav ul li {
  list-style-type: none;
  margin: 0 20px;
  text-align: center;
}

header nav ul li a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.active, header ul li a:hover  {
    color: rgb(40, 116, 203);
    text-decoration: none;
}

.listfollows {
  margin-bottom: 0;
}

#stripe {
  position: relative;
  top: 25px;
  z-index: 9999;
  margin: 0 auto;
  height: 1px;
  width: 80%;
  background-color: rgb(40,116,203);
}

#home {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  position: relative;
  z-index: 5;
  background: -moz-linear-gradient(top, rgba(255,255,255,1) 93%, rgba(255,255,255,0) 100%);
  background: -webkit-linear-gradient(top, rgba(255,255,255,1) 93%,rgba(255,255,255,0) 100%);
  background: linear-gradient(to bottom, rgba(255,255,255,1) 93%,rgba(255,255,255,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );
}

#home #logo-container {
  text-align: center;
  margin: 75px 0;
  width: 100%;
}

#home #logo-container img {
  height: 65px;
  width: 85%;
}

#home ul {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}

#home ul li {
  margin: 0 20px;
  list-style-type: none;
}

#home ul li a {
  text-decoration: none;
  color: #000;
  transition: all 0.2s ease;
}

#home ul li a:hover {
  color: rgb(40, 116, 203);
}

#fixed-container {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0 auto;
  background-color: #FFFFFF;
}

#home #copyright {
  font-size: 8px;
  color: #4e4d4d;
  text-align: center;
}

#about ul {
  margin: 0;
}

#about ul li {
  margin: 5px 0;
}

#about p:last-child {
  margin-bottom: 80px;
}

#about p a {
  color: #4e4d4d;
}

#about p a:hover {
  color: rgba(40, 116, 203, .7);
}

#expertise p a {
  color: #4e4d4d;
}

#expertise p a:hover {
  color: rgba(40, 116, 203, .7);
}

#contact {
  border: 0;
}

#contact p a {
  color: #4e4d4d;
}

#contact p a:hover {
  color: rgba(40, 116, 203, .7);
}

#contact .location-container {
  margin: 10px 0;
}

#contact .location-container p {
  margin: 0;
}

#impact {
  border: 0;
}

#impact p a {
  color: #4e4d4d;
}

#impact p a:hover {
  color: rgba(40, 116, 203, .7);
}

#impact ol {
  list-style-type: none;
  padding-left: 0;
}

#impact ul {
  list-style-type: disc;
}

#impact ol > li {
  padding-top: 10px;
}

#impact ol > li:first-child {
  padding-top: 0px;
}

#impact > h4 {
  margin: 0px;
}

/* Responsive styles */

@media(max-height: 600px) {
  #home {
    background: none;
    background-color: #FFFFFF;
  }
}

@media(max-width: 750px), (max-height: 500px) {
  main {
   /*  height: auto; */
  }

  #home {
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 90%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );
    background: none;
    background-color: #FFFFFF;
    padding-bottom: 20px;
  }

  #about, #expertise {
    height: auto;
    padding-top: 110px;
  }

  #contact, #impact {
    height: auto;
    padding-top: 110px;
  }
}

@media(max-width: 550px) {
  nav {
    flex-direction: column;
    justify-content: center;
  }

  header nav ul {
    text-align: center;
    margin-top: 0;
  }

  header nav #nav-about {
    text-align: left;
  }

  header nav #nav-expertise {
    text-align: center;
    margin-left: 12%;
  }

  header nav #nav-impact {
    text-align: right;
  }

  header nav #nav-contact {
    display: none;
  }

  header nav img {
    padding: 3px 0;
  }
}
