.techfont{
    font-family: 'Russo One', sans-serif;
    font-size: 1.5em;
    margin-bottom:10px
}

.white_color {
    color: rgba(255,255,255,0);
    background-color:rgba(255,255,255,0);
}
.bigbrand{
    font-size: 1.5em;
    color: white;
}

.centerstage{
    margin-left: auto;
    margin-right: auto;
}

  /* .loader {
    filter:hue-rotate(0deg);
    color:linear-gradient(45deg,#0f8,#08f);
    animation:hue 10000ms infinite linear;
   
  } */

  .postdate{
    text-align: center;
  }

  .posttitle{
    font-family: 'Russo One', sans-serif;
    font-size: 5vw;
    text-align: center;
  }
  

  .postcontent {
    font-family: 'Montserrat';
    font-size: 1.5em; 
    /* Ensure content is responsive */
    max-width: 100%;
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  
  .container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 15px;
}
  .btn-comment{
    position: absolute;
    right: 0px;
  }

  /* COLOR CHANGER */

  @keyframes spinify {
    0% {
      transform: translate(0px,0px);
      
    }
    33% {
      transform: translate(0px,24px);
      border-radius:100%;
      width:10px;
      height:10px;
   
    }
     66% {
      transform:translate(0px,-16px);
    }
    
     88% {
      transform:translate(0px,4px);
       
    }
    100% {
      transform:translate(0px,0px);
    }
  }
  @keyframes hue{
    0%{filter: hue-rotate(0deg);}
    100%{filter:hue-rotate(360deg);}
    
  }


/* #### */

.nav-item, .nav-link{
    color: white;
  }

 
  .nav-item .nav-link:hover {
    background-color: #198754;
    color: white;
    border-radius: 5px;
  }


  .navbar-nav .nav-link {
    border-right: 1px solid #fff;
    padding-right: 10px;
  }
  .navbar-nav .nav-link.active {
    background-color: #198754;
    color: white;
    border-radius: 5px;
  }
  
  .navbar-brand img {
    padding-right: 2px;
    color: white;
    display: flex;
    align-items: center;
    width: 80px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
  }

  .navbar-brand:hover, .navbar-brand:focus {
    color: white; /* Maintain white text color on hover and focus */
  }

  .navbar {
    background-image: url('../images/bgtrans.png'); /* Background image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds a subtle shadow for a lifted effect */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Light Gborder to enhance the elevated look */
    position: relative; /* Ensure positioning context for z-index */
    z-index: 1050; /* Higher z-index to keep it above other elements */
  }
  
  
  .container-background{
    /* height: 100vh; Ensure the html and body elements take up the full height */
    margin-top: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    background-image: url('../images/bgtrans.png'); /* Update with your image path */
    background-size: cover; /* Ensures the image covers the entire body */
    background-repeat: repeat; /* Allows the image to repeat if it's smaller than the viewport */
    background-size: cover; /* Keep the image's original size */
    background-position: top left; /* Position the image at the top left corner */
    background-attachment: fixed;
    border: 10px solid black; /* Keeps the background image fixed in place while scrolling */
    height: fit-content;
    min-height: 100vh;
    position: relative;
    display: flex;
  }

  .carousel-container{
    padding-left:10px;
    background-color: white;
 
  }

  
  .content-wrapper {
    background-color: white; /* White background for the content area */
    margin-left: 120px; /* Initial margin for larger screens */
    margin-right: 120px; /* Initial margin for larger screens */
    padding: 20px; /* Add padding around the content */
    max-width: calc(100% - 240px); /* Adjust max-width based on margins */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for a floating effect */
    margin-bottom: 0;
    flex: 1;
    padding-bottom: 4rem;
}

/* Adjust margins and max-width for smaller screens */
@media (max-width: 1200px) {
    .content-wrapper {
        margin-left: 60px; /* Smaller margin for medium screens */
        margin-right: 60px; /* Smaller margin for medium screens */
        max-width: calc(100% - 120px); /* Adjust max-width based on margins */
    }
}

@media (max-width: 768px) {
  .content-wrapper {
      margin-left: 15px; /* Small margin for mobile screens */
      margin-right: 15px; /* Small margin for mobile screens */
      max-width: calc(100% - 30px); /* Adjust max-width based on margins */
  }
}
  .carousel-caption h5{
    color: black;
    padding-top: 0;
    margin-top: 0; 
    background-color: white ;
    max-width: 60%;
    margin: auto;
    margin-top: 0;
  }

  .carousel-inner{
    max-width: 95%;
    margin: auto;
  }
  .carousel-slide {
    width: 20%; /*Adjust this value as needed */ 
    height: auto;
    display: block; /* Ensures the image does not exceed the container's width */
    margin: 0 auto; /* Centers the image if the width is less than the container */
  }
 
  .blog_posts .row .container-background{
    border: 10px solid black;
  }

.grid-marg-cover .col {
    padding: 0;
    margin: 0;
    margin-top: 30px;
}
.grid-marg-cover img {
    width: 95%;
    height: auto;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
    border: 1px solid gray;

}

.grid-marg-cover .list-title {
  width: auto;
  text-align: center; /* Ensure the text is centered */
  font-family: 'Montserrat', sans-serif;
  font-size: 0.1em;
  color: #333;
  margin: 0; /* Remove any extra margin */
}

.grid-marg-cover .list-title a {
  color: inherit;
  text-decoration: none;
  font-size: 0.5em;
  margin:0
}

.grid-marg-cover .list-title a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.grid-marg-cover .comments-list{
  width: auto;
  text-align: center; /* Ensure the text is centered */
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  color: #333;
  margin: 0; /* Remove any extra margin */

}
.cover-photo .col {
  position: relative;
  overflow: hidden; /* Hide any overflowed parts of the image */
}

.date{
  text-align: center; /* Ensure the text is centered */
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  color: #333;
  margin: 0; /* Remove any extra margin */
}

.cover-photo-img {
  width: 95%; /* Make image fit the container width */
  height: 200px; /* Fixed height for uniformity */
  object-fit: cover; /* Cover the area without distorting aspect ratio */
  display: block;
  border-radius: 8px; /* Optional: for rounded corners */
}

.cover-photo-link {
  display: block; /* Ensure link takes up the entire space */
}

.footer-container {
  position: absolute;
  bottom: 0;
  width: 100%;

}

/* Ensure the footer sticks to the bottom and overlays content */
.footer-container footer {
  padding: 1rem;
  margin-left: 120px; /* Center the content horizontally */
  margin-right: 120px; /* Center the content horizontally */
  /* border-top: 1px solid #dee2e6; */
}



footer ul.nav {
  margin-bottom: 0; /* Reset bottom margin */
}

footer p {
  margin: 0; /* Reset bottom margin */
  padding-bottom: 0; /* Reset padding */
}

.container-fluid.cover-blog {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Optional: set a max width for the container */
  max-width: 100%;
}


.centered-image {
  max-width: 50%;
  height: auto;
  /* Optional: Set a specific width if needed */
  width: 50%; /* Adjust this value as needed */
}


.postcontent img {
  display: block; /* Ensure images are block elements */
  max-width: 100%; /* Ensure images are responsive */
  height: auto; /* Maintain aspect ratio */
  margin: 0 auto; /* Center the image */
  padding: 0; /* Remove padding */
}


/* Align left */
.postcontent .image-style-align-left {
  float: left;
  margin-right: 15px;
  /* margin-bottom: 15px; */
  max-width: 100%;
}

/* Align right */
.postcontent .image-style-align-right {
  float: right;
  margin-left: 15px;
  /* margin-bottom: 15px; */
  max-width: 100%;
}

/* Center alignment */
.postcontent .image-style-align-center {
  margin-left: auto;
  margin-right: auto;
  /* margin-bottom: 15px; */
}

/* Side style - Wrap text around image */
.postcontent .image-style-side {
  float: left;
  margin: 0 15px 15px 0;
  max-width: 50%;
}

/* Mobile adjustments */


/* Style for code blocks */
.postcontent pre {
  font-size: 0.8em; /* Smaller font size for readability */
  padding: 5px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow-x: auto;
  margin: 0;
}


/* Style for inline code */
.postcontent code {
  font-size: 0.9em; /* Slightly smaller font size for inline code */
  background: #f5f5f5; /* Light background for inline code */
  padding: 2px 4px; /* Padding to separate code from surrounding text */
  border-radius: 3px; /* Rounded corners for inline code */
}

/* .postcontent {
  padding-left: 30px;
  padding-right: 30px;

} */

/* Container styling for the comment box */
.container.comment-box {
  background-color: #f9f9f9; /* Light background for the comment box */
  border: 1px solid #e1e1e1; /* Light gray border */
  border-radius: 8px; /* Rounded corners */
  padding: 20px; /* Padding inside the comment box */
  margin-top: 20px; /* Space above the comment box */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

/* Styling for individual comment items */
.comment-item {
  margin-bottom: 20px; /* Space below each comment */
  padding: 15px; /* Padding inside each comment */
  background-color: #ffffff; /* White background for comments */
  border: 1px solid #ddd; /* Light border around comments */
  border-radius: 8px; /* Rounded corners for comments */
}

/* Header styling for comments */
.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px; /* Space below header */
}

/* Date styling */
.comment-date {
  font-size: 0.9rem; /* Smaller font size for the date */
  color: #666; /* Light gray color */
}

/* Styling for comment text */
.comment-text {
  font-size: 1rem; /* Standard font size */
  line-height: 1.5; /* Improved line height */
  color: #333; /* Dark gray text color */
  margin-bottom: 10px; /* Space below text */
}

/* Author styling */
.comment-author {
  font-size: 0.9rem; /* Slightly smaller font size */
  color: #444; /* Darker gray for the author text */
}

/* Unauthorized comment notice */
.comment-unauthorized {
  font-size: 1rem;
  color: #e74c3c; /* Red color to indicate restricted access */
}

/* No comments notice */
.no-comments {
  font-size: 1rem;
  color: #999; /* Gray color for no comments message */
}

/* Styling for buttons */
.btn {
  border-radius: 5px; /* Rounded corners for buttons */
  padding: 5px 10px; /* Padding inside buttons */
  text-decoration: none; /* Remove underline from links */
}

.btn-primary {
  background-color: #007bff; /* Blue background */
  color: #fff; /* White text */
}

.btn-primary:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

.btn-sm {
  font-size: 0.875rem; /* Smaller font size for buttons */
  padding: 4px 8px; /* Smaller padding for small buttons */
}

/* Ensure the styles are applied specifically to code blocks inside CKEditor */
/* Better formatting for code blocks in CKEditor, similar to Jira style */
/* Styling for code blocks in CKEditor with syntax highlighting */
/* Base styling for code blocks with a black background */
/* CKEditor styles to match highlight.js */
/* Adjust code block styles for responsiveness */
.ck-content pre {
  font-size: 12px !important; /* Match font size for readability */
  line-height: 1.4 !important;
  background-color: #f5f5f5 !important; /* Light background */
  color: #02050b !important; /* Dark text color */
  padding: 8px !important; /* Consistent padding */
  border-radius: 4px !important; /* Rounded corners */
  overflow-x: auto !important; /* Allow horizontal scrolling */
  white-space: pre-wrap; /* Wrap long lines */
  margin: 0; /* Remove default margins */
}

/* Style for inline code */
.ck-content code {
  font-size: 12px !important; /* Match font size for readability */
  color: #000000 !important; /* Light text color */
}

/* Ensure CKEditor content adapts to container width */
.ck-content {
  max-width: 100%;
  overflow-x: auto;
  word-wrap: break-word; /*Wrap long words  */
}

/* Adjust styling for images inside CKEditor content */
.ck-content img {
  max-width: 100%; /* Ensure images do not exceed container width */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 15px; /* Add space below images */
}


/* Optional: Add styles for syntax highlighting */
.ck-content .hljs-comment,
.ck-content .hljs-quote {
  color: #7f848e !important; /* Gray for comments */
}

.ck-content .hljs-keyword,
.ck-content .hljs-selector-tag,
.ck-content .hljs-subst {
  color: #c678dd !important; /* Purple for keywords */
}

.ck-content .hljs-number,
.ck-content .hljs-literal,
.ck-content .hljs-variable,
.ck-content .hljs-template-variable,
.ck-content .hljs-tag .hljs-attr {
  color: #d19a66 !important; /* Orange for numbers and variables */
}

.ck-content .hljs-string,
.ck-content .hljs-doctag,
.ck-content .hljs-title,
.ck-content .hljs-section,
.ck-content .hljs-selector-id {
  color: #98c379 !important; /* Green for strings and IDs */
}

/* Custom styles for highlight.js */
.hljs {
  font-size: 12px !important; /* Smaller font size */
  line-height: 1.4 !important;
  background-color: rgb(147, 141, 141);
  box-shadow: none !important; /* Remove any shadow */
  border: none !important; /* Remove any border */

}

.hljs-comment,
.hljs-quote {
  color: #7f848e; /* Gray for comments */
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
  color: #c678dd; /* Purple for keywords */
}

.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
  color: #d19a66; /* Orange for numbers and variables */
}

.hljs-string,
.hljs-doctag,
.hljs-title,
.hljs-section,
.hljs-selector-id {
  color: #98c379; /* Green for strings and IDs */
}

pre {
  font-size: 14px; /* Font size */
  line-height: 1.6; /* Line height */
  background-color: #2d2d2d; /* Dark background */
  color: #e8e8e2; /* Light text color */
  padding: 12px; /* Padding around the code */
  border-radius: 6px; /* Rounded corners */
  overflow-x: auto; /* Horizontal scroll for overflow */
  box-shadow: none; /* Remove shadow */
  border: none; /* Remove border */
}

code {
  font-size: 10px; /* Font size */
  color: #030303; /* Light text color */
  background-color: rgb(169, 167, 167);
}

/* Custom styles for CKEditor font sizes */
.text-tiny {
  font-size: 10px !important; /* Adjust as needed */
}

.text-small {
  font-size: 12px !important;
}

.text-default {
  font-size: 14px !important;
}

.text-big {
  font-size: 18px !important;
}

.text-large {
  font-size: 24px !important;
}

/* Make text size responsive */
@media (max-width: 1200px) {
  .postcontent {
      font-size: 1.4em;
  }
}

@media (max-width: 992px) {
  .postcontent {
      font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .postcontent {
      font-size: 1em;
  }
}

@media (max-width: 576px) {
  .postcontent {
      font-size: 0.9em;
  }
}

  .ck-content pre, .postcontent pre {
    font-size: 0.9em; /* Adjust code block font size */
  }



.centered-image {
  max-width: 100%;
  height: auto;
}

.postimage {
  width: 100%;
}

.posttitle {
  font-size: clamp(2rem, 5vw, 4rem); /* Responsive font size with min and max values */
  margin: 0; /* Remove default margins if needed */
  text-align: center; /* Center text horizontally */
  line-height: 1.2; /* Adjust line height for better readability */
}

/* Example media queries for further adjustments */
@media (max-width: 1200px) {
  .posttitle {
      font-size: 1.75rem; /* Adjust as needed */
  }
}

@media (max-width: 768px) {
  .posttitle {
      font-size: 1.5rem; /* Adjust as needed */
  }
}

@media (max-width: 576px) {
  .posttitle {
      font-size: 1.25rem; /* Adjust as needed */
  }
}

/* Main content wrapper */
.content-wrapper {
  max-width: 100%; /* Allows it to expand */
  width: 100%; /* Base width as a percentage */
  max-width: 1200px; /* Maximum width it can expand to */
  margin: 0 auto; /* Centers content on the page */
  padding: 60px; /* Adds padding for readability */
}


/* For very large screens (desktops) */
@media (min-width: 1200px) {
  .content-wrapper {
    width: 70%; /* Make it a bit narrower on large screens */
  }
}

/* For tablet-sized screens */
@media (max-width: 1024px) {
  .content-wrapper {
    width: 85%;
    max-width: 700px;
    padding: 15px;
  }
}

/* For mobile screens */
@media (max-width: 768px) {
  .content-wrapper {
    width: 95%; /* Almost full width on smaller screens */
    max-width: 100%; /* Allow it to stretch fully if needed */
    padding: 10px;
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .content-wrapper {
    width: 100%; /* Full width on very small screens */
    padding: 5px;
  }
}
/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .content-wrapper {
        width: 100%; /* Utilize full width on smaller screens */
        padding: 10px; /* Reduce padding to save space */
    }
}
