:root {
  --clr-primary: #003f6a;
  --clr-primary-light: #1a5279;
  --clr-primary-lighter: #ccd9e1;
  --clr-primary-lightest: #f0f7fb;
  --clr-primary-dark: #00395f;
  --clr-primary-darker: #000d15;

  --text-clr-gray-300: #7e90a1;
  --text-clr-gray-500: #4c5b69;

  --clr-accent: #fee700;
  --clr-accent-light: #fff380;
  --clr-accent-lighter: #fffacc;
  --clr-accent-lightest: #fffde6;
  --clr-accent-dark: #e5d000;
  --clr-accent-darkest: #332e00;

  --clr-offset: #ff731d;

  --clr-gray-100: #f3f3f3;
  --clr-gray-200: #e7e7e7;
  --clr-gray-300: #dbdbdb;
  --clr-gray-400: #cfcfcf;
  --clr-gray-500: #c4c4c4;
  --clr-gray-600: #b8b8b8;
  --clr-gray-700: #acacac;
  --clr-gray-800: #a0a0a0;
  --clr-gray-900: #949494;
  --clr-gray-d100: #888888;
  --clr-gray-d200: #7a7a7a;
  --clr-gray-d300: #6d6d6d;
  --clr-gray-d400: #525252;
  --clr-gray-d500: #292929;

  --radius-100: 0.3rem;
  --radius-200: 0.5rem;
  --radius-400: 0.7rem;
  --radius-600: 0.9rem;
  --radius-800: 1.2rem;
  --radius-c100: 2rem;
  --radius-half: 50%;

  --font-primary: "Outfit", sans-serif;
}

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

html {
  font-size: 62.5%;
}

html,
body {
  scroll-behavior: smooth;
}

input,
button {
  font: inherit;
  display: inline-block;
}

a {
  display: inline-block;
  text-decoration: none;
  font-size: 1.6rem;
  width: max-content;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

h1,
h2,
h3 {
  max-width: 100%;
  color: var(--clr-primary-darker);
  width: max-content;
  font-weight: 500;
}

h4 {
  font-family: var(--font-primary);
}

h1 {
  font-size: clamp(3rem, 5vw, 4rem);
  position: relative;
  font-weight: 900;
}

p {
  font-size: 1.7rem;

  line-height: 1.7;
  color: var(--text-clr-gray-500);
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 48;
  opacity: 0;
  transition: all 300ms ease-in-out;
}

.material-symbols-outlined.show {
  opacity: 1;
}

li {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.7;
}

div {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-clr-gray-500);
}

.intro-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.intro-heading h4 {
  color: var(--clr-primary-light);
}

.intro-heading .start-line {
  width: 3rem;
  height: 0.4rem;
  border-radius: var(--radius-800);
  background-color: var(--clr-primary);
}

.cta {
  min-width: 12rem;
  height: 4rem;
  font-weight: 500;
  background-color: var(--clr-accent);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: var(--radius-c100);
  outline-offset: -0.2rem;
  transition: all 300ms ease-in-out;
  box-shadow: #00d0bf34 0px 2px 17px 0px;
  padding: 0 1rem;
  position: relative;
  outline: 0.2rem solid rgba(255, 255, 255, 0);
}

.cta:hover {
  outline-color: var(--clr-accent-light);
  outline-offset: 0.1rem;
}

.cta:hover::after {
  background-color: rgba(0, 0, 0, 0);
}

.cta-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}

.cta-alt .cta-text {
  min-width: 12rem;
  height: 4rem;
  display: flex;
  align-items: center;
  border: 0.1rem solid var(--clr-gray-d500);
  color: var(--clr-gray-d500);
  padding: 0 1rem;
  font-size: 1.5rem;
  border-radius: var(--radius-c100);
  transition: all 300ms ease-in-out;
  justify-content: center;
}

.cta-alt:hover .cta-text {
  color: white;
  background-color: var(--clr-accent);
  border: none;
}

.cta-alt span {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-half);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.1rem solid var(--clr-gray-d500);
  color: var(--clr-gray-d500);
  transition: all 300ms ease-in-out;
}

.cta-alt:hover span {
  transform: translateX(1rem);
  background-color: var(--clr-accent);
  color: white;
  border: none;
}

.back-btn {
  align-self: flex-end;
}

.wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wrapper:nth-child(even) {
  flex-direction: row-reverse;
  margin: 3rem 0rem;
}

.wrapper-img {
  width: 50%;
  height: 50rem;
  border-radius: var(--radius-c100);
  overflow: hidden;
  /* box-shadow: rgba(243, 135, 41, 0.205) 0px 7px 29px 0px; */
}

.wrapper-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.wrapper-wide {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
}

.wrapper-wide:nth-child(odd) {
  flex-direction: row-reverse;
}

.wrapper-wide .wrapper-img {
  border-radius: unset;
}

.wrapper-wide .wrapper-content {
  padding: 3rem;
}

.note {
  min-width: 60%;
  height: 6rem;
  display: flex;
  align-items: center;
  align-items: center;
  gap: 1rem;
  color: white;
  background-color: rgb(255, 0, 51);
  border-radius: var(--radius-400);
  padding: 0 1rem;
}

.clr-primary {
  color: var(--clr-primary);
}
.clr-accent {
  color: var(--clr-accent);
}
.clr-offset {
  color: var(--clr-offset);
}
.clr-green {
  color: #59ce8f;
}
.clr-gray {
  color: var(--clr-gray-900);
}
.clr-red {
  color: #d4094d;
}
.bg-green {
  background-color: #59ce8f;
}
.bg-gray {
  background-color: var(--clr-gray-900);
}
.bg-red {
  background-color: #d4094d;
}

.m-1 {
  margin: 1rem;
}

.m-2 {
  margin: 2rem;
}

.m-3 {
  margin: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}
.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mv-1 {
  margin: 1rem 0;
}
.mv-2 {
  margin: 2rem 0;
}

.mv-3 {
  margin: 3rem 0;
}

.mh-1 {
  margin: 0 1rem;
}

.mh-2 {
  margin: 0 2rem;
}

.mh-3 {
  margin: 0 3rem;
}

.b-d2 {
  border-color: var(--clr-gray-400);
}

section {
  width: 100%;
  margin: 0rem auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem;
}

body {
  height: 100vh;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  /* font-weight: 500; */
  overflow-x: hidden;
  background-color: white;
}

/* FORMS */

form {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  /* z-index: 1; */
  padding: 2.5rem;
  position: relative;
  border-radius: var(--radius-400);
  position: relative;
}

form .form-group {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

form .form-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
}

form .form-heading h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--clr-primary);
}

form .input-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 0.2rem;
}

form .input-group label {
  color: var(--text-clr-gray-500);
  font-size: 1.6rem;
  font-weight: 400;
}

form .input-group .input-error {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: #ff0000;
}

form .input-group input,
form .input-group select,
form .input-group textarea {
  width: 100%;
  height: 5rem;
  border: 0.1rem solid transparent;
  border-radius: var(--radius-100);
  outline: none;
  padding: 0 1rem;
  transition: all 300ms ease-in-out;
  border: 0.15rem solid var(--clr-gray-600);
}

form .input-group input:hover,
form .input-group select:hover,
form .input-group textarea:hover {
  border-color: var(--clr-primary-lighter);
}

form .input-group input:focus,
form .input-group select:focus,
form .input-group textarea:focus {
  border-color: var(--clr-primary-light);
  background-color: white;
}

form .input-group input::placeholder {
  color: var(--clr-gray-700);
}

form .input-group input.error-border,
form .input-group select.error-border,
form .input-group textarea.error-border {
  border-color: #e95d66;
}

form .input-group input.success-border,
form .input-group select.success-border,
form .input-group textarea.success-border {
  border-color: #77d970;
}

form .input-group textarea {
  border-radius: var(--radius-400);
  min-height: 15rem;
  max-height: 30rem;
}

form .input-group input:read-only {
  border: none;
  background-color: var(--clr-gray-100);
  color: var(--clr-gray-d100);
}

form .nice-select {
  height: 5rem;
  border: 0.1rem solid var(--clr-gray-d400);

  display: flex;
  align-items: center;
}

form button {
  width: 50%;
  min-height: 5rem;
  background-color: var(--clr-accent);
  border: none;
  outline: none;
  color: var(--text-clr-gray-500);
  transition: all 300ms ease-in-out;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: var(--radius-200);
  position: relative;
}

form button .button-text {
  color: var(--text-clr-gray-500);
}

form button span {
  transition: all 300ms ease-in-out;
}

form button:hover span {
  transform: translateX(1rem);
}

form button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

form button:not(:disabled):hover {
  background-color: var(--clr-accent-dark);
}

/* NAVIGATION */
nav {
  width: 100%;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 3rem;
  z-index: 998;
  transition: all 300ms ease-in-out;
  position: fixed;
  top: 0;
  left: 0;
}

nav .right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav .right form {
  all: unset;
}

nav .right form .nice-select {
  width: 8rem !important;
  height: 3rem !important;
}

nav .right .dropdown {
  position: relative;

  width: 5rem;
  height: 5rem;

  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-primary-lighter);
  border-radius: var(--radius-half);
  transition: all 300ms ease-in-out;
  cursor: pointer;
}

nav .right .dropdown span {
  font-size: 4rem;
  color: var(--clr-primary);
  transition: all 300ms ease-in-out;
}

nav .profile-dropdown {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(00%, calc(100% + 0rem));
  width: 20rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  background-color: var(--clr-primary);
  border-radius: var(--radius-400);
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease-in-out;
}

nav .profile-dropdown.show {
  transform: translate(00%, calc(100% + 1rem));
  opacity: 1;
  visibility: visible;
}

nav .profile-name {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem;
  color: white;
}

nav .profile-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

nav .profile-links a {
  width: 100%;
  height: 3.5rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--clr-accent);
  border: 0.2rem solid var(--clr-accent-lighter);
  border-radius: var(--radius-200);
  transition: all 300ms ease-in-out;
}

nav .profile-links a:hover {
  background-color: var(--clr-accent);
  color: var(--clr-primary);
}

/* FOOTER */

footer {
  min-height: 12rem;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: var(--clr-primary-darker);
  background-image: url("../img/scatter-bg.svg");
  background-size: cover;
  background-position: center;
  padding: 0 4rem;
}

footer .footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem;
  gap: 2rem;
}

footer .quick-links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .quick-links {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .quick-links a {
  text-decoration: underline;
  color: var(--clr-offset);
}

footer .about-company {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

footer .about-company * {
  color: white;
}

footer .copyright {
  width: 100%;
  height: 10rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .developer {
  font-weight: 600;
}
footer .developer a {
  color: rgb(0, 94, 255);
  text-decoration: underline;
}

@media (max-width: 800px) {
  section {
    flex-direction: column;
    width: 100%;
    padding: 1rem;
  }

  .wrapper,
  .wrapper:nth-child(even) {
    flex-direction: column;
  }

  .wrapper .wrapper-img {
    width: 70%;
    height: 30rem;
  }

  .wrapper .wrapper-content {
    width: 70%;
  }

  .wrapper-wide,
  .wrapper-wide:nth-child(odd) {
    flex-direction: column;
  }

  .wrapper-wide .wrapper-img {
    width: 80%;
    height: 30rem;
  }

  .wrapper-wide .wrapper-content {
    width: 80%;
    padding: 3rem 2rem;
  }

  form .form-group {
    flex-direction: column;
  }

  .page-banner {
    height: fit-content;
  }

  .page-banner .banner-img {
    display: none;
  }

  .page-banner .banner-content {
    width: 100%;
    min-height: fit-content;
    position: relative;
    bottom: unset;
    left: unset;
    transform: unset;
    flex-direction: column;
    border-radius: 0;
    box-shadow: unset;
  }

  .page-banner .banner-heading {
    width: 100%;
  }

  .page-banner .banner-content-actual {
    width: 100%;
  }

  .donation-platforms {
    align-items: center;
    justify-content: center;
  }

  nav {
    padding: 0 1rem;
  }

  nav .logo-container {
    font-size: 1.6rem;
  }

  nav .burger {
    display: flex;
  }

  nav .nav-list {
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 40%;
    height: 100vh;
    flex-direction: column;
    background-color: white;
    transform: translateX(-100%);
    transition: all 300ms ease-in-out;
    z-index: 998;
  }

  nav .nav-list.open {
    transform: translateX(0);
  }

  nav .list-item {
    height: unset;
  }

  nav .nav-list .list-link {
    height: unset;
    color: var(--clr-primary);
    transform: translateY(-0.5rem);
    transition: 300ms all 300ms ease-in-out;
    opacity: 0;
  }

  nav .nav-list.open .list-link {
    transform: translateY(0);
    opacity: 1;
  }

  nav .nav-donate {
    display: flex;
  }
  footer {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
  }

  footer .footer-wrapper {
    flex-direction: column;
    padding: 0rem;
  }

  footer .about-company {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  footer .quick-links-container {
    width: 100%;

    justify-content: center;
  }

  footer .quick-links {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  footer .copyright {
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 550px) {
  form {
    width: 100%;
  }
  .wrapper .wrapper-img {
    width: 100%;
    height: 30rem;
  }

  .wrapper .wrapper-content {
    width: 100%;
  }

  .wrapper-wide .wrapper-img {
    width: 100%;
    height: 30rem;
  }

  .wrapper-wide .wrapper-content {
    width: 100%;
    padding: 3rem 2rem;
  }

  footer .quick-links-container {
    gap: 1rem;
  }

  footer .quick-links {
    width: 50%;
    padding: 2rem;
  }
  footer .contact-info {
    flex-direction: column;
  }

  footer .copyright {
    flex-direction: column;
    text-align: center;
  }

  nav .nav-list {
    width: 70%;
  }
}

@media (max-width: 400px) {
  form {
    width: 100%;
  }

  nav .nav-list {
    width: 100%;
  }
}
