* {
    padding: 0px;
    margin: 0;
    box-sizing: border-box;
}

/* Define theme colors in the root */
:root {
    
    --control: #818181 ; 
    --accent-color: #ff5722;
    --text-color: #fff;
    --body-color:#222324;
    --nav-link-color:#fff;

}

html, body{
    
    padding: 0;
   
}
body {
    display: flex;
    background-color: var(--body-color);
    flex-direction: column;
    overflow: hidden;
    height: 100vh;

  
}


header {
    padding: 0;    
    position: relative;
  
    text-align: center;
    background-image: url('/help/_images/matrix.png');
    background-size: cover; /* Makes the image cover the entire element */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
 
}

dl,ul,ol {
    margin-left: 33px;
}

a {
 color: var(--primary);
}

a:hover {
 color: var(--accent-color);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    
    gap: 10px;
    width: 24px;
    height: 24px;
    color: var(--body-color);
    margin-bottom: 0!important;
    
}
.logo:hover img {
    transform: scale(1.5);
    transition: ease-in-out;
    transition-duration: 400ms;
}

.logo>h5{
    margin: 0;

}

.nav-link i {
    margin-right: 5px; /* Adds space between the icon and the text */
    font-size: 15px; /* Adjusts icon size */
    color: var(--nav-link-color);
  
}
 
.nav-link:hover i {
    margin-right: 5px; /* Adds space between the icon and the text */
    font-size: 15px; /* Adjusts icon size */
    color: var(--accent-color);
    transform: scale(1.5);    

}

.nav-link{
    margin-right: 5px; /* Adds space between the icon and the text */
    font-size: 15px; /* Adjusts icon size */
    color: var(--nav-link-color)!important;
    backdrop-filter: blur(10px) brightness(0.5) opacity(0.5);
    border-radius: 4px;
}

.nav-link:hover{
  
    color: var(--accent-color)!important;   

}
 

main{

    display: flex!important;
    flex-direction: row;   
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
    /* grid-template-columns: auto minmax(200px, 250px);       */
  
    overflow-y: auto; /* Enable vertical scrolling */
    scroll-behavior: smooth; 
    scrollbar-width: thin; /* Make the scrollbar thin */
    scrollbar-color: var(--control-half) transparent; /* Thumb color and track color */     
    scrollbar-gutter: both-edges;
 
}


header h1 { 
 color: var(--text-color);
 font-size: 2rem!important;
}

header h5 { 
 color: var(--text-color);
 font-size: 1.2rem!important;

}

article h1 { 
 color: var(--text-color);
 font-size: 2rem!important;
 margin-bottom: 1rem!important;
 margin-top: 1rem!important;

}

article h3 { 
 color: var(--control);
 font-size: 1.5rem!important;

}

article h4 { 
 color: var(--control);
 font-size: 1.25rem!important;

}


article h5 { 
 color: var(--control);
 font-size: 1.2rem!important;

}

article{          
    flex: 1;
    position: relative;
    margin: 5px;    
    border-radius: 10px;
    color: var(--text-color);
   
}

article p { 
  margin-top: 1rem;
  margin-bottom: 1rem;
}


article dd { 
  margin-top: 0.5rem;
  font-size: 0.9rem;
}


article li { 
  padding-bottom: 0.6rem;
}

article table { 
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color:unset!important;
}

article .table-hover tbody tr:hover{

 color:var(--accent-color)!important;

}

article .img-fluid { 
  margin: 1rem;
}

article pre {
 font-size: 0.7rem;
    border-style: solid;
    border-width: thin;
    border-color: gray;
    border-radius: 6px;
    padding: 16px;
    margin: 6px 12px;
    color: turquoise;
}


footer p { 
  font-size: 0.8rem;
  color: var(--control);
}

footer h5 { 
  font-size: 1rem;
  color: var(--control);
}



aside  {    
    width: 250px;
    padding: 10px;
    position: relative;
    margin: 5px;    
    margin-left: 0px;
    border-radius: 10px;
    color: var(--text-color);
    backdrop-filter: opacity(0.1) brightness(0.8);     
}
 

footer {
    
    position: relative;
    color: var(--body-color);
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.2rem;
    backdrop-filter: blur(10px) brightness(0.3) ;
    
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 70%; 
    max-width: 80%; 
    
  }

  .img-fluid:hover {
    cursor: pointer;
  }
  
  
  /* @keyframes zoom {
    from {
      transform: scale(0)
    }
  
    to {
      transform: scale(1)
    }
  } */

  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  
  /* Close button */
  .close {
    position: absolute;
    top: 40px;
    right: 35px;
    color: white!important;
    text-shadow: 0 0 5px var(--accent-color);
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {    
    text-decoration: none;
    cursor: pointer;
    color:var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color) ,  0 0 15px white;
  }


@media only screen and (max-width: 768px) {
     
    footer {
        display: none!important;
    }
    article {
        width: 100%;
        
    }
    aside {
        width: 100%;  
        margin: 5px;
        margin-bottom: 100px;
        
    }
}