@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@500;600;700;800;900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: inherit;
}
body {
  background-color: rgba(174, 213, 229, 0.409);
  overflow-x: hidden;
  font-family: "Lexend Deca", sans-serif;
}
.bav {
  /* background-color: rgb(41, 230, 255); */
  background-color: #99e9ff;
  position: sticky;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
.svg {
  width: 100vw;
  position: fixed;
  z-index: -1;
  top: 25vh;
  opacity: 0.2;
}
.text {
  color: rgb(64, 55, 55);
}
.donate {
  color: rgb(71, 70, 70);
}
.aim {
  margin: 2rem 3rem 5rem;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(62, 62, 62);
  font-style: italic;
  font-weight: 700;
}
nav {
  display: flex;
  justify-content: space-between;
  width: 95%;
  margin: auto;
  padding: 0.2rem 1rem;
  align-items: center;
}
.logo {
  font-weight: 700;
  font-size: 1.2rem;
  width: fit-content;
  text-align: center;
}
.logo img {
  height: 2.5rem;
  width: 20vh;
}
nav > *:nth-child(2) {
  justify-self: center;
  display: flex;
  gap: 2.5rem;
}
.qter {
  margin: 0.8rem;
  color: rgb(196, 119, 88);
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
nav > *:nth-child(3) {
  justify-self: right;
}
.opt {
  font-size: 1.4rem;
  font-weight: 700;
}
.main_opt::after {
  content: "";
  display: block;
  background-color: black;
  height: 2px;
  bottom: 1rem;
  left: 0;
  width: 0;
  transition: all 1s;
}
.main_opt:hover {
  cursor: pointer;
  color: rgb(71, 70, 70);
}
.main_opt:hover::after {
  width: 100%;
}
.opener {
  display: none;
}
.times {
  display: none;
}

/* HEADER */
.head {
  max-width: 40rem;
  text-align: center;
  margin: 3rem auto;
}
.head .head_text {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.head button {
  background-color: black;
  padding: 0.7rem 2rem;
  color: #fafafa;
  border-radius: 2rem;
  margin: 2rem;
}
.head img {
  width: 1rem;
}
.head .tog {
  color: rgb(196, 119, 88);
}
a {
  color: inherit;
  text-decoration: none;
}

/* BOXES */
.box_text {
  text-align: center;
  font-size: 1.2rem;
  width: 90%;
  margin: 1rem auto;
  gap: 8%;
}
.box {
  width: 100%;
  height: 17rem;
  border-radius: 8px;
  border: 1px solid rgb(188, 81, 185);
  padding: 0.3rem;
}
.search {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin: 3rem auto;
  width: 80%;
  gap: 4rem;
}

/* ABOUT */
.about_us {
  color: rgb(101, 63, 14);
  margin-bottom: 5rem;
  position: relative;
}
.title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}
.main_about {
  width: 90%;
  margin: 1rem auto;
  text-align: center;
}
.bit_gift {
  position: absolute;
  top: -50%;
  left: 0;
  z-index: -1;
  opacity: 0.4;
  width: 100vw;
  height: 300%;
  bottom: 0;
  object-fit: cover;
}
.about_us .box {
  width: 90%;
  margin: 2rem auto 0;
  backdrop-filter: blur(5px);
  height: fit-content;
}

/* DONATE */
.donate {
  margin-top: 5rem;
}
.donate_btn {
  background-color: rgb(0, 0, 0);
  border: none;
  padding: 0.7rem 1.6rem;
  border-radius: 1.5rem;
  font-size: 1.1rem;
  color: white;
  margin: 3rem auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dbtn {
  text-align: center;
}
.dbtn img {
  width: 1.5rem;
}
.main_donate .box_text {
  font-size: 1.5rem;
  animation: blink 1s infinite;
}
@keyframes blink {
  0% {
    color: red;
  }
  50% {
    color: rgb(0, 13, 255);
  }
  100% {
    color: green;
  }
}

/* CAROUSEL */
.carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carou {
  width: 100%;
  height: 100%;
  position: relative;
}
.carou .cars {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: 0.5s;
  background: linear-gradient(120deg, rgb(5, 72, 144), rgb(47, 147, 218));
}
.carou img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.overlay {
  position: absolute;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(234, 254, 210);
  text-align: center;
  font-weight: 900;
  font-size: 1.4rem;
}
.cent {
  text-align: center;
  padding: 1rem 0;
}
.cent a {
  animation: blink 1s infinite;
}

/* MEDIA */
/* PROJECTS */
@media (max-width: 769px) {
  .search {
    display: flex;
    text-align: center;
  }
  .a .search {
    flex-direction: column-reverse;
  }
  .b .search {
    flex-direction: column;
  }

  .aim {
    width: 90%;
    font-size: 1rem;
    margin: 1rem auto;
  }
  .head_text {
    font-size: 1.6rem !important;
    width: 90%;
    margin: 0 auto;
  }
}

/* HEAD */
@media (max-width: 375px) {
  .opt {
    position: absolute;
  }
}

/* NAV */
@media (max-width: 769px) {
  nav {
    width: 95%;
    margin: auto;
    padding: 0.5rem;
    align-items: center;
    position: relative;
  }
  .logo {
    text-align: center;
  }
  .logo_text {
    font-size: 0.8rem;
  }
  .logo img {
    height: 2.5rem;
    width: 13vh;
  }
  .overl {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #00000040;
    z-index: 2;
  }
  .overl.hidden {
    display: none;
  }
  .opener {
    display: inline;
    background-color: transparent;
    border: 1px solid black;
  }
  .opener img {
    width: 2rem;
  }
  nav > *:nth-child(2) {
    position: fixed;
    top: 0;
    height: 100%;
    width: 50%;
    padding: 1rem;
    background-color: white;
    right: 0;
    flex-direction: column;
    z-index: 4;
    transition: 1s;
  }
  .opt.hidden {
    right: -100%;
  }
  .times {
    display: block;
    font-size: 2rem;
    font-weight: normal;
    text-align: end;
    margin: 0.5rem 1rem 0 0;
  }
}
