/*****************
  Header Section
******************/
header {
  background-color: #000000;
  color: #ffffff;
  height: 116px;
  padding: 0 20px 0 10px;
  position: relative;
  font-family: "Imprima", sans-serif;
  font-weight: 400;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

header a {
  color: #ffffff;
  padding-top: 5px;
  display: block;
  font-size: 1.5rem;
  text-decoration: none;
  color: #000000;
}

nav a:hover {
  color: bisque;
}

/* .menu-list {
  display: none;
} */

/*****************
  Initial page resert
******************/

body {
  font-size: 1rem;
  padding: 0;
  margin: 0;
  font-family: "roboto", sans-serif;
}

html {
  height: 100vh;
  margin: 0;
  padding: 0;
}

/* this is for accessibility.  */
.skip-to-content {
  display: block;
  text-align: center;
}

/* The skip element will hide when not in focus */
.skip-to-content:not(:focus) {
  left: -9999px;
  position: absolute;
}

.charitable-logo {
  height: 80px;
  width: 81%;
  object-fit: contain;
}

.logo-holder {
  display: flex;
  justify-content: space-between;
}

.material-icons {
  font-size: 5rem;
  cursor: pointer;
}

/*****************
  Hero carousel
******************/
.hero {
  height: 450px;
  border: 1px dotted #222222;
  margin: 25px 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 45%;
}

.heading {
  text-align: center;
  text-transform: uppercase;
}

.require {
  color: #000000;
}

/*****************
  Footer
******************/
footer {
  height: 162px;
  background: #c79a00;
}

footer p {
  padding-top: 60px;
  font-size: 1.3rem;
  margin-left: 5%;
}

/* hide the desktop menu in mobile/tablet */
.desktop-menu-list {
  display: none;
}

input[type="text"],
textarea {
  background: #333333;
  color: #ffffff;
  font-size: 1.3rem;
}
.slogan {
  position: absolute;
  top: 300px;
  left: 0;
  width: 350px;
  background: #222;
  opacity: 0.8;
  color: #fff;
  text-transform: capitalize;
  text-align: center;
  border-radius: 2% 75%;
  padding-right: 30px;
}

.slogan h1 {
  font-size: 2.8em;
}

.slogan h2 {
  font-size: 2em;
  background: #c79a00;
  width: 104%;
  color: initial;
  font-weight: normal;
  margin-right: -20px;
}

/* Desktop device and larger devices */
@media only screen and (min-width: 1025px) {
  nav {
    display: flex;
    justify-content: space-between;
  }
  .desktop-menu-list {
    display: flex;
  }

  /* hide the mobile menu in desktop */
  .mobile-menu-list {
    display: none;
  }

  nav ul {
    flex-direction: row;
    gap: 150px;
    position: relative;
    top: -26px;
  }

  .menu-icon {
    display: none;
  }

  .charitable-logo {
    height: 81px;
    margin-top: -30px;
    width: 81%;
    object-fit: contain;
  }

  header a {
    color: #ffffff;
    padding-top: 50px;
    display: block;
    font-size: 2.5rem;
    text-decoration: none;
  }

  .donate {
    background: #ffc107;
    height: 127px;
    padding: 0 15px;
    color: #000;
    position: relative;
    right: -20px;
  }
  .donate a {
    color: #000000;
  }

  footer p {
    margin-left: 40%;
  }

  .slogan {
    position: absolute;
    top: 300px;
    width: 478px;
    background: #222;
    color: #fff;
    text-align: center;
  }

  .slogan h1 {
    font-size: 3.6em;
  }
}
