body,
html {
  background-image: url("Images/bg_wheat.png");
  font-family: "PlayFair Display SC", serif;
  overflow-x: hidden;
  /* cursor: pointer; */
  margin: 0;
  padding: 0;
  width: 100%;
  color: purple;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.imgtxt {
  font-size: 0.8rem;
  margin-left: 1050px;
  color: black;
}

#MyImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  margin-right: 2px;
  margin-left: 400px;
  place-content: center;
  width: 15%;
  height: 180px;
}
#MyImg:hover {
  opacity: 0.7;
}

.modal-content {
  margin: auto;
  display: block;
  width: 50%;
}
.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: 90%;
  height: 100%;
  margin-top: -20px;
  z-index: -1;
  display: block;
}
.popup_img {
  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: scroll; /* Enable scroll if needed */
  background-color: #6f6565; /* Fallback color */
  background-color: rgba(105, 99, 99, 0.9);
}
.popupimg {
  /* object-fit: fill; */
  display: block;
  width: 50%;
  height: 100%;
  place-content: center;
  /* border: 5px solid rgb(11, 103, 126); */
  position: fixed;
  padding: 20px;
  /* background-color: rgb(122, 159, 179); */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: auto;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
  }
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
.popup_img2 {
  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: scroll; /* Enable scroll if needed */
  background-color: #6f6565; /* Fallback color */
  background-color: rgba(105, 99, 99, 0.9);
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.arrow {
  margin-left: 10px;
}
.close2 {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.announcement {
  margin-top: 20px;
  border: 3px solid #255e2a;
  height: 55px;
  text-align: left;
  font-size: 1rem;
  color: #553807;
  font-weight: 600;
  font-family: "Playfair Display", serif;
}
.animation {
  animation: effect 2s linear infinite;
  color: transparent;
  font-weight: 900 !important;
}
@keyframes effect {
  0% {
    background: linear-gradient(#da9020, #da9020);
    border-color: #561c24;
    -webkit-background-clip: text;
  }
  50% {
    background: linear-gradient(#ff6868, #ff6868);
    border-color: #431017;
    background-clip: text;
  }

  100% {
    background: linear-gradient(#a36f22, #a36f22);
    border-color: #421319;
    -webkit-background-clip: text;
  }
}
.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;
  }
}
.language {
  background-color: transparent;
  text-align: right;
  color: #39270c;
  font-weight: 600;
  position: absolute;
  top: 5px;
  right: 30px;
  font-family: "Playfair Display", serif;
}
.language:hover {
  background-color: rgb(209, 171, 111);
  color: #0c0802;
}

.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 #f2d12c, 0 0 15px #013802,
      0 0 20px #8e0734;
  }

  50% {
    text-shadow: 0 0 10px #bf3131, 0 0 10px #f2d12c, 0 0 30px #013802,
      0 0 40px #8e0734;
  }

  100% {
    text-shadow: 0 0 5px #bf3131, 0 0 5px #f2d12c, 0 0 15px #013802,
      0 0 20px #8e0734;
  }
}

.heading {
  text-align: center;
  font-family: "Mukta Malar", sans-serif;
  font-weight: bold;
  font-size: 2.2rem;
  color: #561c24;
}
.Img1 {
  height: 180px;
  width: 50%;
  position: relative;
  left: 340px;
}

#scroll-container1 {
  text-align: center;
  border-block: solid;
  writing-mode: horizontal-tb;
  border-block-color: black;
  color: #294b29;
  position: relative;
  font-family: "Arial", Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: bolder;
  margin-top: 20px;
  white-space: nowrap;
  width: auto;
  height: 30px;
  display: none;
  visibility: hidden;
}
#scroll-container {
  text-align: center;
  /* display: flexbox; */
  border-block: solid;
  writing-mode: horizontal-tb;
  border-block-color: black;
  color: #294b29;
  position: relative;
  font-family: "Arial", Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: bolder;
  margin-top: 20px;
  /* how to reduce border block width */
  white-space: nowrap;
  width: auto;
  height: 30px;
}
#scroll-text {
  text-align: center !important;
  translate: translateX(100%);
  animation-name: my-animation;
  animation-delay: 0s;
  animation-duration: 30s;
  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: "Mukta Malar", sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  margin-right: 18px;
}

a:hover,
.nav-link.active {
  color: #e36c6c !important;
}

.content {
  margin-top: 40px;
  text-align: left;
  color: #553807;
  font-weight: 600;
}
.next_button {
  position: relative;
  left: 70%;
  top: 35%;
}
.prev_button {
  position: relative;
  left: 16%;
  top: 42%;
}
pre {
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: #553807;
  word-spacing: normal;
  line-height: normal;
  margin-left: -10px;
}
.map {
  height: 150px;
  width: 15%;
  /* float: right; */
  position: absolute;
  right: 400px;
  top: 500px;
}
h3 {
  margin-top: 50px;
  text-align: left;
  color: #561c24;
  font-size: 1.1rem;
  font-weight: bolder;
  margin-right: 80px;
  margin-left: 10px;
}
.mantra {
  height: fit-content;
  width: fit-content;
  border: 3px solid black;
  font-size: 0.9rem;
  text-align: left;
  margin-left: 10px;
}
.color {
  color: #155b15;
}
.contentimage {
  height: 300px;
  width: 20%;
  position: absolute;
  right: 60px;
  top: 420px;
  margin: 15px;
}
.slokam {
  color: purple;
  position: relative;
  right: 20px;
}
.link {
  position: absolute;
  top: -32px;
  font-size: 0.8rem;
  color: black;
  display: inline-block;
  animation: glow-animation 1s infinite alternate-reverse;
}

.icon {
  /* margin-left: -80px; */
  /* position: fixed;
  bottom: 560px;
  left: 120px; */
  position: absolute;
  top: 3px;
  left: 120px;
  color: #f90101;
  margin-top: 10px;
}

.icon2 {
  padding-left: 10px;
  position: absolute;
  top: 12px;
  left: 160px;
  /* position: fixed;
  bottom: 560px;
  left: 150px; */
}
.icon:hover {
  opacity: 0.7;
  color: #bbb;
}
/* PHOTO SECTION */

#gallery {
  margin-top: 70px;
  margin-left: 10px;
  padding-bottom: 20px;
}

.carousel-indicators {
  margin-bottom: -20px;
}
#test-slide {
  text-align: center;
  padding-bottom: 30px;
  /* z-index: 1; */
}
.arrow {
  margin-top: 500px;
}

footer {
  text-align: center;
  font-size: smaller;
  padding: 0;
  background-color: #5c4033;
  color: rgb(244, 249, 249);
  margin-top: auto;
  /* margin-bottom: -30px; */
  /* width: 100%;
  position: relative;
  display: block; */
}
.media1 {
  font-size: 1.3rem;
}
/* MEDIA QUERIES */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}
@media (width<321px) {
  .Img1 {
    position: static;
    height: 130px;
    width: 95%;
    margin-left: 10px;
  }
  .link {
    position: absolute;
    left: -10px;
    top: -50px;
  }
  .icon {
    position: absolute;
    left: 10px;
    top: 2px;
  }
  .icon2 {
    position: absolute;
    left: 40px;
    top: 12px;
  }
  #scroll-container {
    display: none;
    visibility: hidden;
  }
  #scroll-container1 {
    display: flex;
    visibility: visible;
  }
  #scroll-text {
    animation-delay: -0.5s;
    animation-duration: 10s;
    text-align: center;
    margin-right: -30px;
  }
  .popupimg {
    width: 90%;
    height: 90%;
  }
  .prev_button {
    position: relative;
    left: 1%;
    top: 42%;
  }
  .next_button {
    position: relative;
    left: 85%;
    top: 35%;
  }
  .close {
    position: absolute;
    top: 2px;
    right: 30px;
  }
  #MyImg {
    margin-left: 80px;
    margin-top: 10px;
    width: 50%;
  }
  .imgtxt {
    margin-left: 90px;
  }
  .announcement {
    height: fit-content;
  }
  .contentimage {
    position: static;
    margin-left: -5px;
    margin-top: -0.5px;
    width: 300px;
  }
  .map {
    position: static;
    margin-bottom: 30px;
    margin-left: 50px;
    width: 180px;
  }
  .heading {
    font-size: 1.7rem;
  }
  .test {
    /* margin-left: 20px; */
    font-size: 0.8rem;
  }
  .media {
    font-size: 0.9rem;
    margin-left: -5px;
  }
  .media1 {
    margin-left: -10px;
    font-size: 1rem;
  }
  .carousel {
    margin-left: -10px;
  }

  .mantra {
    height: fit-content;
    width: fit-content;
    border: 3px solid black;
    font-size: 0.8rem;
    text-align: left;
    margin-left: -10px;
  }
  .color {
    color: #155b15;
    font-size: 0.7rem;
  }

  .language {
    background-color: transparent;
    text-align: right;
    color: #39270c;
    font-weight: 600;
    width: fit-content;
    padding: 0;
    font-size: 0.9rem;
    position: absolute;
    top: 5px;
    right: 5px;
    font-family: "Playfair Display", serif;
  }
}
@media (min-width: 321px) and (max-width: 767px) {
  .Img1 {
    position: static;
    height: 130px;
    width: 95%;
    margin-left: 10px;
  }
  .link {
    position: absolute;
    left: -10px;
    top: -50px;
  }
  .icon {
    position: absolute;
    left: 90px;
    top: 2px;
  }
  .icon2 {
    position: absolute;
    left: 40px;
    top: 12px;
  }
  .popupimg {
    width: 50%;
  }

  @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;
    }
  }
  .icon {
    margin-left: -80px;
  }
  .icon2 {
    padding-left: 10px;
  }

  #MyImg {
    margin-left: 80px;
    margin-top: 10px;
    width: 50%;
  }
  .imgtxt {
    margin-left: 100px;
    position: static;
  }
  .announcement {
    height: fit-content;
  }
  #scroll-container {
    display: none;
    visibility: hidden;
  }
  #scroll-container1 {
    display: block;
    visibility: visible;
  }
  #scroll-text {
    animation-duration: 10s;
    animation-delay: -0.5s;
  }
  .contentimage {
    position: static;
    /* margin-left: 70px; */
    margin-left: 20px;
    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: 0.8rem;
  }

  .media {
    font-size: 0.9rem;
    margin-left: -5px;
  }
  .media1 {
    margin-left: -10px;
    font-size: 1rem;
  }
  .carousel {
    margin-left: -10px;
  }

  .mantra {
    height: fit-content;
    width: fit-content;
    border: 3px solid black;
    font-size: 0.8rem;
    text-align: left;
    margin-left: -10px;
  }
  .color {
    color: #155b15;
    font-size: 0.8rem;
  }

  .language {
    background-color: transparent;
    text-align: right;
    color: #39270c;
    font-weight: 600;
    position: absolute;
    top: 5px;
    right: 9px;
    font-family: "Playfair Display", serif;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .Img1 {
    position: static;
    width: 85%;
    margin-left: 65px;
  }
  #MyImg {
    margin-left: 300px;
    margin-top: 10px;
    width: 30%;
  }

  .imgtxt {
    margin-left: 370px;
  }
  .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: 0.6rem;
  }
  #scroll-container1 {
    display: none;
    visibility: hidden;
  }
  #scroll-container {
    display: block;
    visibility: visible;
  }

  #scroll-text {
    animation-delay: -0.5s;
    animation-duration: 20s;
    text-align: center;
    font-size: 1rem;
  }
  /* .media {
    text-align: center;
  } */

  .mantra {
    height: fit-content;
    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;
  }
}
@media (min-width: 992px) and (max-width: 1214px) {
  .Img1 {
    position: static;
    width: auto;
    margin-left: 230px;
  }
  #MyImg {
    /* display: flex; */
    margin-left: 300px;
    margin-top: 10px;
    width: 30%;
  }
  .imgtxt {
    margin-left: 370px;
  }
  .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: 600px;
    margin-top: -600px;
  }
  .contentimage {
    height: 300px;
    width: auto;
    position: absolute;
    right: 0;
    top: 740px;
    margin: 15px;
  }
}

/* @media (min-width: 1215px) and (max-width: 1440px) {
  .contentimage {
    position: static;
    margin-left: 1px;
    margin-top: -0.5px;
    width: 300px;
  }
  .map {
    position: static;
    margin-bottom: 30px;
    margin-left: 10px;
    width: 180px;
  }
} */
