@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 75px 0 0 0;
  background-color: black;
  background-image: url(../img/about-bg-3.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  font-family: "Josefin Sans", sans-serif;
  width: 100%;
  height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(40, 40, 40, 0.22);
  background-blend-mode: darken;
  backdrop-filter: blur(10px);
}
.logo-text {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  flex: 1;
  text-align: left;
  margin-left: 2%;
  margin-top: 10px;
  transition: color 0.35s ease-in-out;
  background-image: linear-gradient(to right, #ce1bff, #8a086a);
  background-clip: text;
  -webkit-background-clip: text;
}

.logo-text:hover,
.logo-text:focus-visible {
  color: transparent;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.75rem;
  margin-right: 1rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a,
.navlink {
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  display: inline-block;
}

.donate {
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  line-height: 1;
}

.navlink {
  color: white;
  font-size: 1.5rem;
  text-align: right;
  text-decoration: none;
  padding-right: 3%;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
  background-clip: text;
  background-image: linear-gradient(to right, #ce1bff, #8a086a);
}

.navlink:hover {
  color: transparent;
}

.donate {
  text-decoration: none;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.9);
  background-color: rgb(255, 255, 255);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding-right: 0%;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 3%;
  padding: 0.5%;
  transition: all 0.4s ease-in-out;
  border: transparent 2px solid;
}

.donate:hover {
  background-color: transparent;
  color: white;
  border: white 2px solid;
}

.title {
  font-family: "Josefin Sans", sans-serif;
  color: white;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 100px;
}

.content-a-flex {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.section-a {
  font-family: "Josefin Sans", sans-serif;
  color: white;
  margin-right: 100px;
  padding: 20px 50px 20px 50px;
  border-radius: 20px;
  width: 40%;
  backdrop-filter: blur(10px);
  filter: drop-shadow(0px 0px 100px #000000);
}

.bottom-section {
  font-family: "Josefin Sans", sans-serif;
  color: white;
  padding: 20px 50px 20px 50px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  filter: drop-shadow(0px 0px 100px #000000);
  margin-right: 200px;
  margin-left: 200px;
  margin-top: 100px;
}

.section-b {
  padding-left: 100px;
  width: 50%;
}

.section-title {
  font-family: "Josefin Sans", sans-serif;
  color: white;
  font-size: 3rem;
  text-align: right;
}

.section-text {
  font-family: "Josefin Sans", sans-serif;
  color: white;
  font-size: 1.5rem;
  text-align: right;
}

.who-are-we-img {
  width: 80%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0px 0px 100px #000000);
}

.inline-link {
  color: transparent;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  background-clip: text;
  background-image: linear-gradient(to right, #16ff12, #358d25);
}

.inline-link:hover {
  color: white;
  text-decoration: underline;
}

hr {
  margin-top: 5%;
  color: rgba(255, 255, 255, 0.647);
}

footer {
  display: flex;
  justify-content: space-around;
  width: 100%;
  /* background-color: rgba(40, 40, 40, 0.22); */
  backdrop-filter: blur(10px);
  border-radius: 20px 20px 0 0;
  padding: 1.5rem 1rem;
}

.footer-logo {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-size: 2rem;
  line-height: 3rem;
  left: 3%;
  padding-bottom: 1%;
  margin-top: 2%;
}

.footer-links {
  color: white;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1rem;
  text-align: right;
  margin-top: 3%;
  margin-right: 0%;
}

.footer-link {
  font-family: "Josefin Sans", sans-serif;
  color: white;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom left;
  transition: transform 0.25s ease-out;
}

.footer-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer-link-donate {
  background-image: linear-gradient(to right, #1b98ff, #357dfa);
  background-clip: text;
  color: #fff;
  transition: all 0.4s ease-in-out;
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.footer-link-donate:hover {
  color: transparent;
}

.social-media {
  text-align: right;
  margin-top: 3%;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .nav {
    height: auto;
    padding: 0.75rem 1rem 0;
    align-items: center;
    gap: 0.5rem;
    position: relative;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 0.75rem;
    order: 2;
    font-size: 2.25rem;
  }

  .logo-text {
    position: absolute;
    left: 50%;
    transform: translateX(-56%);
    margin-left: 0;
    top: 0.75rem;
    margin-top: 0;
    text-align: center;
    width: auto;
    flex: none;
    z-index: 1202;
  }

  .nav-links {
    display: none;
    position: static;
    background-color: transparent;
    backdrop-filter: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    padding: 0.1rem 0.5rem 0.5rem;
    width: 100%;
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-links .donate {
    display: block;
    width: fit-content;
    max-width: 100%;
    text-align: right;
    padding: 0.75rem 1rem;
    margin: 0.125rem 0;
    font-size: 1.25rem;
  }

  .nav-links .donate {
    margin-bottom: 0.25rem;
    align-self: flex-end;
    width: fit-content;
    display: inline-flex;
  }

  .navlink,
  .donate {
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
  }

  .title {
    margin-bottom: 60px;
  }

  .content-a-flex {
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-a,
  .section-b,
  .bottom-section {
    width: auto;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 18px 22px;
  }

  .section-a,
  .section-title,
  .section-text {
    text-align: left;
  }

  .section-b {
    padding-left: 0;
  }

  .who-are-we-img {
    width: 100%;
    display: block;
  }

  .bottom-section {
    margin-top: 60px;
  }

  body {
    padding-top: 0;
    background-size: cover;
    background-position: top center;
  }
}

@media (max-width: 520px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    padding: 0.5rem 0.75rem;
  }

  .menu-toggle {
    margin-right: 0.75rem;
  }

  .logo-text {
    top: 0.6rem;
    transform: translateX(-54%);
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-text {
    font-size: 1.1rem;
  }

  .title {
    font-size: 1.5rem;
  }

  footer {
    display: block;
    padding: 1rem;
    border-radius: 16px 16px 0 0;
  }

  .footer-logo {
    text-align: center;
    display: block;
    margin: 0 auto 0.75rem;
  }
  .footer-links {
    text-align: center;
    display: block;
  }
  .social-media {
    text-align: center;
    margin-top: 0.5rem;
  }

  body {
    background-position: top center;
  }
  /* .team {
    flex-direction: column;
  } */
}

.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 3rem;
  /* margin-left: 50px;
  margin-right: 50px; */
}

.person {
  font-family: "Josefin Sans", sans-serif;
  color: white;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
  /* filter: drop-shadow(0px 0px 100px #000000); */
}

.team-img {
  width: 250px;
  height: 250px;
  border-radius: 20px;
  /* filter: drop-shadow(0px 0px 100px #000000); */
}

.extra_padding {
  padding-left: 75px;
  padding-right: 75px;
  padding-top: 25px;
  padding-bottom: 25px;
}
