/* Style for comic preview */
 
.comic-preview {
    position: relative;
    width: 100%;
    cursor: pointer;
  }
  
  .comic-preview img {
    width: 100%;
    display: block; /* Removes bottom space/gap */
    transition: filter 0.3s ease; /* Smooth transition for the blur effect */
  }
  
  .comic-preview:hover img {
    filter: blur(8px); /* Apply blur effect on hover */
  }
  
  .overlaybook {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    width: 100%;
  }
  
  .comic-preview:hover .overlaybook {
    opacity: 1; /* Show the overlay text on hover */
  }
  /* The Modal (background) */
  .comic-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .book {
    position: relative;
    width: 90%;
    max-width: 1024px;
    height: 600px;
    margin: 40px auto;
    perspective: 1000px;
  }
  
  .book-content {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1s;
  }
  
  .page {
    width: 50%; /* Half of the book */
    height: 100%;
    position: absolute;
    top: 0;
    overflow: hidden;
    backface-visibility: hidden;
    display: flex;
    align-items: center; /* Center the image vertically */
    justify-content: center; /* Center the image horizontally */
  }
  
  .page img {
    max-width: 100%;
    max-height: 100%;
  }
  
  #leftPage {
    left: 0;
    transform-origin: left center;
    z-index: 2;
  }
  
  #rightPage {
    right: 0;
    transform-origin: right center;
  }
  
  /* Close button */
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Navigation buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
  }
  
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .prev {
    left: 0;
    border-radius: 0 3px 3px 0;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }


/* Navbar styling */
.navbar {
  background-color: #666666; /* Example color, adjust as needed */
  color: #660066;
}

.nav-item.nav-link {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-item.nav-link:hover, .nav-item.nav-link.active {
  background-color: #CC9900;
  color: #fff;
}

.navbar-toggler {
  border: none;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-input {
  border: 2px solid #ccc;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
}

.search-button {
  background-color: #660066;
  color: #fff;
  border: none;
  padding: 5px 15px;
  border-radius: 20px;
  cursor: pointer;
}

.search-button:hover {
  background-color: #550055;
}


.student-access-section {
  padding: 40px 0; /* Padding around the section */
  text-align: center; /* Center aligning the text */

  display: flex;
  justify-content: center;
}

.access-container {
  width: 50%; /* Max width of the form container */
  margin: 0 auto; /* Centering the container */
  padding: 20px;
  background-color: #5b5b5b; /* White background for the form area */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Subtle shadow for depth */
  border-radius: 20px; /* Rounded corners for the container */
}

.form-group {
  margin-bottom: 15px; /* Spacing between form groups */
}

.control-label {
  display: block;
  margin-bottom: 5px;
  color: #ffffff; /* Dark grey color for text */
  font-weight: bold;
  font-size: x-large;
}

.form-control {
  width: 90%; /* Full width */
  padding: 8px 12px; /* Padding inside the input */
  border: 1px solid #ccc; /* Border for the input */
  border-radius: 20px; /* Rounded borders for the input */
  box-sizing: border-box; /* Controls box model to include padding and border */
  margin-left: auto;
  margin-right: auto;
}






@media (max-width: 767px) {
  .student-access-section {
    padding: 40px 0; 
    text-align: center; 
}

.access-container {
    width: 500px; 
    margin: 6%; 
    padding: 20px;
    background-color: #4f4f4f; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    border-radius: 20px; 
}


}
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@500&display=swap');
:root{
    --main :#0a192f;
    --mainlight: #172a46;
    --white :#ccd6f6;
    --cyan :#5ff0d0;
    }
* {
    margin: 0;
    padding: 0;

}


input {
    color: var(--cyan);
    background-color: var(--main);
    height: 40px;
    width: 300px;
    border:none;
    border-radius: 10px;
  font-size: 15px;
  text-shadow: var(--cyan) 0px 0px 20px;
}
input:focus {
    color: var(--cyan);
    outline: none;

  border: 1px solid var(--cyan);
}
input:hover {
  box-shadow: var(--cyan) 0px 0px 20px;
  border: 1px solid var(--cyan);

}

input[type="submit"] :focus::-webkit-input-placeholder {
    color:transparent;
}
input[type="submit"] {
    color:var(--cyan);
    margin-top: 15px;
    background-color: var(--mainlight);
    border: 1px solid var(--cyan);
    border-radius: 10px;
    width: 300px;
    height: 45px;
    text-shadow: var(--cyan) 0px 0px 20px;
    box-shadow: rgb(95, 240, 208, 15%)  0px 0px 50px;
    transition:  transform 0.3s ease;
}
input[type="submit"]:hover {
    color: var(--main);
    background-color: var(--cyan);
    cursor: pointer;
    box-shadow: var(--cyan) 0px 0px 40px;
    transform: translateY(-5px)!important;
}

.QQQQ:focus::-webkit-input-placeholder {
  color:transparent!important ;
}
.QQQQ {
  color:var(--cyan)!important;
  background-color: var(--mainlight)!important;
  border: 1px solid var(--cyan)!important;
  border-radius: 10px!important;
  width: 100px!important;
  height: 45px!important;
  text-shadow: var(--cyan) 0px 0px 20px!important;
  box-shadow: rgb(95, 240, 208, 15%)  0px 0px 50px!important;
  transition:  transform 0.3s ease!important;
}
.QQQQ:hover {
  color: #000000!important;
  background-color: var(--cyan)!important;
  cursor: pointer!important;
  box-shadow: var(--cyan) 0px 0px 40px!important;
  transform: translateY(-3px)!important;
}

@keyframes glowing-border {
  0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
  50% { box-shadow: 0 0 20px rgb(231, 8, 8); }
  100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
}

.glowing-container {
  border: 2px solid rgb(0, 255, 60); 
  padding: 20px;
  margin: 20px;
  animation: glowing-border 2s infinite ease-in-out;
}
