* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
}
html {
  width: 100%;
  height: 100%;
}
body {
  background: #121212;
  width: 100%;
}
.topnav {
  height: 10vh;
  overflow: hidden;
  background-color: #121212;
  display: flex;
  vertical-align: middle;
  align-items: center;
}
.topnav a {
  display: inline-block;
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 0px 16px;
  text-decoration: none;
  font-size: 17px;
}
@media (max-width: 435px) {
  .topnav {
    justify-content: space-between;
    padding: 0.5em;
  }
  .topnav a {
    padding: 0px;
    font-size: 14px;
  }
}

.topnav a:hover {
  background-color: #373737;
  color: #f2f2f2;
}

.topnav a.active {
  background-color: #04aa6d;
  color: white;
}
.hamburger {
  height: 100%;
  padding: 1em;
  margin-left: auto;
  display: none;
  align-items: center;
}
.hamburger > img {
  height: 65%;
}
@media (max-width: 768px) {
  .hamburger {
    display: none;
  }
  .nav-menu {
    text-align: center;
    justify-content: center;
    background: #121212;
    position: fixed;
    left: -100%;
    top: 10vh;
    flex-direction: column;
    width: 100%;
    font-size: 32px;
    padding-bottom: 1em;
  }
  nav li {
    margin-left: 0em;
  }
  .nav-menu.active {
    left: 0;
  }
}

#hero {
  width: 100%;
  height: 80vh;
  background: url('../imgs/slide1-1.jpg') no-repeat center top / cover;
}
@media (max-width: 700px) {
  #hero {
    height: 75vh;
  }
}
@media (max-width: 587px) {
  #hero {
    background: url('../imgs/slide1-1.jpg') no-repeat 30% 50% / cover;
  }
}
.hero-container {
  color: white;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: right;
  align-items: center;
}
.hero-container button {
  cursor: pointer;
  border: none;
  padding: 1em;
  width: 40%;
  font-weight: bold;
  margin-top: 1em;
  border-radius: 1.5em;
  background: rgba(147, 112, 219);
  color: white;
  margin-right: 1em;
}
.hero-container a {
  width: 40%;
}
.hero-container a > button {
  width: 100%;
}
@media (max-width: 778px) {
  .hero-container button {
    font-size: 0.75em;
  }
}
@media (max-width: 600px) {
  .hero-container button {
    font-size: 0.85em;
  }
}
.hero-container button:hover {
  background: #9682ce;
}
.hero-container .info {
  max-width: 45%;
  width: fit-content;
  height: fit-content;
  background: #121212;
  padding: 3em;
  display: flex;
  justify-content: center;
  border-radius: 0.25em;
  margin-top: -7em;
  margin-right: 5em;
}
.hero-container .info .button-container {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 600px) {
  .hero-container {
    justify-content: center;
  }
  .hero-container .info {
    margin-top: 1em;
    max-width: none;
    width: 95%;
    margin-right: 0;
    box-shadow: none;
    background: rgba(12, 12, 12, 0.75);
    padding: 1.5em;
  }
  .hero-container .info .button-container {
    flex-direction: column;
  }
  .hero-container .info .button-container > * {
    width: 100%;
  }
}
@media (min-width: 423px) {
  .hero-container .info {
    width: 85%;
  }
}

h1 {
  font-size: 54px;
  line-height: 1em;
  font-weight: 900;
}
.info p {
  color: rgba(147, 112, 219);
  font-weight: bold;
}
@media (max-width: 700px) {
  .info h1 {
    font-size: 46px;
  }
}
@media (max-width: 360px) {
  .info h1 {
    font-size: 42px;
  }
}
.info p {
  margin-top: 0.5em;
  line-height: 1.2em;
}
@media (max-width: 600px) {
  .info p {
    color: white;
  }
}

.banner {
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  padding: 1em;
}
.light {
  background: rgb(147, 112, 219);
}
.light button {
  outline: solid white;
}
.dark {
  background: #121212;
}
.dark button {
  outline: solid rgb(147, 112, 219);
}

.banner button {
  color: white;
  cursor: pointer;
  border: none;
  font-size: 16px;
  padding: 0.55em 2em 0.55em 2em;
  border-radius: 1.5em;
  margin-left: 1em;
  font-weight: bold;
  background: none;
}
@media (max-width: 485px) {
  .banner {
    text-align: center;
    flex-direction: column;
    padding: 4em;
  }
  .banner button {
    margin-top: 0.5em;
    box-shadow: none;
  }
}
@media (max-width: 738px) {
  .donate-banner {
    flex-direction: column;
    height: auto;
    padding: 0.75em;
  }
  .donate-banner button {
    margin-left: 0em;
    margin-top: 0.5em;
  }
}

.our-work-container {
  min-height: 80vh;
  width: 100%;
  position: relative;
  background-image: url('../imgs/africa_bg.png');
  background-repeat: repeat;
}

.info-row {
  position: relative;
  display: flex;
  width: min(70%, 1200px);
  margin-right: auto;
  margin-left: auto;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .info-row {
    width: 80%;
  }
}
@media (max-width: 700px) {
  .info-row {
    flex-direction: column;
    margin-top: 1em;
  }
  .row3 {
    flex-direction: column-reverse;
  }
  #box1 {
    outline: none;
    background: none;
  }
  #box1 p {
    font-size: 48px;
    color: rgba(147, 112, 219);
    line-height: 44px;
    font-weight: bold;
  }
}
@media (max-width: 420px) {
  #box1 p {
    font-size: 40px;
    line-height: 36px;
    font-weight: bold;
  }
}
.info-row p {
  font-size: 20px;
  color: white;
}
.info-image {
  margin-top: auto;
  margin-bottom: auto;
  width: min(30%, 230px);
  border-radius: 0.25em;
  position: relative;
}
.info-image img {
  width: 100%;
  border-radius: 0.25em;
  opacity: 0;
  transition: 0.25s ease-in-out;
}
#finalimage {
  margin-right: 4em;
}
@media (max-width: 700px) {
  .info-image {
    width: 100%;
  }
  .row2 .info-image {
    margin-top: 1em;
  }
  .info-image img {
    opacity: 1;
  }
}
.info-box {
  width: max(30%, 200px);
  height: fit-content;
  padding: 1.2em;
  background: #121212;
  outline: solid rgba(147, 112, 219);
  border-radius: 0.25em;
  position: relative;
  font-weight: 700;
}
.xl {
  width: 70%;
  margin: 1em;
}
.xl > h2 {
  line-height: 44px;
  font-weight: 900;
  font-size: 48px;
  color: rgba(147, 112, 219);
}
@media (max-width: 700px) {
  .info-box {
    width: 100%;
    padding: 1em;
  }
  .xl {
    margin-left: 0;
    margin-top: 1em;
  }
}
@media (max-width: 884px) {
  .xl > h2 {
    font-size: 42px;
  }
}
@media (max-width: 546px) {
  .xl > h2 {
    font-size: 32px;
    line-height: 30px;
  }
}
@media (max-width: 400px) {
  .xl > h2 {
    font-size: 28px;
  }
}
.info-offset-right {
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  top: -1px;
  right: -10px;
  left: -10px;
  bottom: -1px;
  z-index: -100;
  border-radius: 0.5em;
  transform: rotate(7deg);
}
.info-offset-left {
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  top: -1px;
  left: -10px;
  right: -10px;
  bottom: -1px;
  z-index: -100;
  border-radius: 0.5em;
  transform: rotate(-7deg);
}
@media (max-width: 900px) {
  .info-offset-right {
    transform: rotate(2deg);
  }
  .info-offset-left {
    transform: rotate(-2deg);
  }
}
#box2,
#box4 {
  margin-top: 5em;
}
@media (max-width: 700px) {
  #box2,
  #box4 {
    margin-top: 1em;
  }
}
.bg {
  position: absolute;
  top: -4em;
  bottom: 0;
  right: -8em;
  z-index: -400;
  opacity: 0.15;
}
#svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  stroke-width: 3px;
  z-index: -200;
}
@media (max-width: 700px) {
  #path {
    opacity: 0;
  }
}
#thisiswhy {
  color: white;
  margin-bottom: 2em;
}

.objectives-container {
  justify-content: center;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  color: white;
  padding-top: 1.25em;
  background: rgb(147, 112, 219);
}
.strong {
  font-size: 48px;
  font-weight: bold;
}
.objectives-header {
  margin-right: auto;
  margin-left: auto;
  width: min(85%, 1000px);
}
.objective-grid {
  margin-right: auto;
  margin-left: auto;
  margin-top: 2em;
  margin-bottom: 5em;
  width: min(85%, 1000px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1em;
}
.objective-grid > * {
}
@media (max-width: 997px) {
  .objective-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .objective-grid {
    grid-template-columns: 1fr;
  }
  .objective-grid > * {
    padding: 0em 3em 3em 3em;
  }
}
.objective-grid img {
  width: 50%;
}
.card {
  border-radius: 1em;
  box-shadow: 0.5em 0.5em 0.5em #552e8c;
  background: #a987ef;
  justify-content: center;
  width: 100%;
  padding: 1em 1em 3em 1em;
  margin-left: auto;
  margin-right: auto;
}
.card > img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) {
  .card {
    width: 75%;
  }
  .card > img {
    width: 35%;
  }
}
@media (max-width: 450px) {
  .card {
    width: 100%;
  }
}
.card h2 {
  font-size: 22px;
  line-height: 20px;
  margin: 0.5em 0em;
}

footer {
  padding: 1em;
  background: #121212;
  color: white;
  text-align: center;
}
.project-hero {
  height: 90vh;
  text-align: center;
  display: flex;
}
.project-text {
  margin: auto;
  cursor: pointer;
}
.project-hero h1 {
  color: white;
  font-weight: normal;
}
.project-hero a {
  text-decoration: none;
}
.project-hero img {
  margin-top: 2em;
  max-width: 25px;
}
@keyframes bounce {
  20%,
  50%,
  80%,
  to {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-1.2em);
  }
  70% {
    transform: translateY(-0.6em);
  }
  90% {
    transform: translateY(-0.4em);
  }
}
.vidoverlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -50;
}
#videoBG {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 90%;
  z-index: -300;
  background-image: url('../imgs/videobg0.jpg');
  background-repeat: no-repeat, repeat;
  background-size: cover;
  background-position: center;
}
.projects-container {
  padding: 5em;
  position: relative;
}
.active-projects-container {
  background-image: url('../imgs/africa_bg.png');
  background-repeat: repeat;
  padding: 4em;
  position: relative;
}
.active-projects-container #path {
  stroke: rgb(147, 112, 219);
  z-index: -200;
  display: none;
}

.vidbox:nth-child(1) {
  grid-area: one;
}
.vidbox:nth-child(2) {
  grid-area: two;
}
.vidbox:nth-child(3) {
  grid-area: three;
}
.vidbox:nth-child(4) {
  grid-area: four;
}
.vidbox:nth-child(5) {
  grid-area: five;
}
.vid-grid {
  margin-top: 2em;
  margin-bottom: 2em;
  display: grid;
  grid-auto-columns: 20%;
  width: 100%;
  margin-inline: auto;
}
.vid-grid > * {
  display: flex;
  text-align: center;
  flex-direction: column;
}
.vid-grid > * > * {
  margin-left: auto;
  margin-right: auto;
  z-index: 200;
}
.vid-grid h2 {
  font-weight: 400;
  font-size: 1.1em;
  margin-top: 0.75em;
  margin-bottom: -2.75em;
  outline: solid 4px rgb(147, 112, 219);
  padding: 0.5em;
  border-radius: 0.25em;
  background: #121212;
}
.vidbox img {
  outline: solid 4px rgb(147, 112, 219);
  border-radius: 50%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
}
.vid-grid {
  grid-template-areas:
    'one . three . five'
    '. two . four five';
}
#div5 {
  background: rgb(147, 112, 219);
  border-radius: 0.75em;
  margin-left: 2em;
  color: white;
  text-align: left;
  z-index: 100;
}
#div5 a {
  width: 100%;
  text-align: center;
}
#div5 a button {
  margin-left: auto;
  margin-right: auto;
}
#grid5-padding {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1em;
  padding-bottom: 3em;
  height: 100%;
}
#grid5-padding button {
  color: white;
  cursor: pointer;
  border: none;
  font-size: 16px;
  padding: 0.55em 2em 0.55em 2em;
  border-radius: 1.5em;
  margin-left: 1em;
  font-weight: bold;
  background: none;
  outline: solid white;
}
.vidbox .btn:hover {
  background: white;
}
@media (max-width: 1164px) {
  .vid-grid {
    grid-auto-columns: 25%;
    grid-template-areas:
      'one . two .'
      '. three . four'
      'five five five five';
  }
  .vid-grid h2 {
    margin-bottom: -1em;
  }
  #div5 {
    margin-top: 4em;
    margin-left: auto;
    margin-right: auto;
    width: 75%;
  }
  #grid5-padding {
    padding-bottom: 1em;
  }
  #grid5-padding button {
    margin-top: 1em;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  .vid-grid {
    grid-auto-columns: 50%;
    grid-template-areas:
      'one .'
      '. two'
      'three .'
      '. four'
      'five five';
  }
  .vid-grid h2 {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    margin-bottom: -16vw;
  }
  #div5 {
    margin-top: 10em;
  }
  .active-projects-container {
    padding: 1em;
  }
  .vidbox img {
    width: 75%;
  }
  .active-projects-container h1 {
    margin-top: 1em;
    font-size: 40px;
    text-align: center;
  }
  #div5 {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #div5 {
    margin-top: 8em;
  }
}
@media (max-width: 425px) {
  .active-projects-container h1 {
    margin-top: 0.5em;
  }
  .vid-grid {
    grid-auto-columns: 100%;
    grid-template-areas:
      'one'
      'two'
      'three'
      'four'
      'five';
  }
  .vid-grid h2 {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    margin-bottom: 1em;
  }
  #div5 {
    margin-top: 1em;
  }
  #grid5-padding button {
    margin-top: 1em;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
.playpause {
  z-index: 1000;
  background-image: url('/imgs/play.png');
  background-repeat: no-repeat;
  width: 35%;
  height: 35%;
  position: absolute;
  left: 0%;
  right: 0%;
  top: 0%;
  bottom: 0%;
  margin: auto;
  background-size: contain;
  background-position: center;
  opacity: 75%;
}

.past-projects-container {
  padding: 2em 4em;
  background: rgb(147, 112, 219);
}

.feeding-grid-box:nth-child(1) {
  grid-area: feeding-one;
  background: #a987ef;
}
.feeding-grid-box:nth-child(2) {
  grid-area: feeding-two;
}
.feeding-grid-box:nth-child(3) img {
  min-width: 100%;
}
.feeding-grid-box:nth-child(3) {
  grid-area: feeding-three;
}
.feeding-grid-box:nth-child(4) img {
  min-height: 100%;
}
.feeding-grid-box:nth-child(4) {
  grid-area: feeding-four;
}
.feeding-grid-box:nth-child(5) {
  grid-area: feeding-five;
}

.feeding-grid > .text-box {
  background: #a987ef;
  color: white;
  padding: 1.25em;
}
.feeding-grid-box {
  background: #a987ef;
  border-radius: 1em;
  overflow: hidden;
}
.feeding-grid-box > * {
  border-radius: 1em;
}

.feeding-grid {
  margin-top: 1em;
  display: grid;
  width: 100%;
  height: 80vh;
  gap: 2em;
  grid-auto-columns: 1fr 1fr 1fr 1fr;
  grid-template-areas:
    'feeding-one feeding-two feeding-two feeding-four'
    'feeding-three feeding-three feeding-five feeding-four';
}
.feeding-grid-box img {
  min-width: 100%;
  min-height: 100%;
}
.feeding-grid-box img {
  min-height: 100%;
}
@media (max-width: 1900px) {
  .feeding-grid-box img {
  }
}
@media (max-width: 1000px) {
  .feeding-grid {
    grid-auto-columns: 1fr 1fr;
    grid-template-areas:
      'feeding-one feeding-four'
      'feeding-five feeding-four'
      'feeding-three feeding-four';
    height: initial;
    gap: 1em;
  }
  .feeding-grid-box img {
    min-width: 100%;
    min-height: 100%;
  }
  .past-projects-container {
    padding: 0.5em 2em;
  }
  .feeding-grid-box:nth-child(3) {
    display: block;
    float: right;
  }
  .feeding-grid-box:nth-child(2) {
    display: none;
  }
}
@media (max-width: 625px) {
  .feeding-grid {
    grid-auto-columns: 1fr;
    grid-template-areas:
      'feeding-one feeding-four'
      'feeding-two feeding-two'
      'feeding-five feeding-five';
  }
  .feeding-grid-box:nth-child(3) {
    display: none;
  }
  .feeding-grid-box:nth-child(4) {
    max-height: 100vh;
  }
  .feeding-grid-box:nth-child(2) {
    display: initial;
    max-height: 35vh;
  }
  .feeding-grid-box {
    border-radius: 0.25em;
  }
  .feeding-grid-box > * {
    border-radius: 0.25em;
  }
  .past-projects-container {
    padding: 0.5em 1.5em;
  }
}
@media (max-width: 500px) {
  .feeding-grid {
    grid-auto-columns: 1fr;
    grid-template-areas:
      'feeding-four'
      'feeding-one'
      'feeding-two'
      'feeding-five';
  }
  .feeding-grid-box:nth-child(4) {
    max-height: 65vh;
  }
}
.how-to-help-grid {
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1em;
  margin: auto;
  margin-top: 1em;
}
@media (max-width: 570px) {
  .how-to-help-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 412px) {
  .how-to-help-grid {
    grid-template-columns: 1fr;
  }
}
.how-to-help-col {
  width: 100%;
  outline: rgb(147, 112, 219) 0.15em solid;
  padding: 1em;
  color: white;
  border-radius: 0.25em;
}
.height80vh {
  height: 80vh;
}
.contact-form {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1em;
  width: 50%;
  background-color: #373737;
  color: #f2f2f2;
  padding: 2em;
  border-radius: 0.25em;
}
@media (max-width: 768px) {
  .contact-form {
    width: 75%;
  }
}
@media (max-width: 500px) {
  .contact-form {
    width: 95%;
  }
}
.contact-form > * > button {
  color: white;
  cursor: pointer;
  border: none;
  font-size: 16px;
  padding: 0.55em 2em 0.55em 2em;
  border-radius: 1.5em;
  margin-top: 1em;
  font-weight: bold;
  background: none;
  outline: solid white;
}
