
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap');

html {
    font-size: calc(100vw * 0.010); /* 2% of the viewport width */
}

*:not(i) {
    font-family: 'Mukta', Poppins, sans-serif !important; 
}

.home-cards {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.4rem;
    margin-left: 1.7rem;
    margin-top: 1.7rem;
    border-radius: 0.4rem;
    text-decoration: none;
    font-size: 1.7rem;
    color: white;
    /* height: 100px;
    width: 200px; */
    height: 7.5rem;
    background-color: #0167bb;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
}

.home-cards:hover {
    box-shadow: 0 0 20px rgba(0, 0, 255, 0.7); /* Blue glow effect */
}

.accordion-item{
    margin: 20px;
}


/* CSS rules for screens wider than 768px */
@media screen and (min-width: 769px) {
    #main-container{
        height: calc(100vh - 11.1rem);
    }

    #big-slider-container{
        height: calc(100vh - 11.669rem);
        max-height: calc(100vh - 11.669rem);
    }

    .half-content-right{
        max-height: calc(50vh - 7rem); 
    }

  }
  
  /* Media query for screens narrower than 768px */
  @media screen and (max-width: 768px) {
    #left-tab{
        flex-direction: column;
        padding: 30px;
    }
   
   }

   #hierarchy-members-container{
    height: 100%;
    width: 100%;
   }

   #top-member{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px;
   }

   .selected-shadow {
    /* box-shadow: 0 0px 10px 7px rgb(83, 82, 82);  */
    /* Two blue shadows for depth */
    animation: remove-shadow 2s ease-in-out forwards;
  }

  @keyframes remove-shadow {
    0% {
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); /* No shadow at the end */
    }
    30% {
      box-shadow: 0 0px 0.7rem 0.7rem rgb(83, 82, 82);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); /* No shadow at the end */
      }
  }

   .active-nav{
    background-color: rgb(199 68 68);
    border-radius: 10px;
   }

   .member-card{
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
    border-radius: 1.7rem;
    padding: 1.7rem;
    margin-left: 0.2rem;
    margin-bottom: 0.2rem;
   }

   .member-card > img{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;

   }

   .member-card > div{
    margin-left: 1rem;
   }

   .member-card > div > h3{
    margin: 0px;
    padding: 0px;
    font-size: 1.1rem;
    font-weight: bolder;
}
   .member-card > div > p{
    margin: 0px;
    padding: 0px;
    font-size: 0.9rem;
}

#normal-members{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    /* grid-template-columns: minmax(250px, 1fr) minmax(250px, 1fr) minmax(250px, 1fr) minmax(250px, 1fr); */
    column-gap: 1.7rem;
    row-gap: 1.7rem;
    padding-left: 15px;
    margin-bottom: 40px;
}

.accordion-body h2{
    font-size: 1.2rem;
    font-weight: bolder;
}

.accordion-body .text-dark > div p{
    font-size: 1rem;
}

#carouselExampleFade, #carouselExampleFade2{
    position: relative;
    overflow: visible;
}

#carouselExampleFade img, #carouselExampleFade2 img{
border: 0.3rem solid #0167bb;
border-radius: 1rem;
}


.name-box{
    position: relative !important;
    bottom: 0px;
    left: 50%;
    transform: translateY(-54%) translateX(-50%);
    background-color: #0167bb;
    width: 90%;
    border-radius: 1.5rem;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    color: white;
    /* justify-self: center; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.name-box h4{
    font-size: 1rem;    
} 

.name-box p{
    font-size: 0.6rem;
    margin: 0px;
}

#left-main-container, #right-main-container{
    border: solid #c74444 0.7rem;
}

#right-main-container{
    border-left: 0px;
}

#header-design{
    position: relative;
    right: 6.2rem;
    top: -2rem;
    height: 7rem;
    background-color: #0167bb;
    width: 7rem;
    transform: rotate(45deg);
    transform-origin: 50% 50%;
}
#header-design-before{
    /* position: relative; */
    /* right: 50px;
    top: 0px; */
    height: 6rem;
    background-color: transparent;
    width: 6rem;
}

.nav-item{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.form-check-input:checked {
    background-color: #c74444; /* Change this to your desired color */
    border-color: #c74444; /* Change this to your desired color */
}

.hover-light:hover {
    background-color: #ececec;
    cursor: pointer;
}

.navbar-nav {
    display: flex;
    gap: 5rem;
    font-family: 'Mukta', Poppins, sans-serif;
}
