.exam_button{
  position: 'absolute';
  top: '40%';
  left: '50%';
  transform: 'translate(-50%; -50%)'; 
  width: '100%';
  padding: '0 15px';
}
.exam_slug_btn {
  max-width: 250px;
  display: inline-flex; /* Allows items inside the button to be aligned */
  align-items: left; /* Center items vertically */
  background: rgb(75, 75, 255); /* Background color */
  color: #FFF; /* Text color */
  border: 1px solid rgb(60, 60, 240); /* Border color */
  border-radius: 5px; /* Rounded corners */
  padding: 7px 15px; /* Top/bottom and left/right padding */
  font-size: 14px; /* Font size */
  text-decoration: none; /* Remove underline from text */
  transition: background 0.3s, transform 0.3s; /* Smooth transition for background and transform */
}

.exam_slug_btn:hover {
  background: rgb(90, 90, 255); /* Change background on hover */
  transform: translateY(-2px); /* Slight lift effect on hover */
}

.exam_slug_btn:active {
  transform: translateY(0); /* Reset lift effect when active */
}

.icon-hover-effect {
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon-hover-effect:hover {
  transform: scale(1.2);
  color: #f39c12; 
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.exam_slug_btn i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.exam_slug_btn i:hover {
  transform: rotate(15deg) scale(1.3);
  color: #16a085; 
}


.folder-card {
  float: left;
  max-width: 150px !important;
  margin: 2em 1em;
  background-color: #ffc107;
  border: 1px solid #ddd;
  border-radius: 8px;
  position: relative;
  padding: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.folder-card a{
  font-size: 14px;
  color: #FFF;
}

.folder-card:hover {
  background-color: #e6f7ff;
  transform: scale(1.05);
}

.folder-header {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.folder-icon {
  color: #ffc107; /* Folder color */
}

.folder-body {
  padding: 10px;
}

.folder-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.folder-description {
  font-size: 14px;
  color: #777;
}

.folder-count {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.folder-card:before {
  content: '';
  position: absolute;
  top: -10px;
  left: 10px;
  width: 40px;
  height: 20px;
  background-color: #ffc107;
  border-radius: 4px 4px 0 0;
}

.content-display{
  overflow-y: scroll;
  width: 100%;
  overflow-x: hidden;
  margin-top: 47px !important;
}
.light-color {
  background: #f1f1f1;
}
.header-nav-color{
  position: fixed;
  width: 100%;
  z-index: 999;
  background: #7183ff;
}
.nav-color{
  background: #8f9dff;
}
.login-bg{background-image: url('../front.png'); background-repeat: no-repeat; background-size: cover; height: 100vh;}
.login-form {
    width: 95%;
    display: block;
    float: right;
    margin-top: 3em;
    background: #f5f5f5;
    border-radius: 7%;
    padding: 1em;
}
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  color: white;
  font-weight: bold;
}

.bg-success {
  background-color: green;
}

.bg-danger {
  background-color: red;
}

.bg-secondary {
  background-color: gray;
}

.bg-correct{
   background: #e0ede6 !important;
}
.bg-wrong{
  background: #ffe9e9 !important;
}
.correct-answer {
  background-color: #d4edda;
  color: #155724;
}

.incorrect-answer {
  background-color: #f8d7da;
  color: #721c24;
}


/* Styles for desktop view */
@media (min-width: 768px) {
    .login-form {
        width: 32%;
    }
}

.login-div{padding: 10px 7px;}
a {
    text-decoration: none;
    cursor: pointer;
}
.login-page {
    width: 100%;
    height: 100vh;
    display: inline-block;
    display: flex;
    align-items: center;
}
.form-right i {
    font-size: 100px;
}
.side-navbar {
    width: 250px;
    height: 100%;
    position: fixed;
    margin-left: -300px;
    transition: 0.5s;
    color: #FFF;
    z-index: 999;
    margin-top: 46px;
  }
   .nav-link a{
    color: #FFFFFF !important;
    cursor: pointer;
   }
/* Base styling for nav items */
.nav-item ul {
  list-style: none;
  padding-left: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
}

.nav-item ul li {
  position: relative; /* For positioning child elements */
}
.make-blur {
  filter: blur(4px); /* Adjust the blur intensity as needed */
  transition: filter 0.3s ease-in-out;
}

.nav-item ul li a {
  display: block;
  background: #F5F5F5;
  color: #333 !important;
  padding: 0.5em 1em;
  text-decoration: none;
  border: 1px solid #ddd; /* Optional: Adds a border around items */
  position: relative; /* For positioning pseudo-elements */
}

.nav-item ul li a:hover {
  background: #e0e0e0; /* Light grey background on hover */
}

/* Add tree lines and arrows */
.nav-item ul li::before {
  content: '';
  position: absolute;
  left: -1.5em; /* Adjust based on your design */
  top: 50%;
  height: 1em;
  width: 1em;
  border-left: 1px solid #ddd; /* Vertical line */
  border-bottom: 1px solid #ddd; /* Horizontal line */
  border-radius: 0 0 0 0; /* For corner styling */
  transform: translateY(-50%);
}

.nav-item ul li > ul {
  display: none; /* Hide nested lists by default */
  padding-left: 2em; /* Indent nested lists */
}

.nav-item ul li:hover > ul {
  display: block; /* Show nested lists on hover */
}

.nav-item ul li > ul > li::before {
  border: none; /* Remove line for sub-items */
}

.nav-item ul li > ul > li > ul::before {
  border: none; /* Remove line for sub-sub-items */
}

.nav-item ul li > ul > li > ul > li::before {
  border-left: 1px solid #ddd; /* Vertical line for deeper levels */
  border-bottom: 1px solid #ddd; /* Horizontal line for deeper levels */
  left: -2.5em; /* Adjust based on your design */
}
/* add ucstom css in nav menu */
/* article blog css */
.blog-article {
  transition: transform 0.3s ease-in-out;
}
.blog-article a:hover{
   cursor: pointer;
}

.blog-article:hover {
  transform: scale(1.02);
  background: #F5F5F5;
}

.img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.blog-article:hover .img-container img {
  transform: scale(1.1);
}

/* blog css end */

   .nav-item ul li a:hover{
    background: #DDD;
    color: #008000 !important;
    padding-left: 2em !important;
   }
   .nav-link{
    cursor: pointer;
   }
  
  .nav-link:active,
  .nav-link:focus,
  .nav-link:hover {
    background-color: #ffffff26;
  }
  
  .my-container {
    transition: 0.4s;
  }
  
  .active-nav {
    margin-left: 0;
  }
  
  /* for main section */
  .active-cont {
    margin-left: 250px;
  }
  
  #menu-btn {
    background-color: #dc3545;
    color: #fff;
  }
  
  .my-container input {
    border-radius: 2rem;
    padding: 2px 20px;
  }