html {
    overflow-y: scroll;
    background: #000000;
}

body {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    background: radial-gradient(circle at center, #1e1e2e 0%, #181825 90%);
    color: #cdd6f4;
    min-height: 200vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flexbox {
    display: flex;
    justify-content: center;
}

header {
    /* margin-top: 10px; */
    text-align: center;
}

header h1 {
    font-size: 4vw;
    margin-bottom: 10px;
    margin-top: 20px;
}

.circle-image {
    width: 25vw;
    height: 25vw;
    max-width: 300px;
    max-height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #313244;
}

/* HEADER LINKS */
#links ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

#links a {
    text-decoration: none;
    color: #cdd6f4;
    font-size: 2.25rem;
    transition: color 0.2s ease;
}

#links a:hover {
    color: #fab387;
}

#links ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

#links a {
    text-decoration: none;
    color: #cdd6f4;
    font-weight: bold;
}

/* LANDING ABOUT ME HEADER TEXT */
#intro-text {
    font-size: 1vw;
}
#about {
    margin: 10px auto;
    max-width: 900px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* PROJECT CARDS */
#projects {
    /* margin-top: 20px; */
    justify-content: center;
    align-items: center;
    max-width: 50vw;
    display: grid;
    gap: 30px;
    padding: 0 20px;
}

.project-category {
    width: 100%;
    margin-bottom: 80px;
}

.project-category h2 {
    margin-bottom: 20px;
    font-size: 2vw;
    text-align: center;
    border-bottom: 2px solid #313244;
    padding-bottom: 10px;
    width: 100%;
    margin-bottom: 60px;
}

.project-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
}

.project-card {
    flex: 0 0 auto;
    width: 320px;
    max-width: 90vw;
    background: #11111b;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #313244;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    flex-shrink: 0;
}

.project-card .content {
    padding: 15px;
    text-align: center;
    /* flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; */
}

.project-card .content h3 {
    margin: 0 0 10px;
    font-size: 1vw;
}

.project-card .content p {
    font-size: 0.95rem;
    color: #cdd6f4;
}

/* NAV MENU */
#menu-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

#menu-links a {
    padding: 12px 24px;
    border: 2px solid #313244;
    color: #cdd6f4;
    text-decoration: none;
    font-size: 1.25vw;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#menu-links a:hover {
    background-color: transparent;
    color: #fab387;
    cursor: pointer;
}

.divider-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.text-divider {
    border: none;
    border-top: 2px solid #313244;
    width: 100%;
    max-width: 800px;
    margin: 10px 0;
}

#readme-content {
    max-width: 35vw;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}


/* ABOUT ME */
.about-me {
    max-width: 50vw;
    margin: 0 auto; /* center horizontally */
    font-size: 0.8vw;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 1.5em; /* adds vertical space between children */
}

.about-me h2 {
    text-align: center;
    font-size: 2vw;
    margin-bottom: 0.2em;
}

.about-me h3 {
    font-size: 1.0vw;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.2em;
}

.about-me p {
    margin: 0;
    font-size: 0.6vw;
}

.about-me ul {
    margin: 0;
    padding-left: 1.5em;
}

.about-me li {
    margin-bottom: 0.4em;
    font-size: 0.6vw;
}


