/* === BASE & FONTS === */
html {
    scroll-behavior: smooth;
}
li{
    margin-top: 13px;
}

body {
    font-family: 'IBM plex mono', sans-serif; /* A more readable font for paragraphs */
    background-color: #000000;
    color: #c9d1d9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}
a {
    color: blue;
    text-decoration: none; /* no underline */
  }



  
ul{
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margins */
  }
.page
{
    display:none;
}

/* Using the cool retro font for titles */
h1, h2, h3, .logo {
    font-family: 'VT323', sans-serif;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* === STARRY BACKGROUND === */
#star-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* === HEADER === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgb(30 41 59);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    display: flex;
    align-items: center;
    text-decoration: none; 
    color: inherit; 
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
    color: #2188e4; /* emerald-400 */
}

.main-nav {
    display: none; /* Hidden on mobile */
}

.nav-link {
    color: #cbd5e1; /* slate-300 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #58a6ff;
}

/* === MAIN CONTENT & SECTIONS === */
.main-content {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
}

/* === HERO SECTION === */
.hero {
    min-height: 50vh;
    padding-bottom: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: #94a3b8; 
}

/* === CARDS (for About, Writings, Projects) === */
.card {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 0,0, 0.5);
}

.about-card {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.625;
}

.card-date {
    font-size: 0.875rem;
    color: #94a3b8; /* slate-400 */
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #cbd5e1; /* slate-300 */
    flex-grow: 1;
    margin-bottom: 1rem;
}

.card-link {
    margin-top: auto; /* Pushes link to the bottom */
    color: #34d399; /* emerald-400 */
    font-weight: 600;
    text-decoration: none;
}

.card-link:hover {
    color: #6ee7b7; /* emerald-300 */
}

/* === GRIDS (for Writings, Projects) === */
.item-grid {
    display: grid;
    gap: 2rem;
}

.writings-grid {
    grid-template-columns: 1fr;
}

.projects-grid {
    grid-template-columns: 1fr;
}

/* === FOOTER === */
.main-footer {
    border-top: 1px solid rgb(30 41 59);
    padding: 2rem 0;
    text-align: center;
    color: #94a3b8; /* slate-400 */
}
.main-about{
display: flex;
width: 100%;
justify-content:flex-start;
}
.whosme{
width:60vw;
margin-left:10vw;
	margin-right:5vw;
margin-top: 10vh;

}
.about{
    display: block;
    width: 50vw;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
.about-links{
display:flex;
gap:2vw
}
.whatIlike{
	width:40vw;

margin-top: 10vh;
margin-right:5vw;
}
/*=== wrote === */
.wrote-wrapper{
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;

}
.wrote{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 5vh;
    width: 45vw;
    height: 100%;
    border-radius: 1rem;
    text-align: center;

}

.wrote .card-date{
    margin-bottom: 0;
}


.blog-post{
text-align:left;
background-color: rgba(0, 0, 0, 0.7);
width:60vw;
margin-left:10vw;
line-height: 1.6;
	margin-top:5vh;

}


/* === RESPONSIVE STYLES === */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    .writings-grid, .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .writings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
