@import url("https://fonts.googleapis.com/css2?family=Cabin:wght@400..700&family=Lobster&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap");

:root {
  --primary-orange: #f15b43;
  --section-padding: 7vh 5vw;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 15px;
  font-family: "Cabin", sans-serif;
  background: #eee;
}

header {
  position: relative;
  /* height: 10vh; */
}

nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3vh 5vw;
  background: rgb(0, 0, 0);
}

img.logo {
  width: 150px;
}

h2 {
  font-size: 1.4em;
}

h3 {
  font-size: 1.1em;
  margin-top: 30px;
}

h2,
h3 {
  color: var(--primary-orange);
  font-family: "Montserrat", sans-serif;
}

.nav-links {
  display: none;
}

/* HIDDEN SLIDE NAVIGATION */

.menu-box {
  display: none;
  visibility: hidden;
}

.hidden-nav {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  transition: 0.5s ease;
  transform: translateY(-90vh);
  background: transparent;
}

.menu-box,
.hamburger {
  position: absolute;
  top: 3vh;
  right: 5vw;
  z-index: 1;
  cursor: pointer;
  color: var(--primary-orange);
}

.menu-box:checked ~ .hidden-nav {
  transform: translateY(-0vh);
  transition: 0.5s ease;
  background: rgba(255, 255, 255, 0.9);
}
.hidden-nav-links {
  margin-top: 40vh;
  white-space: nowrap;
}

.hidden-nav-link {
  font-style: 1.1rem;
  list-style: none;
  padding: 1rem 2rem;
  width: 100%;
}

.hidden-nav-link a {
  display: block;
  color: var(--primary-orange);
  text-decoration: none;
  text-align: center;
  transition: 0.2s ease;
}

.header-image img {
  max-width: 100%;
}

.help-section {
  width: 400px;
  max-width: 80%;
  margin: 40px auto;
  padding: 15px 25px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  font-size: 1.2em;
}

.help-section p {
  padding: 10px 0;
}

/* CHANGE THE COLOR OF THE LIST ITEMS IN THE HELP SECTION */

.help-section li {
  list-style-type: square;
  margin-left: 25px;
}

.help-section li::marker {
  color: #f8b500;
}

/* STYLING FROM CTA BUTTONS */

a.donate-btn {
  text-decoration: none;
  font-size: 0.9em;
  color: #fff;
  background-color: var(--primary-orange);
  padding: 5px;
  border-radius: 3px;
}
a.donate-btn:hover {
  border: 1px solid var(--primary-orange);
  background-color: transparent;
  color: var(--primary-orange);
  transition: 0.3s;
}
/*To center the donate button*/
.btn-div {
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* DONATION FORM */

#donate-items {
  margin: 0px auto;
  padding: 20px;
  width: 400px;
  max-width: 100%;
}

.form-action {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 10px 0;
}

label {
  font-size: 14px;
}

.input-text,
#submit-btn {
  width: 100%;
  padding: 10px;
  outline: none;
  font-family: "Cabin", sans-serif;
  border: 1px solid var(--primary-orange);
  transition: 0.3s;
}

#submit-btn {
  margin: 5px 0;
  background: var(--primary-orange);
  color: #fff;
}

#submit-btn:hover {
  border: 1px solid var(--primary-orange);
  background: transparent;
  color: var(--primary-orange);
  transition: 0.3s;
}

/* MEDIA QUERIES */

@media (min-width: 728px) {
  .help-section {
    width: 35%;
    margin-left: 50px;
  }
}

@media (min-width: 600px) {
  body {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url("images/get-involved-cover.webp") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-size: cover;
  }

  .nav-links {
    display: flex;
    gap: 15px;
    white-space: nowrap;
  }

  .nav-link {
    display: inline-block;
  }

  .nav-link a {
    position: relative;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    padding: 10px;
    z-index: 1;
  }

  .nav-link a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    color: white;
    background-color: var(--primary-orange);
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 0.8s ease-in-out;
    border: none;
    z-index: -1;
  }

  .nav-link a:hover::before {
    transform-origin: left;
    transform: scaleX(0);
    color: white;
  }

  .nav-link a:hover {
    border: 1px solid white;
  }

  .hamburger,
  .menu-box,
  .hidden-nav {
    display: none;
    visibility: hidden;
  }

  .header-image img {
    display: none;
  }
}
