body,
html {
  background-image: url("../Images/bg_wheat.png");
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  color: rgb(66, 45, 4);
}
.imgtxt {
  font-size: 0.8rem;
  margin-left: 1180px;
  margin-top: -20px;
  color: black;
}

#MyImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: -210px;
  margin-right: 10px;
  margin-left: 1100px;
  place-content: center;
  width: 20%;
  height: 180px;
}
#MyImg:hover {
  opacity: 0.7;
}

.modal-content {
  margin: auto;
  display: block;
  width: 100%;
  max-width: 500px;
}
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #6f6565; /* Fallback color */
  background-color: rgba(105, 99, 99, 0.9);
}
.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
  width: 100%;
  height: 80%;
  margin-top: -20px;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.announcement {
  margin-top: 20px;
  border: 3px solid #05532f;
  height: 40px;
  text-align: left;
  font-size: 1.1rem;
  color: #553807;
  font-weight: 600;
  font-family: "Playfair Display", serif;
}
.animation3 {
  animation: effect-animation 2s linear infinite;
  color: transparent;
}
@keyframes effect-animation {
  0% {
    background: linear-gradient(#6c3206, #6c3206);
    -webkit-background-clip: text;
  }
  50% {
    background: linear-gradient(#db5405, #db5405);
    background-clip: text;
  }

  100% {
    background: linear-gradient(#361305, #361305);
    -webkit-background-clip: text;
  }
}

.chant {
  margin-top: 10px;
  text-align: center;
  font-family: "Roboto Slab", serif;
  color: black;
  font-size: 0.9rem;
  font-weight: 700;
  /* text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00; */
  animation: glow-animation 1s infinite alternate-reverse;
}

@keyframes glow-animation {
  0% {
    text-shadow: 0 0 5px #bf3131, 0 0 5px #685807, 0 0 15px #10cc13,
      0 0 20px #cba10a;
  }

  50% {
    text-shadow: 0 0 10px #bf3131, 0 0 10px #685807, 0 0 30px #10cc13,
      0 0 40px #cba10a;
  }

  100% {
    text-shadow: 0 0 5px #bf3131, 0 0 5px #685807, 0 0 15px #10cc13,
      0 0 20px #cba10a;
  }
}

.heading {
  text-align: center;
  font-family: "Tinos", serif;
  text-shadow: 2px 2px 2px #966d21;
  font-weight: 500;
  font-size: 2.4rem;
  color: #561c24;
}
.Img1 {
  height: 180px;
  width: 50%;
  position: relative;
  left: 350px;
}

#scroll-container {
  border-block: solid;
  writing-mode: horizontal-tb;
  border-block-color: black;
  color: #1a3e1a;
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: bolder;
  margin-top: 20px;
  display: block;
  white-space: nowrap;
  width: auto;
  height: 30px;
}
#scroll-container1 {
  border-block: solid;
  writing-mode: horizontal-tb;
  border-block-color: black;
  color: #1a3e1a;
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: bolder;
  margin-top: 20px;
  display: none;
  visibility: hidden;
  white-space: nowrap;
  width: auto;
  height: 30px;
}
#scroll-text {
  text-align: center !important;
  /* translate: translateX(100%);
  animation-name: my-animation;
  animation-delay: -0.5s;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  flex-shrink: 0;
}

@keyframes my-animation {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  } */
}

.topnav {
  border: 2px solid black;
  border-radius: 6px;
  /* font-weight: bold; */
  text-align: justify;
  background-color: #ebc070;
  margin-top: 20px;
  justify-content: space-evenly;
}
.nav-item,
.navbar,
.nav-link {
  color: #561c24 !important;
  font-family: "Merriweather", serif;
  font-weight: 900;
  font-size: 1.1rem;
  margin-right: 18px;
}

a:hover,
.nav-link.active {
  color: #ef5a0a !important;
}

.content {
  margin-top: 40px;
  text-align: left;
  color: #553807;
  font-weight: 600;
  font-family: "Lato", serif;
}

.language {
  background-color: transparent;
  text-align: right;
  color: #39270c;
  font-weight: 600;
  position: absolute;
  top: 10px;
  right: 30px;
  font-family: "Playfair Display", serif;
}
.language:hover {
  background-color: rgb(209, 171, 111);
  color: #0c0802;
}
pre {
  text-align: left;
  font-weight: 800;
  font-size: 1rem;
  color: #553807;
  word-spacing: normal;
  line-height: normal;
  margin-left: -10px;
  font-family: "Lato", serif;
}
.details {
  margin-left: -10px;
  margin-top: 20px;
}
.map {
  height: 250px;
  width: 250px;
  position: absolute;
  right: 450px;
  top: 500px;
}
.contact {
  padding-right: -30px;
}
h3 {
  margin-top: 50px;
  text-align: left;
  color: #561c24;
  text-decoration: underline;
  font-size: 1.1rem;
  font-weight: bolder;
  margin-right: 80px;
  margin-left: 10px;
}

.list {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-style: italic;
  color: #4a5404;
}
.mantra {
  height: 50px;
  width: 380px;
  border: 3px solid rgb(54, 68, 4);
  font-size: 0.9rem;
  text-align: right;
  margin-left: 10px;
}
.color {
  color: #155b15;
  font-weight: 900;
  font-style: italic;
}
.contentimage {
  height: 300px;
  width: 20%;
  position: absolute;
  right: 60px;
  top: 480px;
  margin: 15px;
}
.slokam {
  color: purple;
  position: relative;
  right: 20px;
}

.link {
  margin-top: 20px;
  font-size: 1.3rem;
  color: black;
  display: inline-block;
  animation: glow-animation 1s infinite alternate-reverse;
}

.icon {
  margin-left: -70px;
  color: #f90101;
  margin-top: 0px;
}
.icon2 {
  padding-left: 10px;
}

.icon:hover {
  opacity: 0.7;
  color: #bbb;
}

/* PHOTO SECTION */

#gallery {
  margin-top: 70px;
  margin-left: 10px;
  padding-bottom: 20px;
}

#test-slide {
  text-align: center;
}

footer {
  width: 100%;
  text-align: center;
  font-size: smaller;
  display: block;
  padding: 0;
  background-color: #5c4033;
  color: rgb(244, 249, 249);
  margin-top: 20px;
  margin-bottom: 0;
}

.iterimg2 {
  height: 700px;
  width: auto;
  position: absolute;
  right: 100px;
  margin-top: 180px;
  bottom: -700px;
}
.donationimg2 {
  height: 200px;
  width: 200px;
  position: absolute;
  right: 160px;
  margin-top: 160px;
  padding-top: 20px;
  margin-bottom: 25px;
  bottom: -280px;
}

.donationimg {
  height: 300px;
  width: auto;
  position: absolute;
  right: 250px;
  bottom: -380px;
}
.donationhead {
  margin-top: 15px;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  color: #4e4504;
}

.content2 {
  margin-top: 40px;
  text-align: center;
  color: #c21253;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.list {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  color: #4a5404;
}

.measure {
  /* height: fit-content;
    width: fit-content; */
  border: 3px dashed #9e380c;

  text-align: start;
  color: #553807;
  font-weight: 600;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.animation {
  animation: effect 2s linear infinite;
  color: transparent;
  font-weight: 900 !important;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes my-animation {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.animation2 {
  animation: blink 2s linear infinite;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
@keyframes effect {
  0% {
    background: linear-gradient(#da9020, #915b0a);
    border-color: #561c24;
    -webkit-background-clip: text;
  }
  50% {
    background: linear-gradient(#f74242, #ff6868);
    border-color: #431017;
    background-clip: text;
  }

  100% {
    background: linear-gradient(#422c0c, #895505);
    border-color: #421319;
    -webkit-background-clip: text;
  }
}

/* MEDIA QUERIES */
@media (width<321px) {
  .heading {
    font-size: 1.7rem;
  }
  .Img1 {
    position: static;
    height: 130px;
    width: 95%;
    margin-left: 3px;
  }
  #scroll-container {
    display: block;
    visibility: visible;
  }
  #scroll-container1 {
    display: none;
    visibility: visible;
  }
  #scroll-text {
    /* animation-delay: -0.5s;
      animation-duration: 15s; */
    text-align: center;
    /* margin-right: -20px; */
  }
  #MyImg {
    margin-left: 80px;
    margin-top: 10px;
    width: 50%;
  }
  .imgtxt {
    margin-left: 90px;
    margin-top: 5px;
  }
  .announcement {
    height: fit-content;
  }
  .map {
    position: static;
    margin-bottom: 30px;
    margin-left: 50px;
    width: 180px;
  }
  .contentimage {
    position: static;
    margin-left: -5px;
    margin-top: -0.5px;
    width: 300px;
  }

  .test {
    margin-left: -8px;
    font-size: 1rem;
  }
  .media {
    font-size: 0.9rem;
    margin-left: -5px;
  }
  .media1 {
    margin-left: -10px;
    font-size: 1.2rem;
  }
  .carousel {
    margin-left: -10px;
  }

  .mantra {
    height: 50px;
    width: fit-content;
    border: 3px solid black;
    font-size: 0.8rem;
    text-align: left;
    margin-left: -11.5px;
  }
  .color {
    color: #155b15;
    font-size: 0.9rem;
  }

  .language {
    background-color: transparent;
    text-align: right;
    color: #39270c;
    font-weight: 600;
    position: absolute;
    top: 5px;
    right: 2px;
    font-family: "Playfair Display", serif;
  }
  .iterimg2 {
    position: static;
    margin-top: 20px;
    margin-left: -5px;
  }
  .donationimg2 {
    position: static;
    margin-top: -20px;
    margin-left: 40px;
  }
  .donationimg {
    position: static;
    margin-left: 20px;
    margin-bottom: 10px;
  }
}
@media (min-width: 321px) and (max-width: 823px) {
  .Img1 {
    position: static;
    height: 130px;
    width: 95%;
    margin-left: 10px;
  }
  #scroll-container {
    display: none;
    visibility: hidden;
  }
  #scroll-container1 {
    display: block;
    visibility: visible;
  }
  #MyImg {
    position: static;
    margin-left: 90px;
    margin-top: 10px;
    width: 50%;
  }
  .imgtxt {
    position: static;
    margin-left: 100px;
    margin-top: 5px;
    position: static;
  }
  .announcement {
    height: fit-content;
  }
  .contentimage {
    position: static;
    margin-left: 5px;
    margin-top: -0.5px;
    width: 300px;
  }
  .map {
    position: static;
    margin-bottom: 30px;
    margin-left: 60px;
    width: 180px;
  }
  .heading {
    font-size: 1.7rem;
  }
  .test {
    /* margin-left: 20px; */
    font-size: 1rem;
  }
  .mantra {
    height: 50px;
    width: fit-content;
    border: 3px solid black;
    text-align: left;
    margin-left: -12px;
  }
  .color {
    color: #155b15;
    font-size: 1rem;
  }

  .media {
    font-size: 1.2rem;
    margin-left: -5px;
  }

  .carousel {
    margin-left: -10px;
  }

  .language {
    background-color: transparent;
    text-align: right;
    color: #39270c;
    font-weight: 600;
    position: absolute;
    top: 5px;
    right: 2px;
    font-family: "Playfair Display", serif;
  }
  .iterimg2 {
    /* display: flex; */
    position: static;
    margin-top: 20px;
    margin-left: -1px;
  }
  .media1 {
    margin-left: -10px;
    font-size: 1.2rem;
  }
  .donationimg2 {
    position: static;
    margin-top: -20px;
    margin-left: 60px;
  }
  .donationimg {
    position: static;
    margin-left: 20px;
    margin-bottom: 10px;
  }
}

@media (min-width: 824px) and (max-width: 991px) {
  .Img1 {
    position: static;
    width: 85%;
    margin-left: 65px;
  }
  #MyImg {
    margin-left: 340px;
    margin-top: 10px;
    width: 30%;
  }
  .imgtxt {
    margin-left: 410px;
    margin-top: 10px;
  }
  .announcement {
    height: fit-content;
  }
  .contentimage {
    position: static;
    margin-left: 235px;
    margin-top: -0.5px;
    width: 300px;
  }
  .map {
    position: static;
    margin-bottom: 30px;
    margin-left: 275px;
    width: 180px;
  }
  .heading {
    font-size: 2rem;
  }
  .test {
    /* margin-left: 20px; */
    font-size: 1rem;
  }
  #scroll-container {
    display: block;
    visibility: visible;
  }
  #scroll-container1 {
    display: none;
    visibility: hidden;
  }

  #scroll-text {
    /* animation-delay: -0.5s;
    animation-duration: 15s; */
    text-align: center;
    font-size: 1rem;
  }

  .mantra {
    height: 50px;
    width: fit-content;
    border: 3px solid black;
    font-size: 1rem;
    text-align: center;
    /* margin-left: 120px; */
  }
  .color {
    color: #155b15;
    font-size: 1rem;
  }
  .language {
    background-color: transparent;
    text-align: right;
    color: #39270c;
    font-weight: 600;
    position: absolute;
    top: 5px;
    right: 2px;
    font-family: "Playfair Display", serif;
  }

  .iterimg2 {
    height: 700px;
    width: auto;
    position: static;
    margin-left: 380px;
    margin-top: 60px;
  }
  .media1 {
    margin-top: -720px;
  }

  .donationimg {
    position: static;
    margin-left: 450px;
    margin-top: -370px;
  }
  .donationimg2 {
    position: static;
    margin-top: -170px;
    margin-left: 525px;
  }
}
@media (min-width: 991.1px) and (max-width: 1214px) {
  .Img1 {
    position: static;
    width: auto;
    margin-left: 300px;
  }
  .nav-item,
  .navbar,
  .nav-link {
    color: #561c24 !important;
    font-family: "Mukta Malar", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 11px;
  }
  a:hover,
  .nav-link.active {
    color: #ef5a0a !important;
  }
  #MyImg {
    margin-left: 380px;
    margin-top: 10px;
    width: 30%;
  }
  .imgtxt {
    margin-left: 470px;
    margin-top: 10px;
  }
  .announcement {
    height: fit-content;
  }

  .map {
    height: 150px;
    width: 20%;
    /* float: right; */
    position: static;
    margin-left: 500px;
    margin-top: -600px;
  }
  .contentimage {
    height: 300px;
    width: auto;
    position: absolute;
    right: 0px;
    top: 700px;
    margin: 15px;
  }

  .media1 {
    margin-top: -750px;
  }

  .iterimg2 {
    height: 700px;
    width: auto;
    position: static;
    margin-left: 550px;
    margin-top: 50px;
  }
  .donationimg2 {
    position: static;
    margin-top: -180px;
    margin-left: 350px;
  }
  .donationimg {
    position: static;
    margin-left: 390px;
    margin-top: -300px;
  }

  #scroll-container {
    display: block;
    visibility: visible;
  }
  #scroll-container1 {
    display: none;
    visibility: hidden;
  }

  #scroll-text {
    /* animation-delay: -0.5s;
    animation-duration: 15s; */
    text-align: center;
    font-size: 1rem;
  }
}

@media (min-width: 1215px) and (max-width: 1440px) {
  .Img1 {
    position: static;
    width: auto;
    margin-left: 380px;
  }
  .nav-item,
  .navbar,
  .nav-link {
    color: #561c24 !important;
    font-family: "Mukta Malar", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 11px;
  }
  a:hover,
  .nav-link.active {
    color: #ef5a0a !important;
  }

  .map {
    height: 150px;
    width: 20%;
    position: static;
    margin-left: 620px;
    margin-top: -200px;
  }
  .contentimage {
    height: 300px;
    width: auto;
    position: absolute;
    right: 0px;
    top: 490px;
    margin: 15px;
  }

  .media1 {
    margin-top: -750px;
  }

  .iterimg2 {
    height: 700px;
    width: auto;
    position: static;
    margin-left: 550px;
    margin-top: 50px;
  }
  .donationimg2 {
    position: static;
    margin-top: -180px;
    margin-left: 350px;
  }
  .donationimg {
    position: static;
    margin-left: 390px;
    margin-top: -300px;
  }

  #scroll-container {
    display: block;
    visibility: visible;
  }
  #scroll-container1 {
    display: none;
    visibility: hidden;
  }

  #scroll-text {
    /* animation-delay: -0.5s;
      animation-duration: 15s; */
    text-align: center;
    font-size: 1rem;
  }
  #MyImg {
    margin-left: 950px;
  }
  .imgtxt {
    margin-left: 1000px;
  }
}

@media (min-width: 1310px) and (max-width: 2000px) {
  .Img1 {
    position: static;
    width: 70%;
    margin-left: 290px;
  }
  #MyImg {
    /* display: flex; */
    margin-left: 38%;
    margin-top: 10px;
    width: 30%;
  }
  .imgtxt {
    margin-left: 46%;
  }
  .announcement {
    height: fit-content;
  }
  #scroll-container1 {
    display: none;
    visibility: hidden;
  }
  #scroll-container {
    display: block;
    visibility: visible;
  }
  .nav-item,
  .navbar,
  .nav-link {
    color: #561c24 !important;
    font-family: "Mukta Malar", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-right: 11px;
  }

  .map {
    height: 150px;
    width: 12%;
    /* float: right; */
    position: static;
    margin-left: 800px;
    margin-top: -800px;
  }
  .contentimage {
    height: 300px;
    width: auto;
    position: static;
    margin-top: -200px;
    margin-left: 1320px;
  }
}
