/* Font */
.jersey-15-regular {
    font-family: "Jersey 15", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

body {
    font-family: 'Jersey 15', sans-serif;
    padding-top: 50px; /* Adjust the padding value based on your header's height */
    background-color: #000;
    color: #f0f0f0;
    font-size: 180%;
    margin: 0 auto;
}

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

.content {
    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 black;*/
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.navbar_wrap {
    position: sticky;
    background: rgb(23, 23, 23);
}

.navbar{
   position: sticky;
   top: 0;
   z-index: 1;
   max-width: 1024px;
   margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: space-between;
   height: 50px;
   background: rgb(23, 23, 23);
   padding: 10px;
   display: flex;          /* Enable Flexbox */
 }
 .navbar__right{
   display: flex;
 }


a {
    text-decoration: none;
    color: #4da6ff;
}

a:hover {
    text-decoration: underline;
}

main{
   margin: 0 200px;
 }

 .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;
    align-items: center;
}  
.category{  
    padding: 5px 5px;  
    background: blue;
    font-size: 80%;  
    border-radius: 5px;  
    width: auto;  
    margin-right: 7px;  
}  
.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: rgb(41, 41, 41);
    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: 'nokiafc22', 'Georgia', serif;
    color: #fff;  
}

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

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

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

/* Styles for the fixed header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    z-index: 1000; /* Adjust the z-index to make sure the header appears above other elements */
}

/* Navbar
   ========================================================================== */

.navbar__center {
    display: flex;             /* Enable Flexbox */
    justify-content: center;   /* Center content horizontally */
    align-items: center;       /* Center content vertically */
    flex-grow: 1;              /* Allow it to grow and take up available space */
    text-align: center;        /* Ensure text is centered in block-level elements */
}

.navbar__center a {
    padding: 10px 20px;        /* Optional: add some padding for links */
}

.navbar__center a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);  /* Hover effect similar to .navbar__left */
}

.navbar__left {
    display: flex;          /* Enable Flexbox if not already present */
    align-items: center;    /* Vertically center all children */  
}

.navbar__left a:hover{
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.navbar__right a{
   text-decoration: none;
   font-size: 140%;
   margin-right: 20px;
   color: limegreen;
   transition: all 100ms;
 }

/* Remove margin from the last anchor to avoid extra spacing */
.navbar__right a:last-child {
    margin-right: 0;
}
 
.navbar__right a:hover{
   text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
   text-decoration: underline;
 }

/* Apply flexbox to center the items in the navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(23, 23, 23);
    padding: 10px;
}

/* Adjust the margin of the logo to center it */
.navbar__middle img,
.navbar__left img {
    max-height: 50px; /* Set your desired maximum height */
    object-fit: contain; /* Resize the image to fit within the container, maintaining aspect ratio */
}

/* Style for the navigation links */
.navbar__left a,
.navbar__right a {
    text-decoration: none;
    font-size: 140%;
    color: red;
    transition: all 100ms;
    line-height: normal;  /* Reset to default */
}

/* Remove margin from the last anchor to avoid extra spacing */
.navbar__right a:last-child {
    margin-right: 0;
}

/* Hover styles */
.navbar__right a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

/* Style for the hamburger menu icon */
.navbar__menu-icon {
    display: none; /* Initially hide the menu icon */
    cursor: pointer;
}

.navbar__menu-icon span {
    display: block;
    height: 2px;
    width: 25px;
    background-color: limegreen;
    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;
}

/* 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;
    }
}

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