/* ===== Base Styles ===== */
html,
body {
  overflow-x: hidden;
}

/* Link hover activity */
a:link {
  text-decoration: none;
  color: white;
}

a:visited {
  text-decoration: none;
  color: white;
}

a:hover {
  text-decoration: underline;
  color: yellow;
}

a:active {
  text-decoration: underline;
}

.black-text {
  color: black;
}

/* ===== Backgrounds ===== */
.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* not 100vw */
  height: 100vh;
  background: url('images/background.png') center center/cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
main .btn {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Drop shadow for offcanvas menu links and icons */
.offcanvas .nav-link,
.offcanvas .nav-link img {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Drop shadow for offcanvas buttons */
.offcanvas .btn {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1.5px 4px rgba(0, 0, 0, 0.25);
}

.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  opacity: 1;
  text-decoration: underline;
  color: yellow;
}

.offcanvas .nav-link {
  color: #fff;
}

.navbar-toggler-icon {
  background-color: transparent;
  color: white;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="white" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
}

.fff-category-col {
  background: rgba(30, 30, 30, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: .75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: .5rem;
  margin-bottom: 1.5rem;
  word-break: break-word;
}

#our-vision {
  margin-bottom: 3rem;
}

#our-vision .frosted-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.form-frosted,
.frosted-form,
#donationForm {
  background: rgba(30, 30, 30, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 2rem;
}

.frosted-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

footer {
  left: 0;
  bottom: 0;
  width: 100%;
  background: black;
  background-color: black;
  color: #fff;
  z-index: 2000;
}

/* Icons in footer */
.icon img {
  width: 1.5rem;
  height: 1.5rem;
}

/* Footer email and phone number on same line */
footer .nowrap {
  white-space: nowrap;
}

/* Small Mobile */
@media (max-width: 359px) {
  body {
    margin-top: 5vh;
  }

  .home-title {
    font-size: clamp(1.3rem, 4vw, 2.2rem);
  }

  .flex-grow-1 {
    flex-grow: 0;
  }

  body:not(.index-page) {
    margin-top: 15vh;
  }

  html {
    scroll-padding-top: 15vh;
  }

  #navbar {
    width: 100%;
    height: 15vh;
    left: 0;
    top: 0;
    z-index: 1030;
    flex-direction: row;
    background-color: black;
    background: black;
  }

  .navbar-brand img,
  .nav-link .nav-logo,
  .offcanvas .nav-link .nav-logo {
    max-height: 12vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .navbar-toggler-icon {
    height: 3vh;
    width: 3vh;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
  }

  .navbar-nav .nav-link .svg {
    max-height: 2rem;
    width: auto;
  }

  .offcanvas .btn {
    font-size: 1rem;
    padding: .5rem;
  }

  .offcanvas-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 1rem;
  }

  main *:not(:is(h1, h2, h3, h4, h5, h6)) {
    font-size: 1rem;
  }

  main img {
    width: 10rem;
    height: auto;
  }

  main .btn {
    font-size: .5rem;
    padding: .5rem .5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }



  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.5rem;
  }
}

/* --- Larger Mobile devices --- */
@media (min-width: 360px) and (max-width: 1199px) {

  .home-title {
    font-size: clamp(1.3rem, 7vw, 3rem);
  }

  #navbar {
    width: 100%;
    height: 15vh;
    left: 0;
    top: 0;
    z-index: 1030;
    flex-direction: row;
    background-color: black;
    background: black;
  }


  .flex-grow-1 {
    flex-grow: 0 !important;
  }

  body:not(.index-page) {
    margin-top: 15vh;
  }

  html {
    scroll-padding-top: 15vh;
  }

  .navbar-brand img,
  .nav-link .nav-logo,
  .offcanvas .nav-link .nav-logo {
    max-height: 12vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
  }

  .navbar-nav .nav-link {
    font-size: 1.25rem;
  }

  .navbar-nav .nav-link .svg {
    max-height: 4rem !important;
    width: auto;
  }

  .offcanvas-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 1rem;
  }

  .navbar-toggler-icon {
    height: 6vh !important;
    width: 6vh !important;
  }

  main *:not(:is(h1, h2, h3, h4, h5, h6)) {
    font-size: 1rem;
  }

  main img {
    width: 10rem;
    height: auto;
  }

  main .btn {
    font-size: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  h1 {
    font-size: 2.5rem;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.5rem;
  }

}

/* --- Pro Duo Or Medium Tablets--- */
@media ((width: 540px) and (height: 720px)) or ((width: 600px) and (height: 768px)){
  .home-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
}

/* --- Only show desktop sidebar on xl screens --- */
@media (min-width: 1200px){

  #navbar {
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    height: 100vh !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 10vw;
    margin-bottom: 5vh;
    position: fixed;
    z-index: 1030;
    background: black;
  }

  .navbar-nav .nav-link .svg:not(:is(.navbar-toggler-icon)) {
    width: 25%;
  }

  .nav-link .nav-logo,
  .offcanvas .nav-link .nav-logo {
    width: 100%;
    object-fit: contain;
    display: block;
  }

  .navbar .navbar-nav .nav-link,
  .navbar .navbar-brand {
    font-size: 1.35rem;
  }

  .offcanvas .btn {
    font-size: 1.35rem;
    padding: 1rem;
  }

  .main-title {
    padding-top: 2.75rem;
    padding-left: 2rem;
    font-size: 3.25rem !important;
  }

  .main-logo {
    width: 10rem !important;
    height: auto !important;
  }

  .hero-frame {
    aspect-ratio: 16/9;
    height: calc(100vh - 20rem);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }

  main *:not(:is(h1, h2, h3, h4, h5, h6)) {
    font-size: 1.5rem;
  }

  main img {
    width: 20rem !important;
    height: auto;
  }

  #resource-list img {
    width: 30rem !important;
    height: auto;
  }

  main video {
    width: 20rem;
    height: auto;
  }

  main .btn {
    font-size: 1.5rem !important;
  }

  h1 {
    font-size: 4rem;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 2.25rem !important;
  }


  body {
    margin-left: 15vw;
    margin-right: 5vw;
  }

  .donate-button {
    width: auto;
    border-radius: .5rem;
    padding: 0.75rem 2rem;
    margin-bottom: 1rem;
    margin-top: auto;
  }

  footer {
    position: fixed;
    font-size: 1.3rem;
  }
}

/* 2K Screens */

@media (min-width: 2560px) and (min-height: 1440px) {

  main *:not(:is(h1, h2, h3, h4, h5, h6)) {
    font-size: 2rem !important;
  }

  h1 {
    font-size: 6rem !important;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 4rem !important;
  }

  /* .flex-grow-1 {
    flex-grow: .25 !important;
  } */

  .navbar-nav .nav-link .svg .img:not(:is(.navbar-toggler-icon)) {
    width: 20% !important;
  }

  .nav-link .nav-logo,
  .offcanvas .nav-link .nav-logo {
    width: 100%;
    height: 20rem;
  }

  .navbar .navbar-nav .nav-link,
  .navbar .navbar-brand {
    font-size: 2.5rem;
  }

  .offcanvas .btn {
    font-size: 2rem;
    padding: 1.5rem;
  }

  #backmovie .main-logo {
    margin-top: 2.5vh;
  }

  .main-logo {
    width: 15rem !important;
    height: auto !important;
  }

  .main-title {
    font-size: 5rem !important;
  }

  .hero-frame {
    margin-top: 2vh;
    height: calc(100vh - 30rem);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }


  main .btn {
    font-size: 1.75rem !important;
    padding: .75rem;
  }

}


/* 4k Screens */
@media (min-width: 3840px) and (min-height: 2160px) {

  main *:not(:is(h1, h2, h3, h4, h5, h6)) {
    font-size: 3rem !important;
  }

  h1 {
    font-size: 10rem !important;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 7rem !important;
  }

  /* .flex-grow-1 {
    flex-grow: .15 !important;
  } */

  .navbar-nav .nav-link .svg .img:not(:is(.navbar-toggler-icon)) {
    width: 25% !important;
  }

  .nav-link .nav-logo,
  .offcanvas .nav-link .nav-logo {
    width: 100%;
    height: 30rem;
  }

  .navbar .navbar-nav .nav-link,
  .navbar .navbar-brand {
    font-size: 4rem;
  }

  #backmovie .main-logo {
    margin-top: 2.5vh;
  }

  .main-logo {
    width: 20rem !important;
    height: auto !important;
  }

  .main-title {
    font-size: 8rem !important;
  }

  .hero-frame {
    margin-top: 2.5vh;
    height: 70vh;
  }

  main img {
    height: auto !important;
    width: 40rem !important;
  }

  #resource-list img {
    width: 60rem !important;
    height: auto;
  }

  .event img {
    width: 80rem !important;
    height: auto;
  }

  main video {
    height: 50rem !important;
    width: auto !important;
  }

  main .btn {
    font-size: 3rem !important;
  }

  .offcanvas .btn {
    font-size: 3rem;
    padding: 2rem;
  }

  footer,
  footer * {
    font-size: 2.5rem !important;
  }
}

/* --- Smaller Monitors --- */
@media (min-width: 1200px) and (max-height: 900px) {

  main *:not(:is(h1, h2, h3, h4, h5, h6)) {
    font-size: 1.25rem;
  }

  main img {
    width: 20rem;
    height: auto;
  }

  h1 {
    font-size: 4rem;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  .offcanvas .btn {
    font-size: 1rem;
    padding: 1rem;
  }

  /* Add vertical scrollbar to nav for smaller/shorter screens */
  #navbar {
    overflow-y: auto;
    width: 12vw;
    direction: rtl;
  }

  #navbar>* {
    direction: ltr;
    /* Content flows left-to-right */
  }

  .main-title {
    font-size: 2.4rem !important;
  }

  #hero {
    display: none !important;
  }

  .home-title {
    display: none !important;
  }

  .ls-title {
    display: block !important;
  }

  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: black;
    color: #fff;
    z-index: 2000;
    padding: .50rem;
    font-size: 1rem !important;
  }
}


/* Nest Hub */
@media (width:1024px) and (height: 600px) {

  html {
    scroll-padding-top: 15vh;
  }

  #navbar {
    width: 100%;
    height: 15vh;
    left: 0;
    top: 0;
    z-index: 1030;
    flex-direction: row;
    background-color: black;
    background: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    overflow: hidden;
  }

  .navbar-brand img,
  .nav-link .nav-logo,
  .offcanvas .nav-link .nav-logo {
    max-height: 12vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .mobile-title {
    display: flex !important;
    color: white;
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
  }

  main *:not(:is(h1, h2, h3, h4, h5, h6)) {
    font-size: 1.25rem;
  }

  main img {
    width: 15rem;
    height: auto;
  }

  h1 {
    font-size: 2rem;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  #hero {
    display: none !important;
  }

  #backmovie {
    display: flex !important;
  }

  .hero-frame {
    aspect-ratio: 16/9;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    display: block !important;
  }

  .main-logo {
    display: none !important;
  }

  .main-title {
    display: none !important;
  }

  .offcanvas .btn {
    font-size: 1rem;
    padding: 1rem;
  }

  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: black;
    color: #fff;
    z-index: 2000;
    padding: 1rem;
  }

}
/*
a.privacy-policy-link {
  
}*/

/* Ensure text wraps and doesn't overflow */
.card-title,
.card-text {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Ensure images are responsive */
.card-img-top,
.card-body img {
  max-width: 100%;
  height: auto;
}

.responsive-map {
  width: 100%;
  max-width: 40vw;
  min-width: 16rem;
  margin: auto;
}
.responsive-map iframe {
  width: 100%;
  min-width: 16rem;
  max-width: 40vw;
  height: 22vw;
  max-height: 350px;
  border-radius: 0.5rem;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .responsive-map,
  .responsive-map iframe {
    max-width: 100vw;
    height: 220px;
  }
}