/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main{
  color:darkblue; 
  text-align:justify;
  margin-left:15px; 
  margin-right:5%;
  font-size:1.2rem;
}


.lheading {
  color:darkblue;
  display: table;
   font-size: 1.2rem;
  font-weight: bold;
  text-align:justify;
  justify-content: center;
  text-shadow: .5px 10px 5px black;
   border-radius: 5px;
  padding: 5px 10px; /* Adjust padding as needed */
  margin: 0 auto; /* Center the element */
}

/* Button styles */
.button-container {
  text-align: center; /* Center the buttons */
  margin-top: 20px; /* Add space above the buttons */
}
.button-container button {
  background-color: #4CAF50; /* Green background */
  border: none;
  color: white; /* White text */
  padding: 15px 32px; /* Padding for button size */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px; /* Rounded corners */
}
.button-container button:hover {
  background-color: #45a049; /* Darker green on hover */
}

.para{
   text-align:justify;
  margin:3%;
  }

.th{
  background-color: rgb(240, 237, 103);
  align-items:center;
}
.th1{
background-color: rgb(226, 231, 231);
align-items:center;
}
  .th2{
  background-color: rgb(211, 211, 211);
  align-items:center;
}
.table {
  border-collapse: collapse;
  margin: 0 auto; /* Center align tables horizontally */
  font-size: 0.8rem;
  margin:0%;
 
 }
.center-table {
  width: 80%;
  margin-left:5%;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height:1.5;
}

table {
        width: 90%; /* Adjust width as necessary */
}

@media only screen and (max-width: 768px){
  .para, .lheading, .main, table, h6 {
      font-size: .6rem;
      line-height: .8rem;
      width: 90%;
  }
   td{
width:5%;
}
}

@media only screen and (max-width: 480px) {
  .main p {
      font-size: .6rem;
  }
}

/* for Virtual Classroom and Computer Lab */
.computer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
}
.computer img {
  max-width: 45%;
  height: auto;
  border-radius: 10px;
}

@media only screen and (max-width: 768px) {
  .computer img {
    max-width: 90%;
    margin: 10px 0;
  }
}

/* New photo gallery , Old photo gallery and For Alumni */

.alumni {
  text-align: center;
  line-height: 1.5;
}
.alumni-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.alumni img {
  width: 100%; /* Ensure all images occupy 100% of their parent container's width */
  max-width: 100%; /* Ensure images don't exceed their parent container's width */
  height: auto; 
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  aspect-ratio: 1 / 1; /* Enforce a fixed aspect ratio of 1:1 */
  transition: transform 0.3s ease-in-out; /* Smooth transition for the scaling effect */
}
.alumni img:hover {
  transform: scale(1.5); /* Scale up the image on hover */
}
@media (max-width: 768px) {
  .alumni, .alumni-list, .alumni img {
      font-size: .6rem;
      line-height: .8rem;
      width: 90%;
  }
   td{
width:5%;
}
}

@media (max-width: 480px) {
  .alumni, .alumni-list, .alumni img {
      font-size: .6rem;
  }
}

  

   