@import url('https://fonts.googleapis.com/css2?family=Amita:wght@700&display=swap'); /* Header */
@import url('https://fonts.googleapis.com/css2?family=Yatra+One&display=swap'); /* h1 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arya:wght@700&display=swap');

*{
    margin: 0;
    padding: 0;
}

p{
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 18px;
}

.justify{
    text-align: justify;
}

.button{
    background-image: linear-gradient(to bottom right, #ffdb53, #f8343c, #f8343c, #ffdb53);
    padding: 5px 20px;
    border-radius: 5px;
}

.button:hover{
    /* background-image: linear-gradient(to bottom right, #ffdb53, #ff6b70, #f8343c); */
    background: #f8343c;
    -webkit-box-shadow: 0 0 10px #000;
        box-shadow: 0 0 10px #000;
}

.button a{
    color: white;
    font-family: 'Yatra One', cursive;
    text-decoration: none;
}

.button a:hover{
    color: white;
}


.heading{
    text-align: center;
    font-weight: bold;
    font-family: 'Yatra One', cursive;
    font-size: 25px;
    text-shadow: 2px 2px white;
	margin-top:20px;
}

.short-heading{
    font-weight: bold;
    font-family: 'Yatra One', cursive;
    font-size: 18px;
    text-shadow: 2px 2px white;
}

.heading2{
    color: #f8343c;
    text-align: center;
    font-weight: bold;
    font-family: 'Yatra One', cursive;
    font-size: 25px;
    text-shadow: 1px 1px white;
    letter-spacing: 2px;
    margin-top: 30px;
}

.common-head{
    font-size: 30px;
    text-align: center;
    padding-top: 20px;
    font-family: 'Yatra One', cursive;
    text-shadow: 1px 1px white;
}

body{
    background: linear-gradient(#fddd5a, #ffe995, #fff5d1, #ffffff);
}

.navigation{
    height: auto;
    overflow: hidden;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.navigation img{
    height: auto;
    overflow: hidden;
    width: 60%;
    display: block;
    margin: auto;
    padding-bottom: 10px;
}

.navigation p{
    font-size: 40px;
    color: #f8343c;
    text-align: center;
    padding-top: 40px;
    font-family: 'Amita', cursive;
    margin-bottom: 0px;
}

.menubar{
    background-color: #f8343c;
    height: auto;
    overflow: hidden;
}

.menubar ul{
    display: flex;
    margin: auto;
}

.menubar ul li{
    padding-left: 20px;
}

.menubar ul li a{
    color: white;
    font-size: 21px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    letter-spacing: 1px;
    text-shadow: 2px 2px black;

}

.menubar ul li a:hover{
    color: white;
}

.main-image{
    width: 50%;
    margin: auto;
    display: flex;
}

.main .shlok-box{
    height: auto;
    overflow: hidden;
}

.main .shlok{
    color: #000080;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    margin-bottom: 0px;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.main audio{
    width: 80%;
    margin: auto;
    display: flex;
    border-radius: 0px;
}

.home-info .para{
    font-size: 18px;
    text-align: justify;
}

.card{
    position: relative;
    width: 100%;
}
  
.image{
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}
  
.middle{
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 371px;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%); */
    text-align: center;
}
  
.card:hover .image{
    opacity: 0.3;
}
  
.card:hover .middle{
    opacity: 1;
    cursor: pointer;
}
  
.text{
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 16px;
    height: 100%;
    padding: 50px 20px;
}

.text h3{
    font-size: 25px;
    line-height: 35px;
}

.books h5{
    letter-spacing: 1px;
}

.copyright{
    background-color: #f8343c;
    text-align: center;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
}

.writer{
    width: 70%;
    display: flex;
    margin: auto;
    float: right;
}

.about-detail .name{
    padding-top: 180px;
    font-size: 30px;
}

.about-para p{
    text-align: justify;
}

.adhyay{
    position: relative;
    border: 1px solid #f8343c;
    border-radius: 20px;
}

.adhyay-data{
    position: absolute;
    top: 40px;
    right: 25px;
}

.adhyay img{
    border-radius: 10px;
}

.adhyay-data h2{
    font-family: 'Yatra One', cursive;
}

.adhyay-data a{
    color: black;
}

.adhyay-data a:hover{
    color: black;
}

.adhyay-data i{
    font-size: 80px;
    float: right;
    padding-top: 40px;
    padding-right: 10px;
}

.video h4{
    font-size: 18px;
    font-weight: bold;
}

.news-img {
    border: 1px solid #f8343c;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    width:100%;
    max-width:300px;
  }
  
.news-img:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: relative; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    /* margin: auto; */
    display: block;
    width: 80%;
    position: absolute;
    max-width: 400px;
  }
  
  /* Caption of Modal Image */
.caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-content, .caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
    font-size: 25px;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .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;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

.next{
    background-image: linear-gradient(to bottom right, #ffdb53, #f8343c, #f8343c, #ffdb53);
    width: 100px;
}

.footer-links{
    text-align: center;
    padding-top: 50px;
    line-height: 50px;
}

.footer-links a{
    color: black;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid #f8343c;
    padding: 8px 10px;
}

.footer-links a:hover{
    background-color: #f8343c;
    color: white;
}

.contactus .map{
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Popup */
.modal {
    display: none;
    position: relative; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 10px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
    
.modal_text {
    color: black;
    font-size: 20px;
}
    
.modal-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fefefe;
    /* margin: 0 20%; */
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    height: auto;
}
    
.close_modal {
    color: black;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 5px;
    top: -10px;
}
    
.close_modal:hover,
.close_modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
    
.btn:hover {
    cursor:pointer;
}