:root {
    --not-completely-black: #292929;
}

body {  
    padding-top: 25px; /* Adjust the padding value based on your header's height */
    background-color: white;
    color: var(--not-completely-black);
    font-size: 130%;
    line-height: 1.5;
    margin: 0 auto;
    font-family: 'FixedsysExcelsior', Courier, monospace;
    cursor: url(cursor.cur), auto;
}

#content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 10px;
}

.content {
    margin-top: 100px;
    max-width: 1024px;
    margin: 0 auto;
    letter-spacing: normal;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
  }

/* Responsive / fluid images: https://www.w3schools.com/howto/howto_css_image_responsive.asp */
.content img{  
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 20px;
    border: 1px solid var(--not-completely-black);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.navbar_wrap {
    position: sticky;
    background: var(--not-completely-black);
}

.navbar{
   position: sticky;
   top: 0;
   z-index: 1;
   max-width: 1024px;
   margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: space-between;
   height: 25px;
   background: var(--not-completely-black);
   padding: 10px;
 }
 .navbar__right{
   display: flex;
 }

a {
    text-decoration: none;
    color: #1a0dab;
}

a:hover {
    text-decoration: underline;
}

.navbar__left {
    color: turquoise;
}

.navbar__left a {
    text-decoration: none !important;
    font-size: 110%;
    color: turquoise;
  }

.navbar__left a:hover{
    color: rgb(35, 236, 35);
  }

.navbar__right a{
   text-decoration: none;
   font-size: 100%;
   margin-right: 10px;
   color: turquoise;
   transition: all 100ms;
 }
 .navbar__right a:hover{
   color: lime;
   text-decoration: underline;
 }
 
 main{
   margin: 0 200px;
 }

 @font-face {
    font-family: 'FixedsysExcelsior';
    src:    url('../fonts/FSEX302.woff2') format(woff2),
            url('../fonts/FSEX302.ttf') format(truetype);
    font-display: swap; /* Use the swap value to display fallback text immediately */
  }

.author-image{  
    object-fit: cover;  
    border-radius: 50%;  
    width: 48px;  
    height: 48px;  
}  
.blog__title{  
    font-size: 150% !important;  
    font-weight: bolder;  
}
.blog__container{
    margin: 0 auto;
    max-width: 1024px;
}

.blog__details{  
    display: flex; 
    align-items: center;  
}

.blog__info {  
    margin-left: 20px;
    flex: 1;
}  
.blog__info p{  
    margin-block-start: 2px;
    margin-block-end: 2px;
    font-size: 16px;
}   
.blog__image > img{  
    height: auto;  
    width: 100%;  
    object-fit: contain;  
    margin: 10px 0;     
}  

.blog__categories{  
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}  
.category{  
    padding: 5px 10px; /* Add padding to create space around the tags */
    background: blue;
    font-size: 80%;
    border-radius: 5px;
    width: auto;
}

.category a{  
    color: #fff;  
}
.category:hover{  
    background: rgb(103, 117, 245);
}
 

.blog__navigateButtons{
    margin: 0 auto;
    max-width: 1024px;
    display: flex;  
    justify-content: space-between;  
    align-items: center;  
}  
    
.blog__navigate{  
    margin-bottom: 20px;  
}  
.blog__navigate button{  
    border: none;  
    outline: none;  
    background: var(--not-completely-black);
    color: #fff;  
    padding: 10px 20px;  
    border-radius: 5px;  
    cursor: pointer;  
    transition: all 200ms;  
}  
.blog__navigate button:hover{  
    background: rgb(103, 117, 245);
}  
.blog__navigate a{
    font-size: 16px;
    font-family: 'FixedsysExcelsior', 'Courier', monospace;
    color: #fff;  
}

/* https://css-tricks.com/snippets/css/a-guide-to-flexbox/ */
.categories{
    margin: 0 auto;
    max-width: 1024px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;  
}  
    
.categoryCard{
    display: flex;  
    flex-direction: column;  
    width: auto;  
    max-width: 200px;  
    min-height: 200px;  
    margin-right: 5px;  
    margin-top: 20px;
    height: auto;
    box-shadow: rgba(137, 137, 137, 0.2) 2px 8px 24px;  
}  
    
.categoryHead{  
    text-align: center;  
    background-color: #f07979;  
    color: #fff;  
    font-weight: bold;  
}

.category__details{  
   padding: 0 10px;  
}
    
.categoryCard p{  
    font-size: 100%;

}

.categoryHeading {
    color: rgb(248, 98, 98);
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .collapsible:hover {
    background-color: #ccc;
  }

  /* Style the collapsible content. Note: hidden by default */
.collabsible_content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
  }

pre code {
    /* Wrap code*/
    white-space: pre-wrap;
    word-break: keep-all;
}

.pastas:before {
    content: attr(data-website) "\0040" attr(data-user);
    unicode-bidi: bidi-override;
    direction: rtl;
}

figure {
    text-align: center;
    margin: 0;
    padding: 0;
}

figcaption {
    font-style: italic;
    font-size: 0.8em;
    color: #6900af;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000; /* Ensure the header is above other elements */
}

.custom-heading {
    position: relative;
}

.hash-link {
    display: inline-flex; /* Use flex to align items horizontally */
    align-items: center; /* Vertically align items */
    /* padding: 0 5px;  Add padding to the link */
    text-decoration: none !important; /* Remove underline from the link */
    color: var(--not-completely-black) !important;
}

.hash-link svg {
    width: 16px; /* Adjust the width of the SVG */
    height: 16px; /* Adjust the height of the SVG */
    margin-left: 5px; /* Add margin to separate the icon from the text */
}

/* HAMBURGER */

/* Style for the hamburger menu icon */
.navbar__menu-icon {
    display: none; /* Initially hide the menu icon */
    cursor: pointer;
    background: var(--not-completely-black);
}

.navbar__menu-icon span {
    display: block;
    height: 2px;
    width: 25px;
    background-color: turquoise;
    margin: 6px 0;
    transition: 0.8s;
}

/* Add styles to show/hide the menu when clicked */
.navbar__menu-icon.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar__menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.navbar__menu-icon.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Use the 'active' class to show/hide the right-side links */
.navbar__right.active {
    display: flex;
    background: var(--not-completely-black);
}

/* Responsive
   ========================================================================== */

@media only screen and (max-width: 768px) {
    /* Show the menu icon on small screens */
    .navbar__menu-icon {
        display: block;
    }

    /* Hide the right-side links on small screens */
    .navbar__right {
        display: none;
    }

    /* Adjust the display of the links when the menu icon is active */
    .navbar__right.active {
        display: flex;
        align-items: flex-end;
    }

    .blog__details {
        flex-direction: column; /* Stacking items vertically */
        align-items: flex-start; /* Align items to the start */
    }

    .blog__info {
        margin-left: 0; /* Reset left margin */
        margin-top: 10px; /* Add margin between sections */
    }
}

/* Used by JavaScript in the footer */
.hidden {
    display: none;
}

.long-words {
    word-wrap: break-word;
}