@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
    --backgroundColor: #151515;
    --textColor: #DEDEDE;
    --width: 800px;
    --subTextColor: #787878;
    --hover: #346DFF;
}

* {
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--backgroundColor);
    font-family: 'Inter', sans-serif;
    font-family: 'Share Tech Mono', monospace;
}

.container {
    padding: 40px;
}

.items {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
}

.navigation {
    margin-top: 20px;
    height: 35px;
    border-radius: 5px;
    border: 1px solid #404040;
    background: #121212;
}

.navigationGrid {
    width: 100%;
    height: 35px;
    display: grid;
    grid-template-columns: auto auto auto;
}

.navigationGrid a {
    text-align: center;
    vertical-align: middle;
    line-height: 35px;
    font-size: 20px;
    transition: 0.3s;
    cursor: pointer;
}

.navigationGrid a:hover {
    color: var(--hover);
}

.selected {
    font-weight: bold;
}

.card {
    border-radius: 5px;
    box-shadow: 0px 4px 10px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid #404040;
    max-width: var(--width);
    min-width: 300px;
    margin-top: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    width: 100%;
    transition: 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.welcome {
    height: 168px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url('./public/welcome.png');
}

.welcome h4 {
    font-size: 15px;
    color: var(--subTextColor);
}


.whoami::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(2px);
    z-index: -1;
}


.whoami {
    height: 364px;
    display: flex;
    backdrop-filter: blur(10px);

    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url('https://i.imgur.com/dXKsV8X.png');
}

#ascii-cat {
    position: fixed;
    right: 0;
    bottom: 0;
    color: #FFFFFF; /* Change this to the color you want for the ASCII cat */
    font-family: monospace; /* This helps preserve the ASCII art formatting */
}

.whoami h3 {
    font-size: 1rem;
    color: #CCCCCC; /* Add more contrast */
    padding: 0px 80px;
    text-align: center;
    line-height: 1.5; /* Improve readability */
}

.title {
    height: 125px;
    background-image: url('https://pbs.twimg.com/profile_banners/1755026108733345793/1707266256/1500x500');
    text-align: center;
    vertical-align: middle;
    line-height: 125px;
}

.title h1 {
    font-size: 40px;
}

.title.card {
    height: 125px;
    background-image: url('https://pbs.twimg.com/profile_banners/1755026108733345793/1707266256/1500x500');
    text-align: center;
    vertical-align: middle;
    line-height: 125px;
    width: 100%; /* Stretch to the full width of the parent container */
    max-width: var(--width); /* Constrain to the maximum width defined */
    margin: 0 auto; /* Center within the parent container */
    box-sizing: border-box; /* Ensure padding/borders are included in width */
}


.language {
    height: 168px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url('./public/languages.png');
}

.language h4 {
    color: var(--subTextColor);
}

.navigation {
    height: 35px;
    display: flex;
    flex-direction: row;
}

.footer {
    padding: 20px;
}

.footer h4 {
    color: var(--subTextColor);
}

.blog {
    height: auto; /* Adjust to auto */
    background-image: url('./public/blog1.png');
    background-size: 220%;
}

.blog h4 {
    font-size: 15px;
    color: var(--subTextColor);
}

.blog #title {
    height: 168px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.blog #date {
    position: absolute;
    padding: 5px;
}

.blog #date h2 {
    font-size: 1.1rem;
}

.blog #date h2 span {
    color: var(--subTextColor);
}

.blogpost {
    border-radius: 5px;
    box-shadow: 0px 4px 10px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid #404040;
    max-width: var(--width);
    min-width: 300px;
    margin-top: 20px;
    height: auto; /* Adjust to auto */
    font-family: 'Inter', sans-serif;
    color: white;
    padding: 20px 0px;
}

.blogpost pre code {
    white-space: pre;
    display: block;
    overflow-x: auto;
    padding: 0.5em;
}

.blogpost pre {
    background-color: #070707;
    border-radius: 5px;
    margin-top: 2px;
}

.markdown {
    padding: 0px 20px;
}

.markdown h1 {
    font-size: 2em;
}

.footer-card {
    background-color: #151515; /* Change this to any color you prefer */
}

.footer ul li {
    color: #DEDEDE; /* Change this to any light color you prefer */
}

.footer ul li a {
    color: var(--subTextColor);
}

.footer ul li a:hover {
    color: #346DFF; /* Change this to any color you prefer for hover effect */
}

a {
    color: var(--textColor);
    text-decoration: none;
}

h4 {
    color: var(--textColor);
    cursor: default;
}

h1 {
    color: var(--textColor);
    font-size: calc(20px + 0.390625vw);
    cursor: default;
}

.chat-card {
    /* Copy styles from .footer-card class */
    background-color: #151515;
    color: #DEDEDE;
    transition: 0.3s;
    width: 100%;
}

@keyframes MOVE-BG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Blog Content Styles */
#blog-content {
    color: var(--textColor);
    padding: 20px;
    background-color: var(--backgroundColor);
    width: 100%; /* Ensure full width */
}

#blog-content h1, #blog-content h2, #blog-content h3, #blog-content h4, #blog-content h5, #blog-content h6 {
    color: var(--textColor);
    margin-top: 20px;
}

#blog-content p {
    line-height: 1.6;
}

#blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 0;
}
