/* General Styles */
body {
    background-image: url('https://images.pexels.com/photos/15474721/pexels-photo-15474721/free-photo-of-stars-in-the-sky.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    /* Path to your image */
    background-size: cover;
    /* Cover the entire page */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Prevent the image from repeating */
    background-attachment: fixed;
    /* Fix the background while scrolling */
    font-family: 'Ubuntu Mono', serif;
    font-weight: 400;
    font-style: normal;
    background-color: #252525;
    color: #fff;
    margin: 2;
    padding: 2;
}


/* Header with Title */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.header .title {
    font-size: 2.5em;
    font-weight: bold;
    color: #84b067;
}

/* Navigation Hover Animation */
.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    color: #fff;
    font-size: 1.3em;
    text-decoration: underline;
    text-decoration-color: #84b067;
    /* underline */
    text-decoration-style: dotted;
    text-decoration-thickness: 1.8px;
    transition: all 0.3s ease-in-out;
}

.nav a:hover {
    color: #84b067;
    transform: scale(1.2);
}

/* Description */
.description {
    text-align: center;
    margin: 20px 0;
    font-size: 1em;
}

.description a {
    color: #84b067;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.description a:hover {
    text-decoration: underline;
}

#scroll-container {
    border: 2px solid #84b067;
    /* Match the accent color */
    border-radius: 5px;
    overflow: hidden;
    white-space: nowrap;
    height: 60px;
    /* Adjust height as needed */
    display: flex;
    align-items: center;
    /* Center vertically */
    justify-content: flex-start;
    /* Start text from the right */
    background-color: #1e1e1e;
    /* Darker background for contrast */
    position: relative;
}

marquee {
    font-size: 1.2em;
    /* Increase font size for better readability */
    color: #84b067;
    /* Match the accent color */
    padding-left: 100%;
    /* Ensure text scrolls fully */
    display: inline-block;
    /* animation: scroll-text 50s linear infinite; */
    white-space: nowrap;
    line-height: 60px;
    /* Match container height for vertical centering */
}


/* Subheadings and Paragraphs */
.content-section {
    margin: 20px 0;
}

.subheading {
    color: #84b067;
    font-size: 2em;
    margin-bottom: 10px;
}

.paragraph {
    font-size: 1.05em;
    line-height: 1.2;
    margin-bottom: 20px;
}

br {
    display: block;
    margin-bottom: 10px;
}

/* ASCII Art */
.ascii-art {
    margin-top: 5px;
    margin-bottom: 2px;
    font-family: monospace;
    color: #aaa;
    white-space: pre;
    text-align: center;
}

.ascii-art pre:hover {
    color: #84b067;
    transition: color 0.3s ease-in-out;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #444;
    color: #fff;
}

.footer a {
    color: #84b067;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.highlight {
    background-color: #ffeb3b;
    padding: 2px 5px;
    border-radius: 3px;
}

/* Back to Top Button */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 10px;
    background-color: #84b067;
    color: #000;
    border: 1 px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 4px;
}

#back-to-top:hover {
    background-color: #252525;
}


/* Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #2b2b2b;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 1.6s ease-out;
}

.letter-i {
    width: 80vh;
    height: 80vh;
}

.cls-1 {
    fill: none;
    stroke-miterlimit: 10;
    stroke-width: 5px;
    stroke-linecap: round;
    stroke-dasharray: 1500;
    animation: lines 2s infinite;
    animation-delay: calc(var(--item) * 1s);
}

.dot {
    stroke-dasharray: 500;
    stroke: var(--color);
}

.stem {
    stroke: var(--color);
}

@keyframes lines {
    100% {
        stroke-dashoffset: 3000;
    }
}

/* Container Styles */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    opacity: 0;
    transition: opacity 1s ease-in;
}

.container.loaded {
    opacity: 1;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}


/* Description Styles */
#scroll-container {
    overflow: hidden;
    height: 3em;
}

/* Social Media Buttons Styles */
.effect {
    width: 100%;
    padding: 50px 0px 70px 0px;
    background-color: transparent;
    /* Adjusted to match your theme */
    display: flex;
    justify-content: center;
}

.effect.lavinia {
    margin-top: 20px;
    /* Adjust spacing as needed */
}

.effect .buttons {
    display: flex;
    gap: 20px;
    /* Space between buttons */
}

.effect a {
    text-decoration: none !important;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 25px;
    overflow: hidden;
    position: relative;
    color: #84b067;
    /* Match your accent color */
    border: 2px dashed #84b067;
    /* Match your accent color */
    transition: border-top-color 0.2s linear 0s, border-right-color 0.2s linear 0.1s, border-bottom-color 0.2s linear 0.2s, border-left-color 0.2s linear 0.3s;
}

.effect a:hover {
    border-color: rgba(132, 176, 103, 0);
    /* Match your accent color */
}

.effect a:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: -2px;
    left: -2px;
    border: 2px dashed #84b067;
    /* Match your accent color */
    position: absolute;
    border-radius: 70%;
}

/* Icon colors for specific platforms */
.effect .email:hover {
    color: #fff;
}

/* Facebook */
.effect .tw:hover {
    color: #fff;
}

/* Twitter */
.effect .git:hover {
    color: #fff;
}

/* Github */
.effect .discord:hover {
    color: #fff;
}

/* Discord*/
.effect .pinterest:hover {
    color: #fff;
}

/* Pinterest */
.effect .insta:hover {
    color: #fff;
}

/* Instagram */
.effect .in:hover {
    color: #fff;
}

/* LinkedIn */

body {
    cursor: url('images\\arr2-32.png'), default;
}

a,
button,
.clickable-element {
    cursor: url('images\\arr1-32.png'), pointer;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 1.3em;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.breadcrumbs a {
    color: #84b067;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.breadcrumbs a:hover {
    text-decoration: underline;
    text-decoration-color: #84b067;
    text-decoration-style: dotted;
    text-decoration-thickness: 1.8px;
    transition: all 0.3s ease-in-out;
}

.breadcrumbs span {
    color: #fff;
}

/* Bento Grid Styles */
.bento-grid {
    padding: 16px;
    /* Padding around the grid */
}

.flex {
    display: flex;
    gap: 16px;
    /* Equal spacing between columns */
}

.flex-1 {
    flex: 1;
    /* Each column takes equal width */
}

.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    /* Rounded corners */
    border: 2px solid rgba(148, 163, 184, 0.1);
    /* Subtle border */
    background-color: #1e1e1e;
    /* Dark background */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-bottom: 16px;
    /* Spacing between items */
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure images cover the grid cell */
    transition: transform 0.3s ease-in-out;
}

.bento-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Height Classes */
.bento-item.h-16 {
    height: 64px;
    /* 16 * 4px */
}

.bento-item.h-24 {
    height: 96px;
    /* 24 * 4px */
}

.bento-item.h-32 {
    height: 128px;
    /* 32 * 4px */
}

.bento-item.h-40 {
    height: 160px;
    /* 40 * 4px */
}

.bento-item.h-56 {
    height: 224px;
    /* 56 * 4px */
}

.bento-item.h-64 {
    height: 256px;
    /* 64 * 4px */
}

/* Poetry Sections */
.bento-item.poetry {
    padding: 20px;
    background-color: #2b2b2b;
    border: 2px dashed #84b067;
    text-align: left;
}

.bento-item.poetry h2 {
    color: #84b067;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.bento-item.poetry p {
    font-size: 1.1em;
    line-height: 1.5;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px)
{
    .flex {
        flex-direction: column;
        /* Stack columns vertically on smaller screens */
    }

    .bento-item {
        margin-bottom: 16px;
        /* Spacing between items */
    }
}


/* ---------------------------------------------------------- */
/* Blog Grid Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 20px; /* Spacing between grid items */
    margin-top: 30px;
}

.blog-post {
    background-color: #fff; /* White background */
    border: 2px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: #000; /* Black text */
    transition: all 0.3s ease-in-out;
}

.blog-post:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-post h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #000; /* Black heading by default */
    transition: color 0.3s ease-in-out; /* Smooth color transition */
}

.blog-post:hover h2 {
    color: #84b067; /* Signature green on hover */
}

.blog-post h3 {
    font-size: 1.2em;
    color: #666; /* Subheading color */
    margin-bottom: 10px;
    transition: color 0.3s ease-in-out; /* Smooth color transition */
}

.blog-post:hover h3 {
    color: #444; /* Slightly darker gray on hover */
}

.blog-post .meta {
    font-size: 0.9em;
    color: #888; /* Meta text color */
    transition: color 0.3s ease-in-out; /* Smooth color transition */
}

.blog-post:hover .meta {
    color: #666; /* Slightly darker gray on hover */
}

/* ---------------------------------------------------- */
/* CookBook Page Styles */
.main-content {
    margin: 5em auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Ubuntu Mono', monospace; /* Match your font */
}

.main-content h1 {
    width: 100%;
    margin: 0 auto 1.5em;
    font-size: 2.7em;
    color: #84b067; /* Signature green */
    /* font-weight: bold; Match your heading style */
}

.main-content h1 small {
    text-transform: none;
    display: block;
    margin: 20px 0;
    font: 0 1em 'Ubuntu Mono', monospace; /* Match your font */
    color: #999; /* Light gray */
}

/* Notebook Styles */
.moleskine-wrapper {
    max-width: calc(100% / 4);
    min-width: 10em;
    text-decoration: none;
    color: inherit;
    margin: 20px;
}

.moleskine-notebook {
    height: 250px;
    width: 175px;
    position: relative;
    transition: 0.4s ease-in-out;
    border-radius: 5px 15px 15px 5px;
    transform-origin: left center 0px;
    display: inline-block;
    perspective: 800px;
}

.moleskine-notebook:hover {
    transform: rotateZ(-10deg);
}

.moleskine-notebook:hover .notebook-cover {
    transform: rotateY(-50deg);
    z-index: 999;
    box-shadow: 20px 10px 50px rgba(0, 0, 0, 0.2);
}

.notebook-cover {
    background: #cc4b48;
    height: 250px;
    width: 175px;
    position: absolute;
    border-radius: 5px 15px 15px 5px;
    z-index: 10;
    transition: 0.5s linear;
    transform-style: preserve-3d;
    transform-origin: left center 0px;
}

.notebook-cover:before {
    content: "";
    position: absolute;
    width: 10px;
    height: calc(100% + 2px);
    top: -1px;
    z-index: 100;
    border-radius: 2px;
    right: 25px;
    transition: 2s ease;
    background: linear-gradient(
        to right,
        #a83a37 0%,
        #cc4b48 12%,
        #a83a37 25%,
        #cc4b48 37%,
        #a83a37 50%,
        #cc4b48 62%,
        #a83a37 75%,
        #cc4b48 87%,
        #a83a37 100%
    );
}

.notebook-cover.blue {
    background: #2e95aa;
}

.notebook-cover.blue:before {
    background: linear-gradient(
        to right,
        #1e7a8a 0%,
        #2e95aa 12%,
        #1e7a8a 25%,
        #2e95aa 37%,
        #1e7a8a 50%,
        #2e95aa 62%,
        #1e7a8a 75%,
        #2e95aa 87%,
        #1e7a8a 100%
    );
}

.notebook-cover.green {
    background: #abc3b5;
}

.notebook-cover.green:before {
    background: linear-gradient(
        to right,
        #8ba797 0%,
        #abc3b5 12%,
        #8ba797 25%,
        #abc3b5 37%,
        #8ba797 50%,
        #abc3b5 62%,
        #8ba797 75%,
        #abc3b5 87%,
        #8ba797 100%
    );
}

.notebook-cover.yellow {
    background: #fed754;
}

.notebook-cover.yellow:before {
    background: linear-gradient(
        to right,
        #e6c44b 0%,
        #fed754 12%,
        #e6c44b 25%,
        #fed754 37%,
        #e6c44b 50%,
        #fed754 62%,
        #e6c44b 75%,
        #fed754 87%,
        #e6c44b 100%
    );
}

.notebook-skin {
    height: 50px;
    background: #e8e8e0;
    margin-top: 80px;
    padding: 15px;
    font-size: 25px;
    position: relative;
    z-index: 10;
    color: #222;
    text-align: left;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    font-family: 'Ubuntu Mono', monospace; /* Match your font */
}

.notebook-skin:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 15px;
    left: 0;
    bottom: 0;
    background: #cddc39;
}

.notebook-page {
    height: 100%;
    width: 175px;
    position: absolute;
    background-color: #fbfae8;
    z-index: 0;
    border-radius: 5px 16px 16px 5px;
    overflow: hidden;
}

.notebook-page.ruled {
    background: linear-gradient(to bottom, #fbfae8 9px, #e4e4e4 1px);
    background-size: 100% 10px;
}

.notebook-page.squared {
    background-image: linear-gradient(#e4e4e4 1px, transparent 1px), linear-gradient(90deg, #e4e4e4 1px, transparent 1px);
    background-size: 10px 10px, 10px 10px, 2px 2px, 2px 2px;
}

.notebook-page.dotted {
    background: linear-gradient(90deg, #fbfae8 10px, transparent 1%) center, linear-gradient(#fbfae8 10px, transparent 1%) center, #999;
    background-size: 11px 11px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .moleskine-wrapper {
        max-width: 100%; /* Full width on smaller screens */
        margin: 10px 0;
    }

    .moleskine-notebook {
        width: 100%; /* Full width on smaller screens */
    }
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Container adjustments */
    .container {
        padding: 1rem;
        max-width: 100%;
    }

    /* Header adjustments */
    .header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header .title {
        font-size: 2em;
    }

    /* Navigation adjustments */
    .nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        font-size: 1.1em;
    }

    /* Description text adjustments */
    .description {
        font-size: 0.9em;
    }

    #scroll-container {
        height: 50px;
    }

    marquee {
        font-size: 1em;
        line-height: 50px;
    }

    /* Content section adjustments */
    .content-section {
        margin: 15px 0;
    }

    .subheading {
        font-size: 1.5em;
    }

    .paragraph {
        font-size: 1em;
        line-height: 1.4;
    }

    /* ASCII art optimization */
    .ascii-art {
        display: none; /* Hide on mobile */
    }

    /* Show a simplified version for mobile */
    .ascii-art::after {
        content: "ASTROISHU";
        display: block;
        font-family: monospace;
        font-size: 1.5em;
        color: #84b067;
        text-align: center;
        margin: 20px 0;
    }

    /* Social media buttons adjustment */
    .effect .buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .effect a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    /* Back to top button adjustment */
    #back-to-top {
        bottom: 10px;
        right: 10px;
        padding: 8px 8px;
        font-size: 1em;
    }

    /* Background image optimization */
    body {
        background-image: url('https://images.pexels.com/photos/15474721/pexels-photo-15474721/free-photo-of-stars-in-the-sky.jpeg?auto=compress&cs=tinysrgb&w=640');
        /* Using a smaller image for mobile */
    }

    /* Loader adjustment */
    .letter-i {
        width: 60vh;
        height: 60vh;
    }
}

/* Additional optimization for very small screens */
@media screen and (max-width: 480px) {
    .header .title {
        font-size: 1.8em;
    }

    .nav a {
        font-size: 1em;
    }

    .effect a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}