body {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
    url('../assets/images/background2.png');
  background-size: cover;
  color: white; /* Ensure text is white to contrast with the dark overlay */
}
.outer-container{
    padding: 20px;
    width:100%;
    height:100%;
}
.header{
    background-color: black;
    margin-top: 0%;
    width:100%;
    height:50px;
}
hr.dfs{
    color: rgb(10, 114, 233);
}

    .hello {
        background-color: #ffe;
        flex-grow: 1;
    }
    .textbox {
      display: inline-block;
      padding: 10px; /* Adjust as needed */
  }
    .subheader{
        height: 50px;
       margin-top: 30px;
    }
    .canvas{
       height:100%;
       width:100%;
       margin-top:5px;
       background-color: black;
       overflow: hidden;
      
    }
    .select{
        padding:6px;
        border-radius:5px;
        display: inline-block;
        margin-left:5px;
    }
    .select-ml{
      flex-grow: 1;
      place-items: center;    
    }
    .center-container {
    display: grid;
    place-items: center;    
    
    }
    .center-container-checkbox {
    display: -moz-grid-group;
    place-items: center;  
    margin-left: 30%;
    }
    .radio-label {
      display: inline-block;
      cursor: pointer;
      padding-right:5px;
    }
    .subheader{
        height: 50px;
       margin-top: 10px;
       margin-left:11%;
    }
   .rows{
    display:inline-flex;
    margin-top: -3px;
   }
  
   
    .unvisited{
        width:30px;
        height: 30px;
        border: 1px solid grey;
    }
 /**.hexagon{
    width:5px;
    height:10px;
    margin :2px;
    background-color: #111;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: animation 4s linear infinite;
 }**/
 .hexagon{
  width:30px;
  height:30px;
  background-color: #fff;
  border:1px solid grey;
  border-radius: 5px;
  animation: animation 4s linear infinite;
}
 .queue{
    background-color: #0f0;
 }
 .icon-start{
    size: 30px;
    color: rgb(10, 114, 233);
    padding: 5px;
 }
 .icon-target{
    size: 30px;
    color: red;
    padding: 5px;
 }
 .visit{
    width:50px;
    height:60px;
    margin :2px;
    background-color: rgb(10, 114, 233);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
 }
 .hexagon:hover{
    background-color: rgb(10, 114, 233);
 }
 input[type="radio"]{
   display: none;
   background-color: #fff;
 }
 label{
   position: relative;
   color: #fff;
   font-family: 'Poppins', sans-serif;
   align-items: center;
   border: 1px solid #fff;
   padding: 3px 45px;
   border-radius: 50px;
 }
 label:before{
   position:absolute;
   content: "";
   height: 20px;
   width: 20px;
   border: 1px solid #fff;
   border-radius: 50%;
   margin-left: -40px;
 }
 input[type="radio"]:checked + label{
   background-color: #fff;
   color: #111;
 }
 input[type="radio"]:checked + label:before{
   height:16px;
   width:16px;
   border:10px solid #111;
   background-color: #fff;
 }
 .gradient-circle-text {
  /* Create a circular outline around the text */
  width: auto;
  height: auto;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  padding:4px;
  
  /* 2. The Border Magic */
  border: 2px solid transparent;
  background: 
    linear-gradient(white, white) padding-box, /* Inner background color */
    linear-gradient(to right, #f97316, #fb923c) border-box; /* The gradient border */
  
  /* 3. Text Styling */
  font-family: sans-serif;
  font-weight: bold;
  color: #1e3a8a;
}
.my-nav {
   float: right;
   text-align: right;
   margin-left: auto;
 }
 .cert-image{
  float: left;
  text-align: left;
  margin-left: auto;
  border-radius: 50%; /* Rounded corners */
  border: 0px solid; /* Border thickness */
  background: linear-gradient(45deg,  white,purple,); /* Gradient direction and colors */
  padding: 1px; /* Space between image and border */
 }
 .cert-image:hover{
  border-radius: 50%; /* Rounded corners */
  border: 2px solid grey; /* Border thickness */
  padding: 1px; /* Space between image and border */
 }
 
 .nav-link {
   background-color: #f8f9fa;
   color: #007bff;
 }
 .sub-nav-link{
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  padding:10px;
  color:white;
  text-decoration: none;
  
 }
 .sub-nav-link.active {
  background: rgba(255, 255, 255, 0.2);
}
 .sub-nav-link:hover{
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  padding:10px;
  color:white;
  text-decoration: none;
  
  background: rgba(255,255,255,0.5);
 }
 .img-size{
   width:40px;
   height:40px;
   display: block;
   margin-left: auto;
   margin-right: auto;
   margin-top: 20%;
   
 }
 .upload-text{
   margin-left:46%;
   font-size: large;
  
 }
 .ml-tab{
   height:600px;
 }
 .hiddenfile {
   width: 0px;
   height: 0px;
   overflow: hidden;
}

label.error {
   color: #ff3333;
}
.embed-style{
   width:70px;
   height:70px;
   border-radius:50%;
   padding:5px;
  

}
.table-style{
   width:50%;
}
.name-style{
   font-size:11px;
}
.link-style{
   text-decoration:none;
   font-weight: bold;
   color:#292833;
}
  /* Handle the duplicate floating-card-2 
     Since it's absolutely positioned outside the main card, 
     we'll assume its intended purpose was for a mobile-like floating UI 
     and apply the same max-width logic to keep it visible on small screens.
  */
  .floating-card-2 {
    position: absolute;
    left: 50%;
    bottom: 5%;                
    transform: translateX(-50%); 
    width: clamp(260px, 40vw, 420px);
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(14px);
    border-radius: 35px;
    padding: 14px 16px;
    color: #e5e7eb;
    font-size: 0.75rem;
    display: flex; 
    justify-content: space-around;
    z-index: 10;
  }
/* Gallery styling */
.image-gallery {
  display: flex;
  gap: 10px;
  margin: 20px;
}

.gallery-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: hidden; /* Prevents overflow of content */
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 98%; /* Max height of modal content */
  overflow: hidden; /* Prevents any overflow from the image */
  display: flex;
  padding:100px;
  flex-direction: column;
  justify-content: center;
}

#pdf-canvas {
  width: auto; /* Allow the width to adjust according to height */
  height: 100%; /* Make the image fit within the available height */
  display: block;
}

.nav-btn {
  position: absolute;
  top: 50%;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: black;
  transform: translateY(-50%);
  z-index: 10;
}

#prev-btn {
  left: 10px;
}

#next-btn {
  right: 10px;
}

/* Close button styling */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10;
}


img.hover:hover {border:3px solid #4682B4;}
img.hover-b:hover {border:3px solid yellow;}
img.hover-c:hover {border:3px solid green;}
img.hover-d:hover {border:3px solid #FF8C00;}
img.hover-e:hover {border:3px solid #900C3F;}
img.hover-f:hover {border:3px solid #581845 ;}

#cardA:hover {
   border:2px solid grey;
   border-radius:5px;
   }
   .image-row {
      display: flex; 
      justify-content: flex-start;  
    }
    .image-row span {
      display: block;
      margin-top: 5px;
      font-size: 12px;
      color: #333;
      font-weight: bold;
    }
    
    .image-row img {
      width:70px;
      height:70px;   
      margin: 10px;  
      border-radius:50%;
      padding:5px;
    }
    .flex-container {
      display: flex;
    }
    
    .flex-child {
      flex: 1;
    }
    .select-box{
      width:500px;
      height: 40px;
      border-radius: 6px;
      border: 1px solid black;
    }
    .grid-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-gap: 10px;
    }
    
    .item {
      padding: 10px;
      border: 1px solid #fff;
    }
    .inline-items {
      display: flex;
    }
    @media (min-width: 600px) {
      /* Adjust styles for screens wider than 600px */
      .textbox {
          width: 10%;
      }
  }
  /* Mobile/Minimized View */
@media (max-width: 700px) {
  .floating-card-2 {
    display: none;
  }
}
 /*@keyframes animation {
    0%{
        filter:hue-rotate(0deg);
    }
    100%{
        filter: hue-rotate(10deg);
    }
    
 }
 .hexagon:after{
    content:'';
    position:absolute;
    top:4px;
    bottom: 4px;
    left: 4px;
    right: 4px;
    background-color: #111;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

 }*/

 

    