@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

/* Nav */
nav {
  height: 70px;
  background:   rgb(20, 20, 20);
  color: rgb(220, 220, 220);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.nav-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.overview,
.account {
  display: flex;
}
.overview {
  margin-right: 4rem;
}
.nav-items h3 {
  display: none;
}
.overview ol,ul{
  margin-bottom: 0 !important;
}
nav li {
  list-style: none;
  margin: 0px 1rem;
}
nav a {
  text-decoration: none;
  color: rgb(220, 220, 220);
}
nav a:hover {
  color: #a0ebfd;
}
nav a::after {
  content: "";
  display: block;
  height: 3px;
  background: #a0ebfd;
  width: 0%;
  transition: all ease-in-out 300ms;
}
nav a:hover::after {
  width: 100%;
}
#check,
.menu {
  display: none;
}

/* Hero section */
/* .hero-section {
  height: 100vh;
  background: url("hero-bg.jpg") center no-repeat;
  background-size: cover;
} */

/* Responsive */
@media (max-width: 750px) {
  .nav-items {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    justify-content: space-evenly;
    background: rgb(20, 20, 20);
    padding:2rem;
    right: -250px;
    transition: all ease-in-out 500ms;
  }
  .overview,
  .account {
    flex-direction: column;
    width: auto;
  }
  .overview {
    margin: 0;
  }
  .nav-items h3 {
    display: inline-block;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 1rem;
  }
  
  nav li {
    margin: 1rem 0;
  }
  nav a {
    display: inline-block;
    margin-right: 1rem;
  }
  nav a:hover {
    margin-left: 2px;
    transition: all ease-in-out 300ms;
  }
  .menu {
    display: inline-block;
    position: fixed;
    right: 2.5rem;
    z-index: 99;
  }
  #check:checked ~ .nav-items {
    right: 0;
  }
}
.heading{
  margin-top: 2rem ;
  font-size: 30px;
  text-align: center;
}
.para{
  text-align: justify;
  margin: 3vw 13vw;
  line-height: 1.6rem;
}
@media(max-width:700px){
  .heading{
    margin-top: 1rem;
  }
  .para{
    font-size:14px;
    line-height:1.2rem;
    margin:3vw 5vw ;

  }
}
#hindi-content{
  display: none;
}
.fac-box-con{
  justify-content: space-between;
  display: flex;
  margin: 3vw 8vw;
  flex-wrap: wrap;
  height: fit-content;
  }
.fac-box-left ul li,.fac-box-right ul li{
  font-size: 18px;
  line-height: 2rem;
  text-align: left;
}
.main{
  height: calc(100vh - 150px);
}
.para{
  margin-bottom: 130px;
}
#languageSelector{
  font-size: 15px;
}
.form-con{
  /* background-color: red; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.note-and-error{
  color: red;font-size:14px;
  padding: 5px;
  padding-left: 0px;
  padding-right: 15px;
}
#validation-error{
  font-size: 17px;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 1s ease-in-out;
}

.loader {
  text-align: center;
}

.loader .spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}

.loader p {
  margin-top: 20px;
  font-size: 1.2em;
  color: #3498db;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.slider-section {
  position: relative;
  width: 100%;
  height: 50vh; /* 50% of the viewport height */
  overflow: hidden;
}

.slide-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wrapper {
  display: flex;
  width: 1000%; /* 100% * number of images */
  height: 100%;
  animation: slide 25s infinite;
}

.wrapper img {
  width: 10%; /* Adjust based on the number of images (100% / 10) */
  height: 100%; /* Ensure images fill the container height */
  object-fit: cover; /* Maintain aspect ratio and cover the container */
}

.slider-heading {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.4em;
  min-width: 350px;
  animation: fadeInUp 2s ease-in-out;
}

.content-section {
  padding: 20px;
  text-align: center;
  height: 35vh; /* Adjusted height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeIn 2s ease-in-out 1s;
}

.left-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
  animation: fadeIn 2s ease-in-out 1s;
}

.btn-join {
  background-color: #ff6347;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1.2em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  animation: fadeIn 2s ease-in-out 1.5s;
}

.btn-join:hover {
  background-color: #ff4500;
}


@keyframes slide {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-10%) ;
  }
  30% {
    transform: translateX(-20%) ;
  }
  40% {
    transform: translateX(-30%) ;
  }
  50% {
    transform: translateX(-40%) ;
  }
  60% {
    transform: translateX(-50%) ;
  }
  70% {
    transform: translateX(-60%) ;
  }
  80% {
    transform: translateX(-70%) ;
  }
  90% {
    transform: translateX(-80%) ;
  }
  95% {
    transform: translateX(-90%);
  }
  100% {
    transform: translateX(-100%) scale(1.2) opacity(1);
}
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media(max-width:850px){
  
  .left-content h1{
    font-size: 45px;    
  }
  
  .left-content p{
    font-size: 13px;    
  }

}
@media(max-width:600px){
  
  .left-content h1{
    font-size: 33px;    
  }
}

.sidebar {
  margin: 0;
  padding: 0;
  width: 230px;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
}

.sidebar a {
  display: flex;
  color: black;
  padding: 16px 10px;
  text-decoration: none;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}
 
.sidebar a.active {
  display: flex;
  justify-content: center;
  padding: 5px 0px;
  background-color: #1f1e1e;
  color: white;
  margin-bottom: 10px;
}

.sidebar a:hover:not(.active) {
  background-color: #acacac;
  color: white;
}

div.content {
  /* margin-top: 20px; */
  margin-left: 230px;
  padding: 10px 16px;
  height: 1000px;
}

@media screen and (max-width: 800px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
}

@media screen and (max-width: 770px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}
.seats{
  overflow: hidden;
  flex-wrap: nowrap;
  overflow-x:scroll;
  /* margin-top: 3vw; */
  height: 5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;

}
.seat-boxes{
  height: 48px;
  width: 48px;
  background-color: green;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
.seats::-webkit-scrollbar{
  width: 5px;
  background-color: #f1f1f1;
}
.seats::-webkit-scrollbar-thumb{
  background-color: #9d9c9c;
  border-radius: 10px;
  width: 5px;
}
 /* Add this CSS to your style.css file */
 .seat-boxes:hover {
  transition:.4s;
  transform: scale(1.2);
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.seat-boxes {
  border-radius: 5px;
}

.info-window {
  animation: fadeIn 0.5s forwards;
}


.info-window{
  padding: 15px;
  height: 18rem;
  width: 36rem;
  background-color: rgb(240, 250, 255);
  position: fixed;
  top: 6vw;
  left: 20vw;
  z-index: 999;
  box-shadow: 0px 0px 5px 0px rgb(144 144 144);
  border-radius: 10px;
}
a{
  text-decoration: none;
}
.seats a{
  color: #232222;
}
.info-window p{
  margin-top:.3vw ;
  font-size: 15PX;
}

.info-window-footer button{
  margin-top: 15px;
  font-size: 16px;
  padding: 8px 12px;
  background-color:rgb(43, 153, 226);
  border: none;
  border-radius: 5px;
  position: fixed;
  color: #ffff;
  
}
.info-window img{
  width: 35%;
  float: right;
  border-radius: 10px;
  margin-right: 20px;
}
@media(max-width:650px){
  .info-window{
    height: 16rem;
    width: 92vw;
    top: 10vw;
    left: 5vw;
    
  }
  .info-window p{
    font-size: 11px;
  }
}
.searchbox{
  display: flex;
  justify-content: flex-end;
  gap: .2rem;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 1rem;
}
.searchbox input{
  padding: 4px;
  width: 16rem;
  outline: none;
  background-color: #ebeaea;
  border: none;
  font-size: 14px;
}
.searchbox select {
  font-size: 14px ;
}
.searchbox button{
  padding: 5px;
  width: 4rem;
  border: none;
  
}

.tablecon table{
  margin-top: 20px;
  width: 1600px;
}
.tablecon table th,td{
  padding: 10px;
  font-size: 11px;
  /* width: 100px; */
}
.tablecon table tr{
border: 1px solid #ccc;
}
.tablecon table tr td img{
 width: 5.5rem;
}


.tablecon th,
.tablecon td {
  padding: 5px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: 11px;
  color: #666; /* Lighten text color */
}



.tablecon tbody tr:hover {
  background-color: #f5f5f5;
}

.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

.status-completed,.status-pending  {
  background-color: #cfd21b;
  color: #fff;
  width: 80px;
}

.status-pending {
  background-color: #f44336;
  color: #fff;
}

.action-icons {
  display: flex;
  gap: 10px;
  justify-content: space-around;
}

.action-icons a {
  color: #333;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.action-icons a:hover {
  color: #007bff;
}

.student-image {
  width: 150%;
  border-radius: 4px; /* Rounded corners */
  display: block;
  /* margin: 0 auto; */
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination .page-item {
  list-style: none;
  margin: 0 5px;
}

.pagination .page-item .page-link {
  padding: 8px 16px;
  border: 1px solid #dee2e6;
  color: #007bff;
  background-color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pagination .page-item .page-link:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

@media (max-width: 1800px) {
  .tablecon {
      overflow-x: auto;
  }
}

#footer{
  background-color: #e4e4e4;
  height: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  bottom: 0;
  text-align: center;
  padding-top: 1vw;
  
}
#copyright p{
  font-size: 14px;
}
#media-link i,#media-link a{
  font-size: 21px;
  margin-left: 20px;
  text-decoration: none;
  color: #000;
}

@media(max-width:700px){
  #copyright p{
      font-size: 10px;
  }
}
#imagePreviewContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ddd;
  border-radius: 5px;
  padding: 2px;
  background-color: #f2f0f0;
  max-width: 100%;
  height: auto;
}

#imagePreview {
  max-width: 100%;
  max-height: 170px; /* Adjust as needed */
  border-radius: 8px;
  object-fit: contain; /* Ensures the image maintains aspect ratio */
}

