body {
  font-family: "Oswald", sans-serif;
}

.head-img {
  background: url(../img/hbnr.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

/* Home Page */

.bnr-img {
  /* background: url('../img/bnrnw.webp'); */
  background: url("../img/nbnr.jpg");
  height: 84vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mantras h5 {
  font-family: "Manjari", sans-serif;
}

.popmd {
  width: 40vw !important;
}

.abt-img {
  background: url("../img/abt.jpg");
  height: 80vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.cards-bg {
  background: url("../img/cardbnr.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ftr {
  font-family: "Oswald", sans-serif;
}

@media (max-width: 1366px) {
  .bnr-img {
    height: 75.1vh;
  }
}

@media (max-width: 912px) {
  .bnr-img {
    height: 88vh;
  }

  .abt-img {
    background: url(../img/donatebg.webp);
    background-size: cover;
    height: 40vh;
  }

  .popmd {
    width: auto !important;
    min-width: 97vw !important;
  }
}

@media (max-width: 768px) {
  .bnr-img {
    height: 84vh;
  }

  .abt-img {
    height: 48vh;
  }
}

@media (max-width: 540px) {
  .bnr-img {
    height: 73vh;
  }

  .abt-img {
    height: 60vh;
  }

  .cards-bg {
    height: 135vh;
  }

  .ftr {
    /* font-size: smaller; */
    font-size: 1.1rem;
    text-align: center;
  }
}

@media (max-width: 414px) {
  .abt-img {
    height: 50vh;
  }

  .ftr {
    font-size: smaller !important;
    text-align: center !important;
  }
}

@media (max-width: 375px) {
  .bnr-img {
    height: 64vh;
  }

  .abt-img {
    height: 65vh;
  }

  .cards-bg {
    height: 170vh;
  }

  .ftr {
    font-size: 0.8rem !important;
  }
}

/* //Home page */

/* Poojas and Offerings */

.pjbck {
  background: url(../img/pjoff.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 912px) {
  .pjbck {
    background: url(../img/donatebg.webp);
    background-size: cover;
    background-position: right center;
  }
}

/* //Poojas and Offerings */

/* Festivals */

.festbck {
  background: url(../img/pjoff.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 912px) {
  .festbck {
    background: url(../img/donatebg.webp);
    background-size: cover;
    background-position: right center;
  }
}

@media (max-width: 375px) {
  .festbck {
    height: 110vh !important;
  }
}

/* //Festivals */

/* Gallery */

/* Gallery CSS */

* {
  box-sizing: border-box;
}

body {
  background-color: #ecf0f1;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
  width: 94%;
  margin: 0 auto;
  padding: 10px;
}

.gtbck {
  height: 80vh !important;
}

.gcard {
  position: relative;
}

.image-container {
  overflow: hidden;
}

.image-container img {
  transition: transform 0.3s ease;
}

.gcard:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

.gcard:hover .image-container img {
  /* animation: glare 1s linear infinite;
    transform-origin: center; */
  transform: scale(1.1);
  /* transition: transform 0.3s ease; */
}

.gbck {
  background: url("../img/donatebg.webp");
  background-size: cover;
  background-repeat: no-repeat;
}

.gallery-item {
  flex-basis: 32.7%;
  margin-bottom: 6px;
  opacity: 0.85;
  cursor: pointer;
}

.gallery-item:hover {
  opacity: 1;
}

.gallery-item img {
  width: 30vw;
  height: 30vh;
  object-fit: cover;
}

.gallery-content {
  font-size: 0.8em;
}

.lightbox {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  overflow: auto;
  top: 0;
  left: 0;
}

.lightbox-content {
  position: relative;
  /* width: 65%;
    height: 58%; */
  width: 50vw;
  height: auto;

  margin: 5% auto;
  margin-top: 100px;
}

.lightbox-content img {
  border-radius: 3px;
  border: 6px solid white;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 9px;
  top: 45%;
  cursor: pointer;
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .gallery-container {
    width: 100%;
  }

  .gallery-item {
    flex-basis: 49.8%;
    margin-bottom: 3px;
  }

  .lightbox-content {
    width: 80%;
    height: 60%;
    margin: 15% auto;
  }
}

@media (max-width: 540px) {
  .gtbck {
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex-basis: 100%;
    margin-bottom: 1px;
  }

  .lightbox-content {
    width: 90%;
    margin: 20% auto;
  }
}

/* //Gallery CSS */

@media (max-width: 912px) {
  .lightbox-content {
    width: 90vw;
    height: auto;
    margin: 15% auto;
  }
}

@media (max-width: 540px) {
  .gallery-item img {
    width: 40vw;
    height: 40vh;
    object-fit: cover;
  }
}

@media (max-width: 414px) {
  .gallery-item img {
    width: 90vw;
    height: 40vh;
    object-fit: cover;
  }

  .lightbox-content {
    width: 90vw;
    height: auto;
    margin: 55% auto;
  }
}

/* //Gallery */

/* Contact */

.frmbck {
  background: url(../img/donatebg.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 912px) {
  .frmbck {
    background-position: right center;
  }
}

/* //Contact */

/* Donations */

.dtbck {
  background: url(../img/donatebg.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 912px) {
  .dtbck {
    background-position: right center;
  }
}

/* //Donations */
