
	  html {
        font-size: 1.5vw;
        font-family: Verdana, sans-serif;
        
      }
	  
	  /* ============ FOR CHURCH.PHP ======== */
	  .cbody {
        background-image: url("../assets/image7.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 95%;
        margin: 0 auto;
        min-height: 100vh;
      }
      
	  .welcome{
      text-align: center;
      background-color: black;
      color: wheat;
      border-radius: 20px;
      width: 95%;
      margin-left: 20px;
    }

    .nav{
      margin-left: 0;
      text-align: center;
    }

    .nav_li{
      display: inline-block;
      text-decoration: none;
      list-style: none;
      margin: 20px;
      background-color: rgb(77, 13, 74);
      padding: 10px;
      border-radius:15px;
     

    }
    .nav_li:hover{
      
      margin: 20px;
      background-color: rgb(10, 10, 10);
      padding: 10px;
      border-radius:15px;
      color: white;
    }
    .nav_link{
      text-decoration: none;
      font-size: 20px;
      color: white;
      
    }
    
    .title{
      width: 500px;
      position: relative;
      color: rgb(177, 11, 83);
      top: 10px;
      font-weight: bold;
      padding-bottom: 10px;
    }
    .row{
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      margin-top: 30px;			/* ex 100 */
	  margin-bottom: 30px;		/* was 50 */
      border-bottom: 4px, dashed,black;
      background-color:rgb(255, 253, 255);
      border-radius: 13px;
      width: 80%;
      margin-left: 10%;

      
    }
    
    .mxbutton {
      display: inline-block;
      text-decoration: none;
      background-color:rgb(49, 214, 7);
      padding: 10px;
      color: white;
      border-radius: 20px;
          
    }
    
    .mxbutton:hover{
      background-color: rgb(18, 80, 8);
    }
        
    .nobutton {
      display: inline-block;
      text-decoration: none;
      font-size: 20px;
      background-color: grey;
      padding: 10px;
      color: white;
      border-radius: 20px;
      font-size: 20px;
    }
        
   
      
    #popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 80%;
      max-width: 600px;
      background-color: #f1f1f1;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
      z-index: 9999;
  }

  #fileContent {
      /* Styles for the text content */
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      font-size: 20px;
      line-height: 1.6;
      color: #333;
  }

  #closeButton {
      /* Styles for the close button */
      display: block;
      margin-top: 20px;
      padding: 10px 20px;
      background-color: #ff4a4a;
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      text-align: center;
      font-size: 16px;
      transition: background-color 0.3s ease;
  }

  #closeButton:hover {
      background-color: #ff3333;
  }


.popti{
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}


/* ===================================== */
/* Styles for secular page */
/* ===================================== */

.sbody{
    background-image: url("../assets/image1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 95%;
    margin: 0 auto;
    min-height: 100vh;

}

.srow{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	margin-top: 30px;					/* was 50 */
	margin-bottom: 30px;					/* was omitted */
	border-bottom: 4px, dashed,black;
	background-color:rgb(5, 7, 34);
	border-radius: 13px;
    width: 80%;
    margin-left: 10%;
}


/* ===================================== */
 /* Styles for poetry page */
 /* ===================================== */
 
 .pbody{
  background-image: url("../assets/i4.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 95%;
  margin: 0 auto;
  min-height: 100vh;

}

/* ===================================== */
/* Styling for the drama page */
/* ===================================== */

.dbody{
  background-image: url("../assets/drama1.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 95%;
  margin: 0 auto;
  min-height: 100vh;

}


/* Styling footer */
footer {
  background-color: #05469cc2; /* Footer background color */
  color: #fff; /* Text color */
  text-align: center; /* Align text in the center */
  position: fixed; /* Fix the footer at the bottom */
  width: 100%; /* Full width */
  bottom: 0; /* Stick it to the bottom of the viewport */
  left: 0;
  
  padding: 1px 0; /* Reduce padding to control height  ex 5px 0*/
  font-size: 0.6em; /* Optional: Reduce font size if needed */
  line-height: 0.8; /* Control line height for better spacing ex 1.2 */
}


/* Styles for the close button */



  /* Existing CSS */



/* Additions for Responsive Design */

/* ============================================ */
/* For mobile devices, small width, adjust font size */
/* ============================================ */
@media screen and (max-width: 700px) {
  html {
    font-size: 16px;
  }
  
  .welcome {
    font-size: 24px;
    margin-left: 0;
    width: 100%;
  }
  
  .nav {
    margin-left: 0;
    text-align: center;
  }
  
  .nav_li {
    margin: 10px;
    padding: 8px;
  }
  
  .title {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 20px;
    padding-bottom: 5px;
  }
  
  .row {
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    width: 100%;
    margin-left: 0;
    background-color: rgb(27, 14, 27);
    margin-bottom: 100px;
  }
  
  .mxbutton, .nobutton {
    font-size: 16px;
    padding: 8px;
    border-radius: 15px;
    margin: 5px;
  }
  
  #popup {
    width: 90%;
    max-width: 400px;
    padding: 15px;
  }
  
  #fileContent {
    font-size: 16px;
    line-height: 1.4;
  }
  
  #closeButton {
    font-size: 14px;
    padding: 8px 16px;
  }
}


/* Previous Media Query for Mobile Devices */

/* ======================================================================== */
/* Additional Media Query for Medium-sized Devices (600px - 1042px) */
/* ======================================================================== */

@media screen and (min-width: 701px) and (max-width: 1042px) {
  html {
    font-size: 18px; /* Adjust base font size */
  }
  
  .welcome {
    font-size: 28px; /* Increase font size for the header */
    margin-left: 0;
    width: 100%;
  }
  
  .title {
    width: 50%; /* Reduce title width */
    font-size: 22px; /* Adjust font size for titles */
    padding-bottom: 8px;
  }
  
  .row {
    flex-direction: row;
    margin-top: 80px; /* Adjust margin */
    width: 90%; /* Adjust row width */
    margin-left: 5%; /* Adjust margin */
  }
  
  .nobutton{
    max-width: 100px; /* Set a maximum width */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflowed content */
    text-overflow: ellipsis; /
  }
  
  .mxbutton, .nobutton {
    font-size: 18px; /* Adjust button font size */
    padding: 10px; /* Adjust button padding */
    border-radius: 18px; /* Smaller border radius */
    margin: 8px; /* Adjust margin */
  }
  
  #popup {
    width: 80%; /* Adjust popup width */
    max-width: 500px; /* Adjust max-width for popup */
    padding: 20px; /* Adjust padding */
  }
  
  #fileContent {
    font-size: 18px; /* Adjust font size for popup content */
    line-height: 1.5; /* Adjust line height */
  }
  
  #closeButton {
    font-size: 16px; /* Adjust font size for close button */
    padding: 10px 18px; /* Adjust padding */
  }
  
  /* Styling footer */
  footer {
    background-color: #05469cc2; /* Footer background color */
    color: #fff; /* Text color */
    text-align: center; /* Align text in the center */
    position: fixed; /* Fix the footer at the bottom */
    width: 100%; /* Full width */
    bottom: 0; /* Stick it to the bottom of the viewport */
    left: 0;
  }
  
}
